1 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
3 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5 * string/strcoll_l.c: Remove unused struct element idxnow.
7 2015-06-21 Joseph Myers <joseph@codesourcery.com>
10 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11 underflow and return argument in case of subnormal argument.
12 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14 * math/auto-libm-test-in: Add more tests of expm1.
15 * math/auto-libm-test-out: Regenerated.
18 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
25 mark underflow exceptions as possibly missing for bug 16361.
26 * math/auto-libm-test-out: Regenerated.
28 2015-06-19 Joseph Myers <joseph@codesourcery.com>
30 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34 (test-xfail-XOPEN2K8/utmpx.h/conform).
36 * conform/conformtest.pl ($xerrors): New variable.
37 (note_error): New function.
38 (compiletest): New argument $xfail. Use not_error.
40 (top level): Handle xfail- lines. Update calls to compiletest and
41 runtest. Handle xfail- and optional- in headers listed with
43 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
46 * conform/data/stropts.h-data (ioctl): Likewise.
47 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
48 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
49 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
50 (msghdr.msg_controllen): Likewise.
51 (cmsghdr.cmsg_len): Likewise.
52 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
53 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
55 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
56 (test-xfail-XPG4/stropts.h/conform): Likewise.
57 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
58 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
59 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
60 (test-xfail-UNIX98/stropts.h/conform): Likewise.
61 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
62 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
63 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
64 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
65 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
66 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
67 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
68 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
69 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
70 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
71 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
72 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
73 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
74 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
75 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
77 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
79 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
80 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
81 definitions for proper unfolding of __MATHDECL_VEC.
83 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
85 * benchtests/bench-strcoll.c:
87 (main): Remove unused variable res.
89 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
91 * timezone/Makefile (%/UTC %/Universal):
92 Generate test-result files for UTC and Universal.
94 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
96 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
98 2015-06-18 Joseph Myers <joseph@codesourcery.com>
101 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
102 for arguments with small absolute value.
103 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
104 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
105 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
106 (__asinh): Force underflow exception for arguments with small
108 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
109 (__asinhf): Force underflow exception for arguments with small
111 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
112 (__asinhl): Force underflow exception for arguments with small
114 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
115 (__asinhl): Force underflow exception for arguments with small
117 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
118 (__asinhl): Force underflow exception for arguments with small
120 * math/auto-libm-test-in: Do not mark underflow exceptions as
121 possibly missing for bug 16350.
122 * math/auto-libm-test-out: Regenerated.
124 * include/bits/ipc.h: Remove file.
125 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
127 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
128 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
129 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
130 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
131 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
132 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
133 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
134 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
135 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
137 * math/auto-libm-test-in: Remove spurious underflow allowance for
139 * math/auto-libm-test-out: Regenerated.
142 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
143 unconditional definition.
144 (MCAST_BLOCK_SOURCE): Likewise.
145 (MCAST_UNBLOCK_SOURCE): Likewise.
146 (MCAST_LEAVE_GROUP): Likewise.
147 (MCAST_JOIN_SOURCE_GROUP): Likewise.
148 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
149 (MCAST_MSFILTER): Likewise.
150 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
152 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
153 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
154 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
155 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
156 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
158 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
160 * NEWS: Mention addition of x86_64 vector sincosf.
161 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
162 * math/test-float-vlen4.h: Likewise.
163 * math/test-float-vlen8.h: Likewise.
164 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
165 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
166 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
167 * sysdeps/x86_64/fpu/Versions: New versions added.
168 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
169 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
170 Added build of SSE, AVX2 and AVX512 IFUNC versions.
171 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
172 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
173 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
174 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
175 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
176 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
177 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
178 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
179 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
180 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
181 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
182 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
183 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
184 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
185 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
186 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
187 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
188 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
189 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
190 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
191 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
193 * NEWS: Mention addition of x86_64 vector sincos.
194 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
195 * math/math.h (__MATHDECL_VEC): New macro.
196 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
197 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
198 declaration under condition.
199 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
200 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
201 TEST_VEC_LOOP change.
202 * math/test-double-vlen4.h: Likewise.
203 * math/test-double-vlen8.h: Likewise.
204 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
205 * math/test-float-vlen4.h: Likewise.
206 * math/test-float-vlen8.h: Likewise.
207 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
208 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
209 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
210 * sysdeps/x86_64/fpu/Versions: New versions added.
211 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
212 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
213 Added build of SSE, AVX2 and AVX512 IFUNC versions.
214 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
216 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
218 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
219 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
220 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
221 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
222 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
223 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
224 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
225 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
226 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
227 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
228 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
229 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
230 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
231 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
232 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
233 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
234 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
236 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
237 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
238 redirections for powf.
239 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
240 * sysdeps/x86_64/fpu/Versions: New versions added.
241 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
242 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
243 Added build of SSE, AVX2 and AVX512 IFUNC versions.
244 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
245 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
246 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
247 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
248 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
249 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
250 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
251 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
252 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
253 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
254 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
255 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
256 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
257 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
258 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
259 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
260 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
261 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
262 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
263 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
264 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
265 * math/test-float-vlen16.h: Fixed 2 argument macro.
266 * math/test-float-vlen4.h: Likewise.
267 * math/test-float-vlen8.h: Likewise.
268 * NEWS: Mention addition of x86_64 vector powf.
270 2015-06-17 Joseph Myers <joseph@codesourcery.com>
272 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
274 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
276 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
277 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
281 * resource/getpriority.c (getpriority): Rename to __getpriority
282 and define as weak alias of __getpriority.
283 * resource/setpriority.c (setpriority): Rename to __setpriority
284 and define as weak alias of __setpriority.
285 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
286 __getpriority and define as weak alias of __getpriority.
287 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
288 __setpriority and define as weak alias of __setpriority.
289 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
291 (setpriority): Use __setpriority as strong name.
292 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
293 __getpriority and define as weak alias of __getpriority.
294 * include/sys/resource.h (__getpriority): Declare. Use
296 (__setpriority): Likewise.
297 (getpriority): Don't use libc_hidden_proto.
298 (setpriority): Likewise.
299 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
300 getpriority. Call __setpriority instead of setpriority.
301 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
305 * misc/getttyent.c (getttynam): Rename to __getttynam and define
306 as weak alias of __getttynam. Use prototype function definition.
307 Call __setttyent, __getttyent and __endttyent instead of
308 setttyent, getttyent and endttyent.
309 (getttyent): Rename to __getttyent and define as weak alias of
310 __getttyent. Call __setttyent instead of setttyent. Call
311 __fgets_unlocked instead of fgets_unlocked.
312 (setttyent): Rename to __setttyent and define as weak alias of
314 (endttyent): Rename to __endttyent and define as weak alias of
316 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
317 (__setttyent): Likewise.
318 (__endttyent): Likewise.
319 (getttyent): Don't use libc_hidden_proto.
320 (setttyent): Likewise.
321 (endttyent): Likewise.
322 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
323 __endttyent instead of setttyent, getttyent and endttyent.
324 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
328 * socket/recv.c (__recv): Use libc_hidden_def.
329 * socket/socket.c (__socket): Likewise.
330 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
331 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
332 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
333 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
334 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
336 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
338 * include/sys/socket.h (__socket): Do not use attribute_hidden.
339 Use libc_hidden_proto.
341 * socket/Versions (libc): Export __recv and __socket at version
343 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
345 (init_mq_netlink): Call __socket instead of socket.
346 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
350 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
351 __mq_timedreceive and define as alias of __mq_timedreceive. Use
353 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
354 define as alias of __mq_timedsend. Use hidden_weak.
355 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
356 __mq_timedsend as strong name.
357 (mq_timedreceive): Use __mq_timedreceive as strong name.
358 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
359 (__mq_timedreceive): Likewise.
360 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
361 __mq_timedreceive instead of mq_timedreceive.
362 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
363 instead of mq_timedsend.
364 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
367 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
368 hidden_def and hidden_weak instead of libc_hidden_def and
370 (top level): Refer to hidden_def in comment.
371 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
372 macro. Use it instead of libc_hidden_def.
373 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
374 specify __GI_* name explicitly.
375 (mq_timedreceive): Likewise.
376 (mq_setattr): Likewise.
379 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
380 __pthread_barrier_init and define as weak alias of
381 __pthread_barrier_init.
382 * sysdeps/sparc/nptl/pthread_barrier_init.c
383 (pthread_barrier_init): Likewise.
384 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
385 __pthread_barrier_wait and define as weak alias of
386 __pthread_barrier_wait.
387 * sysdeps/sparc/nptl/pthread_barrier_wait.c
388 (pthread_barrier_wait): Likewise.
389 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
390 (pthread_barrier_wait): Likewise.
391 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
392 (pthread_barrier_wait): Likewise.
393 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
394 (pthread_barrier_wait): Likewise.
395 * nptl/Versions (libpthread): Export __pthread_barrier_init and
396 __pthread_barrier_wait at version GLIBC_PRIVATE.
397 * include/pthread.h (__pthread_barrier_init): Declare.
398 (__pthread_barrier_wait): Likewise.
399 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
400 Call __pthread_barrier_wait instead of pthread_barrier_wait.
401 (helper_thread): Likewise.
402 (init_mq_netlink): Call __pthread_barrier_init instead of
403 pthread_barrier_init.
406 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
407 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
408 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
409 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
411 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
415 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
416 strong alias of _IO_fflush. Use libc_hidden_def.
417 * libio/iofflush_u.c (fflush_unlocked): Rename to
418 __fflush_unlocked and define as weak alias of __fflush_unlocked.
419 Use libc_hidden_weak.
420 * include/stdio.h (__fflush_unlocked): Declare. Use
422 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
424 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
428 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
429 define as weak alias of __addseverity.
430 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
432 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
433 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
434 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
437 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
439 (__tdelete): Likewise.
441 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
442 __twalk to GLIBC_PRIVATE.
443 * include/search.h (__tsearch): Use libc_hidden_proto.
445 (__tdelete): Likewise.
447 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
448 Call __tdelete instead of tdelete.
449 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
450 tfind. Call __tsearch instead of tsearch.
451 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
452 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
454 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
457 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
458 (dprintf): Define as a weak alias of __dprintf, not a strong
460 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
461 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
463 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
465 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
466 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
469 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
471 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
475 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
476 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
477 (in6addr_loopback): Rename to __in6addr_loopback and define as
478 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
479 * include/netinet/in.h (__in6addr_loopback): Declare. Use
481 (__in6addr_any): Likewise.
482 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
484 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
486 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
488 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
490 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
491 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
492 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
493 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
494 redirections for pow.
495 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
496 * sysdeps/x86_64/fpu/Versions: New versions added.
497 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
498 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
499 build of SSE, AVX2 and AVX512 IFUNC versions.
500 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
501 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
502 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
503 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
504 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
505 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
506 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
507 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
508 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
509 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
510 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
511 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
512 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
513 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
514 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
515 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
516 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
517 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
518 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
519 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
520 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
521 * NEWS: Mention addition of x86_64 vector pow.
523 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
524 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
525 redirections for expf.
526 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
527 * sysdeps/x86_64/fpu/Versions: New versions added.
528 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
529 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
530 build of SSE, AVX2 and AVX512 IFUNC versions.
531 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
532 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
533 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
534 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
535 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
536 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
537 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
538 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
539 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
540 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
541 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
542 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
543 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
544 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
545 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
546 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
547 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
548 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
549 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
550 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
551 * NEWS: Mention addition of x86_64 vector expf.
553 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
554 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
555 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
556 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
557 redirections for exp.
558 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
559 * sysdeps/x86_64/fpu/Versions: New versions added.
560 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
561 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
562 build of SSE, AVX2 and AVX512 IFUNC versions.
563 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
564 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
565 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
566 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
567 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
568 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
569 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
570 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
571 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
572 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
573 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
574 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
575 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
576 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
577 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
578 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
579 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
580 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
581 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
582 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
583 * NEWS: Mention addition of x86_64 vector exp.
585 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
586 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
587 redirections for logf.
588 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
589 * sysdeps/x86_64/fpu/Versions: New versions added.
590 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
591 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
592 build of SSE, AVX2 and AVX512 IFUNC versions.
593 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
594 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
595 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
596 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
597 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
598 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
599 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
600 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
601 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
602 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
603 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
604 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
605 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
606 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
607 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
608 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
609 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
610 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
611 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
612 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
613 * NEWS: Mention addition of x86_64 vector logf.
615 * bits/libm-simd-decl-stubs.h: Added stubs for log.
616 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
617 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
618 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
619 redirections for log.
620 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
621 * sysdeps/x86_64/fpu/Versions: New versions added.
622 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
623 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
624 build of SSE, AVX2 and AVX512 IFUNC versions.
625 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
626 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
627 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
628 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
629 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
630 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
631 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
632 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
633 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
634 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
635 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
636 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
637 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
638 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
639 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
640 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
641 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
642 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
643 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
644 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
645 * NEWS: Mention addition of x86_64 vector log.
647 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
649 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
650 cfi_adjust_cfa_offset argument.
651 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
652 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
655 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
656 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
657 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
659 (_dl_tlsdesc_dynamic): Likewise.
660 (_dl_tlsdesc_return_lazy): Likewise.
661 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
662 relaxed atomics instead of volatile and synchronize with release store.
663 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
665 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
667 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
669 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
670 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
671 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
672 * sysdeps/x86_64/fpu/Versions: New versions added.
673 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
674 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
675 build of SSE, AVX2 and AVX512 IFUNC versions.
676 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
677 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
678 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
679 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
680 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
681 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
682 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
683 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
684 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
685 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
686 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
687 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
688 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
689 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
690 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
691 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
692 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
693 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
694 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
695 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
696 * NEWS: Mention addition of x86_64 vector sinf.
698 2015-06-14 Joseph Myers <joseph@codesourcery.com>
700 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
701 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
702 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
704 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
705 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
707 2015-06-12 Joseph Myers <joseph@codesourcery.com>
710 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
711 strong alias of _IO_fputs. Use libc_hidden_def.
712 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
713 and define as weak alias of __fputs_unlocked. Use
715 * include/stdio.h (__fputs_unlocked): Declare. Use
717 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
721 * resolv/netdb.h [__USE_POSIX]: Change condition to
723 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
725 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
726 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
727 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
728 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
729 [XPG4 || UNIX98] (AI_ALL): Likewise.
730 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
731 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
732 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
733 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
734 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
735 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
736 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
737 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
738 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
739 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
740 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
741 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
742 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
743 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
744 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
745 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
746 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
747 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
748 [XPG4 || UNIX98] (gai_strerror): Likewise.
749 [XPG4 || UNIX98] (getaddrinfo): Likewise.
750 [XPG4 || UNIX98] (getnameinfo): Likewise.
753 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
754 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
756 (getgrent): Likewise.
757 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
759 [XPG3 || POSIX2008] (endgrent): Likewise.
760 [XPG3] (setgrent): Likewise.
761 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
763 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
766 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
767 define as weak alias of __getlogin_r. Use libc_hidden_weak.
768 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
769 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
770 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
771 * include/unistd.h (__getlogin_r): Declare. Use
773 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
774 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
776 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
777 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
778 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
780 2015-06-12 Martin Sebor <msebor@redhat.com>
783 * Makerules (check-install-supported): New target.
784 (install): Add check-install-supported as a dependency.
785 * manual/install.texi (Installing the C Library): Document
786 that overriding prefix and exec_prefix is not supported.
788 * INSTALL: Regenerate from the above.
790 2015-06-12 Joseph Myers <joseph@codesourcery.com>
793 * posix/Versions (libc): Export __libc_pread at version
795 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
797 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
802 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
803 (cvt_symbol): Use weak_alias instead of strong_alias.
804 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
805 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
807 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
808 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
811 * inet/herrno.c (h_errno): Rename to __h_errno.
812 (__libc_h_errno): Define as alias of __h_errno not h_errno.
813 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
814 to __h_errno instead of h_errno.
815 * nptl/herrno.c (h_errno): Rename to __h_errno.
816 (__h_errno_location): Refer to __h_errno not h_errno.
817 * resolv/Versions (h_errno): Rename to __h_errno.
818 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
820 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
822 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
824 * configure.ac: More strict check for AVX512 assembler support.
825 * configure: Regenerated.
827 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
828 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
829 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
830 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
831 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
832 * sysdeps/x86_64/fpu/Versions: New versions added.
833 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
834 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
835 build of SSE, AVX2 and AVX512 IFUNC versions.
836 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
837 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
838 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
839 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
840 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
841 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
842 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
843 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
844 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
845 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
846 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
847 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
848 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
849 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
850 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
851 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
852 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
853 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
854 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
855 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
856 * NEWS: Mention addition of x86_64 vector sin.
858 2015-06-11 Florian Weimer <fweimer@redhat.com>
860 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
863 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
866 * nptl/pt-interp.c: New file.
867 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
869 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
870 $(common-objpfx)runtime-linker.h.
872 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
874 * Makeconfig (+interp): Remove unused variable.
875 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
876 only. Depend on $(common-objpfx)runtime-linker.h instead of
877 $(elf-objpfx)runtime-linker.h.
878 ($(elf-objpfx)runtime-linker.h): Rename to
879 $(common-objpfx)runtime-linker.h and move ...
880 * Makerules [$(build-shared) = yes]: ... here.
881 * elf/interp.c: Include <runtime-linker.h> instead of
882 <elf/runtime-linker.h>.
884 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
886 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
887 (__gettimeofday_syscall): Remove vsyscall fallback.
888 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
889 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
890 Add syscall fallback function.
891 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
892 if vDSO is not present.
893 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
895 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
898 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
900 2015-06-09 Joseph Myers <joseph@codesourcery.com>
903 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
905 (wcscmp): Define as weak alias of WCSCMP.
906 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
908 (USE_HIDDEN_DEF): Define.
909 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
910 __wcscoll. Don't use libc_hidden_weak.
911 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
913 * sysdeps/i386/i686/multiarch/wcscmp-c.c
914 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
916 (weak_alias): Undefine and redefine.
917 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
918 __wcscmp and define as weak alias of __wcscmp.
919 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
920 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
921 (__wcscoll): Likewise.
922 (wcscmp): Don't use libc_hidden_proto.
924 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
926 * posix/regexec.c (check_node_accept_bytes): Likewise.
927 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
929 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
930 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
933 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
934 __fstatvfs and define as weak alias of __fstatvfs. Use
936 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
937 and define as weak alias of __statvfs. Use libc_hidden_weak.
938 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
939 Define as alias of __fstatvfs, not fstatvfs.
940 (fstatvfs64): Likewise.
941 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
942 Define as alias of __statvfs, not statvfs.
943 (statvfs64): Likewise.
944 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
947 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
950 (HAVE_GETCPU_VSYSCALL): Define.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
952 (HAVE_GETCPU_VSYSCALL): Likewise.
953 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
954 * sysdeps/unix/sysv/linux/sched_getcpu.c
955 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
956 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
957 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
959 * sysdeps/unix/sysv/linux/x86_64/init-first.c
960 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
964 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
965 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
966 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
967 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
969 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
971 * sysdeps/x86_64/fpu/Makefile: New file.
972 * sysdeps/x86_64/fpu/Versions: New file.
973 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
974 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
975 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
976 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
977 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
978 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
979 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
980 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
981 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
982 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
983 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
984 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
985 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
986 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
987 build of SSE, AVX2 and AVX512 IFUNC versions.
988 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
989 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
990 * sysdeps/x86_64/configure.ac: Options for libmvec build.
991 * sysdeps/x86_64/configure: Regenerated.
992 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
993 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
994 * manual/install.texi (Configuring and compiling): Document
996 * INSTALL: Regenerated.
997 * NEWS: Mention addition of libmvec and x86_64 vector cos.
999 * math/Makefile: Added rules for vector tests.
1000 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1001 declaration under condition.
1002 * math/test-double-vlen2.h: New file.
1003 * math/test-double-vlen4.h: New file.
1004 * math/test-double-vlen8.h: New file.
1005 * math/test-vec-loop.h: Added initialization macro.
1006 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1007 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1008 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1009 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1010 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1011 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1012 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1013 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1014 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1015 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1016 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1018 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1019 * sysdeps/x86_64/fpu/Versions: New versions added.
1020 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1021 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1022 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1023 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1024 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1025 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1026 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1027 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1028 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1029 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1030 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1031 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1032 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1033 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1034 build of SSE, AVX2 and AVX512 IFUNC versions.
1035 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1036 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1037 * NEWS: Mention addition of x86_64 vector cosf.
1039 * math/Makefile: Added CFLAGS for new tests.
1040 * math/test-float-vlen16.h: New file.
1041 * math/test-float-vlen4.h: New file.
1042 * math/test-float-vlen8.h: New file.
1043 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1044 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1045 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1046 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1047 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1048 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1049 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1050 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1051 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1052 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1053 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1055 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1057 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1058 * locale/programs/ld-ctype.c: Likewise.
1060 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1062 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1063 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1064 bit_ZMM16_31_state): New macro.
1065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1066 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1068 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1070 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1072 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1074 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1076 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1079 * libio/memstream.c (open_memstream): Rename to __open_memstream
1080 and define as weak alias of __open_memstream.
1081 * include/stdio.h (__open_memstream): Declare. Use
1083 (open_memstream): Don't use libc_hidden_proto.
1084 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1086 * posix/getopt.c (_getopt_internal_r): Likewise.
1087 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1089 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1090 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1091 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1094 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1098 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1099 [__USE_XOPEN2K8]. Remove redundant #endif.
1100 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1101 Remove redundant #if.
1102 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1104 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1105 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1108 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1109 (__iswlower): Likewise.
1110 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1111 (__iswlower): Likewise.
1112 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1113 instead of towlower.
1114 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1115 instead of iswlower. Call __towupper instead of towupper.
1116 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1117 instead of iswalnum.
1119 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1121 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1124 2015-06-05 Florian Weimer <fweimer@redhat.com>
1128 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1129 Check for overflow properly. Check for O_APPEND. Ignore large
1130 file system block sizes. Add comments about problems.
1131 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1132 * manual/filesys.texi (Storage Allocation): New node.
1134 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1136 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1137 cancellable syscalls.
1138 (SYS_ify): Add guard to no redefine it.
1139 (INLINE_SYSCALL): Likewise.
1140 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1141 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1142 SYSCALL_CANCEL instead.
1143 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1144 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1145 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1146 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1147 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1148 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1149 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1150 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1151 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1152 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1153 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1154 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1155 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1156 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1157 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1158 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1160 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1161 (__libc_pread64): Likewise.
1162 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1163 (__libc_preadv): Likewise.
1164 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1165 (__libc_readv64): Likewise.
1166 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1167 (__libc_pwrite): Likewise.
1168 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1169 (__libc_pwrite64): Likewise.
1170 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1171 (__libc_pwritev): Likewise.
1172 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1173 (__libc_pwritev64): Likewise.
1174 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1175 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1176 (sync_file_range): Likewise.
1177 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1179 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1181 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1182 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1183 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1184 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1185 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1186 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1187 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1188 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1192 (__libc_read64): Likewise.
1193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1202 (__libc_pread64): Likewise.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1206 (__libc_pwrite64): Likewise.
1207 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1208 (sync_file_range): Likewise.
1209 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1210 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1211 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1212 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1213 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1214 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1215 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1216 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1217 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1218 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1219 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1220 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1221 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1222 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1223 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1224 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1225 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1226 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1227 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1229 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1231 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1232 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1234 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1235 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1236 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1237 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1239 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1240 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1241 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1242 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1245 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1247 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1249 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1250 Use VDSO routines for gettimeofday, clock_gettime if
1252 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1253 Declare VDSO symbols.
1254 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1255 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1256 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1257 * sysdeps/unix/sysv/linux/arm/Versions: Add
1258 __vdso_clock_gettime.
1260 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1262 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1263 be an inline implementation regardless of library is built within.
1264 (open_not_cancel_2): Likewise.
1265 (__read_nocancel): Likewise.
1266 (__write_nocancel): Likewise.
1267 (openat_not_cancel): Likewise.
1268 (openat_not_cancel_3): Likewise.
1269 (openat64_not_cancel): Likewise.
1270 (openat64_not_cancel_3): Likewise.
1271 (__close_nocancel): Likewise.
1272 (pause_not_cancel): Likewise.
1273 (nanosleep_not_cancel): Likewise.
1274 (sigsuspend_not_cancel): Likewise.
1276 2015-06-04 Torvald Riegel <triegel@redhat.com>
1279 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1281 (__pthread_rwlock_rdlock_slow): Likewise.
1282 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1284 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1286 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1287 * nptl/tst-rwlock16.c: New file.
1288 * nptl/Makefile (tests): Add new test.
1290 2015-06-04 Torvald Riegel <triegel@redhat.com>
1293 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1294 missing wake-up of readers.
1295 * nptl/tst-rwlock15.c: New file.
1296 * nptl/Makefile (tests): Add new test.
1298 2015-06-03 Roland McGrath <roland@hack.frob.com>
1300 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1301 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1302 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1303 and __nacl_supply_interface_rtld.
1304 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1305 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1306 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1307 Add __nacl_supply_interface_rtld.
1308 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1310 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1312 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1314 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1315 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1317 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1319 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1320 __signbit* with standard C99 macros.
1321 * math/e_exp10l.c: Likewise.
1322 * math/e_exp2l.c: Likewise.
1323 * math/e_scalb.c: Likewise.
1324 * math/e_scalbf.c: Likewise.
1325 * math/e_scalbl.c: Likewise.
1326 * math/s_ldexp.c: Likewise.
1327 * math/s_ldexpf.c: Likewise.
1328 * math/s_ldexpl.c: Likewise.
1329 * math/w_atan2.c: Likewise.
1330 * math/w_atan2f.c: Likewise.
1331 * math/w_atan2l.c: Likewise.
1332 * math/w_cosh.c: Likewise.
1333 * math/w_coshf.c: Likewise.
1334 * math/w_coshl.c: Likewise.
1335 * math/w_exp10.c: Likewise.
1336 * math/w_exp10f.c: Likewise.
1337 * math/w_exp10l.c: Likewise.
1338 * math/w_exp2.c: Likewise.
1339 * math/w_exp2f.c: Likewise.
1340 * math/w_exp2l.c: Likewise.
1341 * math/w_fmod.c: Likewise.
1342 * math/w_fmodf.c: Likewise.
1343 * math/w_fmodl.c: Likewise.
1344 * math/w_hypot.c: Likewise.
1345 * math/w_hypotf.c: Likewise.
1346 * math/w_hypotl.c: Likewise.
1347 * math/w_jnl.c: Likewise.
1348 * math/w_lgamma.c: Likewise.
1349 * math/w_lgamma_r.c: Likewise.
1350 * math/w_lgammaf.c: Likewise.
1351 * math/w_lgammaf_r.c: Likewise.
1352 * math/w_lgammal.c: Likewise.
1353 * math/w_lgammal_r.c: Likewise.
1354 * math/w_pow.c: Likewise.
1355 * math/w_powf.c: Likewise.
1356 * math/w_powl.c: Likewise.
1357 * math/w_remainder.c: Likewise.
1358 * math/w_remainderf.c: Likewise.
1359 * math/w_remainderl.c: Likewise.
1360 * math/w_scalb.c: Likewise.
1361 * math/w_scalbf.c: Likewise.
1362 * math/w_scalbl.c: Likewise.
1363 * math/w_scalbln.c: Likewise.
1364 * math/w_scalblnf.c: Likewise.
1365 * math/w_scalblnl.c: Likewise.
1366 * math/w_sinh.c: Likewise.
1367 * math/w_sinhf.c: Likewise.
1368 * math/w_sinhl.c: Likewise.
1369 * math/w_tgamma.c: Likewise.
1370 * math/w_tgammaf.c: Likewise.
1371 * math/w_tgammal.c: Likewise.
1372 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1373 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1379 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1380 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1381 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1382 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1383 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1384 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1386 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1389 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1400 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1403 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1404 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1405 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1406 * stdio-common/printf_fp.c: Likewise.
1407 * stdio-common/printf_fphex.c: Likewise.
1408 * stdio-common/printf_size.c: Likewise.
1410 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1413 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1415 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1417 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1418 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1419 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1420 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1421 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1422 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1423 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1424 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1425 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1426 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1429 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1430 weak alias of __wmemchr. Use libc_hidden_weak.
1431 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1432 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1435 2015-06-02 Roland McGrath <roland@hack.frob.com>
1438 * elf/tst-tlsalign-extern.c: New file.
1439 * elf/tst-tlsalign-extern-static.c: New file.
1440 * elf/tst-tlsalign-vars.c: New file.
1441 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1442 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1443 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1444 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1445 (test-xfail-tst-tlsalign-extern-static): New variable.
1447 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1449 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1450 Use variable name _sc_err instead of err.
1451 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1453 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1454 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1455 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1456 (INLINE_SYSCALL): Likewise.
1458 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1459 * include/string.h (__strnlen): Use libc_hidden_proto.
1460 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1461 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1462 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1463 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1464 (libc_hidden_def): Undefine and redefine.
1465 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1466 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1468 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1470 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1473 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1474 weak alias of __towlower. Use libc_hidden_weak.
1475 (towupper): Rename to __towupper and define as weak alias of
1476 __towupper. Use libc_hidden_weak.
1477 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1478 (__towupper): Likewise.
1479 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1480 __towlower instead of towlower.
1482 2015-06-02 Roland McGrath <roland@hack.frob.com>
1484 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1485 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1487 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1489 * sysdeps/aarch64/libm-test-ulps: Update.
1491 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1493 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1495 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1497 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1498 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1499 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1500 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1501 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1503 2015-06-01 Martin Sebor <msebor@redhat.com>
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1507 (__setcontext): Use extended four-operand version of mtsf whenever
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1510 (__novec_swapcontext): Likewise.
1512 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1514 * benchtests/scripts/compare_bench.py: New file.
1515 * benchtests/scripts/import_bench.py (mean): New function.
1516 (split_list): Likewise.
1517 (do_for_all_timings): Likewise.
1518 (compress_timings): Likewise.
1520 * benchtests/scripts/import_bench.py: New file.
1521 * benchtests/scripts/validate_benchout.py: Import import_bench
1522 instead of jsonschema.
1523 (validate_bench): Remove function.
1524 (main): Use import_bench.
1526 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1528 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1529 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1531 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1535 2015-05-28 Roland McGrath <roland@hack.frob.com>
1537 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1538 set THREAD_SELF->tid to a magic value and futex-wake it.
1539 Pass its address to the thread_exit system call.
1540 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1542 * sysdeps/nacl/lowlevellock.h: New file.
1543 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1545 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1546 Add TIMEOUT to current time, don't subtract it.
1548 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1551 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1552 ($(objpfx)tst-audit2.out): Also depend on
1553 $(objpfx)tst-auditmod9b.so.
1554 * elf/tst-audit2.c: Include <dlfcn.h>.
1555 (calloc_called): New.
1556 (calloc): Allow to be called more than once.
1557 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1559 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1561 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1562 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1564 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1566 * stdlib/monetary.h: Fix comment.
1568 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1570 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1571 Avoid using variables in #defines that might cause shadowing.
1572 (INTERNAL_VSYSCALL_CALL): Likewise.
1574 2015-05-26 Roland McGrath <roland@hack.frob.com>
1576 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1578 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1579 * nptl/lll_timedlock_wait.c: ... to this new file.
1580 * nptl/Makefile (libpthread-routines): Add it.
1581 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1582 * nptl/lll_timedwait_tid.c: ... to this new file.
1583 * nptl/Makefile (libpthread-routines): Add it.
1584 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1585 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1586 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1587 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1588 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1589 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1590 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1591 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1592 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1593 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1595 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1597 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1598 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1599 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1600 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1601 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1603 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1604 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1605 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1606 * sysdeps/unix/sysv/linux/tile/sysdep.h
1607 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1608 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1609 using vDSO syscall macro.
1611 2015-05-26 Andriy Rysin <arysin@gmail.com>
1614 * uk_UA: Fix sorting order for Ukrainian locale
1616 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1618 * stdlib/monetary.h: Fix comment.
1620 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1623 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1624 st_mtim and st_ctim members.
1625 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1626 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1627 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1628 (struct stat64): Likewise.
1629 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1630 (struct stat64): Likewise.
1631 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1632 (struct stat64): Likewise.
1634 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1636 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1637 Define and include sysdep-vdso.h.
1638 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1640 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1642 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1643 Define with VDSO_SYMBOL and use PTR_MANGLE.
1644 (__vdso_clock_gettime): Likewise.
1645 (__vdso_clock_getres): Likewise.
1646 (_libc_vdso_platform_setup): Likewise.
1647 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1649 (_libc_vdso_platform_setup): Likewise.
1650 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1652 (__vdso_clock_gettime): Likewise.
1653 (__vdso_clock_getres): Likewise.
1654 (__vdso_get_tbfreq): Likewise.
1655 (__vdso_getcpu): Likewise.
1656 (__vdso_time): Likewise.
1657 (__vdso_sigtramp_rt64): Likewise.
1658 (__vdso_signtramp32): Likewise.
1659 (__vdso_sigtramp_rt32): Likewise.
1660 (_libc_vdso_platform_setup): Likewise.
1661 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1663 (__vdso_clock_gettime): Likewise.
1664 (__vdso_clock_getres): Likewise.
1665 (_libc_vdso_platform_setup): Likewise.
1666 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1668 (__vdso_clock_gettime): Likewise.
1669 (_libc_vdso_platform_setup): Likewise.
1670 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1672 (__vdso_getcpu): Likewise.
1673 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1674 Use VDSO_SYMBOL macro to define.
1675 (__vdso_clock_gettime): Likewise.
1676 (__vdso_clock_getres): Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1679 (__vdso_clock_gettime): Likewise.
1680 (__vdso_clock_getres): Likewise.
1681 (__vdso_get_tbfreq): Likewise.
1682 (__vdso_getcpu): Likewise.
1683 (__vdso_time): Likewise.
1684 (__vdso_sigtramp_rt64): Likewise.
1685 (__vdso_signtramp32): Likewise.
1686 (__vdso_sigtramp_rt32): Likewise.
1687 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1689 (__vdso_clock_gettime): Likewise.
1690 (__vdso_clock_getres): Likewise.
1691 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1693 (__vdso_clock_gettime): Likewise.
1694 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1696 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1698 (INTERNAL_VSYSCALL): Likewise.
1699 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1701 (INTERNAL_VSYSCALL): Likewise.
1702 (INTERNAL_VSYSCALL_NCS): Likewise.
1703 (INTERNAL_VSYSCALL_CALL): New macro.
1704 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1707 (INTERNAL_VSYSCALL): Likewise.
1708 (INTERNAL_VSYSCALL_NCS): Likewise.
1709 (INTERNAL_VSYSCALL_CALL): New macro.
1710 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1712 (INLINE_VSYSCALL): Remove macro.
1713 (INTERNAL_VSYSCALL): Remove macro.
1714 (INTERNAL_VSYSCALL_NCS): Remove macro.
1715 (INTERNAL_VSYSCALL_CALL): New macro.
1716 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1717 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1718 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1719 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1720 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1722 (INLINE_VSYSCALL): Remove macro.
1723 (INTERNAL_VSYSCALL): Likewise.
1724 (INTERNAL_VSYSCALL_NCS): Likewise.
1725 (INTERNAL_VSYSCALL_CALL): New macro.
1726 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1727 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1728 PTR_DEMANGLE on vDSO pointer.
1729 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1730 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1732 (INTERNAL_SYSCALL): Likewise.
1733 (INTERNAL_VSYSCALL_NCS): Remove macro.
1734 (INTERNAL_VSYSCALL_CALL): New macro.
1735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1737 (INTERNAL_VSYSCALL): Likewise.
1738 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1739 sysdep-vdso.h instead of libc-vdso.h.
1740 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1742 (INLINE_VSYSCALL): Likewise.
1743 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1744 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1746 (INLINE_VSYSCALL): Likewise.
1747 (INTERNAL_VSYSCALL): Likewise.
1748 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1749 * sysdeps/unix/sysv/linux/timespec_get.c
1750 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1751 (timespec_get): Use ANSI prototype.
1752 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1753 and definition for Linux.
1755 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1757 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1758 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1760 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1763 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1764 for missing DT_PLTRELSZ.
1766 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
1768 Remove obsolete aliases that broke 'locale -a'
1770 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1771 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1772 breaking some applications that use 'locale -a' output.
1773 Change the encoding of this file from Latin-1 to ASCII to avoid
1774 other potential problems with people grepping this file.
1776 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1778 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1779 -fasynchronous-unwind-tables.
1780 (CFLAGS-sendto.c): Likewise.
1781 (CFLAGS-sendmsg.c): Likewise.
1782 (CFLAGS-connect.c): Likewise.
1783 (CFLAGS-recvmsg.c): Likewise.
1784 (CFLAGS-recvfrom.c): Likewise.
1785 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1786 (SOCKETCALL): New macro: non-cancellable socketcall.
1787 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1788 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1789 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1790 * sysdeps/unix/sysv/linux/accept.c: New file.
1791 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1792 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1793 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1794 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1795 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1796 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1797 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1798 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1799 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1800 * sysdeps/unix/sysv/linux/send.c: Likewise.
1801 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1802 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1803 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1804 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1805 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1806 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1807 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1809 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1810 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1811 instead of __internal_xxx function.
1812 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1814 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1815 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1816 instead of __internal_xxx function.
1817 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1819 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1820 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1821 instead of __internal_xxx function.
1822 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1823 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1824 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1825 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1826 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1827 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1828 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1829 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1830 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1831 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1832 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1833 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1834 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1835 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1836 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1837 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1838 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1839 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1840 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1841 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1844 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1845 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1846 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1847 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1848 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1849 * sysdeps/unix/sysv/linux/send.S: Likewise.
1850 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1851 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1852 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1853 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1854 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1855 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1856 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1857 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1858 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1859 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1860 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1861 socketcall is implemented in GLIBC.
1863 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1865 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1866 (__fma): Ignore uninitialized warnings around packing.
1867 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1868 (__fmaf): Ignore uninitialized warnings around packing.
1869 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1870 (__fmal): Ignore uninitialized warnings around packing.
1872 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1873 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1874 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1875 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1877 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1878 switch statement into default case.
1879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1881 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1882 a conditional in forcing "inexact".
1883 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1886 2015-05-22 Roland McGrath <roland@hack.frob.com>
1888 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1889 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1890 for each INTERNAL_SYSCALL use.
1892 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1895 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1896 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1900 * string/basename.c (basename): Rename to __basename and define as
1901 weak alias of __basename. Use libc_hidden_weak.
1902 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1903 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1904 __basename instead of basename.
1905 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1907 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1909 2015-05-18 Florian Weimer <fweimer@redhat.com>
1911 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1912 (_IO_JUMPS_FILE_plus): New.
1913 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1914 _IO_CAST_FIELD_ACCESS.
1915 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1916 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1917 * libio/freopen.c (freopen): Likewise.
1918 * libio/freopen64.c (freopen64): Likewise.
1919 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1920 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1921 * libio/iofwide.c (_IO_fwide): Likewise.
1922 * libio/memstream.c (open_memstream): Likewise.
1923 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1924 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1925 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1927 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1929 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1930 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1932 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1933 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1935 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1936 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1939 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1942 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1943 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1945 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1946 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1947 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1949 2015-05-21 Florian Weimer <fweimer@redhat.com>
1951 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1952 Adjust jump table label generation macros.
1954 2015-05-21 Florian Weimer <fweimer@redhat.com>
1956 * stdio-common/vfprintf.c (vfprintf): Move local variables
1957 args_malloced, specs, specs_malloced, and the code after
1958 do_positional to the printf_positional function.
1959 (printf_positional): New function.
1961 2015-05-21 Florian Weimer <fweimer@redhat.com>
1963 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1965 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1966 STEP4_TABLE, process_arg): Move macro definitions
1967 out of the vfprintf function. (Cosmetic change only.)
1969 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1971 * benchtests/Makefile (stdio-common-bench): Define.
1972 (benchset): Add stdio-common-bench.
1973 * sprintf-inputs: New file.
1974 * sprintf-source.c: New file.
1976 2015-05-21 Andreas Schwab <schwab@suse.de>
1980 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1981 of struct __res_state.
1982 * resolv/res_send.c (__libc_res_nsend): Likewise.
1983 (get_nsaddr): New function.
1984 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1987 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1989 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1990 -D_POSIX_C_SOURCE=199506L.
1992 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1994 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1995 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1996 Do not mention otherwise.
1997 [POSIX] (_XOPEN_VERSION): Do not expect.
1998 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1999 [POSIX] (_POSIX2_C_BIND): Likewise.
2000 [POSIX] (_POSIX2_VERSION): Likewise.
2001 [POSIX] (_XOPEN_XPG2): Likewise.
2002 [POSIX] (_XOPEN_XPG3): Likewise.
2003 [POSIX] (_XOPEN_XPG4): Likewise.
2004 [POSIX] (_XOPEN_UNIX): Likewise.
2005 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2006 [POSIX] (_POSIX_BARRIERS): Likewise.
2007 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2008 [POSIX] (_POSIX_CPUTIME): Likewise.
2009 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2010 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2011 [POSIX] (_POSIX_SHELL): Likewise.
2012 [POSIX] (_POSIX_SPAWN): Likewise.
2013 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2014 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2015 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2016 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2017 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2018 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2019 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2020 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2021 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2022 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2023 [POSIX] (_POSIX2_PBS): Likewise.
2024 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2025 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2026 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2027 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2028 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2029 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2030 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2031 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2032 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2033 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2034 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2035 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2036 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2037 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2038 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2039 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2040 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2041 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2042 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2043 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2044 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2045 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2046 [POSIX] (_SC_2_C_BIND): Likewise.
2047 [POSIX] (_SC_2_C_VERSION): Likewise.
2048 [POSIX] (_SC_2_PBS): Likewise.
2049 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2050 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2051 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2052 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2053 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2054 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2055 [POSIX] (_SC_BARRIERS): Likewise.
2056 [POSIX] (_SC_BASE): Likewise.
2057 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2058 [POSIX] (_SC_DEVICE_IO): Likewise.
2059 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2060 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2061 [POSIX] (_SC_FD_MGMT): Likewise.
2062 [POSIX] (_SC_FIFO): Likewise.
2063 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2064 [POSIX] (_SC_FILE_LOCKING): Likewise.
2065 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2066 [POSIX] (_SC_IOV_MAX): Likewise.
2067 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2068 [POSIX] (_SC_NETWORKING): Likewise.
2069 [POSIX] (_SC_PAGE_SIZE): Likewise.
2070 [POSIX] (_SC_PASS_MAX): Likewise.
2071 [POSIX] (_SC_PIPE): Likewise.
2072 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2073 [POSIX] (_SC_REGEXP): Likewise.
2074 [POSIX] (_SC_SHELL): Likewise.
2075 [POSIX] (_SC_SIGNALS): Likewise.
2076 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2077 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2078 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2079 [POSIX] (_SC_USER_GROUPS): Likewise.
2080 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2081 [POSIX] (_SC_STREAMS): Likewise.
2082 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2083 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2084 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2085 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2086 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2087 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2088 [POSIX] (_PC_FILESIZEBITS): Likewise.
2089 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2090 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2091 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2092 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2093 [POSIX] (uid_t): Likewise.
2094 [POSIX] (gid_t): Likewise.
2095 [POSIX] (off_t): Likewise.
2096 [POSIX] (pid_t): Likewise.
2097 [POSIX] (cuserid): Allow.
2098 (_SC_2_CHAR_TERM): Require constant.
2099 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2100 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2103 2015-05-20 Roland McGrath <roland@hack.frob.com>
2105 * sysdeps/nacl/pthread-pids.h: New file.
2106 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2107 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2109 * nptl/pthread-pids.h: New file.
2110 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2111 * nptl/nptl-init.c: Include <pthread-pids.h>.
2112 (__pthread_initialize_minimal_internal):
2113 Call __pthread_initialize_pids instead of set_tid_address syscall.
2115 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2116 * sysdeps/posix/usleep.c: ... here.
2118 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2120 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2121 call_pselect6 object.
2122 [$(subdir) = io]: Remove call_sync_file_range object.
2123 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2124 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2125 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2126 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2128 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2130 * math/s_cproj.c: Add include "math_private.h".
2131 * math/s_cprojf.c: Likewise.
2132 * math/s_cprojl.c: Likewise.
2134 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2137 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2138 high mantissa bit when testing whether P is a NaN.
2139 * math/libm-test.inc (remainder_test_data): Add more tests.
2140 (remquo_test_data): Likewise.
2143 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2144 below -32, return the argument, with underflow if subnormal.
2145 * math/auto-libm-test-in: Add more tests of atanh.
2146 * math/auto-libm-test-out: Regenerated.
2148 2015-05-19 Roland McGrath <roland@hack.frob.com>
2151 * nptl/tst-sem15.c: New file.
2152 * nptl/Makefile (tests): Add it.
2153 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2154 s/<</>>/ to fix typo in EOVERFLOW check.
2155 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2157 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2159 * manual/strings.texi (envz_remove): Fix typo in safety
2162 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2163 Steve Ellcey <sellcey@imgtec.com>
2165 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2166 in order to avoid strict alias warnings.
2167 (iruserok_af): Ditto for ra.
2169 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2173 (magicbyte): Convert to a function and avoid returning 0x01.
2174 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2175 (mem2chunk_check): Fix unsigned comparisons to zero.
2176 Hoist defs of sz and magic.
2178 2015-05-19 Richard Henderson <rth@redhat.com>
2180 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2182 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2184 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2187 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2188 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2189 (reused_arena): Find a non-corrupt arena.
2190 (heap_trim): Pass arena to unlink.
2191 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2193 (top_check): Likewise.
2194 (free_check): Likewise.
2195 (realloc_check): Likewise.
2196 * malloc/malloc.c (malloc_printerr): Add arena argument.
2198 (munmap_chunk): Adjust.
2199 (ARENA_CORRUPTION_BIT): New macro.
2200 (arena_is_corrupt): Likewise.
2201 (set_arena_corrupt): Likewise.
2202 (sysmalloc): Use mmap if there are no usable arenas.
2203 (_int_malloc): Likewise.
2204 (__libc_malloc): Don't fail if arena_get returns NULL.
2205 (_mid_memalign): Likewise.
2206 (__libc_calloc): Likewise.
2207 (__libc_realloc): Adjust for additional argument to
2209 (_int_free): Likewise.
2210 (malloc_consolidate): Likewise.
2211 (_int_realloc): Likewise.
2212 (_int_memalign): Don't touch corrupt arenas.
2213 * malloc/tst-malloc-backtrace.c: New test case.
2215 * Makefile (summarize-tests): Fix return value on success.
2217 * manual/string.texi (Envz Functions): Add envz_remove.
2219 2015-05-18 Roland McGrath <roland@hack.frob.com>
2221 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2222 (invalid_name): New function, broken out of ...
2223 (__opendirat): ... here. Call it.
2224 (need_isdir_precheck): New function, broken out of ...
2225 (__opendirat): ... here. Call it.
2226 Use __fxstatat64, not __xstatat64.
2227 (opendir_oflags): New function, broken out of ...
2228 (__opendirat): ... here. Call it.
2229 (opendir_tail): New function, broken out of ...
2230 (__opendirat): ... here. Call it.
2231 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2232 opendir_tail, rather than punting to __opendirat.
2233 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2235 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2237 * .gitignore: Ignore generated *.pyc.
2239 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2241 * include/stdio.h: Define __need_wint_t.
2242 * test-skeleton.c: Avoid `for' loop initial declaration.
2243 * nptl/tst-initializers1.c: Use test-skeleton.c.
2245 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2248 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2250 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2253 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2254 (__ieee754_atanh): Force underflow exception for results with
2255 small absolute value.
2256 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2257 (__ieee754_atanhf): Force underflow exception for results with
2258 small absolute value.
2259 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2260 (__ieee754_atanh): Force underflow exception for results with
2261 small absolute value.
2262 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2263 (__ieee754_atanhf): Force underflow exception for results with
2264 small absolute value.
2265 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2266 (__ieee754_atanhl): Force underflow exception for results with
2267 small absolute value.
2268 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2269 (__ieee754_atanhl): Force underflow exception for results with
2270 small absolute value.
2271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2272 (__ieee754_atanhl): Force underflow exception for results with
2273 small absolute value.
2274 * math/auto-libm-test-in: Do not allow missing underflow
2275 exceptions from atanh.
2276 * math/auto-libm-test-out: Regenerated.
2279 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2280 2**-28 as threshold for returning x or +/- 1/x.
2281 * math/auto-libm-test-in: Add more tests of tan.
2282 * math/auto-libm-test-out: Regenerated.
2285 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2286 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2287 * math/auto-libm-test-in: Add another test of lgamma.
2288 * math/auto-libm-test-out: Regenerated.
2290 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2292 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2293 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2294 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2295 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2296 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2297 (ADD2A): Use fabs. (SUB2A): Use fabs.
2298 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2299 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2300 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2301 (log1): Use fabs. (my_log2): Use fabs.
2302 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2303 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2305 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2307 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2308 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2309 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2310 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2311 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2312 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2314 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2317 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2318 as threshold for returning 1 - x.
2319 * math/auto-libm-test-in: Add more tests of erfc.
2320 * math/auto-libm-test-out: Regenerated.
2322 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2325 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2326 threshold for large arguments.
2327 * math/auto-libm-test-in: Add another test of atan.
2328 * math/auto-libm-test-out: Regenerated.
2331 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2332 (__log1p): Force underflow exception for results with small
2334 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2335 (__log1pf): Force underflow exception for results with small
2337 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2338 (__log1p): Force underflow exception for results with small
2340 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2341 (__log1pf): Force underflow exception for results with small
2343 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2344 (__log1pl): Force underflow exception for results with small
2346 * math/auto-libm-test-in: Do not allow missing underflow
2347 exceptions from log1p.
2348 * math/auto-libm-test-out: Regenerated.
2350 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2351 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2354 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2356 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2358 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2359 (libmvec): New variable.
2360 * configure.ac: Added option for mathvec build.
2361 * configure: Regenerated.
2362 * mathvec/Depend: New file.
2363 * mathvec/Makefile: New file.
2364 * shlib-versions: Added libmvec.
2365 * math/Makefile: Added rule for libm.so installation.
2367 * bits/math-vector.h: New file.
2368 * bits/libm-simd-decl-stubs.h: New header.
2369 * math/Makefile (headers): Added new header
2370 libm-simd-decl-stubs.h.
2371 * math/math.h (__MATHCALL_VEC): New macro.
2373 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2374 for conditions in testing functions.
2375 * math/Makefile: Added call of libm-have-vector-test.sh.
2376 * math/libm-test.inc (HAVE_VECTOR): New macros.
2378 * math/libm-test.inc: START refactored.
2379 * math/test-double.c (TEST_MATHVEC): Add define.
2380 * math/test-float.c: Likewise.
2381 * math/test-idouble.c: Likewise.
2382 * math/test-ifloat.c: Likewise.
2383 * math/test-ildoubl.c: Likewise.
2384 * math/test-ldouble.c: Likewise.
2385 * sysdeps/generic/math-tests-arch.h
2386 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2389 * math/test-double.c (FUNC_TEST): New macro.
2390 * math/test-float.c: Likewise.
2391 * math/test-idouble.c: Likewise.
2392 * math/test-ifloat.c: Likewise.
2393 * math/test-ildoubl.c: Likewise.
2394 * math/test-ldouble.c: Likewise.
2395 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2397 2015-05-13 Roland McGrath <roland@hack.frob.com>
2399 * sysdeps/nacl/fdopendir.c: New file.
2401 * dirent/scandir-tail.c: New file.
2402 * dirent/scandir64-tail.c: New file.
2403 * dirent/Makefile (routines): Add them.
2404 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2405 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2406 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2407 [!SCANDIR] (SCANDIR_TAIL): New macro.
2408 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2409 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2410 (SCANDIRAT): Macro removed.
2411 (SCANDIR_TAIL): New macro.
2412 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2413 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2414 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2415 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2416 (READDIR): Macro removed.
2417 (SCANDIR_TAIL): New macro.
2418 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2419 (SCANDIR_TAIL): New macro.
2421 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2422 * dirent/scandir-cancel.c: ... to this new file.
2423 * dirent/Makefile (routines): Add it.
2424 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2425 * sysdeps/unix/sysv/linux/i386/scandir64.c
2426 (SKIP_SCANDIR_CANCEL): Macro removed.
2427 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2429 * dirent/tst-scandir.c: New file.
2430 * dirent/tst-scandir64.c: New file.
2431 * dirent/Makefile (tests): Add them.
2433 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2436 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2438 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2440 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2443 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2445 * benchtests/bench-strcoll.c: New benchmark.
2446 * benchtests/Makefile: Generate locales and run benchmark.
2447 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2448 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2449 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2450 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2451 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2452 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2453 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2454 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2455 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2456 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2457 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2458 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2459 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2460 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2461 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2462 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2463 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2464 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2465 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2466 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2467 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2468 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2469 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2470 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2472 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2474 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2475 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2477 2015-05-12 Roland McGrath <roland@hack.frob.com>
2479 * posix/uname-values.h: New file.
2480 * posix/uname.c: Include that instead of <config-name.h>.
2481 * sysdeps/nacl/uname-values.h: New file.
2482 * sysdeps/arm/nacl/uname-values.h: New file.
2484 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2486 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2487 splitting into fields.
2489 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2491 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2492 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2493 * locale/localeinfo.h: Add enum collation_encoding_type.
2494 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2495 * programs/ld-collate.c (collate_output): Add encoding type info.
2496 * string/strcoll_l.c (STRDIFF): New function.
2497 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2498 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2500 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2503 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2504 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2505 <fpu_control.h> instead of <math/fpu_control.c>.
2506 * sysdeps/mips/mips32/fpu/Makefile: New file.
2508 2015-05-11 Andreas Schwab <schwab@suse.de>
2511 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2513 (_nss_compat_endgrent): Call nss_endgrent.
2514 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2516 (_nss_compat_endpwent): Call nss_endpwent.
2517 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2518 needent, call nss_setspent only if non-zero.
2519 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2520 (internal_endspent): Don't call nss_endspent.
2521 (_nss_compat_endspent): Call nss_endspent.
2522 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2523 Remove. All uses removed.
2524 (internal_setent): Remove parameter stayopen, add parameter
2525 stream. Use it instead of global variable.
2526 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2527 (internal_endent, internal_getent): Add parameter stream. Use it
2528 instead of global variable.
2529 (CONCAT(_nss_files_end,ENTNAME))
2530 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2531 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2532 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2534 (internal_setent, internal_endent): Add parameter stream. Use it
2535 instead of global variable.
2536 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2538 (get_next_alias): Add parameter stream.
2539 (_nss_files_getaliasent_r): Pass global stream.
2540 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2541 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2542 (_nss_files_gethostbyname4_r): Pass local stream to
2543 internal_setent, internal_getent and internal_endent. Remove
2546 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2548 * tst-strfmon1.c (tests): Update expected currency symbol.
2550 2015-05-08 Roland McGrath <roland@hack.frob.com>
2552 * sysdeps/nacl/gethostname.c: New file.
2554 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2556 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2558 * math/auto-libm-test-out: Regenerated.
2559 * sysdeps/i386/fpu/libm-test-ulps: Update.
2560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2562 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2565 * stdlib/tst-setcontext3.c: New file.
2566 * stdlib/tst-setcontext3.sh: New file.
2567 * stdlib/Makefile (tests): Add tst-setcontext3.
2568 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2569 to verify test program created output file.
2570 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2571 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2572 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2573 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2575 2015-05-06 Roland McGrath <roland@hack.frob.com>
2578 * elf/tst-tlsalign.c: New file.
2579 * elf/tst-tlsalign-static.c: New file.
2580 * elf/tst-tlsalign-lib.c: New file.
2581 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2582 (tests-static): Add tst-tlsalign-static.
2583 (modules-names): Add tst-tlsalign-lib.
2584 (test-xfail-tst-tlsalign): New variable.
2585 (test-xfail-tst-tlsalign-static): New variable.
2587 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2588 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2590 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2592 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2593 csqrt, erfc, sin and sincos.
2594 * math/auto-libm-test-out: Regenerated.
2595 * sysdeps/i386/fpu/libm-test-ulps: Update.
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2598 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2600 * sysdeps/aarch64/libm-test-ulps: Update.
2602 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2604 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2605 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2606 * math/auto-libm-test-out: Regenerated.
2607 * sysdeps/i386/fpu/libm-test-ulps: Update.
2608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2610 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2613 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2614 (wcsncpy): Likewise.
2616 2015-05-05 Florian Weimer <fweimer@redhat.com>
2618 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2619 Assume __ASSUME_FALLOCATE is always true.
2620 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2621 (__posix_fallocate64_l64): Likweise.
2622 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2623 (posix_fallocate): Likewise.
2624 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2625 (__posix_fallocate64_l64): Likewise.
2626 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2627 [!__ASSUME_FALLOCATE]: Add comment.
2629 2015-05-05 Florian Weimer <fweimer@redhat.com>
2631 * sysdeps/unix/sysv/linux/i386/Makefile
2632 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2633 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2634 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2635 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2636 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2637 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2638 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2640 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2642 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2643 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2645 * math/auto-libm-test-out: Regenerated.
2646 * sysdeps/i386/fpu/libm-test-ulps: Update.
2647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2649 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2651 * math/auto-libm-test-in: Add more tests of tgamma.
2652 * math/auto-libm-test-out: Regenerated.
2653 * sysdeps/i386/fpu/libm-test-ulps: Update.
2654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2656 * math/auto-libm-test-in: Add more tests of tanh.
2657 * math/auto-libm-test-out: Regenerated.
2658 * sysdeps/i386/fpu/libm-test-ulps: Update.
2659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2661 * math/auto-libm-test-in: Add more tests of tan.
2662 * math/auto-libm-test-out: Regenerated.
2663 * sysdeps/i386/fpu/libm-test-ulps: Update.
2664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2666 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2667 * math/auto-libm-test-out: Regenerated.
2668 * sysdeps/i386/fpu/libm-test-ulps: Update.
2669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2671 * math/auto-libm-test-in: Add another test of pow.
2672 * math/auto-libm-test-out: Regenerated.
2673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2675 * math/auto-libm-test-in: Add more tests of lgamma.
2676 * math/auto-libm-test-out: Regenerated.
2677 * sysdeps/i386/fpu/libm-test-ulps: Update.
2678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2680 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2682 * math/auto-libm-test-out: Regenerated.
2683 * sysdeps/i386/fpu/libm-test-ulps: Update.
2684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2686 2015-05-01 Mark Wielaard <mjw@redhat.com>
2688 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2689 Elf64_Chdr structs and ELFCOMPRESS constants.
2691 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2693 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2695 * math/auto-libm-test-out: Regenerated.
2696 * sysdeps/i386/fpu/libm-test-ulps: Update.
2697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2699 * math/auto-libm-test-in: Add more tests of erf and erfc.
2700 * math/auto-libm-test-out: Regenerated.
2701 * sysdeps/i386/fpu/libm-test-ulps: Update.
2702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2704 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2706 * config.h.in (HAVE_AARCH64_BE): Add.
2708 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2710 * math/auto-libm-test-in: Add more tests of csqrt.
2711 * math/auto-libm-test-out: Regenerated.
2712 * sysdeps/i386/fpu/libm-test-ulps: Update.
2713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2715 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2716 * math/auto-libm-test-out: Regenerated.
2717 * sysdeps/i386/fpu/libm-test-ulps: Update.
2718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2720 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2722 2015-04-29 Roland McGrath <roland@hack.frob.com>
2724 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2725 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2727 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2728 (euidaccess, eaccess): Define as weak aliases.
2730 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2731 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2732 but __suseconds_t is often 'long int' so some sources assume that
2733 type is being used (e.g. they use %ld to print tv_usec).
2735 2015-04-29 Florian Weimer <fweimer@redhat.com>
2738 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2740 * nss/tst-nss-getpwent.c: New file.
2741 * nss/Makefile (tests): Add new test.
2743 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2746 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2747 exponents less than 48 as cases where high part of mantissa needs
2748 examining to determine whether argument is integral.
2749 * math/libm-test.inc (round_test_data): Add more tests.
2751 2015-04-28 Mark Wielaard <mjw@redhat.com>
2753 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2755 2015-04-27 David S. Miller <davem@davemloft.net>
2757 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2759 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2761 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2764 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2766 2015-04-27 Florian Weimer <fweimer@redhat.com>
2769 * time/tzset.c (parse_tzname): Return error on memory allocation
2771 * test-skeleton.c (struct temp_name_list): Change type of name
2772 member to non-const.
2773 (add_temp_file): Create a copy of the file name.
2774 (delete_temp_files): Deallocate memory.
2775 (create_temp_file): Add comment.
2777 2015-04-24 Florian Weimer <fweimer@redhat.com>
2779 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2780 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2782 2015-04-24 Roland McGrath <roland@hack.frob.com>
2784 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2785 * sysdeps/arm/configure: Regenerated.
2787 2015-04-24 Florian Weimer <fweimer@redhat.com>
2790 * time/tzfile.c (__tzfile_read): Check for large values of
2791 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2792 * time/tzset.c (__tzstring_len): New function, based on the old
2793 __tzstring function.
2794 (__tzstring): Call __tzstring_len.
2795 (parse_tzname): New helper function extracted from
2796 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2798 (parse_offset): New helper function extracted from
2799 __tzset_parse_tz. Replace switch with fallthrough with
2800 initialization before sscanf.
2801 (parse_rule): Likewise.
2802 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2803 new-style function definition.
2804 * timezone/Makefile (tests): Add tst-tzset.
2805 (tst-tzset.out): Dependencies on time zone files.
2806 (tst-tzset-ENV): Set TZDIR.
2807 (testdata/XT%): Copy crafted time zone files.
2808 * timezone/README: Mention crafted time zone files.
2809 * timezone/testdata/XT1, timezone/testdata/XT2,
2810 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2812 * timezone/tst-tzset.c: New test.
2814 2015-04-24 Florian Weimer <fweimer@redhat.com>
2816 * Makeconfig (+gccwarn): Remove -Winline.
2818 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2820 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2822 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2824 * NEWS: Mention sysconf() cache information support for s390.
2825 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2827 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2829 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2830 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2831 (__nearbyint): Likewise.
2832 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2833 (copysignl): Likewise.
2835 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2838 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2839 based on padding. (CVE-2015-1781)
2841 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2843 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2845 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2846 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2847 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2848 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2849 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2850 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2851 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2852 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2853 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2854 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2855 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2856 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2857 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2858 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2859 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2860 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2861 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2862 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2863 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2864 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2865 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2866 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2867 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2869 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2871 * stdlib/setenv.c (__add_to_environ):
2872 Dump core quickly if setenv (..., NULL, ...) is called.
2873 This time, do it the right way, and pacify GCC with a pragma.
2875 2015-04-17 Roland McGrath <roland@hack.frob.com>
2877 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2878 IMAP->l_prev cannot be null, and #if out the code for the contrary
2879 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2880 believe that NS (&_dl_ns[NSID]) could point outside the array.
2882 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2883 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2884 before using NSID as an index.
2886 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2889 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2890 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2891 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2893 2015-04-17 Roland McGrath <roland@hack.frob.com>
2895 Add preliminary port to Google Native Client on ARM.
2896 * abi-tags (.*-.*-nacl.*): New entry.
2897 * sysdeps/arm/nacl: New directory.
2898 * sysdeps/nacl: New directory.
2900 2015-04-16 David S. Miller <davem@davemloft.net>
2902 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2903 lowlevellock-futex.h
2905 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2907 * sysdeps/tile/configure.ac: New file.
2908 * sysdeps/tile/configure: Regenerated.
2910 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2912 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2913 conditionals for weak_alias and libc_hidden_weak.
2914 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2915 libc_hidden_weak and weak_alias.
2916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2917 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2918 and weak_alias for static one.
2920 2015-04-15 David S. Miller <davem@davemloft.net>
2922 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2924 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2927 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2928 Use signed comparision instead of substraction to avoid
2930 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2931 Take the sign of ret.
2932 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2933 Do not expect precise return values. Only the sign matters.
2934 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2935 * wcsmbs/test-wcsncmp.c: New File.
2936 * string/test-strncmp.c: Add wcsncmp support.
2938 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2941 * math/w_log1p.c: New file.
2942 * math/w_log1pf.c: Likewise.
2943 * math/w_log1pl.c: Likewise.
2944 * math/Makefile (libm-calls): Add w_log1p.
2945 * math/s_log1pl.c (log1pl): Remove weak_alias.
2946 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2947 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2948 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2949 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2950 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2951 [NO_LONG_DOUBLE] (log1pl): Likewise.
2952 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2953 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2954 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2955 (log1p): Remove long_double_symbol.
2956 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2957 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2958 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2959 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2960 remove weak_alias for corresponding log1p function.
2961 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2962 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2963 * sysdeps/ia64/fpu/w_log1p.c: New file.
2964 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2965 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2966 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2968 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2971 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2972 decimal exponent by 1.
2973 * stdlib/tst-strtod-round-data: Add more tests.
2974 * stdlib/tst-strtod-round.c (tests): Regenerated.
2976 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2978 * math/auto-libm-test-in: Add more tests of clog and clog10.
2979 * math/auto-libm-test-out: Regenerated.
2980 * sysdeps/i386/fpu/libm-test-ulps: Update.
2981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2983 2015-04-09 Roland McGrath <roland@hack.frob.com>
2985 * Makeconfig (module-cppflags): Exclude all .v.i files.
2986 (skip-module-cppflags): Variable removed.
2988 * configure.ac (libc_config_ok): Initialize before reading
2989 preconfigure scripts, not after.
2990 * configure: Regenerated.
2992 * test-skeleton.c (TIMEOUT): Move #define to top level.
2993 (main): Grok environment variable TEST_DIRECT. If set, print
2994 test expectation details into that file and then behave as if
2997 2015-04-09 Florian Weimer <fweimer@redhat.com>
2999 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3002 2015-04-08 David S. Miller <davem@davemloft.net>
3004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3006 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3008 * math/auto-libm-test-in: Add more tests of atanh.
3009 * math/auto-libm-test-out: Regenerated.
3010 * sysdeps/i386/fpu/libm-test-ulps: Update.
3011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3013 * math/auto-libm-test-in: Add more tests of atan.
3014 * math/auto-libm-test-out: Regenerated.
3015 * sysdeps/i386/fpu/libm-test-ulps: Update.
3016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3018 2015-04-08 Florian Weimer <fweimer@redhat.com>
3020 * elf/pldd.c (main): Rewrite to use struct
3021 scratch_buffer instead of extend_alloca.
3022 * elf/pldd-xx.c (find_maps): Likewise.
3023 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3025 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3026 scratch_buffer instead of extend_alloca.
3027 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3028 grp/compat-initgroups.c.
3029 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3030 Rewrite to use struct scratch_buffer instead of extend_alloca.
3031 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3032 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3034 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3036 * math/auto-libm-test-in: Add more tests of cbrt.
3037 * math/auto-libm-test-out: Regenerated.
3038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3040 * math/auto-libm-test-in: Add more tests of cabs.
3041 * math/auto-libm-test-out: Regenerated.
3042 * sysdeps/i386/fpu/libm-test-ulps: Update.
3043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3047 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3048 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3050 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3052 * math/auto-libm-test-out: Regenerated.
3053 * sysdeps/i386/fpu/libm-test-ulps: Update.
3054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3057 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3058 (atan): Set FE_TONEAREST mode for internal computations.
3059 * math/auto-libm-test-in: Add more tests of atan.
3060 * math/auto-libm-test-out: Regenerated.
3062 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3065 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3067 2015-04-07 Florian Weimer <fweimer@redhat.com>
3069 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3071 2015-04-07 Florian Weimer <fweimer@redhat.com>
3073 * include/scratch_buffer.h: New file.
3074 * malloc/scratch_buffer_grow.c: Likewise.
3075 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3076 * malloc/scratch_buffer_set_array_size.c: Likewise.
3077 * malloc/tst-scratch_buffer.c: Likewise.
3078 * malloc/Makefile (routines): Add scratch_buffer_grow.
3079 (tests): Add test case.
3080 * malloc/Versions (GLIBC_PRIVATE): Export
3081 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3082 __libc_scratch_buffer_set_array_size.
3084 2015-04-06 Richard Henderson <rth@redhat.com>
3086 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3087 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3089 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3090 unsigned int before printing.
3092 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3095 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3096 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3098 2015-04-02 Florian Weimer <fweimer@redhat.com>
3100 * include/libc-internal.h (libc_max_align_t): Define.
3102 2015-04-02 Andreas Schwab <schwab@suse.de>
3105 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3107 2015-04-02 Mel Gorman <mgorman@suse.de>
3110 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3111 as well as the main arena.
3113 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3116 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3117 sharing L2 cache to 2 for Silvermont/Knights Landing.
3119 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3122 * config.make.in (have-protected-data): New.
3123 * configure.ac: Check linker support for protected data symbol.
3124 * configure: Regenerated.
3125 * elf/Makefile (modules-names): Add tst-protected1moda and
3126 tst-protected1modb if $(have-protected-data) is yes.
3127 (tests): Add tst-protected1a and tst-protected1b if
3128 $(have-protected-data) is yes.
3129 ($(objpfx)tst-protected1a): New.
3130 ($(objpfx)tst-protected1b): Likewise.
3131 (tst-protected1modb.so-no-z-defs): Likewise.
3132 * elf/tst-protected1a.c: New file.
3133 * elf/tst-protected1b.c: Likewise.
3134 * elf/tst-protected1mod.h: Likewise.
3135 * elf/tst-protected1moda.c: Likewise.
3136 * elf/tst-protected1modb.c: Likewise.
3138 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3141 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3142 indicates it is called from do_lookup_x on relocation against
3143 protected data, skip the data definion in the executable from
3145 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3146 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3147 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3148 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3149 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3151 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3152 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3153 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3154 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3155 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3156 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3158 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3160 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3161 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3163 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3165 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3167 * sysdeps/x86_64/nptl/tls.h: Ditto.
3169 2015-03-27 Roland McGrath <roland@hack.frob.com>
3171 * dlfcn/tststatic.c (main): Converted to ...
3172 (do_test): ... this.
3173 (TEST_FUNCTION): New macro.
3174 Include test-skeleton.c.
3176 2015-03-26 Alan Modra <amodra@gmail.com>
3178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3179 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3180 zero for undefined weak.
3181 (elf_machine_plt_conflict): Similarly.
3183 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3185 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3187 * math/auto-libm-test-out: Regenerated.
3188 * sysdeps/i386/fpu/libm-test-ulps: Update.
3189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3191 * math/auto-libm-test-in: Add another test of asin.
3192 * math/auto-libm-test-out: Regenerated.
3193 * sysdeps/i386/fpu/libm-test-ulps: Update.
3194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3196 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3198 (LLL_EBX_REG): Likewise.
3199 (LLL_ENTER_KERNEL): Likewise.
3201 * math/auto-libm-test-in: Add more tests of asin.
3202 * math/auto-libm-test-out: Regenerated.
3203 * sysdeps/i386/fpu/libm-test-ulps: Update.
3204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3207 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3208 libc_do_syscall_args): New structure.
3209 (INTERNAL_SYSCALL_MAIN_0): New macro.
3210 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3211 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3212 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3213 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3214 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3215 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3216 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3217 Replace conditional definitions by conditional definitions of ....
3218 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3219 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3220 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3221 (libpthread-sysdep_routines): Add libc-do-syscall.
3222 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3223 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3224 to __NR_futex not 240.
3226 2015-03-25 Alan Modra <amodra@gmail.com>
3228 * NEWS: Advertise TLS optimization.
3229 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3230 (DT_PPC_NUM): Increment.
3231 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3232 (CHECK_STATIC_TLS): Use here.
3233 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3236 * sysdeps/powerpc/dl-tls.c: New file.
3237 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3238 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3239 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3240 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3245 2015-03-25 Alan Modra <amodra@gmail.com>
3247 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3248 for overlapping .opd entries" to "support...".
3249 * sysdeps/powerpc/powerpc64/configure: Regenerate
3251 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3253 * math/auto-libm-test-in: Add more tests of acos.
3254 * math/auto-libm-test-out: Regenerated.
3255 * sysdeps/i386/fpu/libm-test-ulps: Update.
3256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3258 * math/auto-libm-test-in: Add more tests of expm1.
3259 * math/auto-libm-test-out: Regenerated.
3260 * sysdeps/i386/fpu/libm-test-ulps: Update.
3261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3263 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3265 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3266 * math/auto-libm-test-out: Regenerated.
3267 * sysdeps/i386/fpu/libm-test-ulps: Update.
3268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3270 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3273 * math/auto-libm-test-in: Add more tests of log2.
3274 * math/auto-libm-test-out: Regenerated.
3275 * sysdeps/i386/fpu/libm-test-ulps: Update.
3276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3278 2015-03-23 Roland McGrath <roland@hack.frob.com>
3280 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3281 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3282 _IO_IS_APPENDING bit in READ_WRITE instead.
3284 2015-03-23 Florian Weimer <fweimer@redhat.com>
3286 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3287 (__determine_cpumask_size): Replace extend_alloca with a
3288 variable-length array. Do not treat res == 0 as an error.
3290 2015-03-23 Florian Weimer <fweimer@redhat.com>
3293 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3294 and integer overflow.
3295 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3296 (main): Add integer overflow tests.
3297 * manual/pattern.texi (Calling Wordexp): Document additional use
3300 2015-03-23 Alan Modra <amodra@gmail.com>
3302 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3303 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3304 and false branch of conditional.
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3308 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3310 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3312 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3313 unused declaration of _hurd_intr_rpc_msg_in_trap.
3314 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3315 defined instead of whether it is non-zero.
3316 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3317 input constraint instead of both input and output constraint. Use ecx
3318 clobber instead of %ecx.
3319 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3320 mutex_unlock): Use a statement expression instead of an expression list.
3321 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3322 type to vm_size_t instead of vm_address_t.
3323 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3324 defined instead of whether it is non-zero.
3325 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3326 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3327 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3328 comparisons with mapaddr.
3329 * nscd/nscd-client.h: Include <time.h>.
3330 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3331 9th parameter to __vm_region instead of int.
3332 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3333 * scripts/check-local-headers.sh (exclude): Add device/,
3334 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3337 2015-03-19 Roland McGrath <roland@hack.frob.com>
3339 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3340 to account for alignment padding.
3341 * sysdeps/arm/memmove.S: Likewise.
3343 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3345 * sysdeps/unix/sysv/linux/generic/README: New file.
3347 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3350 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3351 (futex_abstimed_wait)
3352 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3353 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3354 of lll_futex_timed_wait.
3356 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3359 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3361 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3368 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3369 entries with Static TLS too. Skip entries past the end of the
3370 allocated DTV, from Alan Modra.
3371 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3372 Static TLS DTV entry set up from...
3373 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3374 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3375 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3376 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3378 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3379 that the slot we find is associated with the given map before
3380 using its generation count.
3381 * nptl_db/db_info.c: Include ldsodefs.h.
3382 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3383 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3384 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3385 (link_map::l_tls_offset): New struct field.
3386 (dtv_t::counter): Likewise.
3387 (rtld_global): New struct.
3388 (_rtld_global): New rtld variable.
3389 (dl_tls_dtv_slotinfo_list): New rtld global field.
3390 (dtv_slotinfo_list): New struct.
3391 (dtv_slotinfo): Likewise.
3392 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3393 (td_lookup): Rename to...
3394 (td_mod_lookup): ... this. Use new mod parameter instead of
3396 * nptl_db/td_thr_tlsbase.c: Include link.h.
3397 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3398 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3399 addresses even if the DTV is out of date or missing them.
3400 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3401 index zero-length arrays.
3402 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3403 (td_lookup): Make it a macro implemented in terms of...
3404 (td_mod_lookup): ... this declaration.
3405 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3406 (DB_MAIN_VARIABLE): Likewise.
3408 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3411 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3413 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3415 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3417 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3420 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3421 (atomic_add, atomic_increment_and_test)
3422 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3424 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3426 * stdlib/setenv.c (__add_to_environ):
3427 Dump core quickly if setenv (..., NULL, ...) is called.
3429 2015-03-13 Roland McGrath <roland@hack.frob.com>
3431 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3432 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3433 all the necessary asm magic in one place.
3434 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3437 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3440 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3441 traced file mtime. Use consistent log message.
3442 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3443 (register_traced_file): Call install_watches. Always set mtime.
3444 (invalidate_cache): Iterate over all trace files. Call install_watches.
3445 (inotify_check_files): Don't inline. Handle watching parent
3446 directories and configuration file movement in and out.
3447 (handle_inotify_events): New function.
3448 (main_loop_poll): Call handle_inotify_events.
3449 (main_loop_epoll): Likewise.
3450 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3451 (struct traced_file): Use array of inotify fds. Add parent directory,
3453 (struct database_dyn): Remove unused file_mtime.
3454 (init_traced_file): New inline function.
3455 (define_traced_file): New macro.
3456 * nss/nss_db/db-init.c: Use define_traced_file.
3457 (_nss_db_init): Use init_traced_file.
3458 * nss/nss_files/files-init.c: Use define_traced_file.
3459 (_nss_files_init): Use init_traced_file.
3461 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3463 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3464 [_LIBC]: Do not include <stdlib.h>.
3465 [!_LIBC] (abort): Remove declaration.
3466 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3467 _FP_STATIC_ASSERT instead of conditionally calling abort.
3468 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3469 (_FP_EXTEND_CNAN): Likewise.
3470 (FP_TRUNC): Likewise.
3471 (__FP_CLZ): Likewise.
3472 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3474 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3476 * manual/string.texi (XPG basename): Fix prototype.
3478 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3481 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3482 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3483 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3484 (__setcontext): Likewise.
3485 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3486 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3487 Call rt_sigprocmask syscall one time to set new signal mask
3488 and retrieve the current signal mask instead of two calls.
3489 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3490 (__swapcontext): Likewise.
3491 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3492 * stdlib/tst-setcontext2.c: New file.
3494 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3496 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3498 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3501 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3504 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3507 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3509 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3511 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3512 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3514 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3515 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3516 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3517 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3518 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3519 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3521 * nptl_db/td_symbol_list.c (td_lookup): Remove
3522 HAVE_ASM_GLOBAL_DOT_NAME code.
3523 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3524 HAVE_ASM_GLOBAL_DOT_NAME check.
3525 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3526 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3527 (DOT_LABEL): Remove define.
3528 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3529 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3530 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3531 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3532 (__TLS_GET_ADDR): Likewise.
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3534 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3536 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3539 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3540 (_FPU_SETCW): Initialize cw from fpsr before storing.
3541 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3542 (fesetexceptflag): Rewrite using fpu_control.h.
3543 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3545 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3548 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3550 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3552 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3554 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3555 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3557 (_FP_FMA): Likewise.
3558 (_FP_DIV): Likewise.
3560 2015-03-10 Roland McGrath <roland@hack.frob.com>
3562 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3563 with 0 in that case.
3564 * Makefile (summarize-tests): New canned sequence, factored out of
3565 commands for targets tests and xtests. Display summary lines that
3566 don't start with PASS: or XFAIL: rather than ones that do start with
3567 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3568 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3569 do start with ERROR: or FAIL:.
3570 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3571 (except for [$(build-shared) = yes]).
3572 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3573 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3574 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3575 * nptl/Makefile: Revert 2015-03-04 changes.
3576 [$(CXX) empty] (tests-unsupported): New variable.
3577 * debug/Makefile: Likewise.
3579 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3580 gnulib file. Replace __attribute with __attribute__ throughout.
3582 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3584 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3586 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3589 * math/auto-libm-test-in: Add another test of pow.
3590 * math/auto-libm-test-out: Regenerated.
3592 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3594 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3595 $(config-cflags-nofma).
3597 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3599 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3600 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3601 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3602 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3603 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3604 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3605 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3606 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3607 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3608 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3609 Add comment on closing #endif.
3611 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3613 * posix/wordexp.c (CHAR_IN_SET): New macro.
3614 (parse_param): Use it.
3616 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3618 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3620 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3623 * posix/wordexp.c (parse_param): Fix buffer overflow.
3624 * posix/wordexp-test.c (test_case): Add test case.
3626 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3629 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3630 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3632 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3635 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3636 (do_bz18043): Delete.
3638 (testit): Refactor to have words at the edge of unreadable page.
3640 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3643 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3644 Cleanup read-only streams as well.
3645 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3647 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3649 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3652 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3654 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3656 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3657 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3658 * soft-fp/op-common.h (_FP_DECL): Likewise.
3660 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3662 * elf/ifuncdep2.c (global): Replace
3663 __attribute__((visibility("protected"))) with
3664 asm (".protected global").
3665 * elf/ifuncmod1.c (global): Likewise.
3666 * elf/ifuncmod5.c (global): Likewise.
3668 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3670 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3671 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3673 2015-03-06 Roland McGrath <roland@hack.frob.com>
3675 * manual/install.texi (Configuring and compiling):
3676 Document test-wrapper-env-only.
3677 * INSTALL: Regenerated.
3679 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3682 * posix/wordexp.c (parse_param): Fix buffer overflow.
3683 * posix/wordexp-test.c (do_bz18043): Add test case.
3685 2015-03-06 Vincent Bernat <vincent@bernat.im>
3687 * time/tst-strptime2.c (do_test): Ensure failing tests are
3689 * time/tst-strptime3.c (do_test): Likewise.
3691 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3693 Fix aio_error thread-safety.
3694 * sysdeps/pthread/aio_error.c: New file
3695 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3698 2015-03-06 Florian Weimer <fweimer@redhat.com>
3700 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3701 (group_number, vfprintf): Use it.
3702 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3703 (JUMP, REF): Use it.
3704 (WORK_BUFFER_SIZE): New enum constant.
3705 (process_arg, vfprintf): Use it.
3707 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3709 * manual/errno.texi (Error Messages): Complete example function
3710 by adding missing #define.
3711 (program_invocation_name): Add statement indicating GNU
3712 extension and reference which header file declares the variable.
3713 (program_invocation_short_name): Likewise.
3715 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3717 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3720 2015-03-05 Roland McGrath <roland@hack.frob.com>
3722 * Makeconfig (test-wrapper-env-only): New variable.
3723 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3724 then use that with $(test-wrapper-env-only) rather than using
3725 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3727 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3730 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3731 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3732 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3733 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3734 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3735 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3736 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3737 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3739 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3740 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3742 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3744 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3746 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3748 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3753 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3754 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3756 2015-03-04 Roland McGrath <roland@hack.frob.com>
3758 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3759 (ETH_ALEN): New macro.
3760 (struct ether_addr): Use it for length of ether_addr_octet.
3762 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3763 (setdb): Don't call __nss_configure_lookup for "rpc".
3764 (do_test): Don't call test_rpc.
3765 (output_rpcent, test_rpc): Functions moved ...
3766 * sunrpc/test-rpcent.c: ... to this new file.
3767 * sunrpc/Makefile (tests): Add it.
3769 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3771 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3772 * nptl/tst-signal6.c: Likewise.
3773 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3774 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3776 * configure.ac (libc_cv_cxx_link_ok): New check.
3777 Reset CXX to empty if it fails to link.
3778 * configure: Regenerated.
3779 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3780 bug-atexit3-lib only if $(CXX) is nonempty.
3781 * nptl/Makefile (tests): Likewise for tst-cancel24.
3782 (tests, tests-static): Likewise for tst-cancel24-static.
3783 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3784 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3785 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3786 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3788 2015-03-04 Andreas Schwab <schwab@suse.de>
3791 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3792 for non-GCC compilers.
3793 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3796 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3799 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3800 integer before bitwise and assembly operations.
3801 (feclearexcept): Likewise.
3802 * math/test-fenvinline.c: New file.
3803 * math/Makefile: Add test-fenvinline test.
3805 2015-03-03 Alan Modra <amodra@gmail.com>
3808 * scripts/localplt.awk: Strip off symbol version.
3809 * NEWS: Mention bug fix.
3811 2015-03-02 Roland McGrath <roland@hack.frob.com>
3813 * sysdeps/pthread/timer_routines.c
3814 (timer_free_list, thread_free_list, thread_active_list): Make static.
3816 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3819 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3820 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3823 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3825 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3826 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3829 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3832 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3833 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3835 2015-03-02 Andreas Schwab <schwab@suse.de>
3837 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3840 2015-03-02 Florian Weimer <fweimer@redhat.com>
3842 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3843 Return error status.
3845 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3848 * locale/findlocale.c (_nl_find_locale): Introduce const
3849 version of loc_name and drop unsafe type casts.
3851 2015-02-27 Roland McGrath <roland@hack.frob.com>
3853 * dlfcn/tststatic2.c (main): Converted to ...
3854 (do_test): ... this.
3855 (TEST_FUNCTION): New macro.
3856 Include test-skeleton.c.
3858 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3861 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3862 (tests-pie): Add vismain.
3863 (CFLAGS-vismain.c): New.
3864 * elf/vismain.c: Add comments for PIE requirement.
3866 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3870 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3871 0x1p-56L as threshold for just returning the argument.
3872 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3873 0x1p-32L as threshold for just returning the argument.
3874 * math/auto-libm-test-in: Add more tests of atanh.
3875 * math/auto-libm-test-out: Regenerated.
3876 * sysdeps/i386/fpu/libm-test-ulps: Update.
3877 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3879 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3881 * string/bcopy.c (bcopy): Call memmove for performance.
3883 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3885 * string/bzero.c (__bzero): Call memset for performance.
3887 2015-02-27 John David Anglin <dave.anglin@bell.net>
3890 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3893 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3895 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3897 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3899 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3900 (__kernel_standard): Use CSTR macro when setting exc.name.
3901 * sysdeps/ieee754/Makefile [$(subdir) = math]
3902 (CFLAGS-k_standard.c): Remove variable.
3904 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3905 setting p and q from "else if" to "else".
3907 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3909 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3911 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3913 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3915 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3920 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3921 return pi/2 for arguments below 0x1p-113L.
3922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3923 return pi/2 for arguments below 0x1p-106L.
3924 * math/auto-libm-test-in: Add more tests of acos.
3925 * math/auto-libm-test-out: Regenerated.
3928 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3930 (__ieee754_asin): Force underflow exception for results with small
3932 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3934 (__ieee754_asinf): Force underflow exception for results with
3935 small absolute value.
3936 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3937 (__ieee754_asin): Force underflow exception for results with small
3939 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3940 (__ieee754_asinf): Force underflow exception for results with
3941 small absolute value.
3942 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3943 (__ieee754_asinl): Force underflow exception for results with
3944 small absolute value.
3945 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3946 (__ieee754_asinl): Force underflow exception for results with
3947 small absolute value.
3948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3949 (__ieee754_asinl): Force underflow exception for results with
3950 small absolute value.
3951 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3953 * math/auto-libm-test-in: Do not mark underflow exceptions as
3954 possibly missing for bug 16351.
3955 * math/auto-libm-test-out: Regenerated.
3958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3959 of power of 2 down when low part has opposite sign.
3960 * math/libm-test.inc (logb_test_data): Add more tests.
3962 2015-02-26 Andreas Schwab <schwab@suse.de>
3965 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3966 over collating symbol inside a bracket expression. Minor cleanup.
3967 * posix/tst-fnmatch3.c (do_test): Add test case.
3969 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3972 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3973 Adjust exponent of power of 2 down when low part has opposite
3975 * math/libm-test.inc (ilogb_test_data): Add more tests.
3977 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3980 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3981 the previous change.
3984 * locale/findlocale.c (_nl_find_locale): Retry archive search
3985 after alias expansion.
3987 2015-02-25 Roland McGrath <roland@hack.frob.com>
3989 * iconv/tst-iconv3.c (main): Converted to ...
3990 (do_test): ... this.
3991 (TEST_FUNCTION): New macro.
3992 Include test-skeleton.c.
3994 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3995 (convert): Make function static.
3996 (test_unalign): Likewise. Add const to argument pointee types.
3997 (main): Replace with static function do_test.
3998 Print "Succeeded." only if RET is zero.
3999 (TEST_FUNCTION): New macro.
4000 Include test-skeleton.c.
4002 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4003 returns a null pointer.
4005 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4007 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4008 to __memcpy_ppc only for static builds.
4010 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4014 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4015 * math/auto-libm-test-in: Add more tests of asinh.
4016 * math/auto-libm-test-out: Regenerated.
4017 * sysdeps/i386/fpu/libm-test-ulps: Update.
4018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4020 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4023 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4024 and ip6_mtuinfo definitions here.
4025 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4026 in this define too. Update comment.
4028 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4030 * elf/sprof.c (load_shobj): Tweak error message to match others.
4032 2015-02-24 Kevin Easton <kevin@guarana.org>
4034 [BZ #16145] (partial fix)
4035 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4036 to reduce lock contention.
4038 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4040 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4041 (struct timex): Update time comment.
4042 (ADJ_SETOFFSET): Define.
4044 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4048 2**56 not 2**28 as threshold for log (2x) formula.
4049 * math/auto-libm-test-in: Add more tests of acosh.
4050 * math/auto-libm-test-out: Regenerated.
4051 * sysdeps/i386/fpu/libm-test-ulps: Update.
4052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4054 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4056 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4057 parenthesis around the buf assignment.
4058 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4060 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4063 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4064 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4065 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4066 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4067 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4068 * math/libm-test.inc (scalb_test_data): Add more tests.
4070 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4073 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4074 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4076 2015-02-24 Eric Rannaud <e@nanocritical.com>
4079 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4080 * io/bits/fcntl2.h (open): Use it.
4082 * io/open.c (__libc_open): Likewise.
4083 * io/open64.c (__libc_open64): Likewise.
4084 * io/open64_2.c (__open64_2): Likewise.
4085 * io/open_2.c (__open_2): Likewise.
4086 * io/openat.c (__openat): Likewise.
4087 * io/openat64.c (__openat64): Likewise.
4088 * io/openat64_2.c (__openat64_2): Likewise.
4089 * io/openat_2.c (__openat_2): Likewise.
4090 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4091 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4092 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4093 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4094 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4095 (__open_nocancel): Likewise.
4096 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4097 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4098 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4100 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4103 * resolv/gethnamaddr.c (getanswer): Skip logging if
4104 RES_USE_DNSSEC is set.
4105 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4107 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4109 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4111 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4113 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4114 201304L, for Unicode 7.
4116 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4119 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4120 shared library. Add gmon-start.os otherwise.
4121 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4122 $(objpfx)gmon-start.os if builing shared library.
4123 ($(objpfx)g$(static-start-installed-name)): Likewise.
4125 2015-02-23 Andreas Schwab <schwab@suse.de>
4127 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4129 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4132 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4133 (enlarge_userbuf): Likewise.
4135 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4137 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4138 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4139 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4140 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4142 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4144 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4145 expression inside statement expression.
4147 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4149 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4150 <sysdeps/nptl/lowlevellock.h> and remove macros and
4151 functions that are now defined there.
4152 (SYS_futex): Remove.
4153 (lll_compare_and_swap): Remove.
4154 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4156 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4159 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4160 instead of scandirat.
4161 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4162 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4163 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4165 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4166 (__scandirat): Declare. Use libc_hidden_proto.
4167 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4169 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4171 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4174 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4176 (__ieee754_atan2): For results with small absolute value, force
4177 underflow exception and remove excess range and precision from
4179 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4181 (__ieee754_atan2f): For results with small absolute value, force
4182 underflow exception and remove excess range and precision from
4184 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4186 (__atan): For results with small absolute value, force underflow
4187 exception and remove excess range and precision from return value.
4188 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4190 (__atanf): For results with small absolute value, force underflow
4191 exception and remove excess range and precision from return value.
4192 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4194 (__ieee754_atan2): Force underflow exception for results with
4195 small absolute value.
4196 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4198 (atan): Force underflow exception for results with small absolute
4200 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4201 (__atanf): Force underflow exception for results with small
4203 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4205 (__atanl): Force underflow exception for results with small
4207 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4208 (__atanl): Force underflow exception for results with small
4210 * sysdeps/x86/fpu/bits/mathinline.h
4211 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4212 (__ieee754_atan2): Only define inline for long double.
4213 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4214 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4215 * math/auto-libm-test-in: Do not mark underflow exceptions as
4216 possibly missing for bug 15319. Add more tests of atan2.
4217 * math/auto-libm-test-out: Regenerated.
4218 * math/libm-test.inc (casin_test_data): Do not mark underflow
4219 exceptions as possibly missing for bug 15319.
4220 (casinh_test_data): Likewise.
4221 * sysdeps/i386/fpu/libm-test-ulps: Update.
4223 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4225 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4226 * sysdeps/mips/bits/endian.h: Fix comments.
4228 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4231 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4232 (hdestroy_r): Likewise.
4233 (hsearch_r): Likewise.
4234 (__hcreate_r): Declare and use libc_hidden_proto.
4235 (__hdestroy_r): Likewise.
4236 (__hsearch_r): Likewise.
4237 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4238 (hcreate): Call __hcreate_r instead of hcreate_r.
4239 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4240 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4241 as weak alias of __hcreate_r.
4242 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4244 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4246 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4248 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4249 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4250 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4251 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4253 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4255 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4256 arena_lock into a single arena_get.
4258 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4260 * dl-reloc.c: Inlucde libc-internal.h.
4261 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4262 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4263 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4264 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4265 (grow_heap): Likewise.
4266 * malloc/malloc.c: Include libc-internal.h.
4267 (do_check_malloc): Call powerof2.
4268 (sysmalloc): Use pagesize. Call ALIGN_UP.
4269 (systrim): Use pagesize.
4270 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4271 (__libc_valloc): Use pagesize.
4272 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4274 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4277 * include/sys/resource.h (__getrlimit64): Declare. Use
4279 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4280 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4281 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4283 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4285 [!getrlimit64] (getrlimit64): Define as weak alias of
4286 __getrlimit64. Use libc_hidden_weak.
4287 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4288 using __getrlimit64 not __new_getrlimit64.
4289 (__GI_getrlimit64): Likewise.
4290 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4292 (__GI_getrlimit64): Likewise.
4293 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4295 (getrlimit): Add __getrlimit64 alias.
4296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4298 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4300 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4301 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4303 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4305 * libio/fileops.c: Add missing sys/mman.h
4306 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4308 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4310 * manual/math.texi (Errors in Math Functions): Clarify goals
4311 regarding inexact and underflow exceptions.
4313 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4315 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4316 * sysdeps/mips/memset.S: Ditto.
4318 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4320 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4322 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4324 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4325 (__v1longjmp): Remove versioned symbol.
4326 (__v1siglongjmp): Remove alias and versioned symbol.
4327 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4328 (__v2siglongjmp): Likewise.
4330 2015-02-16 Torvald Riegel <triegel@redhat.com>
4332 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4334 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4336 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4338 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4341 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4342 zero result does not depend on the sign resulting from
4344 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4346 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4347 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4348 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4349 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4350 * math/libm-test.inc (remquo_test_data): Add more tests.
4352 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4354 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4355 Problem reported by J William Piggott.
4357 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4360 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4361 products 4 * y and 2 * y where those would overflow.
4362 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4364 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4365 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4367 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4368 * math/libm-test.inc (remquo_test_data): Add more tests.
4370 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4372 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4373 [defined _COMPILING_NEWLIB].
4374 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4375 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4377 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4378 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4380 2015-02-16 Torvald Riegel <triegel@redhat.com>
4382 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4385 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4388 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4389 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4390 HOST_STACK_END_ADDR): Likewise.
4392 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4394 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4395 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4396 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4398 2015-02-13 Roland McGrath <roland@hack.frob.com>
4400 * sysdeps/generic/c++-types.data: New file.
4401 * sysdeps/generic/ld.abilist: New file.
4402 * sysdeps/generic/libBrokenLocale.abilist: New file.
4403 * sysdeps/generic/libanl.abilist: New file.
4404 * sysdeps/generic/libc.abilist: New file.
4405 * sysdeps/generic/libcrypt.abilist: New file.
4406 * sysdeps/generic/libdl.abilist: New file.
4407 * sysdeps/generic/libm.abilist: New file.
4408 * sysdeps/generic/libpthread.abilist: New file.
4409 * sysdeps/generic/libresolv.abilist: New file.
4410 * sysdeps/generic/librt.abilist: New file.
4412 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4415 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4416 Compute absolute value of x as modified by fmod, not original
4418 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4419 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4420 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4421 RUN_TEST_ffI_f1_mod8.
4422 (remquo_test_data): Add more tests.
4424 2015-02-13 Roland McGrath <roland@hack.frob.com>
4426 * sysdeps/init_array/pt-crti.S: New file.
4428 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4431 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4432 __builtin_fmaf instead of relying on contraction of a * b + c.
4434 2015-02-12 J William Piggott <elseifthen@gmx.com>
4437 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4440 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4443 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4444 __builtin_fma instead of relying on contraction of a * b + c.
4446 2015-02-12 Roland McGrath <roland@hack.frob.com>
4448 * Makeconfig (ASFLAGS): Add -Werror=undef.
4449 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4450 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4451 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4453 * Makeconfig (after-link): New variable.
4454 (+link-pie, +link-pie-tests): Use it.
4455 (+link-static, +link-static-tests): Likewise.
4456 (+link, +link-tests): Likewise.
4457 * Makerules (build-module, build-module-asneeded): Likewise.
4458 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4460 * elf/Makefile ($(objpfx)ld.so): Likewise.
4462 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4465 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4466 both struct timeval and struct timespec.
4468 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4471 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4473 (__ieee754_exp2l): Do not multiply small fractional parts by
4475 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4477 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4478 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4479 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4480 * math/auto-libm-test-in: Add more tests of exp2.
4481 * math/auto-libm-test-out: Regenerated.
4483 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4485 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4488 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4490 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4493 2015-02-12 Andreas Schwab <schwab@suse.de>
4496 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4497 Filter out elision flags from value returned in kind.
4498 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4499 * nptl/tst-pthread-mutexattr.c: New file.
4501 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4503 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4504 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4505 into gnu-gnu, and update comment to refer to abi-tags.
4507 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4510 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4511 (__sincos): Set errno to EDOM for infinite argument.
4512 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4513 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4514 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4515 (__sincosl): Set errno to EDOM for infinite argument.
4516 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4517 (__sincosl): Set errno to EDOM for infinite argument.
4518 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4519 (__sincosl): Set errno to EDOM for infinite argument.
4520 * math/libm-test.inc (sincos_test_data): Test errno setting.
4522 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4524 * string/strxfrm_l.c: Remove #define STRCMP.
4525 * string/strcoll_l.c: Remove #define STRLEN.
4526 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4527 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4529 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4531 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4532 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4533 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4534 * sysdeps/mips/mips64/Makefile: ... here.
4535 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4536 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4537 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4538 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4539 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4540 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4541 * sysdeps/mips/mips64/n64/Implies: Likewise.
4543 2015-02-10 Roland McGrath <roland@hack.frob.com>
4545 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4546 <sys/time.h>, <string.h>, and <errno.h>.
4547 (dest_offset, dest_address, value, zero): Remove unused variables.
4548 (ldouble): Remove typedef.
4549 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4550 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4552 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4553 (check): Function removed.
4555 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4556 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4557 Don't call set_sigaction_FP and remove_sigaction_FP here.
4558 (ldouble_test): Just use 'long double' as macro argument, no need for
4559 the 'ldouble' typedef.
4560 (do_test): Set up SIGFPE handler at start, using plain signal rather
4561 than sigaction. Fix code style.
4563 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4566 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4569 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4571 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4572 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4574 * sysdeps/powerpc/configure.ac: Remove file.
4575 * sysdeps/powerpc/configure: Likewise.
4577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4578 [sysdep_routines]: Remove wordcopy-power6 object.
4579 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4580 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4581 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4582 (__memmove_ppc32): Likewise.
4583 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4585 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4586 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4587 Remove preprocessor.
4589 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4590 [sysdep_routines]: Remove wide chars objects.
4591 [wcsmbs]: New rule for wide char objects.
4593 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4594 Remove wordcopy-power6 obejct.
4595 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4596 Use local call for wordcopy and memcpy symbols.
4597 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4598 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4599 implementation for loader.
4600 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4602 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4603 Remove wordcopy-power7 object.
4604 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4605 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4606 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4607 (_wordcopy_fwd_dest_aligned): Likewise.
4608 (_wordcopy_bwd_aligned): Likewise.
4609 (_wordcopy_bwd_dest_aligned): Likewise.
4611 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4612 Rewrite to call __memmove_ppc instead of include default
4615 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4616 Remove wide chars objects.
4617 [wcsmbs]: New rule for wide char objects.
4619 2015-02-09 Andreas Schwab <schwab@suse.de>
4622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4623 in terms of __O_DIRECTORY.
4625 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4627 * time/getdate.c: Include <stdbool.h>.
4628 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4630 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4633 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4635 Add ersatz _Static_assert on older C hosts
4636 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4637 pre-C11 C platform that is not known to support _Static_assert.
4639 2015-02-07 Richard Braun <rbraun@sceen.net>
4641 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4643 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4645 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4647 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4648 priority against unexistent AIO_PRIO_DELTA_MAX.
4649 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4651 * misc/fchflags.c (fchflags): Likewise.
4652 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4653 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4654 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4655 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4656 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4658 [__USE_MISC] (chflags, fchflags): Declare functions.
4659 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4660 EINVAL when nfds is greater than FD_SETSIZE.
4661 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4662 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4664 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4665 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4666 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4668 * hurd/hurd/signal.h (_hurd_self_sigstate,
4669 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4670 Explicit casts from void *.
4671 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4672 * abi-tags: Rename gnu-gnu os into gnu.
4675 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4676 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4677 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4678 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4679 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4680 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4683 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4684 duplicates ADDR->sun_path with sockaddr LEN limitation.
4685 * sysdeps/mach/hurd/connect.c: Include <string.h>
4686 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4687 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4688 * sysdeps/mach/hurd/sendto.c: Likewise.
4689 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4690 implementing it by hand.
4692 2015-02-06 Roland McGrath <roland@hack.frob.com>
4694 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4695 Use sfi_breg on ldr.
4696 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4699 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4701 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4702 Test SIGSETXID only if it's defined.
4704 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4706 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4707 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4709 * nptl/tst-align2.c: Moved ...
4710 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4711 * nptl/Makefile (tests): Remove tst-align2.
4712 * sysdeps/unix/sysv/linux/Makefile
4713 [$(subdir) = nptl] (tests): Add tst-align-clone.
4714 * nptl/tst-getpid1.c: Moved ...
4715 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4716 * nptl/tst-getpid2.c: Moved ...
4717 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4718 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4719 * sysdeps/unix/sysv/linux/Makefile
4720 [$(subdir) = nptl] (tests): ... here.
4721 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4722 * sysdeps/unix/sysv/linux/Makefile
4723 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4725 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4726 Drop trailing \n from perror argument. Use return rather than exit.
4728 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4730 * nptl/tst-cancel21.c (do_test): Likewise.
4731 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4732 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4733 [!SA_SIGINFO]: Make it a stub test.
4735 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4736 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4738 * posix/tst-getlogin.c: Move to ...
4739 * login/tst-getlogin.c: ... here.
4740 * posix/Makefile (tests): Move tst-getlogin to ...
4741 * login/Makefile (tests): ... here.
4743 * libio/tst-atime.c (do_test): Move local variables SV and E
4744 inside [ST_NOATIME] conditional.
4746 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4748 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4750 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4751 (wait_code): New function replaces macro.
4752 Call nanosleep rather than syscall.
4754 * nptl/pt-system.c: Rewritten. Put everything under
4755 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4756 Use IFUNC to redirect when possible.
4758 * nptl/pt-longjmp.c: Rewritten. Put everything under
4759 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4760 Use IFUNC to redirect when possible.
4762 * nptl/pt-fork.c: Rewritten. Put everything under
4763 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4764 Use IFUNC to redirect when possible.
4765 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4767 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4768 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4769 unconditionally nowadays. This included the only reference to
4770 __vdso_clock_gettime that appears outside libc proper.
4771 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4772 Remove version set (containing only __vdso_clock_gettime).
4773 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4774 Add attribute_hidden.
4775 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4776 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4777 libc_hidden_data_def.
4778 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4779 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4781 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4782 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4783 setrpcent, and getrpcport to ...
4784 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4785 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4786 getrpcbynumber_r, and getrpcent_r to ...
4787 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4788 * inet/getrpcbyname.c: Moved ...
4789 * sunrpc/getrpcbyname.c: ... here.
4790 * inet/getrpcbyname_r.c: Moved ...
4791 * sunrpc/getrpcbyname_r.c: ... here.
4792 * inet/getrpcbynumber.c: Moved ...
4793 * sunrpc/getrpcbynumber.c: ... here.
4794 * inet/getrpcbynumber_r.c: Moved ...
4795 * sunrpc/getrpcbynumber_r.c: ... here.
4796 * inet/getrpcent.c: Moved ...
4797 * sunrpc/getrpcent.c: ... here.
4798 * inet/getrpcent_r.c: Moved ...
4799 * sunrpc/getrpcent_r.c: ... here.
4800 * inet/Makefile (routines): Move those to ...
4801 * sunrpc/Makefile (routines): ... here.
4802 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4803 the $(subdirs) list.
4804 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4805 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4806 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4807 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4809 * elf/Makefile (routines): Include $(all-dl-routines), not just
4811 (rtld-routines): Likewise. Use = rather than :=.
4812 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4813 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4814 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4815 * sysdeps/arm/Makefile: Likewise.
4816 * sysdeps/i386/Makefile: Likewise.
4817 * sysdeps/x86_64/Makefile: Likewise.
4818 * sysdeps/hppa/Makefile [$(subdir) = elf]
4819 (sysdep_routines, sysdep-rtld-routines): Don't add
4820 $(sysdep-dl-routines) to these.
4821 * sysdeps/ia64/Makefile: Likewise.
4822 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4823 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4824 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4825 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4826 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4827 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4828 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4829 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4830 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4831 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4832 these; sysdep-dl-routines alone is enough.
4834 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4837 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4838 where multiplication results in zero and third argument is finite
4840 * math/auto-libm-test-in: Add more tests of fma.
4841 * math/auto-libm-test-out: Regenerated.
4843 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4844 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4845 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4846 (_FP_CMP_EQ): Likewise.
4847 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4849 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4850 extra argument CHECK_NAN. Redefine as wrapper around
4853 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4855 * version.h (RELEASE): Set to "stable".
4856 (VERSION): Set to "2.21"
4857 * include/features.h (__GLIBC_MINOR__): Set to 21.
4859 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4861 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4862 Paul Eggert <eggert@cs.ucla.edu>
4865 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4866 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4867 size in bytes. Store needed elements in wpmax. Use needed size
4868 in bytes for extend_alloca.
4870 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4872 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4873 binutls 2.25, and texinfo 5.2.
4874 * INSTALL: Regenerate.
4875 * sysdeps/nios2/configure: Regenerate.
4876 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4877 * manual/contrib.texi: Update.
4901 * po/pt_BR.po: Update.
4910 * po/zh_CN.po: Update.
4911 * po/zh_TW.po: Update.
4913 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4914 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4915 * sysdeps/hppa/dl-irel.h: Remove #warning.
4916 * sysdeps/hppa/entry.h: Provide prototype for
4917 __canonicalize_funcptr_for_compare and cast argument.
4918 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4919 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4920 * sysdeps/hppa/sotruss-lib.c: New file.
4921 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4922 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4923 (atomic_compare_and_exchange_bool_acq): Likewise.
4924 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4925 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4927 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4928 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4929 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4931 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4933 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4934 called function in non-PIC case.
4936 2015-01-31 David S. Miller <davem@davemloft.net>
4938 * sysdeps/sparc/sparc32/bits/atomic.h
4939 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4940 unlock not after it.
4941 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4942 volatile register usage warnings from the compiler.
4944 * sysdeps/sparc/nptl/sem_init.c: Delete.
4945 * sysdeps/sparc/nptl/sem_post.c: Delete.
4946 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4947 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4948 * sysdeps/sparc/sparc32/sem_init.c: New file.
4949 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4950 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4951 padding explicitly initialized.
4952 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4953 padding for in-semaphore spinlock.
4954 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4955 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4956 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4957 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4958 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4959 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4960 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4961 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4963 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4964 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4966 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4970 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4971 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4973 (index_AVX_Fast_Unaligned_Load): Likewise.
4974 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4975 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4976 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4977 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4978 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4979 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4980 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4981 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4982 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4984 2015-01-29 Andreas Schwab <schwab@suse.de>
4986 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4988 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4991 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4993 2015-01-28 Martin Sebor <msebor@redhat.com>
4995 * math/README.libm-test: Clarify. Add "How to read the test output."
4997 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4999 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5002 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5004 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5005 (__HAVE_64B_ATOMICS): Define to 0.
5007 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5010 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5011 value to set as new flag.
5014 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5015 and use _ARCH_PPCSQ instead.
5016 (__ieee754_sqrt): Likewise.
5017 (__ieee754_sqrtf): Likewise.
5018 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5019 _ARCH_PPCSQ is defined.
5020 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5022 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5023 _ARCH_PPCSQ is defined.
5024 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5026 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5028 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5030 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5031 bug (GCC BZ #64739).
5033 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5035 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5036 Mark _retval as used.
5037 (lll_futex_wake_unlock): Likewise.
5038 (lll_futex_timed_wait_requeue_pi): Likewise.
5040 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5041 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5044 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5047 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5048 (__bswap_64): Mark as __always_inline.
5050 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5053 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5054 when none of the search directories exist.
5056 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5059 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5060 power8 in .machine directive.
5063 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5064 set dependency from opd value.
5066 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5069 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5072 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5075 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5077 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5079 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5080 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5081 Replace 1UL with (uint64_t) 1.
5082 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5085 2015-01-23 Roland McGrath <roland@hack.frob.com>
5087 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5088 (if_freenameindex): Likewise.
5090 * resource/getrlimit64.c: Add missing libc_hidden_def.
5092 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5094 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5096 (_FP_FMA): Likewise.
5097 (_FP_TO_INT_ROUND): Likewise.
5098 (_FP_FROM_INT): Likewise.
5100 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5103 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5104 Make code racy and cancel safe.
5106 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5108 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5109 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5112 * pwd/tst-getpw.c: Rewrite.
5115 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5116 (modules-names): Add moddummy1 and moddummy2.
5117 ($(objpfx)tst-rec-dlopen): Define.
5118 * dlfcn/moddummy1.c: New file.
5119 * dlfcn/moddummy2.c: New file.
5120 * dlfcn/tst-rec-dlopen.c: New file.
5121 * elf/dl-cache.c (_dl_load_cache_lookup):
5122 Return char*. Copy result with alloca/strcpy/strdup.
5123 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5124 returns char*. Free cached. If not saving realname
5126 * elf/dl-open.c (dl_open_worker): Do not assert that
5127 _r_debug->r_state is RT_CONSISTENT.
5128 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5131 2015-01-21 Torvald Riegel <triegel@redhat.com>
5132 Carlos O'Donell <carlos@redhat.com>
5135 * nptl/sem_waitcommon.c: New file.
5136 * nptl/sem_wait.c: Include sem_waitcommon.c.
5137 (__sem_wait_cleanup, do_futex_wait): Remove.
5138 (__new_sem_wait): Adapt.
5139 (__new_sem_trywait): New function.
5140 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5141 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5142 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5143 (sem_timedwait): Adapt.
5144 * nptl/sem_post.c (__new_sem_post): Adapt.
5145 (futex_wake): New function.
5146 (__old_sem_post): Add release MO fence.
5147 * nptl/sem_open.c (sem_open): Adapt.
5148 * nptl/sem_init.c (__new_sem_init): Adapt.
5149 (futex_private_if_supported): New function.
5150 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5151 (__old_sem_getvalue): Add using previous code.
5152 * sysdeps/nptl/internaltypes.h: Adapt.
5153 * nptl/tst-sem13.c (do_test): Adapt.
5154 * nptl/tst-sem11.c (main): Adapt.
5155 * nptl/sem_trywait.c: Remove.
5156 * nptl/DESIGN-sem.txt: Remove.
5157 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5158 (gen-as-const-headers): Remove structsem.sym.
5159 * nptl/structsem.sym: Remove.
5160 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5161 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5162 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5163 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5164 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5165 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5166 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5167 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5168 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5169 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5170 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5171 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5172 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5173 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5174 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5175 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5176 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5177 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5178 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5179 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5180 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5181 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5183 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5185 * INSTALL: Regenerated.
5187 * po/libc.pot: Regenerated.
5189 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5190 Sandra Loosemore <sandra@codesourcery.com>
5191 Andrew Jenner <andrew@codesourcery.com>
5192 Joseph Myers <joseph@codesourcery.com>
5193 Nathan Sidwell <nathan@codesourcery.com>
5195 * NEWS: Mention new Nios II port.
5196 * sysdeps/nios2/Implies: New file.
5197 * sysdeps/nios2/Makefile: New file.
5198 * sysdeps/nios2/Subdirs: New file.
5199 * sysdeps/nios2/Versions: New file.
5200 * sysdeps/nios2/__longjmp.S: New file.
5201 * sysdeps/nios2/abort-instr.h: New file.
5202 * sysdeps/nios2/backtrace.c: New file.
5203 * sysdeps/nios2/bits/endian.h: New file.
5204 * sysdeps/nios2/bits/fenv.h: New file.
5205 * sysdeps/nios2/bits/link.h: New file.
5206 * sysdeps/nios2/bits/setjmp.h: New file.
5207 * sysdeps/nios2/bsd-_setjmp.S: New file.
5208 * sysdeps/nios2/bsd-setjmp.S: New file.
5209 * sysdeps/nios2/configure: New generated file.
5210 * sysdeps/nios2/configure.ac: New file.
5211 * sysdeps/nios2/crti.S: New file.
5212 * sysdeps/nios2/crtn.S: New file.
5213 * sysdeps/nios2/dl-init.c: New file.
5214 * sysdeps/nios2/dl-machine.h: New file.
5215 * sysdeps/nios2/dl-sysdep.h: New file.
5216 * sysdeps/nios2/dl-tls.h: New file.
5217 * sysdeps/nios2/dl-trampoline.S: New file.
5218 * sysdeps/nios2/gccframe.h: New file.
5219 * sysdeps/nios2/gmp-mparam.h: New file.
5220 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5221 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5222 * sysdeps/nios2/ldsodefs.h: New file.
5223 * sysdeps/nios2/libc-tls.c: New file.
5224 * sysdeps/nios2/libm-test-ulps: New file.
5225 * sysdeps/nios2/machine-gmon.h: New file.
5226 * sysdeps/nios2/math-tests.h: New file.
5227 * sysdeps/nios2/math_private.h: New file.
5228 * sysdeps/nios2/memusage.h: New file.
5229 * sysdeps/nios2/nptl/Makefile: New file.
5230 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5231 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5232 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5233 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5234 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5235 * sysdeps/nios2/nptl/tls.h: New file.
5236 * sysdeps/nios2/preconfigure: New file.
5237 * sysdeps/nios2/s_fma.c: New file.
5238 * sysdeps/nios2/s_fmaf.c: New file.
5239 * sysdeps/nios2/setjmp.S: New file.
5240 * sysdeps/nios2/sfp-machine.h: New file.
5241 * sysdeps/nios2/sotruss-lib.c: New file.
5242 * sysdeps/nios2/stackguard-macros.h: New file.
5243 * sysdeps/nios2/stackinfo.h: New file.
5244 * sysdeps/nios2/start.S: New file.
5245 * sysdeps/nios2/sysdep.h: New file.
5246 * sysdeps/nios2/tls-macros.h: New file.
5247 * sysdeps/nios2/tst-audit.h: New file.
5248 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5249 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5250 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5251 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5252 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5253 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5254 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5255 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5256 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5257 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5258 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5259 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5260 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5261 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5262 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5263 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5264 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5265 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5266 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5267 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5268 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5269 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5270 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5271 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5272 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5273 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5274 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5275 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5276 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5277 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5278 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5279 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5280 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5281 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5282 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5283 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5284 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5285 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5286 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5287 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5288 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5289 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5290 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5291 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5293 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5296 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5297 (getutent): Use weak_alias in non SHARED case
5298 and default_symbol_version in SHARED case.
5299 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5300 (getutent_r, pututline): Likewise.
5301 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5302 (getutid): Likewise.
5303 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5304 (getutid_r): Likewise.
5305 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5306 (getutline): Likewise.
5307 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5308 (getutline_r): Likewise.
5309 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5310 (updwtmp): Likewise.
5312 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5315 * sysdeps/s390/s390-32/memcmp.S
5316 (memcmp_g5): Rename to __memcmp_g5.
5317 * sysdeps/s390/s390-32/memcpy.S
5318 (memcpy_g5): Rename to __memcpy_g5.
5319 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5320 (memcpy_mvcle) Rename to __memcpy_mvcle.
5321 * sysdeps/s390/s390-32/memset.S
5322 (memset_g5): Rename to __memset_g5.
5323 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5324 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5325 and use prefixed functions.
5326 * sysdeps/s390/s390-32/multiarch/memcmp.S
5327 (memcmp_z196): Rename to __memcmp_z196.
5328 (memcmp_z10): Rename to __memcmp_z10.
5329 (memcmp): Set alias to __memcmp_g5.
5330 (bcmp): Set alias to __memcmp_g5.
5331 * sysdeps/s390/s390-32/multiarch/memcpy.S
5332 (memcpy_z196): Rename to __memcpy_z196.
5333 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5334 (memcpy_z10): Rename to __memcpy_z10.
5335 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5336 (memcpy): Set alias to __memcpy_g5.
5337 * sysdeps/s390/s390-32/multiarch/memset.S
5338 (memset_z196): Rename to __memset_z196.
5339 Jump to __memset_mvcle instead of memset_mvcle.
5340 (memset_z10): Rename to __memset_z10.
5341 Jump to __memset_mvcle instead of memset_mvcle.
5342 (memset_mvcle) Rename to __memset_mvcle.
5343 (memset): Set alias to __memset_g5.
5344 * sysdeps/s390/s390-64/memcmp.S
5345 (memcmp_z900): Rename to __memcmp_z900.
5346 * sysdeps/s390/s390-64/memcpy.S
5347 (memcpy_z900): Rename to __memcpy_z900.
5348 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5349 (memcpy_mvcle) Rename to __memcpy_mvcle.
5350 * sysdeps/s390/s390-64/memset.S
5351 (memset_z900): Rename to __memset_z900.
5352 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5353 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5354 and use prefixed functions.
5355 * sysdeps/s390/s390-64/multiarch/memcmp.S
5356 (memcmp_z196): Rename to __memcmp_z196.
5357 (memcmp_z10): Rename to __memcmp_z10.
5358 (memcmp): Set alias to __memcmp_z900.
5359 (bcmp): Set alias to __memcmp_z900.
5360 * sysdeps/s390/s390-64/multiarch/memcpy.S
5361 (memcpy_z196): Rename to __memcpy_z196.
5362 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5363 (memcpy_z10): Rename to __memcpy_z10.
5364 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5365 (memcpy): Set alias to __memcpy_z900.
5366 * sysdeps/s390/s390-64/multiarch/memset.S
5367 (memset_z196): Rename to __memset_z196.
5368 Jump to __memset_mvcle instead of memset_mvcle.
5369 (memset_z10): Rename to __memset_z10.
5370 Jump to __memset_mvcle instead of memset_mvcle.
5371 (memset_mvcle) Rename to __memset_mvcle.
5372 (memset): Set alias to __memset_z900.
5374 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5377 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5378 __fesetenv instead of fesetenv.
5380 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5382 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5385 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5387 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5390 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5391 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5392 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5393 strncmp-power8 object.
5394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5395 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5396 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5399 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5400 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5403 trailing byte check.
5405 2015-01-13 David S. Miller <davem@davemloft.net>
5407 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5409 2015-01-13 Roland McGrath <roland@hack.frob.com>
5411 * login/logout.c (logout): Use memset rather than bzero.
5412 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5413 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5414 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5415 (_gethtbyaddr): Likewise.
5416 * locale/programs/simple-hash.c (bcopy): Macro removed.
5418 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5420 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5421 Add strcmp-power8 object.
5422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5423 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5424 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5425 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5426 __strcmp_power8 implementation.
5427 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5430 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5431 Add strncpy-power8 and stpncpy-power8 objects.
5432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5433 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5435 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5436 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5437 __stpncpy_power8 implementation.
5438 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5439 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5440 __strncpy_power8 implementation.
5441 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5442 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5445 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5446 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5447 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5449 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5450 strncat-power8 object.
5451 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5452 __strcat_power8 implementation.
5453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5454 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5455 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5456 optimized strcat for power8.
5458 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5459 strcpy-power8 and stpcpy-power8 objects.
5460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5461 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5463 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5464 multiarch stpcpy implementation for POWER8.
5465 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5466 multiarch strcpy implementation for POWER8.
5467 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5468 __strcpy_power8 function.
5469 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5471 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5475 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5478 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5479 weights and rules. Use do_xfrm_cached if data fits in cache,
5480 do_xfrm otherwise. Moved former main loop to...
5481 * (do_xfrm_cached): New function.
5482 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5483 find_idx, find_position and stack_push.
5484 * (find_idx): New function.
5485 * (find_position): Likewise.
5486 * localedata/sort-test.sh: Added test run for do_xfrm.
5487 * localedata/xfrm-test.c (main): Added command line option
5488 -nocache to run the test with strings that are too large for
5491 2015-01-13 Torvald Riegel <triegel@redhat.com>
5493 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5494 variable to lll_futex_wake call, not the value itself.
5496 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5500 twom64. Adjust value to 0x1p-64L.
5501 (__scalblnl): Only return standard underflowing result for K <=
5502 -64 not K <= -63; adjust exponent for underflowing result by 64
5504 * math/libm-test.inc (scalbn_test_data): Add more tests.
5505 (scalbln_test_data): Likewise.
5508 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5510 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5512 * math/libm-test.inc (scalbn_test_data): Add more tests.
5513 (scalbln_test_data): Likewise.
5515 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5516 Stefani Seibold <stefani@seibold.net>
5518 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5519 (sysdep_routines): Add dl-vdso here, ...
5520 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5521 (sysdep_routines): ... not here.
5522 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5523 fallback when vDSO is not presented.
5524 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5525 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5526 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5527 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5528 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5529 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5530 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5532 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5533 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5534 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5535 fallback configurable symbol when vDSO is not available.
5536 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5537 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5538 be able to redefine fallback symbol when vDSO is not available.
5539 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5540 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5542 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5544 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5545 (TLS_INIT_TP): Add tm_capable initialization.
5546 (TLS_DEFINE_INIT_TP): Likewise.
5547 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5549 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5550 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5552 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5553 transactoion is lock elision is built and TCB tm_capable is set.
5554 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5556 (INTERNAL_SYSCALL_NCS): Likewise.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5558 (INTERNAL_SYSCALL_NCS): Likewise.
5559 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5561 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5563 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5564 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5565 and remove it for 32 bits case.
5566 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5569 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5570 Disable lock elision with rdlocks if elision is not available.
5572 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5573 (sysdep_routines): Add lock elision objects.
5574 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5575 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5576 [pthread_mutex_t] (__elision): Add field.
5577 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5578 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5579 elision definitions for powerpc.
5580 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5581 implementation of lock elision for powerpc.
5582 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5583 implementation of timed lock elision for powerpc.
5584 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5585 implementation of trylock with lock elision for powerpc.
5586 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5587 implementaion of unlock for lock elision for powerpc.
5588 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5589 automatic enable lock elision for mutexes.
5590 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5591 transaction execution definitions for powerpc.
5592 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5594 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5595 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5596 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5597 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5600 2015-01-09 Roland McGrath <roland@hack.frob.com>
5602 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5603 for #include of <shm-directory.h>.
5605 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5608 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5610 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5613 * NEWS: Mention bug fix.
5614 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5615 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5616 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5618 2015-01-09 Torvald Riegel <triegel@redhat.com>
5620 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5622 2015-01-09 Torvald Riegel <triegel@redhat.com>
5624 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5626 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5628 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5629 pointer and cast to uintptr_t.
5631 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5633 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5635 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5637 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5639 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5642 2015-01-08 Roland McGrath <roland@hack.frob.com>
5644 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5645 <nptl/pthreadP.h> instead.
5646 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5648 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5650 [__SIGRTMIN] (init): Function removed.
5651 [__SIGRTMIN] (initialized): Variable removed.
5652 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5653 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5654 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5655 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5656 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5657 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5658 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5659 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5660 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5661 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5662 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5663 * sysdeps/nptl/allocrtsig.c: New file.
5664 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5665 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5666 * sysdeps/generic/testrtsig.h: File removed.
5668 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5669 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5671 * nptl/nptl-init.c (pthread_functions): Conditionalize
5672 .ptr__nptl_setxid initialization on [SIGSETXID].
5674 * sysdeps/nptl/sys/procfs.h: New file.
5675 * nptl_db/Makefile (headers): Add it.
5676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5678 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5679 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5680 * nptl/pthread_attr_setaffinity.c: Include it.
5681 * nptl/pthread_setattr_default_np.c: Likewise.
5682 * nptl/check-cpuset.h: New file.
5684 2015-01-08 Richard Henderson <rth@redhat.com>
5686 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5687 (CFLAGS-tst-execstack-prog.c): Likewise.
5688 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5690 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5691 Sandra Loosemore <sandra@codesourcery.com>
5692 Andrew Jenner <andrew@codesourcery.com>
5693 Joseph Myers <joseph@codesourcery.com>
5694 Nathan Sidwell <nathan@codesourcery.com>
5696 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5697 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5698 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5699 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5700 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5701 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5702 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5703 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5704 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5705 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5706 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5707 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5708 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5709 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5710 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5711 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5712 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5714 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5716 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5717 timespec struct member in syscall macro.
5718 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5719 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5720 first timeval struct member in syscall macro.
5721 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5723 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5726 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5727 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5728 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5729 __feupdateenv and define as weak alias of __feupdateenv. Use
5731 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5733 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5734 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5735 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5736 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5738 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5739 __feupdateenv and define as weak alias of __feupdateenv. Use
5741 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5743 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5744 __feupdateenv and define as weak alias of __feupdateenv. Use
5746 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5748 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5749 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5750 (__feupdateenv): Likewise.
5751 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5752 __feupdateenv and define as weak alias of __feupdateenv. Use
5754 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5755 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5757 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5759 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5761 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5762 __feupdateenv instead of feupdateenv.
5763 (default_libc_feupdateenv_test): Likewise.
5764 (libc_feresetround_ctx): Likewise.
5766 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5768 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5771 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
5773 * posix/regcomp.c (parse_bracket_exp): Initialize type to
5774 COLL_SYM in a couple of places to avoid uninitialized variable
5775 wanings on tilegx gcc 4.8.2.
5777 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5779 * sysdeps/aarch64/strcpy.S: New file.
5780 * sysdeps/aarch64/stpcpy.S: New file.
5783 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5785 * sysdeps/aarch64/strrchr.S: New file.
5788 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5791 * stdlib/setenv.c: Fix memory leak when setting large,
5794 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5797 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5798 and tabs from buffer before parsing fstab entry.
5799 * misc/tst-mntent.c (main): Add test for mount entry with
5800 trailing spaces and tabs.
5802 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5805 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5806 * math/fesetround.c (fesetround): Rename to __fesetround and
5807 define as weak alias of __fesetround. Use libm_hidden_weak.
5808 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5809 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5810 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5811 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5812 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5813 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5814 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5815 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5816 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5817 __fesetround_inline.
5818 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5819 __fesetround_inline instead of __fesetround.
5820 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5821 __fesetround and define as weak alias of __fesetround. Use
5822 libm_hidden_weak. Call __fesetround_inline instead of
5824 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5825 __fesetround and define as weak alias of __fesetround. Use
5827 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5829 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5830 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5831 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5832 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5833 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5834 __fesetround and define as weak alias of __fesetround. Use
5836 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5837 __fesetround instead of fesetround.
5838 (default_libc_feholdexcept_setround): Likewise.
5839 (libc_feholdsetround_ctx): Likewise.
5840 (libc_feholdsetround_noex_ctx): Likewise.
5843 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5844 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5845 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5846 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5847 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5848 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5849 define as weak alias of __fesetenv. Use libm_hidden_weak.
5850 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5851 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5852 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5853 define as weak alias of __fesetenv. Use libm_hidden_weak.
5854 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5855 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5856 define as weak alias of __fesetenv. Use libm_hidden_weak.
5857 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5859 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5860 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5862 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5863 define as weak alias of __fesetenv. Use libm_hidden_weak.
5864 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5865 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5866 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5867 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5868 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5869 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5870 __fesetenv instead of fesetenv.
5871 (libc_feresetround_noex_ctx): Likewise.
5872 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5873 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5874 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5875 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5876 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5877 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5878 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5879 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5880 (__feupdateenv): Likewise.
5881 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5882 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5883 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5884 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5886 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5889 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5890 addresses have been freed.
5892 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5894 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5897 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5899 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5900 Clean up check_pf allocation pattern. addresses
5902 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5905 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5906 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5907 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5908 * nptl/pthread_join.c (pthread_join): Likewise.
5909 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5910 * sysdeps/posix/waitid.c (__waitid): Likewise.
5911 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5912 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5913 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5914 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5915 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5917 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5918 (__libc_pread64): Likewise.
5919 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5920 (__libc_pwrite): Likewise.
5921 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5922 (__libc_pwrite64): Likewsie.
5923 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5924 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5925 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5926 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5927 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5928 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5929 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5933 (__libc_pread64): Likewise.
5934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5937 (__libc_pwrite64): Likewise.
5938 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5939 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5940 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5941 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5942 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5943 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5944 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5945 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5946 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5947 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5948 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5949 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5950 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5951 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5952 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5953 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5956 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5958 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5959 (CFLAGS-test-double.c): Likewise.
5960 (CFLAGS-test-ldouble.c): Likewise.
5961 (CPPFLAGS-test-ifloat.c): Likewise.
5962 (CPPFLAGS-test-idouble.c): Likewise.
5963 (CPPFLAGS-test-ildoubl.c): Likewise.
5964 (CFLAGS-test-test-fenv.c): Remove variable.
5965 (CFLAGS-test-misc.c): Likewise.
5967 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5970 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5971 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5972 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5973 CLOCKS_PER_SEC == 1000000.
5974 * time/clocktest.c (main): Replace %ld with %jd and cast to
5977 2015-01-05 Roland McGrath <roland@hack.frob.com>
5979 * sysdeps/generic/unwind-resume.h: New file.
5980 * sysdeps/gnu/unwind-resume.c: Include it.
5981 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5982 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5984 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5985 global rather than static.
5986 (_Unwind_Resume): Update user.
5987 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5988 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5989 rather than static. Add __attribute__ ((cold)).
5990 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5991 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5992 * sysdeps/arm/arm-unwind-resume.S: New file.
5993 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5994 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5995 * sysdeps/arm/Makefile [$(subdir) = csu]
5996 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5997 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5998 Add rt-arm-unwind-resume.
6000 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6001 Add pt-arm-unwind-resume.
6002 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6003 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6005 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6008 * include/fenv.h (__feholdexcept): Declare. Use
6010 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6011 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6012 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6013 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6014 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6015 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6016 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6017 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6018 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6019 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6020 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6021 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6022 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6023 (feholdexcept): Likewise.
6024 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6025 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6026 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6027 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6028 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6029 __feholdexcept instead of feholdexcept.
6030 (default_libc_feholdexcept_setround): Likewise.
6032 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6034 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6035 to avoid using stl/str to align destination.
6037 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6039 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6041 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6044 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6045 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6046 Define as weak alias not strong alias.
6048 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6050 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6051 bltzal with addiupc.
6052 (RTLD_START): Ditto.
6054 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6056 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6057 for __vdso_* functions in declarations.
6058 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6060 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6061 INTERNAL_VSYSCALL): Use struct return types to check for error.
6063 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6064 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6065 function with cast from llround().
6066 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6067 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6070 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6073 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6074 Define as weak alias not strong alias.
6077 * ctype/ctype-c99.c: New file. isblank implementation moved from
6079 * ctype/ctype-extn.c: ... here.
6080 (__isblank_l): Move to ...
6081 * ctype/ctype-c99_l.c: ... here. New file.
6082 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6083 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6085 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6086 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6087 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6088 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6089 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6092 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6093 (posix_fadvise64): Define as weak alias not strong alias.
6094 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6095 (posix_fallocate64): Likewise.
6096 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6098 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6099 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6100 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6101 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6102 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6104 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6107 * NEWS: Mention bug fix.
6108 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6109 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6110 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6111 (HOST_STACK_END_ADDR): Likewise.
6113 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6116 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6117 * math/fegetround.c (fegetround): Rename to __fegetround and
6118 define as weak alias of __fegetround. Use libm_hidden_weak.
6119 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6120 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6121 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6122 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6123 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6124 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6125 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6126 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6127 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6128 Undefine after rather than before function definition; use
6129 parentheses around function name in definition.
6130 (__fegetround): Also undefine macro after function definition.
6131 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6132 __fegetround and define as weak alias of __fegetround. Use
6133 libm_hidden_weak. Do not undefine as macro.
6134 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6136 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6137 __fegetround and define as weak alias of __fegetround. Use
6139 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6140 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6141 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6142 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6143 __fegetround and define as weak alias of __fegetround. Use
6145 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6146 __fegetround instead of fegetround.
6149 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6150 Condition macro definition on [__USE_MISC].
6153 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6154 (struct sigaction): Change type of sa_flags field to int.
6157 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6158 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6161 * nptl/version.c (banner): Use single year in copyright notice.
6163 * NEWS: Update copyright dates.
6164 * catgets/gencat.c (print_version): Likewise.
6165 * csu/version.c (banner): Likewise.
6166 * debug/catchsegv.sh: Likewise.
6167 * debug/pcprofiledump.c (print_version): Likewise.
6168 * debug/xtrace.sh (do_version): Likewise.
6169 * elf/ldconfig.c (print_version): Likewise.
6170 * elf/ldd.bash.in: Likewise.
6171 * elf/pldd.c (print_version): Likewise.
6172 * elf/sotruss.sh: Likewise.
6173 * elf/sprof.c (print_version): Likewise.
6174 * iconv/iconv_prog.c (print_version): Likewise.
6175 * iconv/iconvconfig.c (print_version): Likewise.
6176 * locale/programs/locale.c (print_version): Likewise.
6177 * locale/programs/localedef.c (print_version): Likewise.
6178 * login/programs/pt_chown.c (print_version): Likewise.
6179 * malloc/memusage.sh (do_version): Likewise.
6180 * malloc/memusagestat.c (print_version): Likewise.
6181 * malloc/mtrace.pl: Likewise.
6182 * manual/libc.texinfo: Likewise.
6183 * nptl/version.c (banner): Likewise.
6184 * nscd/nscd.c (print_version): Likewise.
6185 * nss/getent.c (print_version): Likewise.
6186 * nss/makedb.c (print_version): Likewise.
6187 * posix/getconf.c (main): Likewise.
6188 * scripts/test-installation.pl: Likewise.
6189 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6191 2015-01-02 Will Newton <will.newton@linaro.org>
6193 * sysdeps/arm/armv7/configure: Removed.
6194 * sysdeps/arm/armv7/configure.ac: Likewise.
6196 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6198 * All files with FSF copyright notices: Update copyright dates
6199 using scripts/update-copyrights.
6200 * intl/plural.c: Regenerated.
6201 * locale/programs/charmap-kw.h: Likewise.
6202 * locale/programs/locfile-kw.h: Likewise.
6204 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6206 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6208 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6211 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6212 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6213 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6214 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6215 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6216 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6217 define as weak alias of __fegetenv. Use libm_hidden_weak.
6218 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6219 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6220 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6221 define as weak alias of __fegetenv. Use libm_hidden_weak.
6222 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6223 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6224 define as weak alias of __fegetenv. Use libm_hidden_weak.
6225 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6227 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6228 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6230 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6231 define as weak alias of __fegetenv. Use libm_hidden_weak.
6232 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6233 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6234 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6235 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6236 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6237 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6238 __fegetenv instead of fegetenv.
6239 (libc_feholdsetround_noex_ctx): Likewise.
6241 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6243 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6244 (Elf_MIPS_ABIFlags_v0): New structure.
6245 (EF_MIPS_FP64): Define.
6246 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6247 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6248 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6249 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6250 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6251 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6252 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6253 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6254 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6255 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6256 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6257 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6258 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6259 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6260 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6261 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6262 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6263 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6264 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6265 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6266 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6267 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6269 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6271 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6272 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6273 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6274 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6275 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6276 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6277 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6278 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6279 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6280 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6281 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6282 record the current FP ABI extension.
6283 (mips-mode-switch): Define to show if kernel headers support mode
6285 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6286 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6287 supported SYSV ABI version to 3.
6288 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6291 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6292 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6294 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6296 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6298 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6300 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6301 __fegetround and redefine to call __fegetround. Remove condition
6302 on [!__NO_MATH_INLINES].
6303 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6305 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6306 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6308 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6309 instead of <fenv_libc.h>.
6310 (__llrintl): Call fegetround instead of __fegetround.
6311 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6312 instead of <fenv_libc.h>.
6313 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6314 (__lrintl): Call fegetround instead of __fegetround.
6315 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6316 instead of <fenv_libc.h>.
6317 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6318 (__rintl): Call fegetround instead of __fegetround.
6320 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6322 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6325 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6328 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6329 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6330 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6332 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6334 * sysdeps/i386/tls-macros.h: Include <features.h>.
6335 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6339 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6340 define for GCC >= 5.0.
6342 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6344 * math/test-fenv.c (test_single_exception, set_single_exc,
6345 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6346 feexcp_mask_test, feenable_test, fe_single_test): Add
6347 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6348 case where they are not used.
6349 * math/libm-test.inc: Likewise.
6350 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6351 unused in the absence of FP rounding/exception support.
6352 * stdio-common/tst-printf-round.c: Likewise.
6353 * stdlib/tst-strtod-round.c: Likewise.
6354 * stdlib/tst-strtod-underflow.c: Likewise.
6356 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6359 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6360 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6361 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6362 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6364 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6365 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6366 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6368 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6369 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6371 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6373 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6374 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6375 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6377 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6379 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6380 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6381 (__feraiseexcept): Likewise.
6382 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6383 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6385 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6386 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6388 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6389 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6390 Use libm_hidden_def.
6391 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6393 (feraiseexcept): Define as weak not strong alias. Use
6395 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6396 New inline function. Factored out of ...
6397 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6398 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6399 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6401 * math/w_acos.c (__acos): Likewise.
6402 * math/w_asin.c (__asin): Likewise.
6403 * math/w_ilogb.c (__ilogb): Likewise.
6404 * math/w_j0.c (y0): Likewise.
6405 * math/w_j1.c (y1): Likewise.
6406 * math/w_jn.c (yn): Likewise.
6407 * math/w_log.c (__log): Likewise.
6408 * math/w_log10.c (__log10): Likewise.
6409 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6410 * sysdeps/aarch64/fpu/math_private.h
6411 (libc_feupdateenv_test_aarch64): Likewise.
6412 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6413 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6414 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6415 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6416 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6417 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6418 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6419 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6420 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6421 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6423 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6426 * io/test-utime.c (main): Replace %ld with %jd and cast to
6428 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6429 * nptl/tst-mutex5.c: Include <stdint.h>.
6430 (do_test): Replace %ld with %jd and cast to intmax_t.
6431 * posix/tst-regex.c (run_test): Likewise.
6432 (run_test_backwards): Likewise.
6433 * rt/tst-clock.c: Include <stdint.h>.
6434 (clock_test): Replace %ld with %jd and cast to intmax_t.
6435 * rt/tst-cpuclock1.c: Include <stdint.h>.
6436 (do_test): Replace %lu with %ju and cast to uintmax_t.
6437 * rt/tst-cpuclock2.c: Include <stdint.h>.
6438 (do_test): Replace %lu with %ju and cast to uintmax_t.
6439 * rt/tst-mqueue1.c: Include <stdint.h>.
6440 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6441 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6443 * rt/tst-mqueue4.c (do_test): Likewise.
6444 * rt/tst-timer4.c: Include <stdint.h>.
6445 (check_ts): Replace %ld with %jd and cast to intmax_t.
6446 (do_test): Likewise.
6447 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6448 and cast to intmax_t.
6449 * sysdeps/pthread/tst-timer.c (main): Likewise.
6450 * time/clocktest.c (main): Likewise.
6451 * time/tst-posixtz.c (do_test): Likewise.
6452 * timezone/tst-timezone.c (main): Likewise.
6454 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6455 H.J. Lu <hongjiu.lu@intel.com>
6457 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6458 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6462 version if bit_Fast_Unaligned_Load is set.
6463 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6468 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6470 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6471 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6472 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6474 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6475 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6476 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6477 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6479 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6481 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6482 instead of #if to avoid a Wundef warning.
6483 * stdlib/tst-limits.c (do_test): Likewise.
6485 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6486 parallel other exception macros.
6487 (fegetenv): Convert from macro to extern inline so that it applies
6488 retroactively to inline functions already seen by the compiler.
6489 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6491 * posix/Makefile (before-compile): Use $(objpfx) for
6492 posix-conf-vars-def.h.
6494 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6496 * posix/getconf.c (main): Use size_t for type of I.
6497 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6500 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6501 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6502 * posix/posix-envs.def: Likewise.
6503 * sysdeps/posix/sysconf.c: Likewise.
6504 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6505 (specs): Remove array.
6506 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6509 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6510 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6511 (__sysconf): Use CONF_IS_* macros.
6513 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6514 ($(objpfx)posix-conf-vars-def.h): New target.
6515 * posix/posix-conf-vars.list: New file.
6516 * posix/posix-conf-vars.h: New file.
6517 * posix/confstr.c: Include posix-conf-vars.h.
6518 (confstr): Use CONF_IS_* macros.
6519 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6521 * scripts/gen-posix-conf-vars.awk: New file.
6523 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6525 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6526 fegetround): Add no-op macros to avoid linknamespace issues.
6528 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6529 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6531 * sysdeps/unix/sysv/linux/tile/sysdep.h
6532 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6533 assembly-specific section to avoid a redefinition warning.
6535 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6536 long before casting to pointer to avoid a cast warning.
6538 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6540 * sysdeps/tile/tilegx/Implies: New file.
6542 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6544 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6546 2014-12-23 Florian Weimer <fweimer@redhat.com>
6548 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6550 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6552 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6554 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6555 <kernel-features.h>.
6556 (__utimes) [__NR_utimes]: Make code unconditional.
6557 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6558 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6559 (__ASSUME_UTIMES): Do not undefine.
6560 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6561 (__ASSUME_UTIMES): Likewise.
6562 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6563 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6564 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6565 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6567 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6569 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6571 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6574 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6575 alias to weak alias for j0l, y0l.
6576 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6577 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6580 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6583 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6585 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6586 to zero if not already defined.
6588 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6591 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6592 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6593 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6594 (char *) casts added.
6595 * sysdeps/ieee754/k_standardf.c: New file.
6596 * sysdeps/ieee754/k_standardl.c: Likewise.
6597 * math/Makefile (libm-support): Remove k_standard.
6598 (libm-calls): Add k_standard.
6600 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6602 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6603 Optimize to avoid an unnecessary FPCR read.
6605 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6607 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6608 Optimize to reduce FPCR/FPSR accesses.
6610 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6612 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6613 Call libc_fetestexcept_aarch64.
6615 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6617 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6618 Call libc_fesetround_aarch64.
6620 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6623 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6624 (__bind): Do not define as weak alias.
6625 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6627 (__getsockname): Do not define as weak alias.
6629 2014-12-22 Will Newton <will.newton@linaro.org>
6631 * manual/install.texi: Document that we require bison 2.7
6633 * INSTALL: Regenerate.
6634 * configure.ac: Use AC_CHECK_PROG_VER instead of
6635 AC_PATH_PROG when checking for bison and check for
6636 version 2.7 or above.
6637 * configure: Regenerate.
6639 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6642 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6643 * sysdeps/tile/ffsll.c (ffsll): To here.
6645 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6647 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6649 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6651 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6653 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6654 hidden ___tls_get_addr.
6655 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6656 hidden __tls_get_addr.
6657 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6658 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6661 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6663 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6666 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6668 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6669 from "call _dl_init@PLT".
6670 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6672 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6674 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6677 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6679 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6681 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6684 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6687 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6689 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6691 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6692 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6693 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6694 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6695 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6697 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6699 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6700 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6701 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6702 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6703 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6705 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6707 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6709 * string/strncat.c (STRNCAT): Simplify implementation.
6711 2014-12-19 David S. Miller <davem@davemloft.net>
6713 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6714 access the quad as both a long double and as a series of 4 words.
6716 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6717 link_map->l_info array access.
6719 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6721 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6723 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6724 * math/atest-exp2.c (TIMEOUT): Likewise.
6725 * math/atest-sincos.c (TIMEOUT): Likewise.
6727 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6729 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6730 -Wno-error with -fno-builtin-lround.
6732 2014-12-19 Torvald Riegel <triegel@redhat.com>
6734 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6735 Contains futex constants and functions moved over from ...
6736 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6737 <lowlevellock-futex.h>.
6738 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6739 (lll_timedwait_tid): Add comments and parentheses around macro
6742 2014-12-19 Torvald Riegel <triegel@redhat.com>
6744 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6745 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6746 (__lll_private_flag): Remove.
6747 (lll_futex_wait): Likewise.
6748 (lll_futex_timed_wait): Likewise.
6749 (lll_futex_wake): Likewise.
6750 (lll_futex_requeue): Likewise.
6751 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6752 (__lll_timedwait_tid): Spell out argument names.
6753 (lll_timedwait_tid): Add comments and parentheses around macro
6755 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6756 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6758 2014-12-19 Torvald Riegel <triegel@redhat.com>
6760 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6761 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6762 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6763 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6764 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6765 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6766 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6767 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6768 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6770 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6771 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6772 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6773 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6774 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6775 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6776 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6777 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6778 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6780 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6782 * sysdeps/x86_64/x32/Makefile: New file.
6784 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6786 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6787 1L with (mp_limb_t) 1.
6789 2014-12-17 Roland McGrath <roland@hack.frob.com>
6791 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6792 * nptl/libc_pthread_init.c: ... here.
6793 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6794 * nptl/register-atfork.c: ... here.
6796 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6797 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6798 Use assert_perror to check its return value.
6799 (__gai_create_helper_thread): Likewise.
6801 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6803 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6805 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6808 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6810 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6812 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6814 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6816 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6817 (profil_counter): Likewise.
6818 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6819 (profil_counter): Likewise.
6820 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6822 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6824 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6825 (profil_counter): Likewise.
6826 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6828 [!__profil_counter] (profil_counter): Define as weak alias of
6830 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6831 (profil_counter): Rename to __profil_counter.
6832 [!__profil_counter] (profil_counter): Define as weak alias of
6834 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6835 (profil_counter): Rename to __profil_counter.
6836 [!__profil_counter] (profil_counter): Define as weak alias of
6838 * sysdeps/posix/profil.c: Update comment referring to
6840 (__profil): Use __profil_counter instead of profil_counter.
6841 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6842 __profil_counter. Use __profil_counter_ushort and
6843 __profil_counter_uint in definitions.
6844 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6845 instead of profil_counter_uint and profil_counter_ushort.
6848 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6849 define as weak alias of __inet_makeaddr.
6850 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6851 as weak alias of __inet_addr.
6852 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6853 as weak alias of __inet_pton. Use libc_hidden_weak.
6854 * include/arpa/inet.h (__inet_pton): Declare. Use
6856 (inet_makeaddr): Don't use libc_hidden_proto.
6857 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6858 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6859 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6860 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6862 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6863 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6865 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6867 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6869 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6871 * stdio-common/bug-vfprintf-nargs.c (do_test):
6872 Cast value to intptr_t to avoid format warning
6873 for usage with PRIdPTR printing macro.
6875 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6877 * libio/tst-widetext.c (do_test):
6878 Use format type %td instead of %Zd for ptrdiff_t
6879 in order to avoid format warning.
6881 2014-12-17 Andreas Schwab <schwab@suse.de>
6883 * nscd/mem.c (gc): Add size_t cast to match printf format.
6885 2014-12-16 Roland McGrath <roland@hack.frob.com>
6887 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6888 (init): Apply PTR_MANGLE to pointers before storing them.
6889 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6892 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6896 define as weak alias of __memrchr.
6897 (__memrchr): Do not define as strong alias of memrchr.
6898 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6900 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6901 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6902 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6905 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6906 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6907 (if_indextoname): Rename to __if_indextoname and define as weak
6908 alias of __if_indextoname. Use libc_hidden_weak.
6909 (if_freenameindex): Rename to __if_freenameindex and define as
6910 weak alias of __if_freenameindex.
6911 (if_nameindex): Rename to __if_nameindex and define as weak alias
6913 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6914 __if_nametoindex and define as weak alias of __if_nametoindex.
6915 Use libc_hidden_weak.
6916 (if_freenameindex): Rename to __if_freenameindex and define as
6917 weak alias of __if_freenameindex.
6918 (if_nameindex): Rename to __if_nameindex and define as weak alias
6920 (if_indextoname): Rename to __if_indextoname and define as weak
6921 alias of __if_indextoname. Use libc_hidden_weak.
6922 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6923 __if_nametoindex and define as weak alias of __if_nametoindex.
6924 Use libc_hidden_weak.
6925 (if_freenameindex): Rename to __if_freenameindex and define as
6926 weak alias of __if_freenameindex. Use libc_hidden_weak.
6927 (if_nameindex_netlink): Use __if_freenameindex instead of
6929 (if_nameindex): Rename to __if_nameindex and define as weak alias
6930 of __if_nameindex. Use libc_hidden_weak.
6931 (if_indextoname): Rename to __if_indextoname and define as weak
6932 alias of __if_indextoname. Use libc_hidden_weak.
6933 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6935 [!_ISOMAC] (__if_freenameindex): Likewise.
6936 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6938 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6940 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6941 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6942 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6943 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6944 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6945 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6946 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6948 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6950 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6951 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6953 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6955 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6956 subscript above bounds'
6958 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6961 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6963 * libio/tst-fopenloc.c: Use test-skeleton.c.
6965 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6966 (entry): Rename to ITEM.
6967 (do_test, comp): Adjust.
6969 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6971 2014-12-16 Torvald Riegel <triegel@redhat.com>
6973 * string/tester.c: Include <libc-internal.h>.
6974 (test_memset): Ignore -Wmemset-transposed-args.
6976 2014-12-16 Torvald Riegel <triegel@redhat.com>
6978 * misc/tst-mntent2.c (do_test): Fix warning.
6980 2014-12-16 Torvald Riegel <triegel@redhat.com>
6982 * elf/tst-unique4lib.cc(a): Mark as used.
6984 2014-12-16 Florian Weimer <fweimer@redhat.com>
6987 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6990 2014-12-16 Allan McRae <allan@archlinux.org>
6992 * stdio-common/Makefile (tests): Re-add bug26.
6994 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6997 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7000 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7002 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7003 (__lll_lock_wait): Likewise.
7004 (__lll_timedlock_wait): Likewise.
7005 (__lll_timedwait_tid): Likewise.
7006 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7007 (__lll_robust_timedlock_wait): Likewise.
7008 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7009 (lll_cond_trylock): Likewise.
7010 (__lll_lock): Likewise.
7011 (__lll_robust_lock): Likewise.
7012 (__lll_cond_lock): Likewise.
7013 (lll_robust_cond_lock): Likewise.
7014 (__lll_timedlock): Likewise.
7015 (__lll_robust_timedlock): Likewise.
7016 (__lll_unlock): Likewise.
7017 (__lll_robust_unlock): Likewise.
7018 (lll_wait_tid): Likewise.
7019 (lll_timedwait_tid): Likewise.
7021 2014-12-15 Torvald Riegel <triegel@redhat.com>
7023 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7025 2014-12-15 Torvald Riegel <triegel@redhat.com>
7027 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7029 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7031 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7032 * stdio-common/tst-sprintf.c: Likewise.
7034 2014-12-15 Torvald Riegel <triegel@redhat.com>
7036 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7038 2014-12-15 Jeff Law <law@redhat.com>
7041 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7042 on the heap. (CVE-2012-3406)
7043 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7044 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7045 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7047 2014-12-15 Will Newton <will.newton@linaro.org>
7049 * manual/install.texi: Bump required version of texinfo
7051 * INSTALL: Regenerated.
7052 * configure.ac: Check for makeinfo version 4.7 and above.
7053 * configure: Regenerated.
7055 2014-12-12 Roland McGrath <roland@hack.frob.com>
7057 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7058 PREFIX, string constant to insert between directory and name.
7059 * sysdeps/posix/shm_open.c: Update caller.
7060 * sysdeps/posix/shm_unlink.c: Likewise.
7061 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7062 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7063 (SEM_SHM_PREFIX): New macro.
7064 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7065 [$(have-thread-library) = no].
7066 * nptl/Makefile (libpthread-routines): Add shm-directory.
7067 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7068 * sysdeps/nptl/shm-directory.h: New file.
7069 * sysdeps/posix/shm-directory.c
7070 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7071 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7072 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7074 (__where_is_shmfs): Function removed.
7075 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7077 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7079 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7081 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7082 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7083 unconditional for use inside libpthread.
7084 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7086 2014-12-12 Roland McGrath <roland@hack.frob.com>
7088 * nptl/pthread_getaffinity.c: New file.
7089 * nptl/pthread_setaffinity.c: New file.
7090 * nptl/pthread_getname.c: New file.
7091 * nptl/pthread_setname.c: New file.
7093 * nptl/pthread_create.c (START_THREAD_DEFN)
7094 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7096 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7097 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7099 * resolv/res_send.c (send_vc): Disable warning resplen may
7100 be used uninitialized.
7102 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7105 (ATTR_NULL): New define checks ATTR against NULL.
7106 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7107 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7109 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7113 (mem2mem_check): Revert my previous change.
7114 (malloc_check_get_size): Revert my previous change.
7115 (mem2chunk_check): Revert my previous change.
7117 2014-12-11 Roland McGrath <roland@hack.frob.com>
7119 * sysdeps/posix/shm-directory.c: New file.
7120 * sysdeps/posix/shm-directory.h: New file.
7121 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7122 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7123 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7124 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7125 Transmute EPERM to EACCES.
7126 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7128 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7129 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7131 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7133 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7134 pointer and cast to uintptr_t.
7135 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7136 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7137 Add cast to avoid warning.
7138 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7140 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7142 * nptl/semaphore.h: Move to ...
7143 * sysdeps/pthread/semaphore.h: ... here.
7144 * Makefile (installed-headers): Change nptl/semaphore.h to
7145 sysdeps/pthread/semaphore.h.
7147 2014-12-11 Roland McGrath <roland@hack.frob.com>
7149 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7150 generated error format strings.
7152 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7153 -Wformat-extra-args warnings for scanf formats.
7154 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7155 test of zero-length format (duh).
7156 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7157 corner-case scanf format test.
7158 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7159 generated fprintf format string.
7160 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7161 corner-case sprintf format tests.
7162 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7163 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7164 -Wformat-extra-args warnings throughout.
7165 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7166 (CFLAGS-scanf4.c): Likewise.
7167 (CFLAGS-scanf7.c): Likewise.
7168 (CFLAGS-tst-sprintf.c): Likewise.
7169 (CFLAGS-tst-printf.c): Likewise.
7170 (CFLAGS-tst-printfsz.c): Likewise.
7172 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7174 * include/cpio.h: New file.
7175 * include/fmtmsg.h: Likewise.
7177 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7178 corresponding format argument to size_t.
7179 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7181 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7182 corresponding format argument to size_t.
7183 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7185 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7186 corresponding format argument to size_t.
7187 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7188 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7189 (CFLAGS-tst-mbswcs2.c): Likewise.
7190 (CFLAGS-tst-mbswcs3.c): Likewise.
7191 (CFLAGS-tst-mbswcs4.c): Likewise.
7192 (CFLAGS-tst-mbswcs5.c): Likewise.
7193 (CFLAGS-tst-trans.c): Likewise
7195 2014-12-11 Roland McGrath <roland@hack.frob.com>
7197 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7198 rather than assuming they won't contain any '%'s.
7200 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7202 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7203 inhibit_loop_to_libcall to avoid recursive calls.
7204 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7205 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7207 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7209 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7212 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7214 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7215 integer value instead of boolean.
7217 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7219 * malloc/malloc.c: Fix powerof2 check.
7221 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7223 * locale/programs/locfile.h (maybe_swap_uint32):
7224 Remove inline and add unused attribute.
7226 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7228 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7229 Truncating assembler expression to a .long expression.
7231 2014-12-11 Andreas Schwab <schwab@suse.de>
7233 * elf/rtld.c (struct map_args): Constify str member.
7234 (do_preload): Constify fname argument.
7236 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7238 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7239 constants definition.
7241 2014-12-11 Andreas Schwab <schwab@suse.de>
7244 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7245 FORCE_ELISION instead of DO_ELISION.
7246 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7248 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7251 * iconvdata/gconv-modules: Remove duplicate entry.
7253 2014-12-11 Will Newton <will.newton@linaro.org>
7255 Merge gettext 0.19.3 into intl/.
7257 This involves a number of cosmetic changes to comments
7258 and ANSI function definitions and prototypes throughout
7259 all the files. The gettext copyright header is used but
7260 with the date ranges taken from the glibc copy.
7262 * NEWS: Add gettext merge to 2.21.
7263 * intl/bindtextdom.c: Switch to gettext copyright.
7264 Use ANSI definitions and prototypes.
7265 Use gl_* locking primitives rather than __libc_* ones.
7266 Use __builtin_expect rather than __glibc_likely/unlikely.
7267 * intl/dcgettext.c: Switch to gettext copyright.
7268 Use ANSI definitions and prototypes.
7269 * intl/dcigettext.c: Switch to gettext copyright.
7270 Use ANSI definitions and prototypes.
7271 (INTDIV0_RAISES_SIGFPE): New define.
7272 Use gl_* locking primitives rather than __libc_* ones.
7273 Include eval-plural.h instead of plural-eval.c.
7274 Use __builtin_expect rather than __glibc_likely/unlikely.
7275 * intl/dcngettext.c: Switch to gettext copyright.
7276 Use ANSI definitions and prototypes.
7277 * intl/dgettext.c: Likewise.
7278 * intl/dngettext.c: Likewise.
7279 * intl/plural-eval.c: Renamed to...
7280 * intl/eval-plural.h: ...this.
7281 * intl/explodename.c: Switch to gettext copyright.
7282 Use ANSI definitions and prototypes.
7283 (_nl_explode_name): Use strchr instead of __rawmemchr.
7284 * intl/finddomain.c: Switch to gettext copyright.
7285 Use ANSI definitions and prototypes.
7286 Use gl_* locking primitives rather than __libc_* ones.
7287 (_nl_find_domain): Use malloc rather than alloca for
7288 allocation of temporary locale name.
7289 * intl/gettext.c: Switch to gettext copyright.
7290 Use ANSI definitions and prototypes.
7291 * intl/gettextP.h: Switch to gettext copyright.
7292 Use ANSI definitions and prototypes.
7293 Use gl_* locking primitives rather than __libc_* ones.
7294 * intl/gmo.h: Switch to gettext copyright.
7295 (struct sysdep_string): Move struct segment_pair outside of
7297 * intl/hash-string.c: Use ANSI definitions and prototypes.
7298 * intl/hash-string.h: Switch to gettext copyright.
7299 Use ANSI definitions and prototypes.
7300 * intl/l10nflist.c: Switch to gettext copyright.
7301 Use ANSI definitions and prototypes.
7302 (_nl_normalize_codeset): Avoid integer overflow.
7303 * intl/loadinfo.h: Switch to gettext copyright.
7304 Use ANSI definitions and prototypes.
7305 (LIBINTL_DLL_EXPORTED): New define.
7306 (PATH_SEPARATOR): New define.
7307 * intl/loadmsgcat.c: Switch to gettext copyright.
7308 * intl/localealias.c: Switch to gettext copyright.
7309 Use ANSI definitions and prototypes.
7310 (_nl_expand_alias): Use PATH_SEPARATOR.
7311 * intl/ngettext.c: Switch to gettext copyright.
7312 Use ANSI definitions and prototypes.
7313 * intl/plural-exp.c: Likewise.
7314 * intl/plural-exp.h: Switch to gettext copyright.
7315 Use ANSI definitions and prototypes.
7316 (struct expression): Move definition of enum operator outside
7317 of struct definition.
7318 * intl/plural.c: Regenerate.
7319 * intl/plural.y: Switch to gettext copyright.
7320 Use ANSI definitions and prototypes.
7322 * intl/textdomain.c: Switch to gettext copyright.
7323 Use ANSI definitions and prototypes.
7324 Use gl_* locking primitives rather than __libc_* ones.
7326 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7328 * debug/warning-nop.c: Add used atrribute.
7330 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7332 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7334 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7335 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7336 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7338 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7339 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7342 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7343 Undefine after defining function. Define as weak alias of
7344 __wcschr. Use libc_hidden_weak.
7345 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7346 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7347 (libc_hidden_def): Also define __GI___wcschr alias.
7348 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7349 __wcschr and define as weak alias of __wcschr.
7350 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7352 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7353 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7354 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7355 libc_hidden_weak. Do not use libc_hidden_def.
7356 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7357 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7358 __GI___wcschr alias.
7359 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7360 [IS_IN (libc)] (wcschr): Define as macro expanding to
7362 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7363 [IS_IN (libc)] (__wcschr_power6): Likewise.
7364 [IS_IN (libc)] (__wcschr_power7): Likewise.
7365 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7367 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7369 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7370 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7371 __wcschr and define as weak alias of __wcschr. Use
7372 libc_hidden_builtin_def.
7373 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7374 as weak alias of __wcschr. Use libc_hidden_weak.
7375 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7377 * time/era.c (_nl_init_era_entries): Likewise.
7378 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7380 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7381 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7383 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7385 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7386 format for long int variable.
7388 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7391 * manual/search.texi: (Array Sort Function): Remove claim how to make
7394 2014-12-10 Andreas Schwab <schwab@suse.de>
7397 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7398 user-controlled locks.
7400 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7402 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7405 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7407 * configure.ac (--disable-werror): New configure option.
7408 (enable_werror): New AC_SUBST.
7409 * configure: Regenerated.
7410 * config.make.in (enable-werror): New variable.
7411 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7413 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7414 * manual/install.texi (Configuring and compiling): Document
7416 * INSTALL: Regenerated.
7417 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7418 (CFLAGS-tst-chk2.c): Likewise.
7419 (CFLAGS-tst-chk3.c): Likewise.
7420 (CFLAGS-tst-chk4.cc): Likewise.
7421 (CFLAGS-tst-chk5.cc): Likewise.
7422 (CFLAGS-tst-chk6.cc): Likewise.
7423 (CFLAGS-tst-lfschk1.c): Likewise.
7424 (CFLAGS-tst-lfschk2.c): Likewise.
7425 (CFLAGS-tst-lfschk3.c): Likewise.
7426 (CFLAGS-tst-lfschk4.cc): Likewise.
7427 (CFLAGS-tst-lfschk5.cc): Likewise.
7428 (CFLAGS-tst-lfschk6.cc): Likewise.
7430 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7431 (main): Disable -Wdeprecated-declarations around calls to
7432 register_printf_function.
7434 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7435 (do_test): Disable -Wdiv-by-zero around some calls to
7436 fwrite_unlocked and fread_unlocked.
7438 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7439 (DIAG_POP_NEEDS_COMMENT): Likewise.
7440 (_DIAG_STR1): Likewise.
7441 (_DIAG_STR): Likewise.
7442 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7443 * stdio-common/bug21.c: Include <libc-internal.h>.
7444 (do_test): Disable -Wformat around call to sscanf.
7445 * stdio-common/scanf14.c: Include <libc-internal.h>.
7446 (main): Disable -Wformat around some calls to scanf functions.
7448 2014-12-09 Torvald Riegel <triegel@redhat.com>
7450 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7452 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7454 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7455 stack variable alignment.
7457 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7460 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7461 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7462 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7463 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7464 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7465 __getrlimit instead of getrlimit.
7466 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7467 __gettimeofday instead of gettimeofday.
7468 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7470 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7472 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7473 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7475 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7476 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7478 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7480 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7481 for wide-character tests.
7483 2014-12-04 Roland McGrath <roland@hack.frob.com>
7485 * io/openat64.c: #include <libc-internal.h>
7486 (__openat64): Prototypify. Use ignore_value on MODE.
7487 * io/openat.c: Likewise.
7488 * misc/reboot.c: #include <libc-internal.h>
7489 (reboot): Prototypify. Use ignore_value on HOWTO.
7490 * misc/ptrace.c: #include <libc-internal.h>
7491 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7493 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7495 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7496 XPG4, UNIX98 and XOPEN2K.
7497 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7499 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7501 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7503 * libio/fileops.c: Use ISO C style for function definitions.
7504 * libio/iofopen.c: Likewise.
7505 * libio/wfileops.c: Likewise.
7508 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7510 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7511 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7512 (fgets_func): Function pointer to fgets and fgetws.
7513 (do_ftell_test): Add test to verify ftell value after read
7515 (do_test): Set fgets_func.
7517 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7518 O_TRUNC flag for w and w+ modes.
7519 (do_rewind_test): Likewise.
7520 (do_ftell_test): Likewise.
7521 (do_write_test): Likewise.
7524 * libio/fileops.c (do_ftell): Seek only when there are
7526 * libio/wfileops.c (do_ftell_wide): Likewise.
7527 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7529 (do_one_test): Call it.
7531 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7533 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7534 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7535 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7537 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7538 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7539 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7541 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7543 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7545 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7548 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7549 as weak alias of __getifaddrs. Use libc_hidden_weak.
7550 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7551 __freeifaddrs. Use libc_hidden_weak.
7552 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7553 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7554 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7555 __freeifaddrs. Use libc_hidden_weak.
7556 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7557 __getifaddrs and define as weak alias of __getifaddrs. Use
7559 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7560 __freeifaddrs. Use libc_hidden_weak.
7561 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7563 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7564 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7566 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7569 * sysdeps/mips/start.S (__start): Use indirect jump to call
7572 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7574 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7576 * nptl/tst-mutex1.c: Include <stdbool.h>.
7577 [!ATTR] (ATTR_NULL): New macro.
7578 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7579 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7580 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7582 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7586 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7587 Change conditional to [__USE_MISC].
7590 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7592 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7594 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7596 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7598 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7599 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7600 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7601 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7602 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7603 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7604 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7605 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7606 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7608 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7610 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7612 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7613 Remove strpbrk objects.
7614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7615 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7616 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7617 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7618 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7619 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7621 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7622 Remove strcspn objects.
7623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7624 (__libc_ifunc_impl_list): Remove strcspn implementation.
7625 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7626 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7627 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7628 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7630 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7631 Remove strspn objetcs.
7632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7633 (__libc_ifunc_impl_list): Remove strspn implementation.
7634 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7635 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7636 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7637 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7639 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7643 (mem2mem_check): Add a terminator to the chain of checking blocks.
7644 (malloc_check_get_size): Use it here.
7645 (mem2chunk_check): Ditto.
7647 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7649 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7650 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7652 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7654 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7656 * nptl/nptl-init.c: Include libc-internal.h.
7657 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7659 * elf/ldconfig.c (search_dir): Expand comment.
7661 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7663 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7665 (linknamespace-symlist-stdlibs-tests): Likewise.
7666 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7667 instead of $(objpfx)symlist-stdlibs.
7668 (linknamespace-libs-isoc): New variable.
7669 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7670 (linknamespace-libs-ISO): New variable.
7671 (linknamespace-libs-ISO99): Likewise.
7672 (linknamespace-libs-ISO11): Likewise.
7673 (linknamespace-libs-XPG3): Likewise.
7674 (linknamespace-libs-XPG4): Likewise.
7675 (linknamespace-libs-POSIX): Likewise.
7676 (linknamespace-libs-UNIX98): Likewise.
7677 (linknamespace-libs-XOPEN2K): Likewise.
7678 (linknamespace-libs-POSIX2008): Likewise.
7679 (linknamespace-libs-XOPEN2K8): Likewise.
7680 ($(objpfx)symlist-stdlibs): Replace by
7681 $(linknamespace-symlist-stdlibs-tests). Use
7682 $(linknamespace-libs-$*) as set of libraries.
7683 ($(linknamespace-header-tests)): Update dependencies. Use
7684 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7685 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7686 * conform/linknamespace.pl: Remove comment about considering
7687 definitions of symbols from irrelevant libraries.
7689 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7692 * elf/dl-tls.c: Include <atomic.h>.
7693 (oom): Remove #ifdef SHARED/#endif.
7694 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7695 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7696 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7698 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7699 * nptl/Makefile (tests): Add tst-stack4.
7700 (modules-names): Add tst-stack4mod.
7701 ($(objpfx)tst-stack4): New.
7702 (tst-stack4mod.sos): Likewise.
7703 ($(objpfx)tst-stack4.out): Likewise.
7704 ($(tst-stack4mod.sos)): Likewise.
7706 * nptl/tst-stack4.c: New file.
7707 * nptl/tst-stack4mod.c: Likewise.
7709 2014-11-27 J. Brown <jb999@gmx.de>
7711 * sysdeps/x86/bits/string.h: Add recent CPUs.
7713 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7715 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7718 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7721 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7724 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7726 * nscd/connections.c: Include libc-internal.h because of macro
7729 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7731 * string/bits/string3.h (__warn_memset_zero_len): Don't
7732 declare for gcc newer than 5.0.
7733 (memset): Don't test for zero-length __LEN for gcc newer than
7736 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7738 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7739 size_t for %zu format.
7741 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7742 difference, not %ju.
7744 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7746 * include/libc-internal.h (ignore_value): New macro.
7747 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7750 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7753 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7754 pthread_cleanup_push to void *.
7756 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7762 instead of 1L << 52.
7764 * libio/bug-rewind.c (do_test): Check fwscanf return values.
7765 * libio/bug-rewind2.c (do_test): Likewise.
7767 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7768 * debug/test-strcpy_chk-ifunc.c: Likewise.
7769 * wcsmbs/test-wcschr-ifunc.c: Likewise.
7770 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7771 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7772 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7773 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7774 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7775 * Rules [$(multi-arch) = no] (tests): Do not filter out
7777 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7778 * debug/Makefile (tests-ifunc): Remove variable.
7779 (tests): Do not add $(tests-ifunc).
7780 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7781 (tests): Do not add $(tests-ifunc).
7782 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7783 [TEST_IFUNC]: Remove conditionals.
7784 * string/test-string.h (TEST_IFUNC): Remove macro.
7785 [TEST_IFUNC]: Remove conditionals.
7787 * string/test-strchr.c [!WIDE] (L): New macro.
7788 [WIDE] (L): Likewise.
7789 (check1): Use CHAR instead of char. Use L on string and character
7792 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7794 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7796 * sysdeps/powerpc/bits/atomic.h
7797 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7798 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7799 (atomic_exchange_and_add_acq): Likewise.
7800 (atomic_exchange_and_add_rel): Likewise.
7801 * sysdeps/powerpc/powerpc32/bits/atomic.h
7802 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7803 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7804 * sysdeps/powerpc/powerpc64/bits/atomic.h
7805 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7806 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7808 2014-11-26 Torvald Riegel <triegel@redhat.com>
7810 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7811 Change synchronization of __sched_fifo_min_prio and
7812 __sched_fifo_max_prio.
7813 * nptl/pthread_mutexattr_getprioceiling.c
7814 (pthread_mutexattr_getprioceiling): Likewise.
7815 * nptl/pthread_mutexattr_setprioceiling.c
7816 (pthread_mutexattr_setprioceiling): Likewise.
7817 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7818 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7821 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7823 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7826 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7828 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7829 third argument const.
7831 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7833 fnmatch: work around GCC compiler warning bug with uninit var
7834 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7835 This works around a bug with x86-64 GCC 4.9.2 and earlier
7836 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7837 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7838 used uninitialized in this function [-Wmaybe-uninitialized]".
7840 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7842 * posix/bug-regex31.c (main): Return RES not 0.
7844 2014-11-25 Anton Blanchard <anton@samba.org>
7846 * sysdeps/powerpc/bits/atomic.h
7847 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7849 2014-11-24 Sterling Augustine <saugustine@google.com>
7851 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7853 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7856 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7858 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7861 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7862 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7864 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7865 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7867 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7869 * string/strncpy.c (strncpy): Improve performance by using memset.
7871 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7873 * string/strcpy.c (strcpy):
7874 Improve performance by using strlen and memcpy.
7876 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7878 * string/strcoll_l.c (get_next_seq): __always_inline.
7879 * string/strcoll_l.c (do_compare): __always_inline.
7881 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7883 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7885 * include/mqueue.h: Likewise.
7886 * include/stdlib.h: Likewise.
7888 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7889 (get_null_defines): Adjust.
7890 * sunrpc/Makefile: Adjust comment.
7891 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7892 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7893 (CFLAGS-interp.c): Likewise.
7894 (CFLAGS-ldconfig.c): Likewise.
7895 (CPPFLAGS-.os): Likewise.
7896 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7897 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7898 * extra-modules.mk (extra-modules.mk): Likewise.
7899 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7900 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7901 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7902 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7903 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7904 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7905 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7906 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7907 * iconvdata/Makefile (CPPFLAGS): Likewise.
7908 (cpp-srcs-left): Add libof for all iconvdata routines.
7909 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7910 * include/assert.h: Likewise.
7911 * include/ctype.h: Likewise.
7912 * include/errno.h: Likewise.
7913 * include/libc-symbols.h: Likewise.
7914 * include/math.h: Likewise.
7915 * include/netdb.h: Likewise.
7916 * include/resolv.h: Likewise.
7917 * include/stdio.h: Likewise.
7918 * include/stdlib.h: Likewise.
7919 * include/string.h: Likewise.
7920 * include/sys/stat.h: Likewise.
7921 * include/wctype.h: Likewise.
7922 * intl/l10nflist.c: Likewise.
7923 * libidn/idn-stub.c: Likewise.
7924 * libio/libioP.h: Likewise.
7925 * nptl/libc_multiple_threads.c: Likewise.
7926 * nptl/pthreadP.h: Likewise.
7927 * posix/regex_internal.h: Likewise.
7928 * resolv/res_hconf.c: Likewise.
7929 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7930 * sysdeps/arm/memmove.S: Likewise.
7931 * sysdeps/arm/sysdep.h: Likewise.
7932 * sysdeps/generic/_itoa.h: Likewise.
7933 * sysdeps/generic/symbol-hacks.h: Likewise.
7934 * sysdeps/gnu/errlist.awk: Likewise.
7935 * sysdeps/gnu/errlist.c: Likewise.
7936 * sysdeps/i386/i586/memcpy.S: Likewise.
7937 * sysdeps/i386/i586/memset.S: Likewise.
7938 * sysdeps/i386/i686/memcpy.S: Likewise.
7939 * sysdeps/i386/i686/memmove.S: Likewise.
7940 * sysdeps/i386/i686/mempcpy.S: Likewise.
7941 * sysdeps/i386/i686/memset.S: Likewise.
7942 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7943 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7944 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7945 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7946 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7947 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7948 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7950 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7952 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7953 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7954 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7955 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7956 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7957 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7958 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7959 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7960 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7961 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7962 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7963 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7964 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7965 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7966 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7967 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7968 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7969 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7970 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7971 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7972 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7973 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7975 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7976 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7978 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7979 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7980 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7982 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7983 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7984 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7985 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7986 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7987 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7988 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7989 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7990 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7991 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7992 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7993 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7994 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7995 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7996 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7997 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7998 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7999 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8000 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8001 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8002 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8003 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8004 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8005 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8006 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8007 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8008 * sysdeps/posix/closedir.c: Likewise.
8009 * sysdeps/posix/opendir.c: Likewise.
8010 * sysdeps/posix/readdir.c: Likewise.
8011 * sysdeps/posix/rewinddir.c: Likewise.
8012 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8013 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8014 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8015 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8016 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8017 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8018 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8023 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8024 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8025 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8026 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8027 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8028 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8029 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8030 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8031 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8032 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8033 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8034 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8035 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8036 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8038 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8039 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8040 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8047 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8048 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8049 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8050 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8051 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8052 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8053 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8054 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8055 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8056 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8057 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8058 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8059 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8060 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8061 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8062 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8063 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8064 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8065 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8066 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8069 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8070 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8071 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8072 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8073 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8074 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8075 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8076 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8077 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8078 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8079 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8080 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8081 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8082 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8083 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8084 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8085 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8086 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8087 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8088 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8089 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8090 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8092 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8093 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8094 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8095 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8096 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8097 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8098 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8099 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8100 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8101 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8102 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8103 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8104 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8107 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8108 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8110 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8111 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8112 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8113 * sysdeps/unix/alpha/sysdep.S: Likewise.
8114 * sysdeps/unix/alpha/sysdep.h: Likewise.
8115 * sysdeps/unix/make-syscalls.sh: Likewise.
8116 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8117 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8118 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8119 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8120 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8121 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8122 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8123 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8124 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8125 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8126 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8127 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8128 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8129 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8130 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8131 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8132 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8133 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8134 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8135 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8136 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8137 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8138 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8139 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8140 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8141 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8142 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8145 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8146 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8150 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8154 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8155 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8156 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8157 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8158 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8159 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8160 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8163 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8166 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8167 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8168 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8169 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8170 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8171 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8172 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8174 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8175 * sysdeps/x86_64/memcpy.S: Likewise.
8176 * sysdeps/x86_64/memmove.c: Likewise.
8177 * sysdeps/x86_64/memset.S: Likewise.
8178 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8179 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8180 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8181 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8182 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8183 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8184 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8185 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8186 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8187 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8188 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8189 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8190 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8191 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8192 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8193 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8194 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8195 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8196 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8197 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8198 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8199 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8202 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8203 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8204 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8205 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8206 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8207 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8208 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8209 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8210 * sysdeps/x86_64/strcmp.S: Likewise.
8212 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8214 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8215 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8216 * elf/rtld-Rules: Likewise.
8217 * elf/setup-vdso.h: Likewise.
8218 * include/assert.h: Likewise.
8219 * include/bits/stdlib-float.h: Likewise.
8220 * include/errno.h: Likewise.
8221 * include/sys/stat.h: Likewise.
8222 * include/unistd.h: Likewise.
8223 * sysdeps/aarch64/setjmp.S: Likewise.
8224 * sysdeps/alpha/setjmp.S: Likewise.
8225 * sysdeps/arm/__longjmp.S: Likewise.
8226 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8227 * sysdeps/arm/setjmp.S: Likewise.
8228 * sysdeps/arm/sysdep.h: Likewise.
8229 * sysdeps/generic/_itoa.h: Likewise.
8230 * sysdeps/generic/dl-sysdep.h: Likewise.
8231 * sysdeps/generic/ldsodefs.h: Likewise.
8232 * sysdeps/i386/dl-tls.h: Likewise.
8233 * sysdeps/i386/setjmp.S: Likewise.
8234 * sysdeps/m68k/setjmp.c: Likewise.
8235 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8236 * sysdeps/mach/hurd/opendir.c: Likewise.
8237 * sysdeps/posix/getcwd.c: Likewise.
8238 * sysdeps/posix/opendir.c: Likewise.
8239 * sysdeps/posix/profil.c: Likewise.
8240 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8241 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8242 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8243 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8244 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8245 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8246 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8247 * sysdeps/s390/dl-tls.h: Likewise.
8248 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8249 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8250 * sysdeps/sh/sh3/setjmp.S: Likewise.
8251 * sysdeps/sh/sh4/setjmp.S: Likewise.
8252 * sysdeps/unix/alpha/sysdep.h: Likewise.
8253 * sysdeps/unix/arm/sysdep.S: Likewise.
8254 * sysdeps/unix/i386/sysdep.S: Likewise.
8255 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8256 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8257 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8258 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8259 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8260 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8261 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8262 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8263 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8264 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8265 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8266 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8267 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8270 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8272 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8273 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8274 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8275 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8278 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8279 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8280 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8282 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8283 * sysdeps/x86_64/setjmp.S: Likewise.
8285 * include/math.h: Use IS_IN instead of IS_IN_libm.
8286 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8298 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8306 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8307 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8308 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8309 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8310 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8311 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8313 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8314 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8315 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8316 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8317 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8318 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8329 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8330 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8331 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8332 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8333 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8334 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8340 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8341 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8342 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8343 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8344 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8345 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8346 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8347 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8348 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8349 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8350 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8351 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8353 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8355 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8357 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8358 * nptl/pthreadP.h: Likewise.
8359 * nptl_db/structs.def: Likewise.
8360 * sysdeps/arm/sysdep.h: Likewise.
8361 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8362 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8363 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8364 * sysdeps/unix/alpha/sysdep.h: Likewise.
8365 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8366 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8367 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8368 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8369 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8370 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8371 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8372 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8373 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8374 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8375 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8376 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8377 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8378 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8383 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8386 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8387 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8388 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8389 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8390 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8392 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8393 * nptl/pthreadP.h: Likewise.
8394 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8395 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8396 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8397 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8398 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8399 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8400 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8401 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8402 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8403 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8404 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8405 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8410 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8411 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8412 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8415 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8416 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8417 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8419 * dlfcn/dladdr.c: Use IS_IN.
8420 * dlfcn/dladdr1.c: Likewise.
8421 * dlfcn/dlclose.c: Likewise.
8422 * dlfcn/dlerror.c: Likewise.
8423 * dlfcn/dlinfo.c: Likewise.
8424 * dlfcn/dlmopen.c: Likewise.
8425 * dlfcn/dlopen.c: Likewise.
8426 * dlfcn/dlsym.c: Likewise.
8427 * dlfcn/dlvsym.c: Likewise.
8429 * include/ifaddrs.h: Use IS_IN.
8430 * inet/check_pf.c: Likewise.
8431 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8432 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8434 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8436 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8437 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8439 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8440 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8443 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8445 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8446 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8447 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8448 * include/libc-symbols.h (IS_IN_LIB): New macro.
8449 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8450 * include/netdb.h: Likewise.
8451 * include/stap-probe.h: Remove all uses of IN_LIB.
8453 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8454 instead of IN_MODULE.
8455 * include/libc-symbols.h (IN_MODULE): Define using
8457 (PASTE_NAME, PASTE_NAME1): New macros.
8458 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8460 (STAP_PROBE_ASM): Likewise.
8462 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8464 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8465 __mach_init in dlopened libc.
8467 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8469 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8470 * sysdeps/arm/preconfigure: Regenerate.
8472 2014-11-21 Roland McGrath <roland@hack.frob.com>
8474 * nptl/pthread_create.c (__pthread_create_2_1): Set
8475 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8476 when copying values from IATTR into PD.
8478 2014-11-21 Will Newton <will.newton@linaro.org>
8479 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8481 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8482 Refactor inline-asm. Also add comment.
8484 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8485 ElfW macro instead of hardcoded Elf64 types.
8486 (la_aarch64_gnu_pltenter): Likewise.
8487 * sysdeps/aarch64/dl-machine.h
8488 (elf_machine_runtime_setup): Use ElfW(Addr).
8490 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8491 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8492 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8493 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8494 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8495 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8496 (R_AARCH64_TLS_DTPMOD): This.
8497 (R_AARCH64_TLS_DTPREL64): Rename to ...
8498 (R_AARCH64_TLS_DTPREL): This.
8499 (R_AARCH64_TLS_TPREL64): Rename to ...
8500 (R_AARCH64_TLS_TPREL): This.
8501 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8502 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8503 R_AARCH64_TLS_TPREL64.
8504 (elf_machine_rela): Likewise.
8506 2014-11-21 Torvald Riegel <triegel@redhat.com>
8508 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8509 by setting it to 0. 64b atomics are not supported currently.
8511 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8514 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8515 search domain names.
8517 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8521 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8523 * posix/tst-getaddrinfo5.c: New.
8524 * posix/Makefile (tests): Add it.
8526 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8530 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8531 after parsing line but before break_if_match.
8532 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8533 if there is a protocol mismatch.
8535 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8537 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8538 because the potential race is on the user-supplied stream.
8540 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8542 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8543 string literal if not passed a buffer.
8544 * manual/job.texi (ctermid): Update reasoning, note deviation
8545 from posix, suggest mtasurace when not passed a buffer, for
8546 future non-preliminary safety notes.
8548 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8550 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8551 of not passing it a buffer.
8552 Reported by Peng Haitao.
8554 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8556 * manual/Makefile ($(objpfx)stamp-summary): Require
8557 check-safety.sh to pass.
8558 * manual/check-safety.sh: Wish for verification that every
8559 @deftypefn and @deftypefun is followed by a @safety remark.
8561 2014-11-20 Roland McGrath <roland@hack.frob.com>
8563 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8565 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8566 PTHREAD_CANCEL_ASYNCHRONOUS.
8567 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8570 * nptl/default-sched.h: New file.
8571 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8572 * nptl/pthread_create.c: Include it.
8573 (__pthread_create_2_1): Use collect_default_sched instead of making
8574 Linux syscalls here directly.
8576 2014-11-20 Torvald Riegel <triegel@redhat.com>
8578 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8579 __pthread_once): Use C11 atomics.
8581 2014-11-20 Torvald Riegel <triegel@redhat.com>
8583 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8585 2014-11-20 Torvald Riegel <triegel@redhat.com>
8587 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8588 atomic_thread_fence_acquire, atomic_thread_fence_release,
8589 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8590 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8591 atomic_compare_exchange_weak_relaxed,
8592 atomic_compare_exchange_weak_acquire,
8593 atomic_compare_exchange_weak_release,
8594 atomic_exchange_acquire, atomic_exchange_release,
8595 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8596 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8597 atomic_fetch_and_acquire,
8598 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8600 2014-11-20 Torvald Riegel <triegel@redhat.com>
8602 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8603 USE_ATOMIC_COMPILER_BUILTINS): Define.
8604 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8605 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8606 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8607 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8608 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8609 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8610 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8611 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8612 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8613 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8614 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8615 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8616 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8617 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8618 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8619 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8620 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8621 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8622 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8623 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8624 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8625 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8626 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8627 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8628 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8629 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8630 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8631 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8632 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8633 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8634 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8635 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8636 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8637 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8638 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8639 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8640 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8641 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8642 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8643 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8645 2014-11-19 Roland McGrath <roland@hack.frob.com>
8647 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8648 the sched_priority value here. It was already checked when the user
8649 called pthread_attr_setschedparam.
8651 * nptl/tst-bad-schedattr.c: New file.
8652 * nptl/Makefile (tests): Add it.
8654 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8655 Florian Weimer <fweimer@redhat.com>
8656 Joseph Myers <joseph@codesourcery.com>
8657 Adam Conrad <adconrad@0c3.net>
8658 Andreas Schwab <schwab@suse.de>
8659 Brooks <bmoses@google.com>
8662 * wordexp-test.c (__dso_handle): Add prototype.
8663 (__register_atfork): Likewise.
8664 (__app_register_atfork): New function.
8665 (registered_forks): New global.
8666 (register_fork): New function.
8667 (test_case): Add 3 new tests for WRDE_CMDSUB.
8668 (main): Call __app_register_atfork.
8669 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8670 fork count is non-zero fail the test.
8671 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8673 (parse_dollars): Remove check for WRDE_NOCMD.
8674 (parse_dquote): Likewise.
8676 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8678 * Makeconfig (built-modules): List non-library modules to be
8680 (module-cppflags): Include libc-modules.h for
8681 everything except shlib-versions.v.i.
8683 (before-compile): Add libc-modules.h.
8684 ($(common-objpfx)libc-modules.h,
8685 $(common-objpfx)libc-modules.stmp): New targets.
8686 (common-generated): Add libc-modules.h and libc-modules.stmp.
8687 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8688 * include/libc-symbols.h: Don't include libc-modules.h.
8689 * include/libc-modules.h: Remove file.
8690 * scripts/gen-libc-modules.awk: New script to generate
8692 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8693 Depend on libc-modules.stmp.
8695 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8697 * Makeconfig (in-module): Get value of libof set for the
8699 (CPPFLAGS): Use $(in-module).
8700 * Makerules: Don't suffix routine names for nonlib.
8701 * include/libc-modules.h: New file.
8702 * include/libc-symbols.h: Include libc-modules.h
8703 (IS_IN): New macro to replace IS_IN_* macros.
8704 * elf/Makefile: Set libof-* for each routine.
8705 * elf/rtld-Rules: Likewise.
8706 * extra-modules.mk: Likewise.
8707 * iconv/Makefile: Likewise.
8708 * iconvdata/Makefile: Likewise.
8709 * locale/Makefile: Likewise.
8710 * malloc/Makefile: Likewise.
8711 * nss/Makefile: Likewise.
8712 * sysdeps/gnu/Makefile: Likewise.
8713 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8714 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8715 * sysdeps/s390/s390-64/Makefile: Likewise.
8716 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8717 CPPFLAGS for nscd instead of nonlib.
8719 2014-11-18 Roland McGrath <roland@hack.frob.com>
8721 * nptl/createthread.c: New file.
8723 * nptl/createthread.c: Moved ...
8724 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8726 * nptl/createthread.c: Add proper top-line comment.
8727 (do_clone): Folded into ...
8728 (create_thread): ... here. Take new arguments STOPPED_START and
8729 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8730 increment __nptl_threads, do event-reporting logic, do
8731 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8732 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8733 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8734 just send SIGCANCEL.
8735 * nptl/pthread_create.c: Forward-declare create_thread before
8736 including createthread.c.
8737 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8738 declaration, and new macro START_THREAD_SELF to replace argument.
8739 Remove return statement.
8740 (report_thread_creation): New function.
8741 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8742 synchronization logic, and __nptl_nthreads increment here, around
8743 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8744 PD->parent_cancelhandling here, before create_thread. When
8745 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8746 __deallocate_stack, and ENOMEM translation here.
8748 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8751 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8752 (mptwo): Rename to __mptwo.
8753 (__inv): Use __mptwo instead of mptwo.
8754 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8755 (mptwo): Rename to __mptwo.
8756 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8757 of mpone and __mptwo instead of mptwo.
8758 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8761 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8762 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8763 of mpone and __mptwo instead of mptwo.
8764 (__mpranred): Use __mpone instead of mpone.
8765 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8767 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8768 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8769 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8770 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8771 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8772 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8773 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8774 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8775 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8776 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8777 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8778 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8779 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8780 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8781 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8782 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8783 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8784 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8785 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8787 2014-11-18 Tom de Vries <tom@codesoucery.com>
8789 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8790 replace BSD Handler xref with BSD Signal Handling.
8792 2014-11-17 Richard Henderson <rth@redhat.com>
8794 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8795 (_FP_PACK_RAW_2): Remove.
8796 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8797 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8798 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8799 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8800 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8801 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8802 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8803 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8804 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8805 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8806 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8807 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8808 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8809 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8810 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8811 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8813 2014-11-14 Roland McGrath <roland@hack.frob.com>
8815 * signal/signal.h [__USE_MISC]
8816 (struct sigvec): Remove type.
8817 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8818 (sigvec): Remove declaration.
8819 * sysdeps/posix/sigvec.c: Moved ...
8820 * signal/sigvec.c: ... here, replacing old file.
8821 (struct sigvec): New type, copied from old signal.h definition.
8822 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8823 (__sigvec): Convert definition to prototype.
8824 (sigvec): Replace weak_alias with compat_symbol.
8825 * signal/Versions (libc: GLIBC_2.21): New version set.
8826 * include/signal.h: Remove __sigvec declaration.
8827 * sysdeps/unix/bsd/sigvec.c: Remove file.
8828 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8829 * manual/signal.texi (BSD Handler): Remove subsection.
8830 Move siginterrupt up to ...
8831 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8832 (Blocking in BSD): Fold subsection into its parent.
8833 * NEWS: Mention sigvec removal.
8835 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8837 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8838 (DLA_FMS): Make definition conditional only on [__FMA4__].
8839 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8842 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8843 Make definition conditional only on [PROF].
8844 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8846 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8847 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8849 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8851 * include/signal.h (__sigpause): Move declaration above call to
8853 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8855 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8856 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8858 2014-11-14 David S. Miller <davem@davemloft.net>
8860 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8861 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8863 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8865 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8866 * configure: Regenerated.
8867 * manual/install.texi (Tools for Compilation): Document a
8868 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8869 compiler verified to work.
8870 * INSTALL: Regenerated.
8872 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8873 redeclare with asm name.
8874 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8875 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8876 including <string.h>.
8877 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8879 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8880 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8881 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8882 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8883 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8885 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8887 * stdlib/strtol.c (__strtol): Use prototype definition.
8890 * stdlib/strtol.c (SYM__): New macro.
8892 (__strtol): Likewise.
8893 (strtol): Rename to __strtol and define as weak alias of
8894 __strtol. Use libc_hidden_weak.
8896 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8898 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8899 Use numbered labels in inline assembly.
8901 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8903 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8904 Add setjmp LIBC_PROBE.
8905 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8907 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8908 Add longjmp, longjmp_target LIBC_PROBE.
8909 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8912 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8914 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8915 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8916 to get rid of unused variable warning.
8918 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8920 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8921 Check for unwind_backtrace == NULL only in SHARED case.
8922 (__backchain_backtrace): Compile only in SHARED case.
8923 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8925 (__backchain_backtrace): Declare as static.
8927 2014-11-12 Roland McGrath <roland@hack.frob.com>
8929 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8930 (__libc_multiple_threads_ptr): Variable moved ...
8931 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8933 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8935 * conform/GlibcConform.pm: New file.
8936 * conform/conformtest.pl: Use GlibcConform module.
8937 * conform/linknamespace.pl: New file.
8938 * conform/list-header-symbols.pl: Likewise.
8939 * conform/Makefile (linknamespace-symlists-base): New variable.
8940 (linknamespace-symlists-tests): Likewise.
8941 (linknamespace-header-base): Likewise.
8942 (linknamespace-header-tests): Likewise.
8943 (tests-special): Add new tests.
8944 ($(linknamespace-symlists-tests)): New rule.
8945 (linknamespace-libs): New variable.
8946 ($(objpfx)symlist-stdlibs): New rule.
8947 ($(linknamespace-header-tests)): Likewise.
8948 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8949 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8950 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8951 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8952 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8953 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8954 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8955 (test-xfail-ISO/math.h/linknamespace): Likewise.
8956 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8957 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8958 (test-xfail-ISO/time.h/linknamespace): Likewise.
8959 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8960 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8961 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8962 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8963 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8964 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8965 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8966 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8967 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8968 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8969 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8970 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8971 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8972 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8973 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8974 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8975 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8976 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8977 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8978 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8979 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8980 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8981 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8982 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8983 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8984 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8985 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8986 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8987 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8988 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8989 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8990 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8991 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8992 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8993 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8994 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8995 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8996 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8997 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8998 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8999 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9000 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9001 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9002 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9003 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9004 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9005 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9006 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9007 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9008 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9009 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9010 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9011 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9012 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9013 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9014 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9015 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9016 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9017 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9018 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9019 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9020 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9021 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9022 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9023 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9024 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9025 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9026 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9027 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9028 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9029 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9030 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9031 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9032 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9033 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9034 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9035 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9036 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9037 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9038 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9039 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9040 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9041 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9042 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9043 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9044 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9045 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9046 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9047 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9048 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9049 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9050 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9051 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9052 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9053 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9054 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9055 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9056 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9057 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9058 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9059 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9060 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9061 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9062 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9063 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9064 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9065 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9066 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9067 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9068 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9069 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9070 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9071 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9072 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9073 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9074 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9075 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9076 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9077 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9078 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9079 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9080 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9081 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9082 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9083 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9084 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9085 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9086 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9087 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9088 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9089 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9090 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9091 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9092 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9093 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9094 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9095 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9096 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9097 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9098 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9099 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9100 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9101 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9102 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9103 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9104 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9105 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9106 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9107 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9108 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9111 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9115 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9116 (memmem): Rename to __memmem and define as weak alias of
9117 __memmem. Use libc_hidden_weak.
9118 (__memmem): Use libc_hidden_def.
9119 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9120 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9124 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9125 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9126 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9127 and define as weak alias of __fgets_unlocked. Use
9129 (__fgets_unlocked): Use libc_hidden_def.
9130 * include/stdio.h (__fgets_unlocked): Declare. Use
9132 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9133 __fgets_unlocked instead of fgets_unlocked.
9134 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9135 (GET_NPROCS_CONF_PARSER): Likewise.
9136 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9137 (GET_NPROCS_CONF_PARSER): Likewise.
9140 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9141 weak alias of __wmemset. Use libc_hidden_weak.
9142 (__wmemset): Use libc_hidden_def.
9143 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9144 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9148 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9149 with asm name __mempcpy.
9150 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9153 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9154 and define as weak alias of __rawmemchr.
9155 (__rawmemchr): Do not define as strong alias of rawmemchr.
9158 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9160 (qsort): Call __qsort_r instead of qsort_r.
9161 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9162 (__qsort_r): Declare. Call libc_hidden_proto.
9163 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9165 * nscd/gai.c (__qsort_r): Define to qsort_r.
9166 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9167 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9168 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9171 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9172 define as weak alias of __malloc_info.
9175 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9176 as weak alias of __rewinddir. Don't use libc_hidden_def.
9177 (__rewinddir): Use libc_hidden_def.
9178 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9179 as weak alias of __rewinddir. Don't use libc_hidden_def.
9180 (__rewinddir): Use libc_hidden_def.
9181 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9182 weak alias of __rewinddir. Don't use libc_hidden_def.
9183 (__rewinddir): Use libc_hidden_def.
9184 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9185 (__rewinddir): Use libc_hidden_proto.
9186 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9188 (__getcwd): Use __rewinddir instead of rewinddir.
9191 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9192 alias of __fileno. Use libc_hidden_weak.
9193 (__fileno): Use libc_hidden_def.
9194 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9195 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9197 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9199 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9200 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9202 (fread_unlocked): Don't use libc_hidden_ver.
9203 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9204 and define as weak alias of __fread_unlocked. Don't use
9206 (__fread_unlocked): Use libc_hidden_def.
9207 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9208 (ftello): Don't use libc_hidden_proto.
9209 (__ftello): Declare. Use libc_hidden_proto.
9210 (fread_unlocked): Don't use libc_hidden_proto.
9211 (__fread_unlocked): Declare. Use libc_hidden_proto.
9212 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9213 and __ftello instead of fileno, fread_unlocked and ftello.
9215 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9217 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9219 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9221 (_dl_start_user): Likewise.
9222 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9224 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9225 Siddhesh Poyarekar <siddhesh@redhat.com>
9227 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9228 Move argv and envp down instead of moving argc up.
9229 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9231 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9234 * test-skeleton.c (main): Return successful if one of
9235 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9236 * string/tst-strcoll-overflow.c: Define expected status.
9238 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9241 * locale/iso-639.def: Define Bhili and Tulu language codes.
9243 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9245 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9247 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9250 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9252 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9254 * configure.ac: Updated check of minimal required version to
9256 * manual/install.texi (Tools for Compilation): Updated version
9258 * configure: Regenerated.
9259 * INSTALL: Likewise.
9261 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9263 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9266 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9268 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9269 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9270 (__waitpid): Don't define as alias. Use libc_hidden_def not
9272 (waitpid): Define as alias of __waitpid.
9273 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9275 (__waitpid): Don't define as alias. Use libc_hidden_def not
9277 (waitpid): Define as alias of __waitpid.
9278 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9279 __libc_waitpid alias.
9280 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9281 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9283 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9285 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9287 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9289 (__waitpid): Don't define as alias. Use libc_hidden_def not
9291 (waitpid): Define as alias of __waitpid.
9293 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9295 * manual/llio.texi: Add comment that write safety has been
9298 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9299 (localplt-build-dso): Add elf/ld.so.
9300 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9301 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9304 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9309 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9310 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9311 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9312 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9313 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9314 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9315 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9316 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9317 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9318 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9319 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9321 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9324 * include/libc-symbols.h (INTUSE): Remove macro.
9326 (INTVARDEF): Likewise.
9327 (_INTVARDEF): Likewise.
9328 (INTDEF2): Likewise.
9329 (INTVARDEF2): Likewise.
9330 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9331 rtld_hidden_def instead of INTVARDEF.
9332 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9333 (_dl_starting_up_internal): Remove declaration.
9334 (_dl_starting_up): Use rtld_hidden_proto.
9335 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9337 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9338 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9340 * elf/dl-writev.h (_dl_writev): Likewise.
9341 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9342 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9343 _dl_starting_up_internal.
9345 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9347 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9350 2014-11-05 Will Newton <will.newton@linaro.org>
9352 * benchtests/Makefile: (bench-malloc): Add malloc thread
9353 scalability benchmark.
9354 * benchtests/bench-malloc-threads.c: New file.
9356 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9358 * sysdeps/aarch64/strchrnul.S: New file.
9360 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9362 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9364 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9366 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9368 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9370 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9372 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9375 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9377 * catgets/test-gencat.c: Use test-skeleton.c.
9378 * catgets/tst-catgets.c: Likewise.
9379 * csu/tst-empty.c: Likewise.
9380 * elf/tst-audit2.c: Likewise.
9381 * elf/tst-global1.c: Likewise.
9382 * elf/tst-pathopt.c: Likewise.
9383 * elf/tst-piemod1.c: Likewise.
9384 * elf/tst-tls10.c: Likewise.
9385 * elf/tst-tls11.c: Likewise.
9386 * elf/tst-tls12.c: Likewise.
9387 * gnulib/tst-gcc.c: Likewise.
9388 * iconvdata/tst-e2big.c: Likewise.
9389 * iconvdata/tst-loading.c: Likewise.
9390 * iconv/tst-iconv1.c: Likewise.
9391 * iconv/tst-iconv2.c: Likewise.
9392 * inet/test-inet6_opt.c: Likewise.
9393 * inet/tst-gethnm.c: Likewise.
9394 * inet/tst-network.c: Likewise.
9395 * inet/tst-ntoa.c: Likewise.
9396 * intl/tst-codeset.c: Likewise.
9397 * intl/tst-gettext2.c: Likewise.
9398 * intl/tst-gettext3.c: Likewise.
9399 * intl/tst-ngettext.c: Likewise.
9400 * intl/tst-translit.c: Likewise.
9401 * io/test-stat.c: Likewise.
9402 * libio/test-fmemopen.c: Likewise.
9403 * libio/tst-freopen.c: Likewise.
9404 * libio/tst-sscanf.c: Likewise.
9405 * libio/tst-ungetwc1.c: Likewise.
9406 * libio/tst-ungetwc2.c: Likewise.
9407 * libio/tst-widetext.c: Likewise.
9408 * localedata/tst-ctype.c: Likewise.
9409 * localedata/tst-digits.c: Likewise.
9410 * localedata/tst-leaks.c: Likewise.
9411 * localedata/tst-mbswcs1.c: Likewise.
9412 * localedata/tst-mbswcs2.c: Likewise.
9413 * localedata/tst-mbswcs3.c: Likewise.
9414 * localedata/tst-mbswcs4.c: Likewise.
9415 * localedata/tst-mbswcs5.c: Likewise.
9416 * localedata/tst-setlocale.c: Likewise.
9417 * localedata/tst-trans.c: Likewise.
9418 * localedata/tst-wctype.c: Likewise.
9419 * localedata/tst-xlocale1.c: Likewise.
9420 * login/tst-grantpt.c: Likewise.
9421 * malloc/tst-calloc.c: Likewise.
9422 * malloc/tst-malloc.c: Likewise.
9423 * malloc/tst-mallocstate.c: Likewise.
9424 * malloc/tst-mcheck.c: Likewise.
9425 * malloc/tst-mtrace.c: Likewise.
9426 * malloc/tst-obstack.c: Likewise.
9427 * math/atest-exp2.c: Likewise.
9428 * math/atest-exp.c: Likewise.
9429 * math/atest-sincos.c: Likewise.
9430 * math/test-matherr.c: Likewise.
9431 * math/test-misc.c: Likewise.
9432 * math/test-powl.c: Likewise.
9433 * math/tst-definitions.c: Likewise.
9434 * misc/tst-dirname.c: Likewise.
9435 * misc/tst-efgcvt.c: Likewise.
9436 * misc/tst-fdset.c: Likewise.
9437 * misc/tst-hsearch.c: Likewise.
9438 * misc/tst-mntent2.c: Likewise.
9439 * nptl/tst-sem7.c: Likewise.
9440 * nptl/tst-sem8.c: Likewise.
9441 * nptl/tst-sem9.c: Likewise.
9442 * nss/test-netdb.c: Likewise.
9443 * posix/tst-fnmatch.c: Likewise.
9444 * posix/tst-getlogin.c: Likewise.
9445 * posix/tst-gnuglob.c: Likewise.
9446 * posix/tst-mmap.c: Likewise.
9447 * pwd/tst-getpw.c: Likewise.
9448 * resolv/tst-inet_ntop.c: Likewise.
9449 * rt/tst-timer.c: Likewise.
9450 * stdio-common/test-fseek.c: Likewise.
9451 * stdio-common/test-popen.c: Likewise.
9452 * stdio-common/test-vfprintf.c: Likewise.
9453 * stdio-common/tst-cookie.c: Likewise.
9454 * stdio-common/tst-fileno.c: Likewise.
9455 * stdio-common/tst-gets.c: Likewise.
9456 * stdio-common/tst-obprintf.c: Likewise.
9457 * stdio-common/tst-perror.c: Likewise.
9458 * stdio-common/tst-sprintf2.c: Likewise.
9459 * stdio-common/tst-sprintf3.c: Likewise.
9460 * stdio-common/tst-sprintf.c: Likewise.
9461 * stdio-common/tst-swprintf.c: Likewise.
9462 * stdio-common/tst-tmpnam.c: Likewise.
9463 * stdio-common/tst-unbputc.c: Likewise.
9464 * stdio-common/tst-wc-printf.c: Likewise.
9465 * stdlib/tst-environ.c: Likewise.
9466 * stdlib/tst-fmtmsg.c: Likewise.
9467 * stdlib/tst-limits.c: Likewise.
9468 * stdlib/tst-rand48-2.c: Likewise.
9469 * stdlib/tst-rand48.c: Likewise.
9470 * stdlib/tst-random2.c: Likewise.
9471 * stdlib/tst-random.c: Likewise.
9472 * stdlib/tst-strtol.c: Likewise.
9473 * stdlib/tst-strtoll.c: Likewise.
9474 * stdlib/tst-tls-atexit.c: Likewise.
9475 * stdlib/tst-xpg-basename.c: Likewise.
9476 * string/test-ffs.c: Likewise.
9477 * string/tst-bswap.c: Likewise.
9478 * string/tst-inlcall.c: Likewise.
9479 * string/tst-strtok.c: Likewise.
9480 * string/tst-strxfrm.c: Likewise.
9481 * sysdeps/x86_64/tst-audit10.c: Likewise.
9482 * sysdeps/x86_64/tst-audit3.c: Likewise.
9483 * sysdeps/x86_64/tst-audit4.c: Likewise.
9484 * sysdeps/x86_64/tst-audit5.c: Likewise.
9485 * time/tst-ftime_l.c: Likewise.
9486 * time/tst-getdate.c: Likewise.
9487 * time/tst-mktime3.c: Likewise.
9488 * time/tst-mktime.c: Likewise.
9489 * time/tst-posixtz.c: Likewise.
9490 * time/tst-strptime2.c: Likewise.
9491 * time/tst-strptime3.c: Likewise.
9492 * wcsmbs/tst-btowc.c: Likewise.
9493 * wcsmbs/tst-mbrtowc.c: Likewise.
9494 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9495 * wcsmbs/tst-wchar-h.c: Likewise.
9496 * wcsmbs/tst-wcpncpy.c: Likewise.
9497 * wcsmbs/tst-wcrtomb.c: Likewise.
9498 * wcsmbs/tst-wcsnlen.c: Likewise.
9499 * wcsmbs/tst-wcstof.c: Likewise.
9501 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9504 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9506 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9508 (_dl_mcount): Use rtld_hidden_proto.
9509 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9511 * elf/rtld.c (_rtld_global_ro): Likewise.
9514 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9515 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9516 of _dl_init_internal.
9517 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9518 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9519 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9520 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9521 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9522 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9523 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9524 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9525 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9526 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9527 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9528 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9529 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9530 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9531 * sysdeps/tile/dl-start.S (_start): Likewise.
9532 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9533 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9536 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9537 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9538 (rtld_progname): Make macro definition unconditional.
9539 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9541 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9542 (dl_main): Likewise.
9543 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9544 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9545 instead of _dl_argv_internal.
9546 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9547 __GI__dl_argv instead of INTUSE(_dl_argv).
9548 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9549 __GI__dl_argv instead of _dl_argv_internal.
9551 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9552 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9554 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9555 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9557 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9558 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9560 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9561 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9563 2014-11-04 Andreas Schwab <schwab@suse.de>
9565 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9567 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9569 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9570 mtvsrd instruction in binary form.
9572 2014-11-03 Andreas Schwab <schwab@suse.de>
9575 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9576 for less than MB_LEN_MAX use a local buffer of that size.
9577 * libio/tst-fputws.c: New file.
9578 * libio/Makefile (tests): Add tst-fputws.
9580 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9582 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9583 the size of the fpu_fr.fpu_dregs[] array.
9585 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9587 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9588 (__nanosleep): Do not define as alias.
9589 (nanosleep): Define as alias of __nanosleep.
9590 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9591 __libc_nanosleep name.
9593 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9595 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9596 install.texi in comment.
9598 2014-10-31 Torvald Riegel <triegel@redhat.com>
9600 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9601 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9602 ... add here and use lwsync or sync ...
9603 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9604 ... and add here using lwsync.
9606 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9608 * elf/dl-machine-reject-phdr.h: New file.
9609 * elf/dl-load.c: #include that.
9610 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9611 if that returned true.
9613 2014-10-31 Roland McGrath <roland@hack.frob.com>
9616 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9617 gen-as-const-headers chunk. Add a big scare comment after the last
9618 safe place to touch before-compile.
9620 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9622 * manual/install.texi (Tools for Compilation): Update autoconf
9623 version requirements.
9624 * INSTALL: Regenerated.
9626 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9627 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9628 (__libc_pselect): Likewise.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9636 2014-10-31 Torvald Riegel <triegel@redhat.com>
9638 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9639 correct barrier instruction.
9640 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9642 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9645 2014-10-30 Roland McGrath <roland@hack.frob.com>
9647 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9648 after defining inlines. Instead, just use parens to defeat macro
9649 expansion of __isctype in its declaration.
9651 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9653 * include/sys/uio.h (__libc_readv): Remove declaration.
9654 (__libc_writev): Likewise.
9655 * misc/readv.c (__libc_readv): Rename to __readv.
9656 (__readv): Do not define as alias.
9657 (readv): Define as alias of __readv.
9658 * misc/writev.c (__libc_writev): Rename to __writev.
9659 (__writev): Do not define as alias.
9660 (writev): Define as alias of __writev.
9661 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9662 (__readv): Do not define as alias.
9663 (readv): Define unconditionally as alias of __readv.
9664 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9665 (__writev): Do not define as alias.
9666 (writev): Define unconditionally as alias of __writev.
9667 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9669 (writev): Do not define __libc_writev name.
9671 2014-10-30 Roland McGrath <roland@hack.frob.com>
9673 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9674 (convert_charseq): New function, broken out of ...
9675 (use_from_charmap): ... here. Call it.
9676 (use_to_charmap): Use convert_charseq and free instead of duplicating
9677 its code with a variable-length stack struct.
9679 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9681 * include/fcntl.h (__libc_creat): Remove declaration.
9682 * io/creat.c (__libc_creat): Rename to creat.
9683 (creat): Do not define as alias.
9684 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9685 of creat instead of __libc_creat.
9686 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9688 (creat): Do not define as alias.
9689 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9691 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9693 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9696 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9698 * manual/llio.texi: Add comments discussing why write() may be
9699 considered MT-unsafe on Linux.
9701 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9703 * dl-load.c (local_strdup): Remove.
9704 (expand_dynamic_string_token): Use __strdup.
9705 (decompose_rpath): Likewise.
9706 (_dl_map_object): Likewise.
9708 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9711 * sysdeps/generic/unwind-dw2-fde.c
9712 (__register_frame_info_bases_internal): Do not declare.
9713 (__register_frame_info_table_bases_internal): Likewise.
9714 (__deregister_frame_info_bases_internal): Likewise.
9715 (__register_frame_info_bases): Declare and use hidden_proto before
9716 definition. Use hidden_def instead of INTDEF.
9717 (__register_frame_info_table_bases): Likewise.
9718 (__deregister_frame_info_bases): Likewise.
9719 (__register_frame_info): Do not use INTUSE.
9720 (__register_frame): Likewise.
9721 (__register_frame_info_table): Likewise.
9722 (__register_frame_table): Likewise.
9723 (__deregister_frame_info): Likewise.
9724 (__deregister_frame): Likewise.
9726 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9728 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9729 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9731 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9733 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9736 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9739 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9740 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9741 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9742 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9743 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9744 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9745 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9746 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9747 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9748 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9749 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9751 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9753 (setfsuid): Likewise.
9754 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9755 (setfsuid): Likewise.
9756 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9757 (setfsuid): Likewise.
9758 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9760 (setfsuid): Likewise.
9761 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9762 (setfsuid): Likewise.
9763 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9765 (setfsuid): Likewise.
9767 2014-10-27 Andreas Schwab <schwab@suse.de>
9770 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9771 check for Slow_SSE4_2 feature bit.
9772 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9773 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9774 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9775 Likewise. Fix check for Fast_Unaligned_Load feature bit.
9777 2014-10-24 Roland McGrath <roland@hack.frob.com>
9779 * configure.ac: Validate compiler version with a empirical test of
9780 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9782 * configure: Regenerated.
9784 * inet/htons.c (htons): Prototypify.
9785 * inet/htonl.c (htonl): Likewise.
9787 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9789 * string/strncat.c (strncat): Improve performance by using strlen.
9791 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9793 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9795 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9797 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9798 Call libc_fetestexcept_aarch64.
9800 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9802 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9803 Call libc_feholdexcept_aarch64.
9805 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9807 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9808 Call get_rounding_mode.
9810 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9812 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9815 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9817 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9820 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9823 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9824 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9825 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9826 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9827 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9828 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9829 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9830 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9831 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9832 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9833 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9834 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9835 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9836 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9837 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9838 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9839 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9840 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9841 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9842 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9843 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9844 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9845 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9846 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9847 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9848 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9849 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9850 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9851 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9852 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9853 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9854 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9855 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9856 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9857 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9858 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9859 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9860 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9861 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9862 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9863 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9865 (geteuid): Likewise.
9868 (getresgid): Likewise.
9869 (getresuid): Likewise.
9870 (getgroups): Likewise.
9871 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9872 (geteuid): Likewise.
9875 (getresgid): Likewise.
9876 (getresuid): Likewise.
9877 (getgroups): Likewise.
9878 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9879 (geteuid): Likewise.
9882 (getresgid): Likewise.
9883 (getresuid): Likewise.
9884 (getgroups): Likewise.
9885 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9887 (geteuid): Likewise.
9890 (getresgid): Likewise.
9891 (getresuid): Likewise.
9892 (getgroups): Likewise.
9893 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9894 (geteuid): Likewise.
9897 (getresgid): Likewise.
9898 (getresuid): Likewise.
9899 (getgroups): Likewise.
9900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9902 (geteuid): Likewise.
9905 (getgroups): Likewise.
9908 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9909 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9910 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9911 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9912 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9913 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9914 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9915 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9916 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9917 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9918 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9920 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9922 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9929 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9932 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9937 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9939 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9942 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9944 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9947 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9949 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9950 Remove unused include.
9952 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9954 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9955 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9956 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9957 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9959 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9960 Helge Deller <deller@gmx.de>
9963 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9964 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9965 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9967 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9970 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9971 Remove macro definition.
9972 (__ashrdi3_v_glibc20): Likewise.
9973 (__lshrdi3_v_glibc20): Likewise.
9974 (__cmpdi2_v_glibc20): Likewise.
9975 (__ucmpdi2_v_glibc20): Likewise.
9976 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9977 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9978 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9979 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9980 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9981 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9983 2014-10-22 Roland McGrath <roland@hack.frob.com>
9985 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9986 old GNU extension [0] syntax.
9987 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9988 alloca rather than an array member with variable length.
9989 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9990 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9991 (parse_opt): ... here. Likewise use alloca there.
9992 Validate the -i argument before checking for rootness.
9993 (send_shutdown): New function, broken out of ...
9994 (parse_opt): ... here.
9996 2014-10-22 Roland McGrath <roland@hack.frob.com>
9998 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9999 macro to get at the _rt_local_ro field.
10000 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10001 ([PIC] case) or _dl_hwcap ([!PIC] case).
10002 * sysdeps/arm/setjmp.S: Likewise.
10004 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10005 * sysdeps/arm/configure.ac: New check to define it.
10006 * sysdeps/arm/configure: Regenerated.
10007 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10008 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10009 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10010 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10011 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10012 Use move/movt pair instead of a load.
10013 (LDST_GLOBAL): Macro removed.
10014 (LDR_GLOBAL): New macro replaces it.
10015 (LDR_HIDDEN): New macro.
10016 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10017 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10019 * setjmp/tst-setjmp-static.c: New file.
10020 * setjmp/Makefile (tests): Add it.
10021 (tests-static): New variable.
10023 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10026 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10028 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10031 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10033 2014-10-21 Roland McGrath <roland@hack.frob.com>
10035 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10037 2014-10-20 Roland McGrath <roland@hack.frob.com>
10039 * io/fts.c (dirent_not_directory): New function.
10040 (fts_build): Call it.
10042 2014-10-20 Roland McGrath <roland@hack.frob.com>
10044 * nptl/version.c (__nptl_main): Use normal __write rather than
10046 (banner): Update copyright years.
10048 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10050 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10051 * nptl/pthread_cond_timedwait.c: Likewise.
10052 * nptl/pthread_mutex_timedlock.c: Likewise.
10053 * nptl/sem_timedwait.c: Likewise.
10055 * sysdeps/nptl/bits/libc-lock.h
10056 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10057 (__libc_lock_init_recursive): Return void, not 0.
10058 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10059 (__libc_rwlock_init): Likewise.
10060 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10062 2014-10-20 Torvald Riegel <triegel@redhat.com>
10065 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10066 (__pthread_once_slow): ... here.
10067 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10068 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10070 2014-10-20 Torvald Riegel <triegel@redhat.com>
10073 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10074 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10075 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10076 * nptl/pthread_once.c (__pthread_once): Likewise.
10079 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10082 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10084 (writev): Use __libc_writev as strong name.
10085 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10086 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10088 2014-10-17 Roland McGrath <roland@hack.frob.com>
10090 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10092 * sysdeps/i386/nptl/tls.h
10093 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10094 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10096 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10097 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10098 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10099 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10100 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10101 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10103 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10104 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10106 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10108 (__pthread_mutex_init): ... here. Call it.
10109 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10110 Conditionalize PI cases on [__NR_futex].
10111 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10112 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10113 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10115 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10116 conditional on [SIGSETXID].
10117 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10118 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10119 is defined. Likewise for SIGSETXID.
10120 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10121 Conditionalize definitions on [SIGSETXID].
10122 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10123 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10124 unblocking on [SIGCANCEL].
10126 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10127 [__NR_set_robust_list].
10129 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10131 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10132 (do_compare): Likewise.
10134 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10137 * string/strcoll_l.c: Don't include stdio.h.
10138 (coll_seq): Remove members idxarr and rulearr.
10139 (get_next_seq_cached): Remove function.
10140 (get_next_seq): Likewise.
10141 (get_next_seq_nocache): Rename to get_next_seq.
10142 (do_compare): Remove function.
10143 (do_compare_nocache): Rename to do_compare.
10144 (STRCOLL): Remove weight and rules cache.
10146 2014-10-16 Roland McGrath <roland@hack.frob.com>
10148 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10149 * sysdeps/arm/sfp-machine.h: ... to here.
10150 * sysdeps/arm/Implies: Remove arm/soft-fp.
10152 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10154 * conform/data/sys/utsname.h-data (*_t): Allow.
10155 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10156 [POSIX] (WEXITED): Do not expect constant.
10157 [POSIX] (WSTOPPED): Likewise.
10158 [POSIX] (WNOHANG): Likewise.
10159 [POSIX] (WNOWAIT): Likewise.
10160 [POSIX] (siginfo_t): Do not expect type or elements.
10161 [POSIX] (pid_t): Do not expect type.
10162 [POSIX] (signal.h): Do not allow header.
10163 [POSIX] (sys/resource.h): Likewise.
10164 [POSIX] (si_*): Do not allow pattern.
10165 [POSIX] (W*): Likewise.
10166 [POSIX] (P_*): Likewise.
10167 [POSIX] (BUS_*): Likewise.
10168 [POSIX] (CLD_*): Likewise.
10169 [POSIX] (FPE_*): Likewise.
10170 [POSIX] (ILL_*): Likewise.
10171 [POSIX] (POLL_*): Likewise.
10172 [POSIX] (SEGV_*): Likewise.
10173 [POSIX] (SI_*): Likewise.
10174 [POSIX] (TRAP_*): Likewise.
10175 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10178 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10181 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10182 infinite loop when __recvmsg returns 0.
10184 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10186 * CANCEL-FCT-WAIVE: Remove file.
10187 * CANCEL-FILE-WAIVE: Likewise.
10190 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10191 instead of INTVARDEF.
10192 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10193 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10194 rtld_hidden_data_def instead of INTVARDEF.
10195 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10196 * elf/dl-deps.c (expand_dst): Likewise.
10197 * elf/dl-load.c (_dl_dst_count): Likewise.
10198 (_dl_dst_substitute): Likewise.
10199 (decompose_rpath): Likewise.
10200 (_dl_init_paths): Likewise.
10201 (open_path): Likewise.
10202 (_dl_map_object): Likewise.
10203 * elf/rtld.c (dl_main): Likewise.
10204 (process_dl_audit): Likewise.
10205 (process_envvars): Likewise.
10206 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10207 Remove declaration.
10208 (__libc_enable_secure): Use rtld_hidden_proto.
10210 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10213 (add_path): New function broken out of _dl_rtld_di_serinfo.
10214 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10216 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10218 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10219 parentheses around macro arguments.
10220 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10222 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10223 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10224 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10225 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10226 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10227 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10228 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10229 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10230 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10231 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10232 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10233 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10234 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10235 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10236 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10237 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10238 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10240 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10241 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10242 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10243 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10244 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10245 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10246 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10247 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10248 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10249 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10250 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10251 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10252 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10253 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10254 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10255 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10257 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10258 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10259 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10260 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10261 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10262 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10263 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10264 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10265 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10266 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10267 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10268 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10269 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10270 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10271 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10272 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10273 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10274 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10275 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10276 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10277 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10278 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10279 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10280 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10281 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10282 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10283 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10284 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10285 (_FP_FRAC_SRS_1): Likewise.
10286 (_FP_FRAC_CLZ_1): Likewise.
10287 (_FP_MUL_MEAT_1_imm): Likewise.
10288 (_FP_MUL_MEAT_1_wide): Likewise.
10289 (_FP_MUL_MEAT_1_hard): Likewise.
10290 (_FP_SQRT_MEAT_1): Likewise.
10291 (_FP_FRAC_ASSEMBLE_1): Likewise.
10292 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10293 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10294 (__FP_CLZ_2): Likewise.
10295 (_FP_MUL_MEAT_2_wide): Likewise.
10296 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10297 (_FP_MUL_MEAT_2_gmp): Likewise.
10298 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10299 (_FP_SQRT_MEAT_2): Likewise.
10300 (_FP_FRAC_ASSEMBLE_2): Likewise.
10301 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10302 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10303 (_FP_FRAC_CLZ_4): Likewise.
10304 (_FP_MUL_MEAT_4_wide): Likewise.
10305 (_FP_MUL_MEAT_4_gmp): Likewise.
10306 (_FP_SQRT_MEAT_4): Likewise.
10307 (_FP_FRAC_ASSEMBLE_4): Likewise.
10308 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10309 * soft-fp/op-common.h (_FP_CMP): Likewise.
10310 (_FP_CMP_EQ): Likewise.
10311 (_FP_CMP_UNORD): Likewise.
10312 (_FP_TO_INT): Likewise.
10313 (_FP_FROM_INT): Likewise.
10314 [!__FP_CLZ] (__FP_CLZ): Likewise.
10315 (_FP_DIV_HELP_imm): Likewise.
10316 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10318 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10319 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10320 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10321 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10322 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10323 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10324 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10325 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10326 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10327 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10328 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10329 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10330 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10331 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10332 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10333 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10334 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10335 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10336 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10337 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10338 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10339 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10340 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10342 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10343 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10344 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10346 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10347 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10348 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10349 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10350 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10351 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10352 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10353 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10354 (FP_UNPACK_RAW_SP): Likewise.
10355 (FP_PACK_RAW_S): Likewise.
10356 (FP_PACK_RAW_SP): Likewise.
10357 (FP_UNPACK_S): Likewise.
10358 (FP_UNPACK_SP): Likewise.
10359 (FP_UNPACK_SEMIRAW_S): Likewise.
10360 (FP_UNPACK_SEMIRAW_SP): Likewise.
10361 (FP_PACK_S): Likewise.
10362 (FP_PACK_SP): Likewise.
10363 (FP_PACK_SEMIRAW_S): Likewise.
10364 (FP_PACK_SEMIRAW_SP): Likewise.
10365 (_FP_SQRT_MEAT_S): Likewise.
10366 (FP_CMP_S): Likewise.
10367 (FP_CMP_EQ_S): Likewise.
10368 (FP_CMP_UNORD_S): Likewise.
10369 (FP_TO_INT_S): Likewise.
10370 (FP_FROM_INT_S): Likewise.
10372 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10374 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10375 (FP_EX_INVALID_IMZ): Likewise.
10376 (FP_EX_INVALID_IMZ_FMA): Likewise.
10377 (FP_EX_INVALID_ISI): Likewise.
10378 (FP_EX_INVALID_ZDZ): Likewise.
10379 (FP_EX_INVALID_IDI): Likewise.
10380 (FP_EX_INVALID_SQRT): Likewise.
10381 (FP_EX_INVALID_CVI): Likewise.
10382 (FP_EX_INVALID_VC): Likewise.
10383 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10384 "invalid" exceptions.
10385 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10386 (_FP_ADD_INTERNAL): Likewise.
10387 (_FP_MUL): Likewise.
10388 (_FP_FMA): Likewise.
10389 (_FP_DIV): Likewise.
10390 (_FP_CMP_CHECK_NAN): Likewise.
10391 (_FP_SQRT): Likewise.
10392 (_FP_TO_INT): Likewise.
10393 (FP_EXTEND): Likewise.
10395 2014-10-09 Allan McRae <allan@archlinux.org>
10397 * po/fr.po: Update French translation from translation project.
10399 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10402 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10404 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10405 (__cxa_atexit): Use libc_hidden_proto.
10406 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10409 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10411 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10412 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10413 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10414 [!_ISOMAC] (__iswctype_internal): Likewise.
10415 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10416 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10418 (fcntl): Remove __fcntl_internal alias.
10419 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10420 __connect_internal alias.
10421 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10424 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10425 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10427 (_FP_CHECK_FLUSH_ZERO): New macro.
10428 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10429 (_FP_CMP): Likewise.
10430 (_FP_CMP_EQ): Likewise.
10431 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10433 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10434 (FP_TRUNC): Likewise.
10436 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10437 treated as invalid conversion, not as normal exponent.
10439 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10440 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10441 (_FP_CMP_EQ): Likewise.
10442 (_FP_CMP_UNORD): Likewise.
10443 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10444 (FP_CMP_EQ_D): Likewise.
10445 (FP_CMP_UNORD_D): Likewise.
10446 * soft-fp/extended.h (FP_CMP_E): Likewise.
10447 (FP_CMP_EQ_E): Likewise.
10448 (FP_CMP_UNORD_E): Likewise.
10449 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10450 (FP_CMP_EQ_Q): Likewise.
10451 (FP_CMP_UNORD_Q): Likewise.
10452 * soft-fp/single.h (FP_CMP_S): Likewise.
10453 (FP_CMP_EQ_S): Likewise.
10454 (FP_CMP_UNORD_S): Likewise.
10455 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10456 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10457 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10458 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10459 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10460 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10461 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10462 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10463 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10464 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10465 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10466 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10467 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10469 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10471 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10472 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10474 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10476 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10477 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10478 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10479 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10481 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10483 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10484 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10486 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10488 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10489 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10490 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10491 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10494 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10495 a subnormal result, set the underflow exception if trapping on
10496 underflow is enabled.
10497 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10498 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10499 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10501 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10502 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10503 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10504 * soft-fp/extendxftf2.c (__extendxftf2): Use
10505 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10507 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10508 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10509 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10510 FP_HANDLE_EXCEPTIONS.
10511 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10512 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10513 FP_HANDLE_EXCEPTIONS.
10514 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10515 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10516 FP_HANDLE_EXCEPTIONS.
10517 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10518 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10519 FP_HANDLE_EXCEPTIONS.
10521 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10524 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10525 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10527 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10528 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10530 (__adjtimex): Define using libc_hidden_ver.
10531 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10532 Remove declaration.
10533 (ntp_gettime): Call __adjtimex directly.
10534 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10535 Remove declaration.
10536 (ntp_gettimex): Call __adjtimex directly.
10537 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10538 __adjtimex_internal alias.
10540 2014-10-08 Roland McGrath <roland@hack.frob.com>
10543 * nscd/nscd.c (more_help): Rewrite list of tables collection
10544 using xstrdup and asprintf.
10546 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10548 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10549 Roland McGrath <roland@hack.frob.com>
10551 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10552 (do_lookup_unique): ... local function 'enter' here; update callers.
10554 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10556 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10557 compat_symbol calls on [SHARED].
10558 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10559 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10561 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10562 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10563 (oldsetrlimit): Remove.
10564 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10566 (lchown): New syscall entry.
10567 (oldsetrlimit): Remove.
10568 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10569 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10570 (oldsetrlimit): Remove.
10571 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10574 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10575 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10576 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10577 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10578 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10579 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10580 (fchown): Likewise.
10581 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10582 (fchown): Likewise.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10586 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10588 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10589 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10590 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10591 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10592 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10594 (__old_sem_post): Likewise.
10596 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10598 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10599 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10600 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10601 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10602 Use INLINE_VSYSCALL macro.
10603 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10604 __vdso_clock_gettime.
10605 * sysdeps/unix/sysv/linux/tile/init-first.c
10606 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10607 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10608 __vdso_clock_gettime.
10610 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10611 to set up frame more cleanly.
10613 * sysdeps/tile/memcmp.c: New file.
10615 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10617 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10618 * sysdeps/tile/tilegx/strcasestr.c: New file.
10619 * sysdeps/tile/tilegx/strnlen.c: New file.
10620 * sysdeps/tile/tilegx/strstr.c: New file.
10622 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10624 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10626 * nptl/tst-setuid3.c: Write errors to stdout.
10628 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10631 (preload): New functions broken out of _dl_map_object_deps.
10632 (_dl_map_object_deps): Remove a nested function. Update call sites.
10634 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10637 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10638 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10640 2014-10-01 Steve Ellcey <sellcey@mips.com>
10642 * sysdeps/mips/strcmp.S: New.
10644 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10647 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10648 (linkat): Likewise.
10649 (mkdirat): Likewise.
10650 (readlinkat): Likewise.
10651 (renameat): Likewise.
10652 (symlinkat): Likewise.
10653 (unlinkat): Likewise.
10654 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10655 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10656 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10657 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10658 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10659 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10660 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10662 2014-09-30 Will Newton <will.newton@linaro.org>
10664 * math/math.h: Define long double math functions if
10665 _LIBC_TEST is defined.
10666 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10668 * localedata/Makefile: Move assignment to tests-special
10669 into an ifdef testing run-built-tests.
10670 * timezone/Makefile: Likewise.
10672 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10674 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10675 with $(BASH) not $(SHELL).
10677 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10678 Matthew LeGendre <legendre1@llnl.gov>
10681 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10684 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10686 * stdio-common/printf_fp.c
10687 (hack_digit): New function, broken out of ...
10688 (__printf_fp): ... local function here. Update call sites.
10689 hack_digit now takes an additional parameter that is a pointer
10690 to a struct of the referenced locals. Those locals moved inside
10691 the struct and references updated.
10693 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10695 * aclocal.m4: Require autoconf 2.69.
10696 * configure: Regenerated.
10697 * sysdeps/aarch64/configure: Likewise.
10698 * sysdeps/alpha/configure: Likewise.
10699 * sysdeps/arm/armv7/configure: Likewise.
10700 * sysdeps/arm/configure: Likewise.
10701 * sysdeps/ia64/configure: Likewise.
10702 * sysdeps/mach/configure: Likewise.
10703 * sysdeps/mips/configure: Likewise.
10704 * sysdeps/s390/configure: Likewise.
10705 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10708 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10710 * sysdeps/ia64/configure.ac: Likewise.
10712 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10715 specify symbol version for ld.so. Do not include entry for
10717 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10718 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10719 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10722 * Makeconfig [$(build-shared) = yes]
10723 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10725 [$(build-shared) = yes && $(soversions.mk-done) = t]
10726 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10727 [$(build-shared) = yes && $(soversions.mk-done) = t]
10728 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10730 [$(build-shared) = yes && $(soversions.mk-done) = t]
10731 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10733 [$(build-shared) = yes && $(soversions.mk-done) = t]
10734 (common-generated): Don't append gnu/lib-names.h and
10735 gnu/lib-names.stmp here.
10736 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10737 (lib-names-h-abi): New variable.
10738 [$(build-shared) = yes && $(soversions.mk-done) = t]
10739 (lib-names-stmp-abi): Likewise.
10740 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10741 abi-variants] (before-compile): Append
10742 $(common-objpfx)$(lib-names-h-abi).
10743 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10744 abi-variants] (common-generated): Append gnu/lib-names.h.
10745 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10746 abi-variants] (install-others-nosubdir): Depend on
10747 $(inst_includedir)/$(lib-names-h-abi).
10748 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10749 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10750 [$(build-shared) = yes && $(soversions.mk-done) = t]
10751 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10752 [$(build-shared) = yes && $(soversions.mk-done) = t]
10753 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10754 [$(build-shared) = yes && $(soversions.mk-done) = t]
10755 (common-generated): Append $(lib-names-h-abi) and
10756 $(lib-names-stmp-abi).
10757 * scripts/lib-names.awk: Do not handle multi being set.
10758 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10760 (abi-lp64_be-ld-soname): Likewise.
10761 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10763 (abi-hard-ld-soname): Likewise.
10764 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10765 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10767 (abi-o32_hard-ld-soname): Likewise.
10768 (abi-o32_soft_2008-ld-soname): Likewise.
10769 (abi-o32_hard_2008-ld-soname): Likewise.
10770 (abi-n32_soft-ld-soname): Likewise.
10771 (abi-n32_hard-ld-soname): Likewise.
10772 (abi-n32_soft_2008-ld-soname): Likewise.
10773 (abi-n32_hard_2008-ld-soname): Likewise.
10774 (abi-n64_soft-ld-soname): Likewise.
10775 (abi-n64_hard-ld-soname): Likewise.
10776 (abi-n64_soft_2008-ld-soname): Likewise.
10777 (abi-n64_hard_2008-ld-soname): Likewise.
10778 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10780 (abi-64-v2-ld-soname): Likewise.
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10783 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10785 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10787 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10789 (abi-64-ld-soname): Likewise.
10790 (abi-x32-ld-soname): Likewise.
10791 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10793 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10795 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10798 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10799 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10800 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10801 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10802 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10803 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10804 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10805 syscall entry for GLIBC_2.2 symbol version.
10806 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10809 (setrlimit): Likewise.
10810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10813 2014-09-23 Will Newton <will.newton@linaro.org>
10815 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10816 _LINUX_ARM_SYSDEP_H include guard too.
10817 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10820 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10822 * sysdeps/unix/sysv/linux/eventfd.c:
10823 Make first argument unsigned.
10824 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10825 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10827 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10829 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10830 * socket/sys/socket.h: Likewise
10831 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10833 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10835 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10837 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10839 * time/tst-ftime.c: New test.
10840 * time/Makefile (tests): Add tst-ftime.
10842 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10844 * soft-fp/extended.h: Fix comment formatting.
10845 * soft-fp/op-1.h: Likewise.
10846 * soft-fp/op-2.h: Likewise.
10847 * soft-fp/op-4.h: Likewise.
10848 * soft-fp/op-8.h: Likewise.
10849 * soft-fp/op-common.h: Likewise.
10850 * soft-fp/soft-fp.h: Likewise.
10852 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10854 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10857 * Makeconfig (soversions-default-setname): Remove variable.
10858 ($(common-objpfx)soversions.i): Don't pass default_setname to
10860 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10861 oldest_abi to abi-versions.awk.
10862 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10863 * config.make.in (oldest-abi): Remove variable.
10864 * configure.ac (--enable-oldest-abi): Remove configure option.
10865 * configure: Regenerated.
10866 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10868 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10869 * scripts/soversions.awk: Do not handle default_setname variable.
10870 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10872 * sysdeps/mach/hurd/configure: Regenerated.
10873 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10875 * sysdeps/unix/sysv/linux/configure: Regenerated.
10877 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10879 * elf/Makefile (CFLAGS-interp.c): Remove.
10880 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10882 * elf/interp.c: Include generated runtime-linker.h
10884 * Makerules (lib%.so): Don't include $(+interp) in
10886 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10887 * dlfcn/eval.c: Remove file.
10889 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10893 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10897 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10899 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10900 Jakub Jelinek <jakub@redhat.com>
10903 * libio/stdio.h: Check definition of __fortify_function
10904 instead of __extern_always_inline to include bits/stdio2.h.
10905 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10906 check if __extern_always_inline is defined.
10907 [__USE_MISC || __USE_XOPEN]: Likewise.
10908 [__USE_ISOC99] Likewise.
10909 * misc/sys/cdefs.h (__fortify_function): Define only if
10910 __extern_always_inline is defined.
10911 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10912 __extern_always_inline and __extern_inline only for g++-4.3
10913 and newer or a compatible gcc.
10915 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10918 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10919 last change to handle zero prefix length.
10921 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10923 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10926 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10927 _POSIX_RAW_SOCKETS.
10929 2014-09-13 Allan McRae <allan@archlinux.org>
10931 * po/ru.po: Update Russian translation from translation project.
10933 2014-09-12 Roland McGrath <roland@hack.frob.com>
10935 * locale/programs/locale.c (show_locale_vars): Inline local function
10936 into its sole call site. Clean up some style nits.
10937 (print_item): New function, broken out of ...
10938 (show_info): ... local function here. Clean up style nits.
10940 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10942 (set_class_defaults): ... local function set_default here.
10943 Define set_default as a macro locally to pass constant parameters.
10944 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10945 rather than a shared local.
10947 * stdlib/rpmatch.c (try): New function, broken out of ...
10948 (rpmatch): ... local function here. Also, prototypify definition.
10950 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10952 * scripts/soversions.awk: Do not handle configuration names.
10953 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10954 vendor and os variables to soversions.awk.
10955 * configure.ac: Do not modify gnu-* host_os.
10956 * configure: Regenerated
10957 * shlib-versions: Remove first column with configuration names.
10958 * nptl/shlib-versions: Likewise.
10959 * nptl_db/shlib-versions: Likewise.
10960 * sysdeps/hppa/shlib-versions: Likewise.
10961 * sysdeps/m68k/shlib-versions: Likewise.
10962 * sysdeps/mach/hurd/shlib-versions: Likewise.
10963 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10964 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10965 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10966 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10967 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10968 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10969 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10970 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10973 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10974 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10975 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10976 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10978 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10979 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10980 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10983 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10986 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10988 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10990 * shlib-versions: Remove OS-specific entries. Moved to files in
10992 * sysdeps/mach/hurd/shlib-versions: New file.
10993 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10995 * nptl/shlib-versions: Remove architecture-specific entries.
10996 Moved to files in sysdeps.
10997 * shlib-versions: Likewise.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11000 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11001 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11002 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11003 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11005 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11006 (UDP_NO_CHECK6_RX): Likewise.
11008 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11010 * sysdeps/posix/sysconf.c (__sysconf): Spell
11011 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11013 2014-08-12 Florian Weimer <fweimer@redhat.com>
11015 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11017 * iconv/Versions (__gconv_transliterate): Export for use from
11019 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11020 (struct __gconv_trans_data, __gconv_trans_fct,
11021 __gconv_trans_context_fct, __gconv_trans_query_fct,
11022 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11024 (struct __gconv_step_data): Remove __trans member.
11025 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11026 longer hidden. Remove unused trans_data argument.
11027 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11028 (__gconv_translit_find): Remove declaration.
11029 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11031 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11032 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11033 trans_data argument. Add hidden definition.
11034 (__gconv_translit_find): Remove.
11035 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11036 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11037 * iconv/skeleton.c: Remove transliteration initialization.
11038 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11039 __gconv_step_data initialization.
11040 * libio/iofwide.c (__libio_translit_): Remove.
11041 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11042 * wcsmbs/btowc.c (__btowc): Likewise.
11043 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11044 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11045 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11046 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11047 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11048 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11049 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11050 * wcsmbs/wctob.c (wctob): Likewise.
11052 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11055 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11056 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11058 * sysdeps/x86/Makefile: Adjust.
11060 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11061 Roland McGrath <roland@hack.frob.com>
11063 * locale/weight.h: Add include guard.
11064 (findidx): Make static rather than auto; take new parameters
11065 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11066 * locale/weightwc.h: Likewise.
11067 * posix/fnmatch_loop.c
11068 (FCT): Change type of EXTRA from int32_t to wint_t.
11069 Don't include either header inside the function.
11070 Call FINDIDX rather than findidx, and pass new arguments.
11071 #undef FINDIDX at the end of the file.
11072 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11073 FINDIDX before including fnmatch_loop.c for the non-wide version.
11074 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11075 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11076 for the wide version.
11077 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11078 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11079 Pass new arguments to findidx.
11080 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11081 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11082 Don't #include it inside the function. Pass new arguments to findidx.
11083 * posix/regex_internal.h
11084 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11085 (re_string_elem_size_at): Don't #include it inside the function.
11086 Pass new arguments to findidx.
11087 * string/strcoll_l.c: #include WEIGHT_H at top level.
11088 (get_next_seq): Don't #include it inside the function.
11089 Pass new arguments to findidx.
11090 (get_next_seq_nocache): Likewise.
11091 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11092 (STRXFRM): Don't #include it inside the function.
11093 Pass new arguments to findidx.
11095 2014-09-11 Florian Weimer <fweimer@redhat.com>
11098 * malloc/malloc.c (unlink): Turn asserts into a call to
11101 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11104 * libio/wfileops (do_ftell_wide): Free OUT.
11106 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11108 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11110 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11113 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11114 group if the current group is empty.
11116 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11118 * benchtests/bench-memset.c (test_main): Add more test from size
11119 from 32 to 512 bytes.
11120 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11121 Add POWER8 memset object.
11122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11123 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11124 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11126 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11128 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11129 multiarch POWER8 memset optimization.
11130 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11131 POWER8 memset optimization.
11133 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11134 Remove bzero multiarch objects.
11135 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11136 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11137 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11138 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11140 [__bzero]: Redefine to specific name.
11141 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11142 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11143 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11145 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11146 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11148 2014-09-10 Florian Weimer <fweimer@redhat.com>
11150 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11151 warnings into errors.
11153 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11154 __cxa_thread_atexit_impl prototype.
11156 2014-09-09 Steve Ellcey <sellcey@mips.com>
11158 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11159 Fix capitalization of error message.
11161 2014-09-09 Steve Ellcey <sellcey@mips.com>
11163 * sysdeps/mips/preconfigure: Modify ABI tests.
11165 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11167 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11169 2014-09-07 Roland McGrath <roland@hack.frob.com>
11170 Carlos O'Donell <carlos@systemhalted.org>
11172 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11173 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11174 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11175 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11176 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11177 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11178 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11179 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11180 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11181 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11182 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11183 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11184 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11185 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11186 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11187 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11188 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11189 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11190 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11191 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11192 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11193 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11194 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11195 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11196 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11197 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11198 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11199 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11200 Deconditionalize the code that was previously under [RESET_PID].
11201 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11202 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11203 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11204 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11207 2014-09-08 Allan McRae <allan@archlinux.org>
11209 * version.h (RELEASE): Set to "development".
11210 (VERSION): Set to "2.20.90"
11212 2014-09-07 Allan McRae <allan@archlinux.org
11214 * version.h (RELEASE): Set to "stable".
11215 (VERSION): Set to "2.20"
11216 * include/features.h (__GLIBC_MINOR__): Set to 20.
11218 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11221 * po/ko.po: Update Korean translation from translation project.
11223 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11226 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11227 macro for handling signed relocations.
11229 2014-09-03 Florian Weimer <fweimer@redhat.com>
11232 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11233 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11235 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11236 * iconvdata/ibm935.c (BODY): Likewise.
11237 * iconvdata/ibm937.c (BODY): Likewise.
11238 * iconvdata/ibm939.c (BODY): Likewise.
11239 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11241 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11243 * iconvdata/run-iconv-test.sh: New test loop for checking for
11246 2014-09-02 Khem Raj <raj.khem@gmail.com>
11248 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11251 2014-09-01 Allan McRae <allan@archlinux.org>
11253 * po/eo.po: Update Esperanto translation from translation project.
11255 * po/ca.po: Update Catalan translation from translation project.
11257 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11259 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11260 __proc_dostop call.
11262 2014-08-27 Mark Wielaard <mjw@redhat.com>
11265 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11266 to call set_thread_area instead of hand written asm.
11267 (__NR_set_thread_area): Removed define.
11268 (TLS_FLAG_WRITABLE): Likewise.
11269 (__ASSUME_SET_THREAD_AREA): Remove check.
11270 (TLS_EBX_ARG): Remove define.
11271 (TLS_LOAD_EBX): Likewise.
11273 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11275 Simplify atomicity of socket creation in bind.
11277 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11278 looking up the name after linking the file.
11280 2014-08-27 Allan McRae <allan@archlinux.org>
11282 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11284 2014-08-26 Florian Weimer <fweimer@redhat.com>
11287 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11288 trans_compare, open_translit, __gconv_translit_find):
11289 Remove module loading code.
11291 2014-08-26 Allan McRae <allan@archlinux.org>
11293 * po/vi.po: Update Vietnamese translation from translation project.
11295 * po/uk.po: Update Ukrainian translation from translation project.
11297 * po/fr.po: Update French translation from translation project.
11299 * po/ru.po: Update Russian translation from translation project.
11301 * po/pl.po: Update Polish translation from translation project.
11303 * po/cs.po: Update Czech translation from translation project.
11305 * po/de.po: Update German translation from translation project.
11307 * po/bg.po: Update Bulgarian translation from translation project.
11309 * po/sv.po: Update Sweedish translation from translation project.
11311 * po/nl.po: Update Dutch translation from translation project.
11313 * po/es.po: Update Spanish translation from translation project.
11315 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11317 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11319 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11320 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11321 (CPPFLAGS-iconvconfig): Likewise.
11322 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11324 * include/libc-symbols.h: Remove unnecessary check for
11326 * nptl/pthreadP.h: Likewise.
11327 * sysdeps/aarch64/setjmp.S: Likewise.
11328 * sysdeps/alpha/setjmp.S: Likewise.
11329 * sysdeps/arm/sysdep.h: Likewise.
11330 * sysdeps/i386/setjmp.S: Likewise.
11331 * sysdeps/m68k/setjmp.c: Likewise.
11332 * sysdeps/posix/getcwd.c: Likewise.
11333 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11334 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11335 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11336 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11337 * sysdeps/sh/sh3/setjmp.S: Likewise.
11338 * sysdeps/sh/sh4/setjmp.S: Likewise.
11339 * sysdeps/unix/alpha/sysdep.h: Likewise.
11340 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11341 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11342 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11343 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11348 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11351 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11353 * sysdeps/x86_64/setjmp.S: Likewise.
11355 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11358 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11360 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11361 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11363 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11365 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11368 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11369 and __x86_64__ when disabling x87 inline functions.
11371 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11374 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11375 asm statement with __cpuid_count.
11377 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11379 * configure.ac: Change __ehdr_start code to dereference the struct.
11380 Run readelf on the output to look for relocations.
11381 * configure: Regenerated.
11383 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11386 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11388 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11390 2014-08-12 Roland McGrath <roland@hack.frob.com>
11392 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11394 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11397 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11398 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11400 2014-08-12 Sean Anderson <seanga2@gmail.com>
11402 * malloc/malloc.c: Fix typo in comment.
11404 2014-08-09 Allan McRae <allan@archlinux.org>
11406 * Regenerate libc.po.
11408 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11410 * intl/tst-gettext2.sh: Check every lang file for creation.
11412 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11414 * sysdeps/aarch64/fpu/math_private.h
11415 (libc_feholdsetround_noex_aarch64_ctx): New function.
11417 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11419 * sysdeps/arm/armv6/strcpy.S (strcpy):
11420 Fix performance issue in misaligned cases.
11422 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11424 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11425 Move definition from termios.h.
11426 (struct termio): Likewise.
11427 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11428 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11429 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11430 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11432 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11433 Move definition to ioctl-types.h
11434 (struct termio): Likewise.
11435 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11436 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11437 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11438 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11441 2014-08-05 Richard Henderson <rth@redhat.com>
11443 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11445 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11447 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11448 Use __feraiseexcept.
11449 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11450 Protect libm symbols with IS_IN_libm.
11452 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11454 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11456 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11458 2014-08-04 Will Newton <will.newton@linaro.org>
11460 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11463 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11465 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11466 variants for each function.
11468 2014-08-04 Roland McGrath <roland@hack.frob.com>
11470 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11472 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11473 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11475 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11476 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11477 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11478 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11479 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11480 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11481 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11482 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11483 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11484 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11485 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11486 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11487 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11488 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11489 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11490 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11491 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11492 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11493 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11494 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11495 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11496 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11497 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11498 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11499 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11500 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11501 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11502 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11503 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11504 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11505 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11506 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11507 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11508 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11509 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11510 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11511 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11512 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11513 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11514 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11515 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11517 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11519 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11520 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11521 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11522 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11523 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11524 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11525 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11526 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11527 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11529 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11530 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11532 2014-08-04 Roland McGrath <roland@hack.frob.com>
11534 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11535 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11536 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11537 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11538 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11539 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11541 2014-08-04 Roland McGrath <roland@hack.frob.com>
11543 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11544 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11545 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11546 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11548 2014-08-04 Roland McGrath <roland@hack.frob.com>
11550 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11551 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11552 (__libc_vfork): Define function under this name.
11553 (__vfork): Define as an alias.
11554 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11555 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11557 2014-08-04 Roland McGrath <roland@hack.frob.com>
11559 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11560 that was previously under [RESET_PID].
11561 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11563 2014-08-04 Andreas Schwab <schwab@suse.de>
11565 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11567 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11569 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11572 2014-08-01 Roland McGrath <roland@hack.frob.com>
11574 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11576 2014-08-01 Richard Henderon <rth@redhat.com>
11578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11579 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11580 typo in exact zero test.
11581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11585 2014-08-01 Roland McGrath <roland@hack.frob.com>
11587 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11588 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11589 * sysdeps/arm/sysdep.h: ... here.
11590 [!__ASSEMBLER__]: Include <stdint.h>.
11592 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11594 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11595 (HAVE_WCTYPE_H): Likewise.
11596 (HAVE_ISWCTYPE): Likewise.
11597 (ENABLE_NLS): Likewise.
11598 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11599 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11601 * posix/regex_internal.c: Check if DEBUG is defined and is
11604 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11605 (HAVE_MBSRTOWCS): Likewise.
11606 * posix/fnmatch.c: Include string.h unconditionally.
11608 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11610 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11613 2014-07-31 Roland McGrath <roland@hack.frob.com>
11615 * sysdeps/generic/safe-fatal.h: New file.
11616 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11617 * nptl/forward.c: Include it.
11618 (__pthread_unwind): Use __safe_fatal as default action, rather
11619 than a bogus use of INTERNAL_SYSCALL that could never work.
11621 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11622 * configure.ac (libc_cv_builtin_trap): New test.
11623 * configure: Regenerated.
11624 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11625 (ABORT_INSTRUCTION): Define using __builtin_trap.
11627 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11628 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11629 * sysdeps/nptl/nptl-signals.h: New file.
11630 * nptl/pthreadP.h: Include <nptl-signals.h>.
11632 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11634 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11635 (ONE_DIRECTION): Define.
11636 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11637 (ONE_DIRECTION): Define.
11638 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11639 (ONE_DIRECTION): Define.
11641 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11643 * sysdeps/s390/Makefile: Delete file.
11644 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11645 * sysdeps/s390/__longjmp.c: Delete file.
11646 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11647 Remove fields __flags and __reserved.
11648 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11649 and add versioning.
11650 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11651 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11652 * sysdeps/s390/rtld-setjmp.S: Likewise.
11653 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11654 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11655 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11656 * sysdeps/s390/s390-32/setjmp.S: ... here.
11658 (__sigsetjmp): Remove setting __flags field.
11659 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11660 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11661 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11662 * sysdeps/s390/s390-64/setjmp.S: ... here.
11664 (__sigsetjmp): Remove setting __flags field.
11665 * sysdeps/s390/setjmp.S: Delete file.
11666 * sysdeps/s390/sigjmp.c: Likewise.
11667 * sysdeps/s390/v1-longjmp.c: Likewise.
11668 * sysdeps/s390/v1-setjmp.h: Likewise.
11669 * sysdeps/s390/v1-sigjmp.c: Likewise.
11670 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11671 Remove v1-longjmp_chk.
11672 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11673 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11674 Include debug/longjmp_chk.c and add versioning.
11675 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11676 Include nptl/pt-longjmp.c and add versioning.
11677 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11678 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11679 Include __longjmp.c.
11680 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11682 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11683 (__getcontext): Remove setting __flags field.
11685 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11686 Don't restore upper high grps.
11687 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11689 (__swapcontext): Remove setting uc_flags field.
11690 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11692 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11693 Include __longjmp.c.
11694 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11696 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11697 (__getcontext): Remove setting __flags field.
11699 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11700 (__swapcontext): Remove setting uc_flags field.
11701 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11702 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11703 Remove fields uc_high_gprs and __reserved.
11704 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11705 New file with reverted content.
11706 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11707 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11712 2014-07-31 Andreas Schwab <schwab@suse.de>
11714 * config.h.in (HAVE_IFUNC): Define to 0.
11715 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11718 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11721 memmove-avx-unaligned, memcpy-avx-unaligned and
11722 mempcpy-avx-unaligned.
11723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11724 Add tests for AVX memcpy functions.
11725 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11726 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11728 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11729 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11731 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11732 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11734 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11735 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11736 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11738 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11741 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11744 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11747 * manual/llio.texi: Add section about open file description locks.
11748 * manual/examples/ofdlocks.c: Example of open file description
11750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11751 F_OFD_SETLK, and F_OFD_SETLKW.
11753 2014-07-23 Allan McRae <allan@archlinux.org>
11755 * po/es.po: Update Spanish translation from translation project.
11757 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11759 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11761 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11764 * sysdeps/arm/dl-machine.h (elf_machine_rela)
11765 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11766 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11768 2014-07-17 Joseph Myers <joseph@codesourcery.com>
11771 * math/fesetenv.c (__fesetenv)
11772 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11773 * math/feupdateenv.c (__feupdateenv)
11774 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11776 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11777 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11778 (__ASSUME_SOCKETCALL): Do not define.
11780 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11781 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11782 (__ASSUME_SOCKETCALL): Do not define.
11783 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11784 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11785 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11786 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11787 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11788 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11789 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11790 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11792 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11793 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11794 (__ASSUME_SOCKETCALL): Do not define.
11795 (__ASSUME_IPC64): Define unconditionally.
11796 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11797 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11798 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11799 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11800 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11801 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11802 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11805 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11806 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11807 (__ASSUME_SOCKETCALL): Do not define.
11808 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11809 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11810 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11811 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11812 (__ASSUME_REQUEUE_PI): Define unconditionally.
11813 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11814 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11815 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11816 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11817 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11818 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11820 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11821 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11822 (__ASSUME_SOCKETCALL): Do not define.
11823 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11824 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11825 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11826 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11827 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11828 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11831 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11832 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11833 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11834 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11835 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11836 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11837 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11838 (__ASSUME_GETCPU_SYSCALL): Likewise.
11840 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11841 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11842 cases for individual architectures.
11843 * sysdeps/gnu/configure: Regenerated.
11844 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11845 LIBC_SLIBDIR_RTLDDIR.
11846 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11847 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11848 LIBC_SLIBDIR_RTLDDIR.
11849 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11851 LIBC_SLIBDIR_RTLDDIR.
11852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11854 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11855 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11857 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11858 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11860 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11861 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11862 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11863 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11865 * sysdeps/aarch64/shlib-versions: Move to ...
11866 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11867 * sysdeps/alpha/shlib-versions: Move to ...
11868 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11869 * sysdeps/arm/shlib-versions: Move to ...
11870 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11871 * sysdeps/hppa/shlib-versions: Move all contents except for
11872 libgcc_s entry to ...
11873 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11875 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11876 * sysdeps/ia64/shlib-versions: Move to ...
11877 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11879 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11880 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11881 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11882 * sysdeps/microblaze/shlib-versions: Move to ...
11883 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11884 * sysdeps/mips/shlib-versions: Move to ...
11885 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11887 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11888 * sysdeps/tile/shlib-versions: Move to ...
11889 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11890 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11892 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11893 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11895 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11897 2014-07-17 Will Newton <will.newton@linaro.org>
11899 * sysdeps/arm/bits/atomic.h
11900 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11901 (__arch_compare_and_exchange_bool_16_int): Likewise.
11902 (__arch_compare_and_exchange_bool_64_int): Likewise.
11904 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11905 into an #else block.
11907 2014-07-16 Roland McGrath <roland@hack.frob.com>
11909 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11910 just Linux configurations. Test empirically that the compiler sets
11911 __ARM_EABI__, rather than using the tuple to decide.
11912 * sysdeps/arm/preconfigure: Regenerated.
11913 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11914 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11915 contents appended ...
11916 * sysdeps/arm/configure.ac: ... here.
11917 * sysdeps/arm/configure: Regenerated.
11919 2014-07-15 Roland McGrath <roland@hack.frob.com>
11921 * nptl/pthread_kill.c: New file.
11922 * nptl/pthread_sigmask.c: New file.
11923 * nptl/pthread_sigqueue.c: New file.
11925 * sysdeps/nptl/lowlevellock.h: New file.
11926 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11927 * sysdeps/nptl/lowlevellock-futex.h: New file.
11929 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11930 Remove dead declarations.
11932 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11934 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11935 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11936 config-cflags-avx2.
11937 * sysdeps/x86_64/configure.ac: Likewise.
11938 * sysdeps/i386/configure: Regenerated.
11939 * sysdeps/x86_64/configure: Likewise.
11940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11941 memset-avx2 only if config-cflags-avx2 is yes.
11942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11943 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11945 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11946 only if HAVE_AVX2_SUPPORT is defined.
11947 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11949 2014-07-14 Alan Modra <amodra@gmail.com>
11952 * elf/elf.h (DT_PPC64_NUM): Correct value.
11953 * NEWS: Add to fixed bug list.
11955 2014-07-13 Jim Meyering <meyering@fb.com>
11958 regex: don't deref NULL upon heap allocation failure
11959 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11960 failure in one more place.
11961 To trigger the segfault, configure grep -with-included-regex,
11962 build it, and run these commands:
11963 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11965 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11967 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11969 2014-07-11 Richard Henderson <rth@redhat.com>
11971 * sysdeps/aarch64/libm-test-ulps: Update.
11973 2014-07-10 Florian Weimer <fweimer@redhat.com>
11976 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11977 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11978 (__nptl_setxid): Initialize error member. Call
11979 __nptl_setxid_error.
11980 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11981 * nptl/descr.h (struct xid_command): Add error member.
11982 * nptl/tst-setuid3.c: New file.
11983 * nptl/Makefile (tests): Add it.
11985 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11989 (__lll_trylock): Use __lll_base_trylock.
11990 (__lll_cond_trylock): Likewise.
11992 2014-07-10 Roland McGrath <roland@hack.frob.com>
11994 * nptl/pthread_create.c (start_thread): Use atomic_or and
11995 lll_futex_wake directly rather than lll_robust_dead.
11996 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11997 (lll_robust_dead): Macro removed.
11998 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11999 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12000 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12001 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12002 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12003 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12004 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12005 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12006 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12008 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12009 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12010 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12011 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12012 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12014 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12015 Use atomic_compare_and_exchange_val_acq directly rather than
12016 lll_robust_trylock.
12017 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12018 (__lll_robust_trylock, lll_robust_trylock): Removed.
12019 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12020 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12021 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12022 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12023 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12024 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12025 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12026 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12027 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12028 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12029 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12030 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12031 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12032 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12034 2014-07-02 Florian Weimer <fweimer@redhat.com>
12036 * manual/locale.texi (Locale Names): New section documenting
12037 locale name syntax. Adjust menu and node chaining accordingly.
12038 (Choosing Locale): Reference Locale Names, Locale Categories.
12039 Mention setting LC_ALL=C. Reflect that name syntax is now
12041 (Locale Categories): New section title. Reference Locale Names.
12042 LC_ALL is an environment variable, but not a category.
12043 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12044 description, now in Locale Name. Reference that section. Locale
12045 name syntax is now documented.
12047 2014-07-02 Florian Weimer <fweimer@redhat.com>
12050 * locale/findlocale.c (name_present, valid_locale_name): New
12052 (_nl_find_locale): Use the loc_name variable to store name
12053 candidates. Call name_present and valid_locale_name to check and
12054 validate locale names. Return an error if the locale is invalid.
12056 2014-07-02 Florian Weimer <fweimer@redhat.com>
12058 * locale/setlocale.c (setlocale): Use strdup for allocating
12059 composite name copy.
12061 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12063 Sync up with gnulib.
12064 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12065 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12066 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12067 and _GL_ARG_NONNULL.
12068 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12069 [!_LIBC]: Include code for Windows and Cygwin.
12070 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12071 Include prototype for int strerror_r.
12072 [!_LIBC] (is_open): New function.
12073 (flush_stdout): New function.
12074 (print_errno_message): Use it.
12076 (error_at_line): Likewise.
12077 (error_tail) Add function attribute macros. Use
12080 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12082 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12084 * io/ftw.c: Include sys/param.h unconditionally.
12086 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12089 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12091 (freecache): New function to free CACHE on exit.
12093 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12096 2014-07-09 David S. Miller <davem@davemloft.net>
12098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12100 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12101 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12102 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12103 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12104 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12105 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12106 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12107 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12108 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12109 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12110 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12111 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12112 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12114 2014-07-09 Andreas Schwab <schwab@suse.de>
12116 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12118 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12119 (do_test): Likewise.
12121 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12123 2014-07-09 Will Newton <will.newton@linaro.org>
12125 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12126 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12127 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12128 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12129 * sysdeps/hppa/start.S (_start): Likewise.
12131 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12133 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12135 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12138 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12140 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12141 after checking that it is non-NULL.
12143 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12145 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12147 * sysdeps/powerpc/memmove.c: Remove file.
12148 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12149 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12151 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12152 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12153 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12154 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12155 string memmove instead of removed powerpc one.
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12158 [weak_alias]: Fix compiler warning due trailing data.
12159 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12160 [weak_alias]: Likewise.
12161 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12162 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12165 (__libc_ifunc_impl_list): Add memmove functions.
12167 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12169 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12171 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12173 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12175 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12177 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12179 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12181 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12183 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12185 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12187 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12189 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12191 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12193 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12195 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12197 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12199 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12201 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12204 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12206 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12207 to avoid alignment traps in non-cacheable memory.
12208 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12212 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12213 file: multiarch power7 memmove.
12214 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12215 multiarch default memmove.
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12217 multiarch memove for powerpc32/power4.
12219 * string/bcopy.c: Use full path to include memmove.c.
12220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12222 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12223 bcopy for powerpc64.
12224 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12225 bcopy for powerpc64.
12226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12227 and memmove implementations.
12228 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12229 optimized multiarch memmove for POWER7/powerpc64.
12230 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12231 default multiarch memmove for powerpc64.
12232 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12233 multiarch for powerpc64.
12234 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12235 for POWER7/powerpc64.
12236 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12237 memmove for POWER7/powerpc64.
12239 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12242 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12243 __ELF_NATIVE_CLASS equal to 64.
12245 2014-07-07 Roland McGrath <roland@hack.frob.com>
12247 * sysdeps/nptl/lowlevellock.h: File removed.
12249 * NEWS: NPTL is no longer an add-on!
12250 * nptl/internaltypes.h: Moved ...
12251 * sysdeps/nptl/internaltypes.h: ... here.
12252 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12253 * sysdeps/nptl/fork.c: Likewise.
12254 * sysdeps/nptl/gai_misc.h: Likewise.
12255 * sysdeps/nptl/librt-cancellation.c: Likewise.
12256 * sysdeps/nptl/jmp-unwind.c: Likewise.
12257 * sysdeps/nptl/setxid.h: Likewise.
12258 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12259 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12260 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12261 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12262 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12263 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12264 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12265 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12266 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12267 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12268 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12269 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12270 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12271 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12272 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12273 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12274 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12275 * nptl/Makeconfig: Moved ...
12276 * sysdeps/nptl/Makeconfig: ... here.
12277 * nptl/configure: File removed.
12278 * nptl/ANNOUNCE: File removed.
12279 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12280 * sysdeps/unix/sysv/linux/configure: Regenerated.
12282 * nptl/Makefile (routines): Add libc_pthread_init,
12283 libc_multiple_threads, register-atfork and unregister-atfork.
12284 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12285 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12286 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12287 pthread-pi-defines.sym, structsem.sym.
12288 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12289 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12290 [$(subdir) = nptl] (tests): Add tst-setgetname.
12291 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12292 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12293 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12294 [!LIBC_SIGACTION]: Remove aliases.
12295 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12296 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12297 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12298 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12299 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12300 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12301 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12303 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12304 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12305 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12306 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12307 __libc_allocate_rtsig_private.
12308 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12309 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12310 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12311 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12312 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12313 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12314 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12315 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12316 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12317 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12318 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12319 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12320 * nptl/internaltypes.h: ... here.
12321 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12322 * sysdeps/nptl/jmp-unwind.c: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12324 * nptl/libc-lowlevellock.c: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12326 * nptl/libc_multiple_threads.c: ... here.
12327 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12328 * nptl/libc_pthread_init.c: ... here.
12329 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12330 * nptl/lowlevelbarrier.sym: ... here.
12331 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12332 * nptl/lowlevelcond.sym: ... here.
12333 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12334 * nptl/lowlevellock.c: ... here.
12335 * nptl/lowlevellock.h: Moved ...
12336 * sysdeps/nptl/lowlevellock.h: ... here.
12337 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12338 * nptl/lowlevelrobustlock.c: ... here.
12339 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12340 * nptl/lowlevelrobustlock.sym: ... here.
12341 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12342 * nptl/lowlevelrwlock.sym: ... here.
12343 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12344 * nptl/pt-fork.c: ... here.
12345 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12346 * nptl/pthread-pi-defines.sym: ... here.
12347 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12348 * nptl/pthread_attr_getaffinity.c: ... here.
12349 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12350 * nptl/pthread_attr_setaffinity.c: ... here.
12351 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12352 * nptl/pthread_mutex_cond_lock.c: ... here.
12353 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12355 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12356 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12357 * nptl/pthread_once.c: ... here, replacing old file.
12358 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12359 * nptl/pthread_yield.c: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12361 * nptl/register-atfork.c: ... here.
12362 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12363 * nptl/sem_post.c: ... here.
12364 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12365 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12366 * nptl/sem_timedwait.c: ... here.
12367 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12368 * nptl/sem_trywait.c: ... here.
12369 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12370 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12371 * nptl/sem_wait.c: ... here.
12372 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12373 * nptl/structsem.sym: ... here.
12374 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12375 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12376 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12377 * nptl/unregister-atfork.c: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12379 * nptl/unwindbuf.sym: ... here.
12380 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12381 * sysdeps/nptl/fork.c: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12383 * sysdeps/nptl/fork.h: ... here.
12384 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12385 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12386 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12387 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12388 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12389 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12390 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12391 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12392 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12393 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12394 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12395 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12396 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12397 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12398 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12399 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12400 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12401 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12402 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12403 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12404 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12405 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12406 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12407 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12408 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12409 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12410 * sysdeps/unix/sysv/linux/raise.c: ... here.
12411 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12412 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12413 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12414 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12415 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12416 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12417 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12418 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12419 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12420 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12421 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12422 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12424 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12425 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12427 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12429 * sysdeps/generic/memcopy.h: Add comment for
12430 MEMCPY_OK_FOR_FWD_MEMMOVE.
12432 2014-07-04 Will Newton <will.newton@linaro.org>
12434 * string/memchr.c: Merge from gnulib.
12435 [_LIBC]: Remove conditionals.
12436 (__ptr_t): Remove define.
12437 (LONG_MAX_32_BITS): Likewise.
12438 (LONG_MAX): Likewise.
12439 (MEMCHR): Use ANSI prototype and optimize algorithm.
12441 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12443 2014-07-03 Roland McGrath <roland@hack.frob.com>
12445 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12446 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12448 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12449 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12450 in a bare environment with no <stdlib.h> installed.
12451 * sysdeps/nptl/configure: Regenerated.
12453 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12455 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12456 AC_EGREP_CPP for kernel header checks, so they only succeed if
12457 including <linux/version.h> actually works right.
12458 * sysdeps/unix/sysv/linux/configure: Regenerated.
12460 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12461 value so it's not diagnosed as unused.
12463 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12464 thing) with "ifeq ($(subdir),rt)".
12466 2014-07-03 Richard Henderson <rth@redhat.com>
12468 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12469 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12470 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12472 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12473 (math_force_eval): New.
12475 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12476 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12478 * sysdeps/alpha/fpu/s_round.c: Remove file.
12479 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12481 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12482 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12483 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12484 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12485 (_dl_start, print_statistics): Likewise.
12486 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12487 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12489 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12490 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12491 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12492 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12493 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12494 (HP_SMALL_TIMING_AVAIL): Define.
12495 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12496 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12497 (HP_SMALL_TIMING_AVAIL): Define.
12498 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12499 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12501 * sysdeps/aarch64/hp-timing.h: New file.
12503 * sysdeps/generic/hp-timing.h: Remove dead comment.
12504 * sysdeps/generic/hp-timing-common.h: New file.
12505 * sysdeps/alpha/hp-timing.h: Include it.
12506 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12507 * sysdeps/i386/i686/hp-timing.h: Likewise.
12508 * sysdeps/ia64/hp-timing.h: Likewise.
12509 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12510 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12511 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12512 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12513 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12514 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12515 (hp_timing_t): New.
12517 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12518 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12519 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12520 * elf/rtld.c (_dl_start_final): Likewise.
12521 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12522 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12523 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12524 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12525 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12526 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12527 (HP_TIMING_DIFF_INIT): Remove.
12528 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12529 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12530 (HP_TIMING_DIFF_INIT): Remove.
12531 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12532 * sysdeps/i386/i686/hp-timing.c: Remove file.
12533 * sysdeps/x86_64/hp-timing.c: Remove file.
12534 * sysdeps/ia64/hp-timing.c: Remove file.
12535 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12536 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12537 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12538 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12540 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12541 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12542 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12543 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12545 (HP_TIMING_ACCUM): Remove.
12546 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12547 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12548 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12550 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12551 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12552 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12553 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12554 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12555 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12556 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12557 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12559 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12561 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12563 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12565 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12567 Sync up with gettext.
12568 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12569 [_MSC_VER]: Include malloc.h
12570 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12571 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12572 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12573 TEMP_FAILURE_RETRY. Cast return of alloca.
12574 [!_LIBC] Call gl_rwlock_init.
12575 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12577 2014-07-02 Roland McGrath <roland@hack.frob.com>
12579 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12580 before checking its value.
12582 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12584 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12586 * debug/memcpy_chk.c: Don't include pagecopy.h.
12587 * debug/mempcpy_chk.c: Likewise.
12588 * string/memcpy.c: Likewise.
12589 * string/memmove.c: Likewise.
12590 * sysdeps/powerpc/memmove.c: Likewise.
12591 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12592 definition of PAGE_COPY_FWD_MAYBE here...
12593 * sysdeps/generic/pagecopy.h: ... from here.
12594 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12596 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12597 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12599 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12603 (__libc_ifunc_impl_list): Likewise.
12604 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12605 multiarch strcat for PPC64.
12606 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12607 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12609 2014-07-02 Roland McGrath <roland@hack.frob.com>
12611 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12613 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12615 * intl/loadmsgcat.c: Remove declaration of
12616 get_sysdep_segment_value.
12617 (get_sysdep_segment_value): Use ISO C style.
12618 (_nl_load_domain): Use ISO C style. Get rid of redundant
12619 semicolon. Fix typo and formatting in comment.
12620 (_nl_unload_domain): Use ISO C style.
12622 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12624 2014-07-02 Will Newton <will.newton@linaro.org>
12626 * malloc/obstack.c: Merge from gnulib master.
12627 [HAVE_CONFIG_H]: Remove conditional code.
12628 [!_LIBC]: Include config.h.
12629 [!ELIDE_CODE]: Don't include inttypes.h, include
12630 stdint.h unconditionally.
12631 (print_and_abort): Mark as _Noreturn.
12632 (_obstack_allocated_p): Mark as __attribute_pure__.
12633 (obstack_free): Rename to __obstack_free.
12634 [!__attribute__]: Remove conditional code.
12635 * malloc/obstack.h: Merge from gnulib master.
12636 [__cplusplus]: Move conditional down.
12637 [!__attribute_pure__]: Define __attribute_pure__ here
12638 if it is not already defined.
12639 (_obstack_memory_used): Mark as __attribute_pure__.
12640 [!__obstack_free]: Define as obstack_free.
12641 [__GNUC__]: Remove check for ancient NeXT gcc.
12643 2014-07-02 Will Newton <will.newton@linaro.org>
12644 Paul Eggert <eggert@cs.ucla.edu>
12646 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12648 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12650 * resolv/gethnamaddr.c: Add comment warning that the file is
12653 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12655 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12658 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12659 entry for aio_cancel and aio_cancel64.
12660 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12661 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12662 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12663 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12664 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12665 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12666 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12667 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12668 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12669 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12670 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12671 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12672 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12674 2014-07-01 Roland McGrath <roland@hack.frob.com>
12676 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12677 * nptl/pthread_mutex_lock.c: Likewise.
12678 * nptl/pthread_mutex_timedlock.c: Likewise.
12679 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12681 2014-07-01 Richard henderson <rth@redhat.com>
12683 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12684 (__isnan, __isnanl): Remove.
12685 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12687 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12689 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12691 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12693 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12695 * resolv/nss_dns/dns-host.c (getanswer_r)
12696 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12698 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12700 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12701 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12703 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12704 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12706 2014-07-01 Roland McGrath <roland@hack.frob.com>
12708 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12709 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12711 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12712 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12714 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12715 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12717 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12718 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12720 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12721 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12722 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12723 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12725 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12726 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12727 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12728 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12729 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12731 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12733 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12734 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12735 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12736 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12737 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12738 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12739 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12740 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12741 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12742 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12743 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12744 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12745 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12746 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12747 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12748 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12749 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12750 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12751 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12752 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12754 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12755 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12756 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12757 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12758 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12759 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12760 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12761 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12763 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
12765 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12766 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12767 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12770 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12774 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12776 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12777 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12779 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12781 * sysdeps/arm/libm-test-ulps: Regenerated.
12783 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12784 Roland McGrath <roland@hack.frob.com>
12786 * test-skeleton.c (signal_handler): Kill the whole process group
12787 before killing the child individually.
12788 (main): Report any failure on `setpgid'.
12790 2014-06-30 Roland McGrath <roland@hack.frob.com>
12792 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12793 from _TLS_H to _ARM_NPTL_TLS_H.
12794 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12795 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12797 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12800 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12801 (__expm1l): Return argument unchanged when small but not
12804 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12805 include macro name.
12806 (_FP_UNPACK_RAW_1_P): Likewise.
12807 (_FP_PACK_RAW_1): Likewise.
12808 (_FP_PACK_RAW_1_P): Likewise.
12809 (_FP_MUL_MEAT_1_wide): Likewise.
12810 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12811 (_FP_MUL_MEAT_1_hard): Likewise.
12812 (_FP_DIV_MEAT_1_imm): Likewise.
12813 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12814 (_FP_DIV_MEAT_1_udiv): Likewise.
12815 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12816 (_FP_UNPACK_RAW_2): Likewise.
12817 (_FP_UNPACK_RAW_2_P): Likewise.
12818 (_FP_PACK_RAW_2): Likewise.
12819 (_FP_PACK_RAW_2_P): Likewise.
12820 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12821 (_FP_MUL_MEAT_2_wide): Likewise.
12822 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12823 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12824 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12825 (_FP_MUL_MEAT_2_gmp): Likewise.
12826 (_FP_DIV_MEAT_2_udiv): Likewise.
12827 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12828 (_FP_FRAC_SRL_4): Likewise.
12829 (_FP_FRAC_SRST_4): Likewise.
12830 (_FP_FRAC_SRS_4): Likewise.
12831 (_FP_UNPACK_RAW_4): Likewise.
12832 (_FP_UNPACK_RAW_4_P): Likewise.
12833 (_FP_PACK_RAW_4): Likewise.
12834 (_FP_PACK_RAW_4_P): Likewise.
12835 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12836 (_FP_MUL_MEAT_4_wide): Likewise.
12837 (_FP_MUL_MEAT_4_gmp): Likewise.
12838 (umul_ppppmnnn): Likewise.
12839 (_FP_DIV_MEAT_4_udiv): Likewise.
12840 (__FP_FRAC_ADD_4): Likewise.
12841 (__FP_FRAC_SUB_3): Likewise.
12842 (__FP_FRAC_SUB_4): Likewise.
12843 (__FP_FRAC_DEC_3): Likewise.
12844 (__FP_FRAC_DEC_4): Likewise.
12845 (__FP_FRAC_ADDI_4): Likewise.
12846 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12847 (_FP_FRAC_SRL_8): Likewise.
12848 (_FP_FRAC_SRS_8): Likewise.
12850 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12851 include macro name.
12852 (FP_UNPACK_RAW_EP): Likewise.
12853 (FP_PACK_RAW_E): Likewise.
12854 (FP_PACK_RAW_EP): Likewise.
12855 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12856 (_FP_ISSIGNAN): Likewise.
12857 (_FP_ADD_INTERNAL): Likewise.
12858 (_FP_FMA): Likewise.
12859 (_FP_CMP): Likewise.
12860 (_FP_SQRT): Likewise.
12861 (_FP_TO_INT): Likewise.
12862 (_FP_FROM_INT): Likewise.
12863 (FP_EXTEND): Likewise.
12864 (_FP_DIV_MEAT_N_loop): Likewise.
12866 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12868 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12871 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12874 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12875 result with correct sign in case of exponents that produce
12876 overflow except for X very close to 1.
12878 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12880 mktime: merge #if/#ifdef usage from glibc
12881 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12882 as that works with both Glibc's and Gnulib's style.
12883 See thread starting at Siddhesh Poyarekar's bug report at:
12884 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12886 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12888 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12889 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12890 * sysdeps/tile/tilegx/memmove.c: Remove file.
12892 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12894 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12895 abi-name definition.
12896 * scripts/soversions.awk: Do not handle or generate ABI lines.
12897 * shlib-versions: Remove ABI entries.
12898 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12899 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12901 2014-06-27 Roland McGrath <roland@hack.frob.com>
12903 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12904 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12905 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12906 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12908 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12909 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12911 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12914 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12916 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12918 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12920 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12922 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12927 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12929 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12931 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12934 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12935 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12937 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12939 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12944 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12946 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12947 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12948 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12949 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12951 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12953 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12954 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12956 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12957 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12959 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12960 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12961 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12962 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12964 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12966 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12967 Identical file removed.
12968 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12970 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12972 Identical file removed.
12973 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12974 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12975 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12977 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12978 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12979 Identical file removed.
12980 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12981 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12983 Identical file removed.
12984 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12985 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12986 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12987 Identical file removed.
12988 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12989 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12990 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12991 Identical file removed.
12992 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12994 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12995 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12996 Identical file removed.
12997 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12999 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13000 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13001 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13002 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13003 Identical file removed.
13004 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13006 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13008 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13009 Identical file removed.
13010 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13012 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13014 Identical file removed.
13015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13017 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13018 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13019 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13020 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13021 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13022 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13024 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13025 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13026 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13028 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13029 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13030 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13031 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13032 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13034 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13037 * nscd/nscd.c (monitor_child): Return exit status of child
13038 instead of return value from wait syscall.
13040 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13042 * configure.ac (libc_commonpagesize): Remove variable.
13043 (libc_relro_required): Likewise.
13044 (libc_cv_z_relro): Remove configure test.
13045 * configure: Regenerated.
13046 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13048 (libc_relro_required): Likewise.
13049 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13050 (libc_relro_required): Likewise.
13051 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13052 (libc_relro_required): Likewise.
13053 * sysdeps/arm/preconfigure: Regenerated.
13054 * sysdeps/ia64/preconfigure: Remove file.
13055 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13057 (libc_relro_required): Likewise.
13061 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13062 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13063 recompute overflowing results in original rounding mode.
13064 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13065 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13066 recompute overflowing results in original rounding mode.
13067 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13068 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13069 recompute overflowing results in original rounding mode.
13070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13071 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13072 recompute overflowing results in original rounding mode.
13073 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13074 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13075 recompute overflowing results in original rounding mode.
13076 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13077 (libc_feholdsetround_ctx): New macro.
13078 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13079 * sysdeps/i386/fpu/libm-test-ulps: Update.
13080 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13082 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13084 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13085 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13086 corresponding .cpsetup call.
13088 2014-06-26 Roland McGrath <roland@hack.frob.com>
13090 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13091 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13092 * sysdeps/arm/Makefile [$(subdir) = csu]
13093 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13094 (static-only-routines): Add aeabi_read_tp here.
13095 (shared-only-routines): Add libc-aeabi_read_tp here.
13096 (CFLAGS-libc-start.c): Add -fexceptions here.
13097 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13098 (sysdep_routines, static-only-routines, shared-only-routines):
13099 Don't add to these here.
13100 (CFLAGS-libc-start.c): Likewise.
13102 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13103 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13104 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13105 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13106 * sysdeps/arm/Makefile [$(subdir) = rt]
13107 (librt-sysdep_routines, librt-shared-only-routines):
13108 Append rt-aeabi_unwind_cpp_pr1 here.
13109 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13110 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13111 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13112 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13113 Append nptl-aeabi_unwind_cpp_pr1 here.
13114 (tests): Filter out tst-cleanupx4 here.
13115 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13116 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13117 Don't do those here.
13119 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13121 * scripts/list-sources.sh: Do not handle ports specially.
13123 2014-06-26 Roland McGrath <roland@hack.frob.com>
13125 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13126 * sysdeps/arm/feupdateenv.c: Likewise.
13128 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13130 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13132 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13133 trailing whitespace removed.
13134 * scripts/config.guess: Update to version 2014-03-23.
13135 * scripts/config.sub: Update to version 2014-05-01
13136 * scripts/install-sh: Update to version 2013-12-25.23.
13137 * scripts/move-if-change: Update from gnulib.
13139 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13141 * debug/memmove_chk.c: Remove pagecopy.h include.
13143 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13145 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13146 identical to gnulib mktime.
13148 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13150 * configure.ac: Do not test for machine being rs6000. Do not test
13151 for powerpc*-*soft.
13152 * configure: Regenerated.
13155 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13157 * configure: Regenerated.
13158 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13159 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13160 Remove configure test.
13161 * sysdeps/arm/configure: Regenerated.
13162 * sysdeps/nptl/configure.ac: Do not check
13163 libc_cv_asm_cfi_directives.
13164 * sysdeps/nptl/configure: Regenerated.
13165 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13166 * sysdeps/x86_64/nptl/configure: Remove generated file.
13167 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13169 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13171 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13173 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13174 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13175 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13178 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13179 instead of whether it is defined.
13180 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13181 * sysdeps/hppa/dl-machine.h: Likewise.
13182 * sysdeps/ia64/dl-machine.h: Likewise.
13183 * sysdeps/m68k/dl-machine.h: Likewise.
13184 * sysdeps/microblaze/dl-machine.h: Likewise.
13185 * sysdeps/mips/dl-machine.: Likewise.
13186 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13187 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13188 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13189 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13190 * sysdeps/sh/dl-machine.h: Likewise.
13191 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13192 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13193 * sysdeps/tile/dl-machine.h: Likewise.
13194 * sysdeps/x86_64/dl-machine.h: Likewise.
13196 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13198 (verify_persistent_db): Likewise.
13200 2014-06-26 Roland McGrath <roland@hack.frob.com>
13202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13203 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13205 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13208 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13211 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13213 Identical file removed.
13214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13215 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13217 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13219 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13221 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13223 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13226 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13228 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13230 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13233 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13235 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13237 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13239 Identical file removed.
13240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13241 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13243 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13246 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13249 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13251 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13253 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13255 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13257 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13260 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13263 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13265 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13268 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13270 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13272 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13274 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13275 * sysdeps/unix/sysv/linux/s390/Versions
13276 (libpthread: GLIBC_2.19): New version set.
13277 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13278 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13279 (librt: GLIBC_2.3.3): New version set.
13280 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13281 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13282 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13283 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13284 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13285 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13286 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13287 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13288 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13289 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13290 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13291 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13292 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13293 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13294 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13295 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13296 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13297 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13298 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13299 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13300 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13301 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13302 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13303 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13304 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13305 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13306 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13307 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13308 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13309 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13310 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13311 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13316 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13317 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13318 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13319 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13320 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13322 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13324 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13326 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13327 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13328 (__libc_vfork): Define the function under this name.
13329 [!NOT_IN_libc] (__vfork): Make this an alias.
13330 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13332 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13333 (__libc_vfork): Define the function under this name.
13334 [!NOT_IN_libc] (__vfork): Make this an alias.
13335 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13336 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13337 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13339 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13340 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13342 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13343 code that was previously under [RESET_PID].
13344 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13345 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13346 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13348 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13349 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13350 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13351 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13352 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13353 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13354 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13355 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13356 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13357 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13358 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13360 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13361 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13362 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13363 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13364 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13365 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13366 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13367 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13368 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13369 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13370 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13371 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13372 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13373 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13374 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13375 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13376 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13377 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13378 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13379 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13380 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13381 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13382 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13383 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13384 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13385 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13386 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13388 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13390 2014-06-25 Roland McGrath <roland@hack.frob.com>
13392 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13393 that was previously under [RESET_PID].
13394 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13396 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13398 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13399 not undefine and redefine.
13400 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13401 [O_CLOEXEC]: Make code unconditional.
13402 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13403 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13404 <kernel-features.h>.
13405 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13406 conditional variable definition.
13407 (shm_open) [O_CLOEXEC]: Make code unconditional.
13408 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13411 * configure.ac (USE_REGPARMS): Don't define here.
13412 * configure: Regenerated.
13413 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13414 * sysdeps/i386/configure: Regenerated.
13416 * nptl/createthread.c: Don't include kernel-features.h.
13417 * nptl/pthread_cancel.c: Likewise.
13418 * nptl/pthread_condattr_setclock.c: Likewise.
13419 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13420 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13421 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13422 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13423 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13424 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13425 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13426 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13428 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13429 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13430 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13431 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13432 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13433 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13434 * nscd/gai.c: Likewise.
13435 * nss/nss_db/db-open.c: Likewise.
13436 * sysdeps/generic/ldsodefs.h: Likewise.
13437 * sysdeps/sh/nptl/tls.h: Likewise.
13438 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13439 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13440 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13441 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13442 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13443 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13444 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13445 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13447 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13448 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13449 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13450 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13451 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13452 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13453 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13454 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13455 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13456 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13457 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13458 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13459 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13460 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13461 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13462 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13463 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13464 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13465 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13466 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13467 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13468 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13469 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13470 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13471 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13472 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13473 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13474 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13475 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13476 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13477 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13478 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13479 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13480 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13481 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13482 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13483 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13484 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13485 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13486 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13487 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13488 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13489 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13490 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13491 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13492 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13493 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13494 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13495 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13518 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13519 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13520 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13521 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13522 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13523 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13524 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13525 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13526 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13527 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13528 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13529 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13530 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13531 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13532 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13533 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13534 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13535 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13536 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13537 * sysdeps/unix/sysv/linux/system.c: Likewise.
13538 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13539 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13540 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13541 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13542 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13543 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13544 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13546 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13547 * configure: Regenerated.
13548 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13550 * configure.ac (base_machine): Do not set specially for particular
13552 * configure: Regenerated.
13553 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13554 settings from configure.ac.
13555 * sysdeps/i386/preconfigure: New file.
13556 * sysdeps/s390/preconfigure: Likewise.
13557 * sysdeps/sh/preconfigure: Likewise.
13558 * sysdeps/sparc/preconfigure: Likewise.
13560 2014-06-25 Roland McGrath <roland@hack.frob.com>
13562 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13563 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13564 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13565 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13566 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13567 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13568 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13569 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13570 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13571 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13572 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13573 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13574 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13575 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13576 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13577 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13578 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13579 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13580 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13582 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13583 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13584 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13585 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13586 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13587 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13588 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13589 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13590 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13591 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13592 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13593 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13594 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13595 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13596 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13597 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13598 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13599 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13600 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13601 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13602 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13603 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13604 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13605 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13607 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13608 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13609 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13610 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13611 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13612 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13613 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13614 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13615 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13616 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13617 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13618 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13619 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13622 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13624 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13627 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13630 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13632 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13635 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13637 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13639 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13644 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13647 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13649 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13652 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13654 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13656 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13658 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13660 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13663 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13666 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13668 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13671 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13673 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13675 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13677 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13680 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13683 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13685 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13688 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13690 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13692 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13694 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13696 * timezone/checktab.awk: Update from tzcode 2014e.
13697 * timezone/private.h: Likewise.
13698 * timezone/tzfile.h: Likewise.
13699 * timezone/zdump.c: Likewise.
13700 * timezone/zic.c: Likewise.
13702 * sysdeps/unix/sysv/linux/kernel-features.h
13703 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13704 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13705 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13706 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13707 Remove conditional code.
13709 2014-06-25 Will Newton <will.newton@linaro.org>
13711 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13712 (_dl_arm_cap_flags): Add HWCAP2 values.
13713 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13714 (_DL_HWCAP_COUNT): Increase to 37.
13715 (_DL_HWCAP_LAST): New define.
13716 (_DL_HWCAP2_LAST): New define.
13717 (_dl_procinfo): Add support for printing
13719 (_dl_string_hwcap): Use _dl_hwcap_string.
13721 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13725 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13727 * README: Do not mention ports directory.
13729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13731 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13732 <kernel-features.h>.
13733 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13734 conditional variable definition.
13735 (__futimes): Update comment.
13736 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13737 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13740 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13741 arguments close to 0.
13742 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13744 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13746 * math/auto-libm-test-in: Add more tests of exp10.
13747 * math/auto-libm-test-out: Regenerated.
13748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13750 * sysdeps/unix/sysv/linux/kernel-features.h
13751 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13752 * sysdeps/unix/sysv/linux/readv.c: Do not include
13753 <kernel-features.h>.
13754 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13755 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13756 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13758 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13760 * sysdeps/unix/sysv/linux/writev.c: Do not include
13761 <kernel-features.h>.
13762 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13763 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13764 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13766 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13769 2014-06-25 Will Newton <will.newton@linaro.org>
13771 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13772 comment changes throughout the file. Remove checks
13773 for HAVE_*_H definitions that are not required.
13774 (__gen_tempname): Call abort if an unknown kind value is
13777 2014-06-25 Andreas Schwab <schwab@suse.de>
13780 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13781 scalbln, scalblnf, scalblnl in libc.
13783 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13786 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13787 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13788 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13790 2014-06-24 Roland McGrath <roland@hack.frob.com>
13792 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13793 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13794 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13795 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13797 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13798 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13800 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13801 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13802 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13803 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13804 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13805 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13806 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13807 * sysdeps/x86/bits/semaphore.h: ... here.
13808 * sysdeps/x86/nptl/elide.h: Moved ...
13809 * sysdeps/x86/elide.h: ... here.
13810 * sysdeps/x86_64/nptl/Implies: File removed.
13811 * sysdeps/i386/nptl/Implies: File removed.
13813 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13816 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13817 return the argument for normal arguments with exponent below -64.
13818 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13820 * math/auto-libm-test-in: Add another test of expm1.
13821 * math/auto-libm-test-out: Regenerated.
13824 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13825 calling __erfcl for arguments at least 16.
13826 * math/auto-libm-test-in: Add more tests of erf.
13827 * math/auto-libm-test-out: Regenerated.
13829 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13830 individual architectures.
13831 * sysdeps/unix/sysv/linux/configure: Regenerated.
13832 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13833 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13834 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13835 (ldd_rewrite_script): Define variable.
13836 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13841 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13842 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13843 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13844 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13845 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13846 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13847 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13848 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13850 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13853 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13854 Rename member __data.d to __data.__elision_data.
13856 2014-06-24 Wilco <wdijkstr@arm.com>
13858 * NEWS: Add 16918 to fixed bug list.
13860 2014-06-24 Wilco <wdijkstr@arm.com>
13862 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13864 2014-06-24 Wilco <wdijkstr@arm.com>
13866 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13867 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13868 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13869 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13870 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13871 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13872 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13875 2014-06-24 Wilco <wdijkstr@arm.com>
13877 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13879 2014-06-24 Wilco <wdijkstr@arm.com>
13881 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13882 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13883 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13884 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13886 2014-06-24 Wilco <wdijkstr@arm.com>
13889 * sysdeps/arm/feupdateenv.c (feupdateenv):
13890 Rewrite to reduce FPSCR accesses and fix return value.
13892 2014-06-24 Wilco <wdijkstr@arm.com>
13894 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13895 Optimize to avoid unnecessary FPSCR writes.
13896 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13897 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13898 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13899 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13901 2014-06-24 Wilco <wdijkstr@arm.com>
13903 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13904 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13905 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13906 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13907 Call libc_fetestexcept_vfp.
13908 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13909 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13910 __SOFTFP__ ifdef so that they can be built for softfp.
13912 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13914 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13915 argument type signed char.
13917 * Makerules (check-abi): Dump diff of symlist if the test
13920 2014-06-23 Roland McGrath <roland@hack.frob.com>
13922 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13925 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13926 Remove unused variable ST.
13928 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13932 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13933 small arguments before calling __expm1.
13934 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13935 small arguments before calling __expm1f.
13936 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13937 small arguments before calling __expm1l.
13938 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13940 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13941 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13942 spurious underflow for some cosh tests.
13943 * math/auto-libm-test-out: Regenerated.
13944 * sysdeps/i386/fpu/libm-test-ulps: Update.
13947 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13948 (__ieee754_y1): Set errno if return value overflows.
13949 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13950 (__ieee754_y1f): Set errno if return value overflows.
13951 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13952 (__ieee754_y1l): Set errno if return value overflows.
13953 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13954 (__ieee754_y1l): Set errno if return value overflows.
13955 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13956 * math/auto-libm-test-out: Regenerated.
13958 * math/gen-auto-libm-tests.c: Document use of
13959 ignore-zero-inf-sign.
13960 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13961 (input_flags): Add ignore-zero-inf-sign.
13962 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13963 * math/gen-libm-test.pl (generate_testfile): Handle
13964 ignore-zero-inf-sign.
13965 * math/auto-libm-test-in: Mark some cpow tests with
13966 ignore-zero-inf-sign and some with xfail-rounding.
13967 * math/auto-libm-test-out: Regenerated.
13968 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13969 * sysdeps/i386/fpu/libm-test-ulps: Update.
13970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13973 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13974 overflowing or underflowing operations take place with sign of
13976 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13977 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13978 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13979 (__ieee754_pow): Recompute overflowing and underflowing results in
13980 original rounding mode.
13981 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13982 (__powl_helper): Allow negative argument X and scale negated value
13983 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13984 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13985 overflowing or underflowing operations take place with sign of
13987 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13989 * math/auto-libm-test-in: Add more tests of pow.
13990 * math/auto-libm-test-out: Regenerated.
13991 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13992 (pow_tonearest_test_data): Remove.
13993 (pow_test_tonearest): Likewise.
13994 (pow_towardzero_test_data): Likewise.
13995 (pow_test_towardzero): Likewise.
13996 (pow_downward_test_data): Likewise.
13997 (pow_test_downward): Likewise.
13998 (pow_upward_test_data): Likewise.
13999 (pow_test_upward): Likewise.
14000 (main): Don't call removed functions.
14001 * sysdeps/i386/fpu/libm-test-ulps: Update.
14002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14004 2014-06-23 Roland McGrath <roland@hack.frob.com>
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14180 2014-06-23 Will Newton <will.newton@linaro.org>
14181 Wilco <wdijkstr@arm.com>
14183 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14184 implementation. Include get-rounding-mode.h.
14185 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14186 [!libc_feholdsetround_noex_ctx]: Define
14187 libc_feholdsetround_noex_ctx.
14188 [!libc_feholdsetround_noexf_ctx]: Define
14189 libc_feholdsetround_noexf_ctx.
14190 [!libc_feholdsetround_noexl_ctx]: Define
14191 libc_feholdsetround_noexl_ctx.
14192 (libc_feholdsetround_ctx): New function.
14193 (libc_feresetround_ctx): New function.
14194 (libc_feholdsetround_noex_ctx): New function.
14195 (libc_feresetround_noex_ctx): New function.
14197 2014-06-23 Roland McGrath <roland@hack.frob.com>
14199 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14200 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14201 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14202 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14203 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14204 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14206 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14207 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14208 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14209 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14210 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14211 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14213 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14215 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14218 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14220 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14221 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14222 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14223 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14226 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14228 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14229 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14230 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14232 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14235 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14238 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14239 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14240 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14241 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14243 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14244 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14245 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14246 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14247 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14248 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14249 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14251 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14252 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14254 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14257 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14259 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14261 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14262 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14263 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14264 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14265 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14266 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14267 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14270 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14271 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14273 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14274 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14277 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14278 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14279 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14280 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14281 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14283 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14284 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14286 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14287 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14288 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14289 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14290 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14292 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14293 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14294 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14295 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14296 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14297 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14298 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14299 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14300 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14301 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14302 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14303 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14304 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14305 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14306 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14307 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14308 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14309 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14310 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14312 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14315 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14316 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14317 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14318 (IPV6_PMTUDISC_INTERFACE): Likewise.
14319 (IPV6_PMTUDISC_OMIT): Likewise.
14321 2014-06-23 Andreas Schwab <schwab@suse.de>
14323 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14324 Remove unused errout label.
14326 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14328 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14329 macro: hardware supports Vector Crypto instructions.
14331 2014-06-23 Will Newton <will.newton@linaro.org>
14333 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14334 rather than __builtin_expect.
14336 * elf/dl-lookup.c (undefined_msg): Remove variable.
14337 (_dl_lookup_symbol_x): Replace undefined_msg with string
14340 * elf/dl-lookup.c (do_lookup_unique): New function.
14341 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14342 to a separate function.
14344 2014-06-23 Andreas Schwab <schwab@suse.de>
14347 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14348 before reading the next line.
14350 2014-06-23 Will Newton <will.newton@linaro.org>
14352 * test-skeleton.c (signal_handler): Use printf and %m
14353 rather than perror. Use printf rather than fprintf to
14354 stderr. Use puts rather than fputs to stderr.
14357 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14359 * nscd/nscd.c (thread_info_t): Remove typedef.
14360 (thread_info): Remove variable.
14362 2014-06-21 Allan McRae <allan@archlinux.org>
14364 * NEWS: Mention CVE-2014-4043.
14366 2014-06-20 Roland McGrath <roland@hack.frob.com>
14368 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14369 * nptl/smp.h: ... here.
14371 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14373 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14374 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14375 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14376 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14378 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14379 * nptl/stack-aliasing.h: New file.
14380 * sysdeps/i386/i686/stack-aliasing.h: New file.
14381 * sysdeps/i386/i686/nptl/Makefile: File removed.
14382 * sysdeps/x86_64/stack-aliasing.h: New file.
14383 * sysdeps/x86_64/nptl/Makefile
14384 (CFLAGS-pthread_create.c): Variable removed.
14386 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14387 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14389 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14390 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14393 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14395 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14396 (__ASSUME_SIGFRAME_V2): Remove macro.
14397 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14398 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14399 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14400 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14401 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14402 Declare as function. Remove conditional macro definitions.
14403 (__default_rt_sa_restorer): Likewise.
14404 (__default_sa_restorer_v1): Remove declaration.
14405 (__default_sa_restorer_v2): Likewise.
14406 (__default_rt_sa_restorer_v1): Likewise.
14407 (__default_rt_sa_restorer_v2): Likewise.
14408 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14409 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14410 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14412 2014-06-20 Roland McGrath <roland@hack.frob.com>
14414 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14415 (libpthread-routines): Add sysdep.
14416 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14417 * sysdeps/unix/sysv/linux/sparc/Versions
14418 (libpthread: GLIBC_2.3.3): New version set.
14419 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14420 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14421 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14422 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14423 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14424 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14426 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14427 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14428 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14429 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14430 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14431 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14432 * sysdeps/sparc/nptl/sem_init.c: ... here.
14433 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14434 * sysdeps/sparc/nptl/sem_post.c: ... here.
14435 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14436 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14437 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14438 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14439 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14440 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14441 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14442 (libpthread-routines): Add cpu_relax.
14443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14445 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14446 (librt: GLIBC_2.3.3): New version set.
14447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14448 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14449 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14450 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14453 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14456 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14458 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14460 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14462 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14464 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14467 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14471 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14475 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14479 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14483 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14487 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14490 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14496 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14498 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14501 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14503 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14505 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14507 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14509 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14510 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14511 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14512 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14513 * nscd/nscd.c: Likewise.
14514 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14515 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14516 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14517 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14519 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14520 <kernel-features.h>.
14521 (init_mq_netlink): Remove conditional have_sock_cloexec
14522 definitions. Remove code conditional on have_sock_cloexec < 0.
14523 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14524 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14525 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14526 <kernel-features.h>.
14527 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14528 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14530 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14533 Add tests for memset_chk and memset.
14535 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14538 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14541 * elf/tst-dl-iter-static.c: New file.
14542 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14544 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14547 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14549 * sysdeps/unix/sysv/linux/kernel-features.h
14550 (__ASSUME_F_GETOWN_EX): Remove macro.
14551 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14552 <kernel-features.h>.
14553 (miss_F_GETOWN_EX): Remove variable or macro.
14554 (do_fcntl): Do not check miss_F_GETOWN_EX.
14555 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14559 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14560 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14561 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14563 * sysdeps/unix/sysv/linux/kernel-features.h
14564 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14565 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14566 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14567 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14569 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14572 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14573 Fix calculation of the symbol's value.
14574 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14575 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14576 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14577 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14578 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14579 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14580 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14581 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14582 (modules-names): Add `tst-armtlsdescmod',
14583 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14584 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14585 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14586 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14587 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14588 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14589 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14590 ($(objpfx)tst-armtlsdescloc): New dependency.
14591 ($(objpfx)tst-armtlsdescextnow): Likewise.
14592 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14593 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14594 TLS scheme support.
14595 * sysdeps/arm/configure: Regenerate.
14597 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14599 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14600 (__atfct_seterrno_2): Likewise.
14601 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14602 <kernel-features.h>.
14603 (__ASSUME_ATFCTS): Do not undefine and redefine.
14604 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14605 (__have_atfcts): Remove conditional definition.
14606 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14607 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14608 unreachable if [__ASSUME_ATFCTS].
14609 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14610 not undefine and redefine.
14611 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14612 <kernel-features.h>.
14613 (faccessat) [__NR_faccessat]: Make code unconditional.
14614 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14615 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14616 <kernel-features.h>.
14617 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14618 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14619 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14620 <kernel-features.h>.
14621 (fchownat) [__NR_fchownat]: Make code unconditional.
14622 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14623 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14624 <kernel-features.h>.
14625 (futimesat) [__NR_futimesat]: Make code unconditional.
14626 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14627 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14628 <kernel-features.h>.
14629 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14630 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14631 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14632 <kernel-features.h>.
14633 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14634 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14635 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14636 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14637 <kernel-features.h>.
14638 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14639 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14640 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14641 <kernel-features.h>.
14642 (linkat) [__NR_linkat]: Make code unconditional.
14643 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14644 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14645 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14646 <kernel-features.h>.
14647 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14648 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14649 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14650 <kernel-features.h>.
14651 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14652 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14653 * sysdeps/unix/sysv/linux/openat.c: Do not include
14654 <kernel-features.h>.
14655 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14656 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14657 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14658 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14659 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14660 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14661 <kernel-features.h>.
14662 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14663 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14664 result of INLINE_SYSCALL directly, not via int variable.
14665 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14666 <kernel-features.h>.
14667 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14668 (renameat) [__NR_renameat]: Make code unconditional.
14669 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14670 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14671 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14672 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14673 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14674 (__ASSUME_ATFCTS): Do not undefine and redefine.
14675 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14676 <kernel-features.h>.
14677 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14678 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14679 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14680 <kernel-features.h>.
14681 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14682 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14683 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14684 (__ASSUME_ATFCTS): Do not undefine and redefine.
14685 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14686 <kernel-features.h>.
14687 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14688 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14689 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14690 <kernel-features.h>.
14691 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14692 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14694 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14696 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14698 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14701 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14702 constructed tree before returning error.
14703 * posix/bug-regexp36.c: Expand test case.
14705 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14708 * math/libm-test.inc (scalbln_test_date):
14709 Add errno expectations.
14710 * math/w_scalblnf.c: New File.
14711 Add wrapper which checks for setting errno to ERANGE.
14712 Add weak_alias for corresponding scalbln function.
14713 * math/w_scalbln.c: Likewise.
14714 * math/w_scalblnl.c: Likewise.
14715 * math/Makefile (libm-calls): Add w_scalbln.
14716 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14717 Remove weak_alias for corresponding scalbln function.
14718 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14722 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14723 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14724 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14725 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14726 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14727 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14728 Remove long_double_symbol for scalblnl function in libm, libc.
14729 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14730 Add wrapper which checks for setting errno to ERANGE.
14731 Add long_double_symbol for scalblnl function in libm, libc.
14732 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14733 Remove long_double_symbol for scalblnl in libm.
14734 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14735 Add wrapper which checks for setting errno to ERANGE.
14736 Add long_double_symbol for scalblnl function in libm.
14737 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14738 Do not use wrapper because of own implementation.
14740 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14742 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14743 3 bytes for __pad1 for x32.
14744 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14746 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14747 H.J. Lu <hongjiu.lu@intel.com>
14749 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14750 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14751 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14752 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14753 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14755 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14758 * posix/regcomp.c (parse_expression): Deallocate partially
14759 constructed tree before returning error.
14760 * posix/Makefile.c (tests): Add bug-regex36.
14761 (generated): Add bug-regex36.mtrace.
14762 (tests-special): Add $(objpfx)bug-regex36-mem.out
14763 (bug-regex36-ENV): New variable.
14764 ($(objpfx)bug-regex36-mem.out): New rule.
14765 * posix/bug-regex36.c: New file.
14767 2014-06-19 Will Newton <will.newton@linaro.org>
14769 * malloc/malloc.c (systrim): If extra is zero then return
14772 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14774 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14776 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
14778 * sysdeps/aarch64/strchr.S: New file.
14780 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14783 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14784 from arguments -2 or below.
14785 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14786 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14788 2014-06-18 Andreas Schwab <schwab@suse.de>
14791 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14792 of a bracket expr not to run off the end of the string.
14793 * posix/Makefile (tests): Add tst-fnmatch3.
14794 * posix/tst-fnmatch3.c: New file.
14796 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14798 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14799 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14800 [$(cross-compiling) = no]: Likewise.
14801 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14802 [$(cross-compiling) = no]: Likewise.
14804 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14808 double, adjusted for any remainder from the high double.
14809 * math/libm-test.inc (nearbyint): Add tests.
14812 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14814 * nptl/sysdeps/powerpc/Makefile: Moved ...
14815 * sysdeps/powerpc/nptl/Makefile: ... here.
14816 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14817 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14818 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14819 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14820 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14821 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14822 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14823 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14824 * nptl/sysdeps/powerpc/tls.h: Moved ...
14825 * sysdeps/powerpc/nptl/tls.h: ... here.
14827 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14830 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14831 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14832 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14833 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14834 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14835 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14836 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14837 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14838 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14840 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14842 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14844 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14846 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14849 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14852 2014-06-16 Florian Weimer <fweimer@redhat.com>
14855 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14856 non-executed part of the test.
14858 2014-06-16 Andreas Schwab <schwab@suse.de>
14860 * string/bits/string2.h (strdup, strndup): Update feature guard.
14862 2014-06-14 David S. Miller <davem@davemloft.net>
14864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14866 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14868 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14869 that was previously under [RESET_PID].
14870 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14872 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14873 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14874 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14875 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14876 (__libc_vfork): New strong alias.
14877 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14879 2014-06-14 Andi Kleen <ak@linux.intel.com>
14881 * sysdeps/generic/elide.h: New file.
14883 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14885 * Makefile (installed-headers): Adjust path of pthread.h header.
14887 2014-06-13 Roland McGrath <roland@hack.frob.com>
14889 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14890 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14891 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14892 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14894 * nptl/sysdeps/s390/Makefile: Moved ...
14895 * sysdeps/s390/nptl/Makefile: ... here.
14896 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14897 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14898 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14899 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14900 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14901 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14902 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14903 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14904 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14905 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14906 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14907 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14908 * nptl/sysdeps/s390/tls.h: Moved ...
14909 * sysdeps/s390/nptl/tls.h: ... here.
14911 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14912 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14914 2014-06-13 David S. Miller <davem@davemloft.net>
14916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14919 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14923 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14924 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14925 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14926 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14927 Remove RESET_PID cpp guards.
14928 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14929 Remove RESET_PID cpp guards.
14930 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14932 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14934 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14937 2014-06-13 Andi Kleen <ak@linux.intel.com>
14939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14940 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14941 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14942 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14943 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14946 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14947 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14948 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14949 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14950 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14951 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14952 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14953 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14956 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14957 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14958 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14960 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14961 (pthread_rwlock_rdlock): Add elision.
14962 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14963 (pthread_rwlock_wrlock): Add elision.
14964 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14965 (pthread_rwlock_trywrlock): Add elision.
14966 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14967 (pthread_rwlock_tryrdlock): Add elision.
14968 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14969 (pthread_rwlock_tryrdlock): Add elision unlock.
14970 * nptl/sysdeps/pthread/pthread.h:
14971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14972 (PTHREAD_RWLOCK_INITIALIZER,
14973 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14974 Handle new elision field.
14975 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14976 * sysdeps/arm/nptl/bits/pthreadtypes.h
14977 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14978 * sysdeps/sh/nptl/bits/pthreadtypes.h
14979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14980 * sysdeps/tile/nptl/bits/pthreadtypes.h
14981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14982 * sysdeps/a/nptl/bits/pthreadtypes.h
14983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14984 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14986 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14988 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14990 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14992 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14994 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14995 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14996 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14997 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14998 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14999 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15000 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15001 (elision_init): Set try_xbegin to zero when no RTM.
15002 * sysdeps/x86/nptl/bits/pthreadtypes.h
15003 (pthread_rwlock_t): Change __pad1 to __rwelision.
15004 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15006 2014-06-13 Andi Kleen <ak@linux.intel.com>
15008 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15009 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15010 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15011 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15013 2014-06-13 Meador Inge <meadori@codesourcery.com>
15016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15017 that the cached result has been set before returning it.
15019 2014-06-12 Roland McGrath <roland@hack.frob.com>
15021 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15022 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15023 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15024 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15025 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15026 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15028 * nptl/sysdeps/sparc/Makefile: Moved ...
15029 * sysdeps/sparc/nptl/Makefile: ... here.
15030 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15031 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15032 * nptl/sysdeps/sparc/tls.h: Moved ...
15033 * sysdeps/sparc/nptl/tls.h: ... here.
15034 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15035 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15036 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15037 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15038 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15039 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15040 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15041 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15042 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15043 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15044 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15045 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15046 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15047 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15048 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15049 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15050 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15051 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15053 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15056 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15057 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15059 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15060 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15063 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15065 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15066 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15068 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15069 (struct list_links): Type removed.
15070 (struct thread_node, struct timer_node): Replace struct list_links
15071 with struct list_head.
15072 (list_unlink_ip): Likewise.
15073 * sysdeps/pthread/timer_routines.c
15074 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15075 (list_append, list_insbefore): Likewise.
15076 (list_init): Function removed.
15077 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15078 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15079 * sysdeps/pthread/Makefile: ... here, new file.
15081 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15082 * sysdeps/nptl/Implies: ... here.
15083 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15084 * nptl/sysdeps/pthread/list.h: Moved ...
15085 * include/list.h: ... here.
15086 * nptl/sysdeps/pthread/createthread.c: Moved ...
15087 * nptl/createthread.c: ... here.
15088 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15089 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15090 * nptl/pt-longjmp.c: ... here.
15091 * nptl/sysdeps/pthread/Makefile: Moved ...
15092 * sysdeps/nptl/Makefile: ... here.
15093 * nptl/sysdeps/pthread/Subdirs: Moved ...
15094 * sysdeps/nptl/Subdirs: ... here.
15095 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15096 * sysdeps/nptl/aio_misc.h: ... here.
15097 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15098 * sysdeps/nptl/bits/libc-lock.h: ... here.
15099 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15100 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15101 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15102 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15103 * nptl/sysdeps/pthread/configure: Moved ...
15104 * sysdeps/nptl/configure: ... here.
15105 * nptl/sysdeps/pthread/configure.ac: Moved ...
15106 * sysdeps/nptl/configure.ac: ... here.
15107 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15108 * sysdeps/nptl/gai_misc.h: ... here.
15109 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15110 * sysdeps/nptl/librt-cancellation.c: ... here.
15111 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15112 * sysdeps/nptl/malloc-machine.h: ... here.
15113 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15114 * sysdeps/nptl/pthread-functions.h: ... here.
15115 * nptl/sysdeps/pthread/pthread.h: Moved ...
15116 * sysdeps/nptl/pthread.h: ... here.
15117 * nptl/sysdeps/pthread/setxid.h: Moved ...
15118 * sysdeps/nptl/setxid.h: ... here.
15119 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15120 * sysdeps/nptl/sigfillset.c: ... here.
15121 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15122 * sysdeps/nptl/tcb-offsets.h: ... here.
15123 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15124 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15125 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15126 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15127 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15128 * sysdeps/pthread/allocalim.h: ... here.
15129 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15130 * sysdeps/pthread/bits/sigthread.h: ... here.
15131 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15132 * sysdeps/pthread/flockfile.c: ... here.
15133 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15134 * sysdeps/pthread/ftrylockfile.c: ... here.
15135 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15136 * sysdeps/pthread/funlockfile.c: ... here.
15137 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15138 * sysdeps/pthread/posix-timer.h: ... here.
15139 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15140 * sysdeps/pthread/timer_create.c: ... here.
15141 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15142 * sysdeps/pthread/timer_delete.c: ... here.
15143 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15144 * sysdeps/pthread/timer_getoverr.c: ... here.
15145 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15146 * sysdeps/pthread/timer_gettime.c: ... here.
15147 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15148 * sysdeps/pthread/timer_routines.c: ... here.
15149 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15150 * sysdeps/pthread/timer_settime.c: ... here.
15151 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15152 * sysdeps/pthread/tst-timer.c: ... here.
15153 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15154 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15156 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15157 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15159 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15160 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15161 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15162 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15163 Update #include target.
15164 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15165 * sysdeps/i386/i686/nptl/Makefile: ... here.
15166 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15167 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15168 Update #include target.
15169 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15170 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15171 * nptl/sysdeps/i386/Makefile: Moved ...
15172 * sysdeps/i386/nptl/Makefile: ... here.
15173 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15174 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15175 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15176 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15177 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15178 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15179 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15180 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15181 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15182 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15183 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15184 * nptl/sysdeps/i386/tls.h: Moved ...
15185 * sysdeps/i386/nptl/tls.h: ... here.
15187 * sysdeps/sh/Makefile [$(subdir) = csu]
15188 (gen-as-const-headers): Add tcb-offsets.sym.
15189 * nptl/sysdeps/sh/Makefile: File removed.
15190 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15191 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15192 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15193 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15194 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15195 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15196 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15197 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15198 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15199 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15200 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15201 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15202 * nptl/sysdeps/sh/tls.h: Moved ...
15203 * sysdeps/sh/nptl/tls.h: ... here.
15204 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15205 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15206 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15207 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15208 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15209 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15210 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15211 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15212 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15213 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15215 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15216 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15217 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15218 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15219 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15220 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15221 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15222 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15223 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15224 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15225 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15227 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15230 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15231 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15233 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15234 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15235 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15236 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15237 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15238 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15239 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15240 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15241 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15242 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15243 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15244 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15245 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15246 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15247 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15248 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15249 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15250 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15251 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15253 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15255 * posix/spawn_faction_addopen.c: Include string.h.
15257 2014-06-11 Roland McGrath <roland@hack.frob.com>
15259 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15260 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15261 * nptl/sysdeps/x86_64/Makefile: Moved ...
15262 * sysdeps/x86_64/nptl/Makefile: ... here.
15263 * nptl/sysdeps/x86_64/configure: Moved ...
15264 * sysdeps/x86_64/nptl/configure: ... here.
15265 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15266 * sysdeps/x86_64/nptl/configure.ac: ... here.
15267 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15268 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15269 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15270 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15271 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15272 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15273 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15274 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15275 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15276 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15277 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15278 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15279 * nptl/sysdeps/x86_64/tls.h: Moved ...
15280 * sysdeps/x86_64/nptl/tls.h: ... here.
15281 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15282 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15283 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15284 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15286 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15288 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15292 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15294 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15296 [POSIX] (off_t): Likewise.
15297 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15298 [POSIX] (S_ISBLK): Require macro.
15299 [POSIX] (S_ISCHR): Likewise.
15300 [POSIX] (S_ISDIR): Likewise.
15301 [POSIX] (S_ISFIFO): Likewise.
15302 [POSIX] (S_ISREG): Likewise.
15303 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15305 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15307 [POSIX] (time_t): Likewise.
15308 [POSIX] (timer_t): Likewise.
15310 2014-06-11 Florian Weimer <fweimer@redhat.com>
15313 * posix/spawn_int.h (struct __spawn_action): Make the path string
15314 non-const to support deallocation.
15315 * posix/spawn_faction_addopen.c
15316 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15317 * posix/spawn_faction_destroy.c
15318 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15319 path in all spawn_do_open actions.
15320 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15321 posix_spawn_file_actions_addopen.
15323 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15325 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15326 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15327 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15328 conditional code always true.
15329 (__libc_vfork): New alias.
15331 2014-06-11 Roland McGrath <roland@hack.frob.com>
15333 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15334 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15336 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15338 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15339 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15341 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15342 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15344 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15345 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15347 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15349 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15350 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15351 multiarch strcmp for PPC64.
15352 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15353 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15355 multiarch optimizations.
15356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15357 (__libc_ifunc_impl_list): Likewise.
15359 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15361 * benchtests/scripts/validate_benchout.py: New script.
15362 * benchtests/Makefile (bench-func): Call it.
15363 * benchtests/scripts/benchout.schema.json: New file.
15365 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15367 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15368 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15369 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15370 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15371 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15372 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15373 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15374 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15375 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15376 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15377 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15378 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15379 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15380 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15381 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15382 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15487 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15488 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15489 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15490 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15492 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15495 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15496 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15497 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15499 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15501 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15502 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15503 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15504 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15505 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15508 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15511 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15512 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15513 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15514 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15516 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15517 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15518 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15519 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15520 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15521 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15522 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15524 2014-06-10 Wilco <wdijkstr@arm.com>
15526 * math/test-fenv-return.c: New file.
15527 * math/Makefile: Add new test test-fenv-return.
15529 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15532 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15533 when x - 1 is zero.
15534 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15535 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15536 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15537 0.0L for an argument of 1.0L.
15538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15540 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15541 value when x - 1 is zero.
15542 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15543 * sysdeps/i386/fpu/libm-test-ulps: Update.
15544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15546 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15549 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15551 2014-06-09 Roland McGrath <roland@hack.frob.com>
15553 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15554 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15556 2014-06-09 Roland McGrath <roland@hack.frob.com>
15558 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15559 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15561 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15562 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15564 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15565 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15567 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15568 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15570 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15571 if not already defined.
15572 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15573 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15574 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15575 (TLS_INIT_TP): Use it.
15576 (TLS_DEFINE_INIT_TP): New macro.
15577 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15579 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15581 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15583 [POSIX] (IXANY): Likewise.
15584 [POSIX] (OLCUC): Likewise.
15585 [POSIX || POSIX2008] (CBAUD): Do not allow.
15586 [POSIX || POSIX2008] (DEFECHO): Likewise.
15587 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15588 [POSIX || POSIX2008] (ECHOKE): Likewise.
15589 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15590 [POSIX || POSIX2008] (EXTA): Likewise.
15591 [POSIX || POSIX2008] (EXTB): Likewise.
15592 [POSIX || POSIX2008] (FLUSHO): Likewise.
15593 [POSIX || POSIX2008] (LOBLK): Likewise.
15594 [POSIX || POSIX2008] (PENDIN): Likewise.
15595 [POSIX || POSIX2008] (SWTCH): Likewise.
15596 [POSIX || POSIX2008] (VDISCARD): Likewise.
15597 [POSIX || POSIX2008] (VDSUSP): Likewise.
15598 [POSIX || POSIX2008] (VLNEXT): Likewise.
15599 [POSIX || POSIX2008] (VREPRINT): Likewise.
15600 [POSIX || POSIX2008] (VSTATUS): Likewise.
15601 [POSIX || POSIX2008] (VWERASE): Likewise.
15602 (B*): Change to B[0123456789]*.
15603 * conform/data/time.h-data [POSIX || UNIX98]
15604 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15605 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15606 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15607 [POSIX] (tm_*): Do not allow.
15609 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15611 * Makefile (install): Don't set LANGUAGE.
15612 * Makefile.in (install): Likewise.
15613 * assert/Makefile (test-assert-ENV): Remove variable.
15614 (test-assert-perr-ENV): Likewise.
15615 * elf/Makefile (neededtest4-ENV): Likewise.
15616 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15617 [$(cross-compiling) = no]: Don't set LANGUAGE.
15618 * io/ftwtest-sh (LANG): Remove variable.
15619 * libio/Makefile (tst-widetext-ENV): Likewise.
15620 * manual/install.texi (Running make install): Don't refer to
15621 environment settings for make install.
15622 * INSTALL: Regenerated.
15623 * nptl/tst-tls6.sh: Don't set LANG.
15624 * posix/globtest.sh (LANG): Remove variable.
15625 * string/Makefile (tester-ENV): Likewise.
15626 (inl-tester-ENV): Likewise.
15627 (noinl-tester-ENV): Likewise.
15628 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15629 [$(cross-compiling) = no]: Don't set LANGUAGE.
15630 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15631 without explicit environment settings.
15633 2014-06-06 Roland McGrath <roland@hack.frob.com>
15635 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15636 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15637 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15638 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15640 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15642 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15643 other files in the crypt directory.
15644 * crypt/crypt.c: Remove duplicate includes.
15645 * crypt/crypt-entry.c: Likewise.
15646 * crypt/crypt_util.c: Likewise.
15648 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15650 * Makeconfig (run-program-env): New variable.
15651 (run-program-prefix-before-env): Likewise.
15652 (run-program-prefix-after-env): Likewise.
15653 (run-program-prefix): Define in terms of new variables.
15654 (built-program-cmd-before-env): New variable.
15655 (built-program-cmd-after-env): Likewise.
15656 (built-program-cmd): Define in terms of new variables.
15657 (test-program-prefix-before-env): New variable.
15658 (test-program-prefix-after-env): Likewise.
15659 (test-program-prefix): Define in terms of new variables.
15660 (test-program-cmd-before-env): New variable.
15661 (test-program-cmd-after-env): Likewise.
15662 (test-program-cmd): Define in terms of new variables.
15663 * Rules (make-test-out): Use $(run-program-env).
15664 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15665 (help): Do not mention environment variables. Mention
15666 --timeoutfactor option.
15667 (timeoutfactor): New variable.
15668 (blacklist_exports): Remove function.
15669 (exports): Remove variable.
15670 (command): Do not include ${exports}.
15671 * manual/install.texi (Configuring and compiling): Do not mention
15672 test wrappers preserving environment variables. Mention that last
15673 assignment to a variable must take precedence.
15674 * INSTALL: Regenerated.
15675 * benchtests/Makefile (run-bench): Use $(run-program-env).
15676 * catgets/Makefile ($(objpfx)test1.cat): Use
15677 $(built-program-cmd-before-env), $(run-program-env) and
15678 $(built-program-cmd-after-env).
15679 ($(objpfx)test2.cat): Do not specify environment variables
15681 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15682 $(run-program-env) and $(built-program-cmd-after-env).
15683 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15684 $(run-program-env) and $(test-program-cmd-after-env).
15685 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15687 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15688 run_program_env and test_program_cmd_after_env arguments.
15689 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15690 * elf/tst-pathopt.sh: Use run_program_env argument.
15691 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15692 $(test-wrapper-env) and $(run-program-env).
15693 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15694 run_program_env arguments.
15695 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15696 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15697 $(test-program-prefix-before-env), $(run-program-env) and
15698 $(test-program-prefix-after-env).
15699 ($(objpfx)tst-gettext2.out): Likewise.
15700 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15701 run_program_env and test_program_prefix_after_env arguments.
15702 * intl/tst-gettext2.sh: Likewise.
15703 * intl/tst-gettext4.sh: Do not set environment variables
15705 * intl/tst-gettext6.sh: Likewise.
15706 * intl/tst-translit.sh: Likewise.
15707 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15708 $(test-program-prefix-before-env), $(run-program-env) and
15709 $(test-program-prefix-after-env).
15710 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15711 run_program_env and test_program_prefix_after_env arguments.
15712 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15713 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15714 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15715 explicitly with each use of ${test_wrapper_env}.
15716 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15717 $(test-program-prefix-before-env), $(run-program-env) and
15718 $(test-program-prefix-after-env).
15719 * posix/tst-getconf.sh: Do not set environment variables
15721 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15722 run_program_env and test_program_prefix_after_env arguments.
15723 * stdio-common/tst-printf.sh: Do not set environment variables
15725 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15726 $(test-program-prefix-before-env), $(run-program-env) and
15727 $(test-program-prefix-after-env).
15728 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15729 run_program_env and test_program_prefix_after_env arguments.
15730 Split $test calls into $test_pre and $test.
15731 * timezone/Makefile (build-testdata): Use
15732 $(built-program-cmd-before-env), $(run-program-env) and
15733 $(built-program-cmd-after-env).
15735 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15737 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15738 strlen for non SHARED builds.
15740 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15742 * nptl/allocatestack.c (check_list): Inlined function...
15743 (__reclaim_stacks): ... here.
15745 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15748 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15751 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15753 * Rules (make-test-out): Include
15754 LOCPATH=$(common-objpfx)localedata in default environment.
15755 * debug/Makefile (tst-chk1-ENV): Remove variable.
15756 (tst-chk2-ENV): Likewise.
15757 (tst-chk3-ENV): Likewise.
15758 (tst-chk4-ENV): Likewise.
15759 (tst-chk5-ENV): Likewise.
15760 (tst-chk6-ENV): Likewise.
15761 (tst-lfschk1-ENV): Likewise.
15762 (tst-lfschk2-ENV): Likewise.
15763 (tst-lfschk3-ENV): Likewise.
15764 (tst-lfschk4-ENV): Likewise.
15765 (tst-lfschk5-ENV): Likewise.
15766 (tst-lfschk6-ENV): Likewise.
15767 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15768 (tst-iconv7-ENV): Likewise.
15769 * intl/Makefile (LOCPATH-ENV): Likewise.
15770 (tst-codeset-ENV): Likewise.
15771 (tst-gettext3-ENV): Likewise.
15772 (tst-gettext5-ENV): Likewise.
15773 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15774 (tst-fopenloc-ENV): Likewise.
15775 (tst-fgetws-ENV): Remove variable.
15776 (tst-ungetwc1-ENV): Likewise.
15777 (tst-ungetwc2-ENV): Likewise.
15778 (bug-ungetwc2-ENV): Likewise.
15779 (tst-swscanf-ENV): Likewise.
15780 (bug-ftell-ENV): Likewise.
15781 (tst-fgetwc-ENV): Likewise.
15782 (tst-fseek-ENV): Likewise.
15783 (tst-ftell-partial-wide-ENV): Likewise.
15784 (tst-ftell-active-handler-ENV): Likewise.
15785 (tst-ftell-append-ENV): Likewise.
15786 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15787 (tst-regexloc-ENV): Likewise.
15788 (bug-regex1-ENV): Likewise.
15789 (tst-regex-ENV): Likewise.
15790 (tst-regex2-ENV): Likewise.
15791 (bug-regex5-ENV): Likewise.
15792 (bug-regex6-ENV): Likewise.
15793 (bug-regex17-ENV): Likewise.
15794 (bug-regex18-ENV): Likewise.
15795 (bug-regex19-ENV): Likewise.
15796 (bug-regex20-ENV): Likewise.
15797 (bug-regex22-ENV): Likewise.
15798 (bug-regex23-ENV): Likewise.
15799 (bug-regex25-ENV): Likewise.
15800 (bug-regex26-ENV): Likewise.
15801 (bug-regex30-ENV): Likewise.
15802 (bug-regex32-ENV): Likewise.
15803 (bug-regex33-ENV): Likewise.
15804 (bug-regex34-ENV): Likewise.
15805 (bug-regex35-ENV): Likewise.
15806 (tst-rxspencer-ENV): Likewise.
15807 (tst-rxspencer-no-utf8-ENV): Likewise.
15808 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15809 (tst-sscanf-ENV): Likewise.
15810 (tst-swprintf-ENV): Likewise.
15811 (tst-swscanf-ENV): Likewise.
15812 (test-vfprintf-ENV): Likewise.
15813 (scanf13-ENV): Likewise.
15814 (bug14-ENV): Likewise.
15815 (tst-grouping-ENV): Likewise.
15816 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15817 (tst-strtod3-ENV): Likewise.
15818 (tst-strtod4-ENV): Likewise.
15819 (tst-strtod5-ENV): Likewise.
15820 (testmb2-ENV): Likewise./
15821 * string/Makefile (tst-strxfrm-ENV): Likewise.
15822 (tst-strxfrm2-ENV): Likewise.
15823 (bug-strcoll1-ENV): Likewise.
15824 (test-strcasecmp-ENV): Likewise.
15825 (test-strncasecmp-ENV): Likewise.
15826 * time/Makefile (tst-strptime-ENV): Likewise.
15827 (tst-ftime_l-ENV): Likewise.
15828 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15829 (tst-mbrtowc-ENV): Likewise.
15830 (tst-wcrtomb-ENV): Likewise.
15831 (tst-mbrtowc2-ENV): Likewise.
15832 (tst-c16c32-1-ENV): Likewise.
15833 (tst-mbsnrtowcs-ENV): Likewise.
15835 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15837 * manual/resource.texi (How to get information about the memory
15838 subsystem?): Fix typo.
15839 Reported by Peon de la Parra Ivan <peon@keba.com>
15841 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15844 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15845 (pthread_spin_lock): Branch out of spin loop to proper location.
15846 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15847 (pthread_spin_lock): Likewise.
15849 * nptl/tst-spin4.c: New test.
15850 * nptl/Makefile (tests): Add tst-spin4.
15852 2014-06-03 Andreas Schwab <schwab@suse.de>
15855 * resolv/res_send.c (send_dg): Reload file descriptor after
15858 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15860 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15862 2014-06-03 Richard Henderson <rth@redhat.com>
15864 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15865 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15866 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15867 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15868 in the SAVE_PID block.
15869 (__libc_vfork): New alias.
15870 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15872 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15873 child in registers, not on the stack. Remove RESET_PID conditionals.
15874 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15876 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15878 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15880 2014-06-03 Wilco <wdijkstr@arm.com>
15882 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15883 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15884 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15885 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15886 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15889 2014-06-03 Wilco <wdijkstr@arm.com>
15891 * sysdeps/aarch64/fpu/math_private.h
15892 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15893 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15894 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15895 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15898 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15900 * crypt/crypt-private.h: Include ufc-crypt.h.
15901 (__b64_from_24bit): Declare extern.
15902 * crypt/crypt_util.c(__b64_from_24bit): New function.
15903 (b64t): New static const variable.
15904 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15905 (b64t): Remove variable.
15906 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15907 * crypt/sha256-crypt.c: Include crypt-private.h.
15908 (b64t): Remove variable.
15909 (__sha256_crypt_r): Remove b64_from_24bit and replace
15910 with __b64_from_24bit.
15911 * crypt/sha512-crypt.c: Likewise.
15913 2014-06-02 Roland McGrath <roland@hack.frob.com>
15915 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15916 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15917 Label the code __libc_vfork rather than __vfork.
15918 [!NOT_IN_libc] (vfork): Define as weak alias.
15919 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15920 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15921 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15923 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15925 * malloc/malloc.c (malloc_info): Fix format specifier for
15928 2014-06-02 Wilco <wdijkstr@arm.com>
15930 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15933 2014-06-02 Wilco <wdijkstr@arm.com>
15936 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15937 Rewrite to reduce FPCR/FPSR accesses.
15939 2014-06-01 David S. Miller <davem@davemloft.net>
15941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15943 2014-05-31 David S. Miller <davem@davemloft.net>
15945 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15946 to occur in round to nearest mode when |x| >= 2.0
15948 2014-05-30 Richard Henderson <rth@twiddle.net>
15950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15951 (PSEUDO_RET_NOERRNO): Remove.
15952 (ret): Don't redefine.
15953 (ret_NOERRNO): Define in terms of ret.
15954 (ret_ERRVAL): Likewise.
15956 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15957 use of PSEUDO_RET; perform the error check directly.
15959 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15961 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15964 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15966 * malloc/malloc (malloc_info): Fix formatting.
15968 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15969 Roland McGrath <roland@hack.frob.com>
15971 * malloc/malloc (malloc_info): Also print mmapped statistics.
15973 2014-05-30 Roland McGrath <roland@hack.frob.com>
15975 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15976 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15978 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15980 * malloc/malloc.c (malloc_info): Inline mi_arena.
15982 2014-05-29 Richard Henderson <rth@twiddle.net>
15984 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15985 Remove comma before expanding ASM_ARGS_##nr.
15986 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15987 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15989 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15990 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15991 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15992 (ASM_ARGS_1): Add leading comma.
15994 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15995 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15996 to __errno_location.
15997 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15998 Remove the expected plt for __errno_location.
16000 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16001 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16004 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16005 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16006 it and break it down.
16007 (DOCARGS_0, DOCARGS_1): Do nothing.
16008 (DOCARGS_2): Update to store into the new stack frame.
16009 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16010 (UNDOCARGS_1): Update to restore from the new stack frame.
16011 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16012 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16014 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16015 (SINGLE_THREAD_P): New parameter for result regno.
16016 (PSEUDO): Update to match; use cbz instead of beq.
16018 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16019 Use ENTRY to define the _nocancel entry point. Share the syscall
16020 and syscall error check paths with the cancel path.
16023 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16024 whitespace; tabs before and after asm mnemonics.
16026 2014-05-29 Eric Wong <normalperson@yhbt.net>
16029 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16030 Call fstat64 or stat64 internally, depending on arguments passed.
16031 Replace stat buffer argument with file descriptor argument.
16032 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16033 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16034 Pass fd to __internal_statvfs instead of calling fstat64.
16035 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16036 Pass fd to __internal_statvfs64 instead of calling fstat64.
16037 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16038 Pass -1 to __internal_statvfs instead of calling stat64.
16039 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16040 Pass -1 to __internal_statvfs64 instead of calling stat64.
16042 2014-05-28 Roland McGrath <roland@hack.frob.com>
16044 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16045 that was previously under [RESET_PID].
16046 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16048 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16049 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16051 2014-05-27 Roland McGrath <roland@hack.frob.com>
16053 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16055 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16056 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16058 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16060 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16062 2014-05-27 Andreas Schwab <schwab@suse.de>
16064 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16066 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16067 * elf/rtld.c (init_tls, dl_main): Likewise.
16068 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16069 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16070 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16071 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16072 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16073 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16074 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16075 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16076 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16077 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16078 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16079 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16080 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16081 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16082 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16083 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16084 * sysdeps/generic/tls.h: Update description.
16086 2014-05-27 Will Newton <will.newton@linaro.org>
16089 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16090 and restore r2 rather than just restoring.
16092 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16095 * libio/tst-ftell-append.c: New test case.
16096 * libio/Makefile (tests): Add test case.
16097 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16099 * libio/wfileops.c (do_ftell_wide): Likewise.
16101 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16105 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16109 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16110 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16111 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16112 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16113 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16114 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16121 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16122 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16123 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16124 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16125 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16127 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16128 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16130 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16132 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16134 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16135 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16136 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16138 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16139 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16140 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16141 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16164 conditional [RESET_PID].
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16173 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16174 (__libc_vfork): New strong alias.
16175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16182 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16183 (__libc_vfork): New strong alias.
16184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16189 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16191 * malloc/malloc.c (mi_arena): New function.
16192 (malloc_info): Remove nested function mi_arena. Call non-nosted
16195 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16197 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16199 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16200 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16201 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16202 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16203 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16204 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16205 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16207 2014-05-26 Andreas Schwab <schwab@suse.de>
16210 * locale/programs/repertoire.c (repertoire_read): Add slash
16211 between I18NPATH element and file name.
16212 * locale/programs/locfile.c (locfile_read): Likewise.
16214 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16216 * nptl/pthread_mutexattr_settype.c
16217 (__pthread_mutexattr_settype):
16218 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16220 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16222 * nptl/tst-mutex5 (do_test):
16223 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16225 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16227 * benchtests/README: Document 'init' directive.
16228 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16230 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16231 (parse_file): Recognize 'init' directive.
16233 2014-05-26 Kyle McMartin <kyle@redhat.com>
16236 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16237 alignment of struct pthread.
16239 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16242 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16243 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16244 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16245 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16247 2014-05-25 Richard Henderson <rth@twiddle.net>
16249 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16250 (SINGLE_THREAD_P_PIC): Remove.
16251 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16252 (SINGLE_THREAD_P_PIC): Remove.
16254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16255 branch to syscall error ...
16256 (PSEUDO): ... here.
16257 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16258 from __local_syscall_error to .Lsyscall_error.
16259 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16260 (SYSCALL_ERROR): Update label name.
16262 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16263 Do not use DOARGS/UNDOARGS.
16264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16265 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16266 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16267 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16268 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16270 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16273 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16274 define if !NOT_IN_libc.
16275 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16276 define with non-default symbol versions.
16278 2014-05-23 Richard Henderson <rth@twiddle.net>
16280 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16281 (vfork, __vfork): Define via compat_symbol.
16283 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16284 [!HAVE_IFUNC] (vfork_compat): Remove.
16285 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16287 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16290 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16291 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16294 2014-05-23 Richard Henderson <rth@twiddle.net>
16296 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16297 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16298 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16299 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16301 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16302 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16303 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16304 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16305 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16306 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16307 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16308 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16309 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16310 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16311 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16312 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16313 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16314 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16315 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16316 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16317 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16318 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16319 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16320 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16321 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16322 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16323 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16324 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16325 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16326 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16327 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16328 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16329 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16330 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16331 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16332 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16333 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16334 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16335 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16336 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16337 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16338 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16339 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16340 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16341 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16342 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16343 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16344 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16345 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16346 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16347 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16348 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16349 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16350 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16351 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16352 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16353 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16354 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16355 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16356 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16358 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16359 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16360 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16361 before exiting on error.
16362 (__libc_vfork): New strong alias.
16363 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16364 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16366 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16367 that was previously under [RESET_PID].
16368 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16370 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16372 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16375 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16376 value when x - 1 is zero.
16377 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16378 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16379 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16380 0.0L for an argument of 1.0L.
16381 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16383 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16384 value when x - 1 is zero.
16385 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16386 * sysdeps/i386/fpu/libm-test-ulps: Update.
16387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16389 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16391 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16392 alphasort and versionsort.
16394 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16396 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16398 [copysignf]: Likewise.
16400 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16402 * crypt/md5-crypt.c: Fix formatting.
16404 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16406 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16407 (b64_from_24bit): New function.
16409 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16411 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16412 libc_hidden_builtin_def to ifunc.
16413 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16414 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16416 2014-05-21 Roland McGrath <roland@hack.frob.com>
16418 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16419 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16421 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16423 * nscd/Depend (linuxthreads): Remove.
16425 * resolv/Depend (linuxthreads): Remove.
16426 * rt/Depend (linuxthreads): Remove.
16428 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16429 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16430 $(common-objpfx)elf/.
16431 (link-libc-before-gnulib): Likewise.
16432 (elfobjdir): Remove variable.
16433 * Makefile (install): Use $(elf-objpfx) instead of
16434 $(common-objpfx)elf/.
16435 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16437 (link-libc-deps): Likewise.
16438 ($(common-objpfx)libc.so): Likewise.
16439 ($(common-objpfx)linkobj/libc.so): Likewise.
16440 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16441 instead of $(common-objpfx)elf/.
16442 (symbolic-link-list): Likewise.
16443 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16444 [$(cross-compiling) = no]: Likewise.
16445 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16447 (static-gnulib-arch): Likewise.
16448 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16449 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16450 $(common-objpfx)elf/.
16452 2014-05-21 Richard Henderson <rth@redhat.com>
16454 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16455 (SINGLE_THREAD_P): Use the correct width load. Fold
16456 into the ldr offset.
16458 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16459 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16461 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16463 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16464 (libgcc_s_resume): Use __attribute_used__.
16465 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16468 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16470 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16471 optimization when used with float constants.
16473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16475 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16478 * locale/nl_langinfo_l.c: Make direct reference to every
16479 _nl_current_CATEGORY symbol.
16480 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16481 (tests-static): Add tst-langinfo-static.
16482 (tests-special): Add tst-langinfo-static.out.
16483 ($(objpfx)tst-langinfo.out): Redirect output.
16484 ($(objpfx)tst-langinfo-static.out): New.
16485 * localedata/tst-langinfo.sh: Send output to stdout.
16486 * localedata/tst-langinfo-static.c: New file.
16489 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16490 when the shift amount is modulo the limb size.
16492 2014-05-20 Richard Henderson <rth@redhat.com>
16495 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16496 Change type of sa_flags from unsigned int to int.
16499 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16501 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16503 2014-05-20 Will Newton <will.newton@linaro.org>
16505 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16506 Test the return value of the system call in the nocancel case.
16508 2014-05-20 Will Newton <will.newton@linaro.org>
16509 Yvan Roux <yvan.roux@linaro.org>
16511 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16512 #include of asm/ptrace.h.
16513 (PTRACE_GET_THREAD_AREA): Remove #undef.
16514 (PTRACE_GETHBPREGS): Likewise.
16515 (PTRACE_SETHBPREGS): Likewise.
16516 (struct user_regs_struct): New structure.
16517 (struct user_fpsimd_struct): New structure.
16518 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16519 #include of asm/ptrace.h and second #include of sys/user.h.
16520 (PTRACE_GET_THREAD_AREA): Remove #undef.
16521 (PTRACE_GETHBPREGS): Likewise.
16522 (PTRACE_SETHBPREGS): Likewise.
16523 (ELF_NGREG): Use new struct user_regs_struct.
16524 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16526 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16531 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16535 membar to avoid block loads/stores to overlap previous stores.
16537 2014-05-17 Richard Henderson <rth@redhat.com>
16539 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16540 Create the __##syscall_name##_nocancel entry point.
16541 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16542 Remove; let the sysdep-cancel.h code create it.
16544 2014-05-17 David S. Miller <davem@davemloft.net>
16546 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16547 Protect with __USE_GNU.
16548 (TIOCSET_TEMPT): Likewise.
16549 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16550 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16551 these are already provided in bits/ioctl-types.h
16553 2014-05-16 Roland McGrath <roland@hack.frob.com>
16555 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16556 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16558 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16559 Use wait4 regardless of [__NR_waitpid].
16561 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16564 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16565 (_FP_NANSIGN_Q): Set the quiet bit.
16567 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16569 * benchtests/Makefile
16570 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16571 not $(common-objpfx)math/libm.so.
16572 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16573 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16574 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16575 $(common-objpfx)dlfcn/libdl.so.
16576 ($(objpfx)tst-audit8): Depend on $(libm), not
16577 $(common-objpfx)math/libm.so.
16578 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16579 not $(common-objpfx)dlfcn/libdl.so.
16581 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16582 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16583 [$(build-shared) = yes].
16584 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16585 $(common-objpfx)nptl/libpthread.so.
16586 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16587 $(common-objpfx)math/libm.so$(libm.so-version) or
16588 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16589 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16590 $(common-objpfx)dlfcn/libdl.so.
16591 * setjmp/Makefile (link-libm): Remove variable.
16592 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16593 * stdio-common/Makefile (link-libm): Remove variable.
16594 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16595 * stdlib/Makefile (link-libm): Remove variable.
16596 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16597 ($(objpfx)tst-strtod-round): Likewise.
16598 ($(objpfx)tst-tininess): Likewise.
16599 ($(objpfx)tst-strtod-underflow): Likewise.
16600 ($(objpfx)tst-strtod6): Likewise.
16601 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16602 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16603 $(common-objpfx)dlfcn/libdl.so.
16605 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16607 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16608 BSD terminal modes definitions.
16610 2014-05-16 Roland McGrath <roland@hack.frob.com>
16612 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16613 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16615 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16616 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16617 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16618 Don't do #include_next.
16619 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16620 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16621 Don't do #include_next.
16622 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16623 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16624 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16625 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16627 2014-05-16 Allan McRae <allan@archlinux.org>
16629 * po/sv.po: Update Swedish translation from translation project.
16631 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16634 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16637 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16638 errno if the TIOCGPTN ioctl fails with an error different than
16640 * login/tst-ptsname.c: New file.
16641 * login/Makefile (tests): Add tst-ptsname.
16644 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16647 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16651 herrno to return EAI_AGAIN.
16653 2014-05-14 Roland McGrath <roland@hack.frob.com>
16655 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16656 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16657 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16658 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16659 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16660 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16661 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16662 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16664 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16665 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16666 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16667 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16668 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16669 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16670 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16671 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16672 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16673 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16674 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16675 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16676 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16677 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16678 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16679 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16680 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16681 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16682 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16683 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16684 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16686 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16688 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16691 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16693 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16695 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16697 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16699 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16701 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16703 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16705 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16707 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16709 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16711 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16713 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16715 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16717 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16720 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16722 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16724 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16726 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16728 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16730 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16732 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16734 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16736 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16738 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16741 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16743 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16745 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16746 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16747 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16748 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16749 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16750 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16751 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16752 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16753 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16754 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16755 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16756 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16757 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16758 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16759 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16760 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16761 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16762 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16763 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16764 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16765 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16766 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16767 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16768 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16769 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16770 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16771 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16772 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16773 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16774 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16775 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16777 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16778 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16780 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16781 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16782 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16783 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16784 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16787 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16790 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16793 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16797 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16798 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16799 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16801 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16802 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16803 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16804 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16805 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16806 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16807 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16808 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16810 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16811 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16813 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16815 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16816 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16817 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16818 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16821 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16823 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16826 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16827 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16828 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16829 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16832 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16835 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16838 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16842 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16843 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16844 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16846 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16847 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16848 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16849 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16850 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16851 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16852 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16853 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16855 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16856 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16858 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16860 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16861 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16862 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16863 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16866 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16868 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16870 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16871 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16872 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16873 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16874 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16875 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16876 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16877 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16878 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16881 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16884 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16885 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16887 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16888 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16890 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16891 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16892 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16893 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16894 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16895 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16897 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16898 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16899 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16900 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16901 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16902 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16903 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16906 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16911 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16912 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16913 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16914 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16915 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16917 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16919 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16921 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16922 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16923 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16924 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16925 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16926 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16927 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16928 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16929 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16930 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16931 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16933 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16934 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16936 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16937 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16939 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16940 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16941 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16942 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16943 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16944 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16945 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16946 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16947 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16948 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16950 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16951 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16952 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16953 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16954 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16955 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16958 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16959 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16960 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16963 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16964 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16965 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16967 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16972 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16975 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16977 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16978 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16979 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16980 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16981 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16982 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16983 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16984 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16985 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16986 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16987 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16988 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16989 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16990 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16991 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16993 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16994 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16995 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16996 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16997 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16999 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17000 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17001 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17002 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17003 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17004 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17005 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17006 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17007 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17008 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17010 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17013 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17014 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17015 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17016 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17017 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17018 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17019 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17020 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17021 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17022 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17023 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17024 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17025 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17026 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17029 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17033 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17048 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17049 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17050 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17051 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17053 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17055 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17057 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17059 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17060 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17061 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17063 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17064 that was previously under [RESET_PID].
17065 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17066 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17067 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17069 * sysdeps/i386/nptl/Implies: New file.
17070 * sysdeps/x86_64/nptl/Implies: New file.
17071 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17072 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17073 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17074 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17076 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17077 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17078 (__libc_vfork): New strong alias.
17079 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17080 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17082 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17083 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17084 (__libc_vfork): New strong alias.
17085 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17086 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17088 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17089 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17090 (__libc_vfork): New strong alias.
17091 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17092 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17093 * nptl/pt-vfork.c: New file.
17094 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17095 (libpthread: GLIBC_2.20): New version set (empty).
17097 2014-05-14 Will Newton <will.newton@linaro.org>
17099 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17102 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17105 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17106 arguments with exponent 65 or above.
17107 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17108 arguments 0x1p113L or above.
17109 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17110 to arguments 0x1p107L or above.
17111 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17112 positive arguments with exponent 65 or above.
17113 * math/auto-libm-test-in: Add more tests of log1p.
17114 * math/auto-libm-test-out: Regenerated.
17117 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17118 non-finite arguments is +0.
17119 * math/s_cacosf.c (__cacosf): Likewise.
17120 * math/s_cacosl.c (__cacosl): Likewise.
17121 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17122 * sysdeps/i386/fpu/libm-test-ulps: Update.
17123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17126 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17128 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17129 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17130 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17131 for explicit high bit of mantissa when testing for argument equal
17133 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17134 * sysdeps/i386/fpu/libm-test-ulps: Update.
17135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17138 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17139 (__erf): Scale by 16 instead of 8 in potentially underflowing
17140 case. Ensure exception if result actually underflows.
17141 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17142 (__erff): Scale by 16 instead of 8 in potentially underflowing
17143 case. Ensure exception if result actually underflows.
17144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17145 (efx8): Remove variable.
17146 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17147 case. Ensure exception if result actually underflows.
17148 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17149 (efx8): Remove variable.
17150 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17151 case. Ensure exception if result actually underflows.
17152 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17153 (efx8): Remove variable.
17154 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17155 case. Ensure exception if result actually underflows.
17156 * math/auto-libm-test-in: Add more tests of erf.
17157 * math/auto-libm-test-out: Regenerated.
17159 2014-05-14 Andreas Schwab <schwab@suse.de>
17161 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17162 Remove code conditionalized on USE___THREAD.
17164 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17165 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17168 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17170 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17171 Define unconditionally.
17172 (__ASSUME_O_CLOEXEC): Likewise.
17173 (__ASSUME_SOCK_CLOEXEC): Likewise.
17174 (__ASSUME_IN_NONBLOCK): Likewise.
17175 (__ASSUME_PIPE2): Likewise.
17176 (__ASSUME_EVENTFD2): Likewise.
17177 (__ASSUME_SIGNALFD4): Likewise.
17178 (__ASSUME_DUP3): Likewise.
17179 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17180 (__ASSUME_DUP3): Do not define.
17181 (__ASSUME_EVENTFD2): Likewise.
17182 (__ASSUME_IN_NONBLOCK): Likewise.
17183 (__ASSUME_O_CLOEXEC): Likewise.
17184 (__ASSUME_PIPE2): Likewise.
17185 (__ASSUME_SIGNALFD4): Likewise.
17186 (__ASSUME_SOCK_CLOEXEC): Likewise.
17187 (__ASSUME_UTIMES): Undefine.
17188 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17189 (__ASSUME_UTIMES): Do not define.
17190 (__ASSUME_O_CLOEXEC): Likewise.
17191 (__ASSUME_SOCK_CLOEXEC): Likewise.
17192 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17193 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17195 (__ASSUME_PIPE2): Likewise.
17196 (__ASSUME_EVENTFD2): Likewise.
17197 (__ASSUME_SIGNALFD4): Likewise.
17198 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17199 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17201 (__ASSUME_EVENTFD2): Likewise.
17202 (__ASSUME_SIGNALFD4): Likewise.
17203 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17204 (__ASSUME_32BITUIDS): Likewise.
17205 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17206 (__ASSUME_IPC64): Likewise.
17207 (__ASSUME_ST_INO_64_BIT): Likewise.
17208 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17209 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17210 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17211 (__ASSUME_UTIMES): Do not define.
17212 (__ASSUME_PSELECT): Likewise.
17213 (__ASSUME_PPOLL): Likewise.
17214 (__ASSUME_O_CLOEXEC): Likewise.
17215 (__ASSUME_SOCK_CLOEXEC): Likewise.
17216 (__ASSUME_IN_NONBLOCK): Likewise.
17217 (__ASSUME_PIPE2): Likewise.
17218 (__ASSUME_EVENTFD2): Likewise.
17219 (__ASSUME_SIGNALFD4): Likewise.
17220 (__ASSUME_DUP3): Likewise.
17221 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17222 (__ASSUME_UTIMES): Likewise.
17223 (__ASSUME_O_CLOEXEC): Likewise.
17224 (__ASSUME_SOCK_CLOEXEC): Likewise.
17225 (__ASSUME_IN_NONBLOCK): Likewise.
17226 (__ASSUME_PIPE2): Likewise.
17227 (__ASSUME_EVENTFD2): Likewise.
17228 (__ASSUME_SIGNALFD4): Likewise.
17229 (__ASSUME_DUP3): Likewise.
17230 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17231 (__ASSUME_UTIMES): Likewise.
17232 (__ASSUME_O_CLOEXEC): Likewise.
17233 (__ASSUME_SOCK_CLOEXEC): Likewise.
17234 (__ASSUME_IN_NONBLOCK): Likewise.
17235 (__ASSUME_PIPE2): Likewise.
17236 (__ASSUME_EVENTFD2): Likewise.
17237 (__ASSUME_SIGNALFD4): Likewise.
17238 (__ASSUME_DUP3): Likewise.
17239 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17241 (__ASSUME_UTIMES): Likewise.
17242 (__ASSUME_EVENTFD2): Likewise.
17243 (__ASSUME_SIGNALFD4): Likewise.
17244 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17245 (__ASSUME_O_CLOEXEC): Likewise.
17246 (__ASSUME_SOCK_CLOEXEC): Likewise.
17247 (__ASSUME_IN_NONBLOCK): Likewise.
17248 (__ASSUME_PIPE2): Likewise.
17249 (__ASSUME_EVENTFD2): Likewise.
17250 (__ASSUME_SIGNALFD4): Likewise.
17251 (__ASSUME_DUP3): Likewise.
17252 (__ASSUME_UTIMES): Undefine.
17254 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17255 feclearexcept. Remove symbol versioning code.
17256 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17257 symbol versioning code.
17258 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17259 symbol versioning code.
17260 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17261 feupdateenv. Remove symbol versioning code.
17262 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17263 fegetexceptflag. Remove symbol versioning code.
17264 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17265 fesetexceptflag. Remove symbol versioning code.
17266 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17267 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17268 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17269 (__posix_fadvise64_l32): Remove prototype.
17270 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17273 2014-05-13 Roland McGrath <roland@hack.frob.com>
17275 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17276 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17277 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17278 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17280 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17282 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17283 current working directory
17285 2014-05-13 Roland McGrath <roland@hack.frob.com>
17287 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17288 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17289 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17290 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17291 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17292 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17293 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17294 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17295 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17296 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17297 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17298 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17299 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17300 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17301 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17302 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17303 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17304 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17305 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17306 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17307 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17308 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17309 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17310 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17311 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17312 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17313 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17314 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17315 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17316 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17317 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17318 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17319 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17320 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17321 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17322 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17323 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17324 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17325 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17326 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17327 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17328 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17330 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17331 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17333 * sysdeps/unix/sysv/linux/arm/Makefile
17334 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17335 Add rt-aeabi_unwind_cpp_pr1.
17336 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17337 Add nptl-aeabi_unwind_cpp_pr1.
17338 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17339 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17340 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17341 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17342 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17343 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17345 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17346 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17347 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17348 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17350 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17351 Deconditionalize the code that was previously under [RESET_PID].
17352 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17354 * sysdeps/generic/exit-thread.h: New file.
17355 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17356 * include/unistd.h (__exit_thread): Remove declaration.
17357 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17358 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17359 * csu/libc-start.c: Include <exit-thread.h>.
17360 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17361 * nptl/pthread_create.c: Include <exit-thread.h>.
17362 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17363 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17364 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17365 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17366 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17367 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17368 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17369 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17370 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17371 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17372 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17373 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17374 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17375 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17376 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17377 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17378 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17380 2014-05-13 Andreas Schwab <schwab@suse.de>
17382 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17384 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17386 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17387 (__ASSUME_UTIMES): Do not condition on kernel version.
17388 (__ASSUME_PSELECT): Define unconditionally.
17389 (__ASSUME_PPOLL): Likewise.
17390 (__ASSUME_ATFCTS): Likewise.
17391 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17392 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17393 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17394 (__ASSUME_UTIMENSAT): Define unconditionally.
17395 (__ASSUME_PRIVATE_FUTEX): Likewise.
17396 (__ASSUME_FALLOCATE): Likewise.
17397 (__ASSUME_O_CLOEXEC): Likewise.
17398 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17399 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17400 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17401 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17402 (__ASSUME_IN_NONBLOCK): Likewise.
17403 (__ASSUME_PIPE2): Likewise.
17404 (__ASSUME_EVENTFD2): Likewise.
17405 (__ASSUME_SIGNALFD4): Likewise.
17406 (__ASSUME_DUP3): Likewise.
17407 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17408 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17409 (__ASSUME_AT_RANDOM): Likewise.
17410 (__ASSUME_PREADV): Likewise.
17411 (__ASSUME_PWRITEV): Likewise.
17412 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17413 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17414 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17415 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17416 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17417 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17418 (__ASSUME_O_CLOEXEC): Define unconditionally.
17419 (__ASSUME_PSELECT): Do not undefine conditionally.
17420 (__ASSUME_PPOLL): Likewise.
17421 (__ASSUME_ATFCTS): Likewise.
17422 (__ASSUME_SET_ROBUST_LIST): Likewise.
17423 (__ASSUME_UTIMENSAT): Likewise.
17424 (__ASSUME_FDATASYNC): Define unconditionally.
17425 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17426 (__ASSUME_SIGFRAME_V2): Likewise.
17427 )__ASSUME_EVENTFD2): Likewise.
17428 (__ASSUME_SIGNALFD4): Likewise.
17429 (__ASSUME_PSELECT): Do not undefine conditionally.
17430 (__ASSUME_PPOLL): Likewise.
17431 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17432 (__ASSUME_PSELECT): Define unconditionally.
17433 (__ASSUME_PPOLL): Likewise.
17434 (__ASSUME_O_CLOEXEC): Likewise.
17435 (__ASSUME_SOCK_CLOEXEC): Likewise.
17436 (__ASSUME_IN_NONBLOCK): Likewise.
17437 (__ASSUME_PIPE2): Likewise.
17438 (__ASSUME_EVENTFD2): Likewise.
17439 (__ASSUME_SIGNALFD4): Likewise.
17440 (__ASSUME_DUP3): Likewise.
17441 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17442 (__ASSUME_O_CLOEXEC): Likewise.
17443 (__ASSUME_SOCK_CLOEXEC): Likewise.
17444 (__ASSUME_IN_NONBLOCK): Likewise.
17445 (__ASSUME_PIPE2): Likewise.
17446 (__ASSUME_EVENTFD2): Likewise.
17447 (__ASSUME_SIGNALFD4): Likewise.
17448 (__ASSUME_DUP3): Likewise.
17449 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17450 (__ASSUME_EVENTFD2): Likewise.
17451 (__ASSUME_SIGNALFD4): Likewise.
17452 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17454 2014-05-12 Andreas Schwab <schwab@suse.de>
17457 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17458 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17459 than maximum RPC packet size.
17460 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17461 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17462 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17463 (_nss_nis_getservbyport_r): Likewise.
17465 2014-05-12 Will Newton <will.newton@linaro.org>
17467 * malloc/Makefile (tests): Add tst-mallopt.
17468 * malloc/tst-mallopt.c: New file.
17470 2014-05-09 Roland McGrath <roland@hack.frob.com>
17472 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17473 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17475 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17477 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17478 (tst-tlsmod6.so): Likewise.
17480 2014-05-09 Roland McGrath <roland@hack.frob.com>
17482 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17484 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17487 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17488 and <dl-procinfo.h>.
17489 (__fegetenv): Save SSE state in envp->__eip if supported.
17490 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17491 envp->__eip if supported.
17492 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17493 and <dl-procinfo.h>.
17494 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17495 __data_offset and __data_selector in environment to 0. Set SSE
17496 state if supported.
17497 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17499 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17501 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17503 2014-05-09 Will Newton <will.newton@linaro.org>
17505 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17506 and libc_relro_required for ARM.
17507 * sysdeps/arm/preconfigure: Regenerate.
17509 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17510 Stefan Liebler <stli@linux.vnet.ibm.com>
17512 * config.make.in (enable-lock-elision): New Makefile variable.
17513 * configure.ac: Likewise.
17514 * configure: Regenerate.
17515 * sysdeps/s390/configure.ac:
17516 Add check for gcc transactions support.
17517 * sysdeps/s390/configure: Regenerate.
17518 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17519 Build elision files if enabled.
17520 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17521 Add lock elision support for s390.
17522 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17523 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17524 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17525 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17526 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17527 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17528 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17530 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17532 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17534 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17536 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17537 (__lll_timedlock_elision, __lll_lock_elision)
17538 (__lll_unlock_elision, __lll_trylock_elision)
17539 (lll_timedlock_elision, lll_lock_elision)
17540 (lll_unlock_elision, lll_trylock_elision): Add.
17541 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17542 (pthread_mutex_t): Add lock elision support for s390.
17544 2014-05-14 Wilco <wdijkstr@arm.com>
17546 * sysdeps/arm/fclrexcpt.c: Cleanup.
17547 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17548 * sysdeps/arm/feenablxcpt.c: Cleanup.
17549 * sysdeps/arm/fegetenv.c: Cleanup.
17550 * sysdeps/arm/fegetexcept.c: Cleanup.
17551 * sysdeps/arm/fegetround.c: Cleanup.
17552 * sysdeps/arm/feholdexcpt.c: Cleanup.
17553 * sysdeps/arm/fesetenv.c: Cleanup.
17554 * sysdeps/arm/fesetround.c: Cleanup.
17555 * sysdeps/arm/feupdateenv.c: Cleanup.
17556 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17557 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17558 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17559 * sysdeps/arm/ftestexcept.c: Cleanup.
17560 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17561 * sysdeps/arm/setfpucw.c: Cleanup.
17563 2014-05-09 Will Newton <will.newton@linaro.org>
17565 * sysdeps/arm/armv7/strcmp.S: New file.
17566 * NEWS: Mention addition of ARMv7 optimized strcmp.
17568 2014-05-08 Roland McGrath <roland@hack.frob.com>
17570 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17571 look for %.ac rather than %.in.
17573 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17574 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17575 * sysdeps/mach/hurd/configure: Regenerated.
17576 * sysdeps/unix/sysv/linux/configure: Regenerated.
17578 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17580 2014-05-07 Steve Ellcey <sellcey@mips.com>
17583 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17587 2014-05-07 Andreas Schwab <schwab@suse.de>
17589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17590 when skipping over non-matching result from nscd.
17592 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17595 * nptl/sockperf.c (client): Check socket return value.
17598 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17599 nscd security class.
17601 2014-05-06 Roland McGrath <roland@hack.frob.com>
17603 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17604 * sysdeps/arm/unwind.h: ... here.
17606 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17609 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17612 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17614 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17615 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17616 multiarch strncpy for PPC64.
17617 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17618 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17620 multiarch optimizations.
17621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17622 (__libc_ifunc_impl_list): Likewise.
17623 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17624 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17625 multiarch stpncpy for PPC64.
17626 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17627 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17629 2014-05-06 Andreas Schwab <schwab@suse.de>
17632 * gmon/mcount.c (_MCOUNT_DECL): Use
17633 atomic_compare_and_exchange_bool_acq instead of
17634 catomic_compare_and_exchange_bool_acq.
17636 2014-05-05 Roland McGrath <roland@hack.frob.com>
17638 * elf/Makefile (others, install-bin): Remove pldd.
17639 (pldd-modules): Variable removed.
17640 ($(objpfx)pldd): Target removed.
17641 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17642 (others, install-bin): Append pldd here.
17643 ($(objpfx)pldd): New target.
17645 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17646 to 0, so the first #if test emitted later doesn't see it undefined.
17647 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17648 * sysdeps/gnu/errlist.c: Regenerated.
17650 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17652 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17653 [libc_hidden_builtin_def]: Define to empty value.
17654 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17655 [libc_hidden_builtin_def]: Likewise.
17656 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17657 [libc_hidden_builtin_def]: Likewise.
17658 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17659 [libc_hidden_builtin_def]: Likewise.
17660 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17661 __redirect_memcpy and define ifunc as default hidden symbol.
17662 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17663 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17665 2014-05-04 Adam Conrad <adconrad@0c3.net>
17667 * locale/iso-4217.def: Reintroduce XDR currency.
17669 2014-05-04 Allan McRae <allan@archlinux.org>
17671 * po/eo.po: Update Esperanto translation from translation project.
17673 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17675 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17676 and FEATURE_INDEX_MAX to 1.
17677 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17679 2014-05-01 Steve Ellcey <sellcey@mips.com>
17681 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17682 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17683 * iconvdata/big5.c (ONE_DIRECTION): Define.
17684 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17685 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17686 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17687 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17688 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17689 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17690 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17691 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17692 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17693 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17694 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17695 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17696 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17697 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17698 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17699 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17700 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17701 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17702 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17703 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17704 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17705 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17706 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17707 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17708 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17709 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17710 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17711 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17712 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17713 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17714 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17715 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17716 * iconvdata/johab.c (ONE_DIRECTION): Define.
17717 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17718 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17719 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17720 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17721 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17722 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17723 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17724 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17725 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17726 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17728 2014-05-01 Roland McGrath <roland@hack.frob.com>
17730 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17731 (_IO_JUMPS_OFFSET): Define to 0.
17733 * nptl/sysdeps/pthread/bits/libc-lock.h
17734 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17735 (__libc_lock_define_initialized_recursive): Always define using
17736 initializer. Modern compilers treat uninitialized (implicit zero) and
17737 explicit zero initializers the same (i.e. put the datum in bss).
17739 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17741 * nscd/nscd-client.h: Include <string.h>.
17743 2014-05-01 David S. Miller <davem@davemloft.net>
17746 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17747 multiple zero bytes exist at the end of a string.
17748 Reported by Aurelien Jarno <aurelien@aurel32.net>
17750 * string/test-strcmp.c (check): Add explicit test for situations where
17751 there are multiple zero bytes after the first.
17753 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17756 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17757 when compiling wprintf.
17758 * stdio-common/tstdiomisc.c (t3): New function.
17761 2014-05-01 Steve Ellcey <sellcey@mips.com>
17763 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17764 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17765 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17766 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17768 2014-05-01 Steve Ellcey <sellcey@mips.com>
17770 * stdlib/longlong.h: Updated from GCC.
17772 2014-05-01 Will Newton <will.newton@linaro.org>
17773 Bernard Ogden <bernie.ogden@linaro.org>
17775 * NEWS: Update fixed bug list.
17778 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17780 2014-04-30 David S. Miller <davem@davemloft.net>
17782 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17783 (libc_feholdexcept_setround_sparc_ctx): New function.
17784 (libc_fesetenv_sparc_ctx): Likewise.
17785 (libc_feupdateenv_sparc_ctx): Likewise.
17786 (libc_feholdsetround_sparc_ctx): Likewise.
17787 (libc_feholdexcept_setround_ctx): Define.
17788 (libc_feholdexcept_setroundf_ctx): Likewise.
17789 (libc_feholdexcept_setroundl_ctx): Likewise.
17790 (libc_fesetenv_ctx): Likewise.
17791 (libc_fesetenvf_ctx): Likewise.
17792 (libc_fesetenvl_ctx): Likewise.
17793 (libc_feupdateenv_ctx): Likewise.
17794 (libc_feupdateenvf_ctx): Likewise.
17795 (libc_feupdateenvl_ctx): Likewise.
17796 (libc_feresetround_ctx): Likewise.
17797 (libc_feresetroundf_ctx): Likewise.
17798 (libc_feresetroundl_ctx): Likewise.
17799 (libc_feholdsetround_ctx): Likewise.
17800 (libc_feholdsetroundf_ctx): Likewise.
17801 (libc_feholdsetroundl_ctx): Likewise.
17803 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17804 with __USE_GNU instead of XOPEN cpp guards.
17806 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17809 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17810 with XOPEN cpp guards.
17812 2014-04-30 Julian Brown <julian@codesourcery.com>
17815 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17818 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17821 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17823 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17824 * sysdeps/unix/sysv/linux/configure: Regenerated.
17825 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17826 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17827 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17828 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17829 * README: Update reference to required Linux kernel version.
17830 * manual/install.texi (Linux): Update reference to required Linux
17831 kernel headers version.
17832 * INSTALL: Regenerated.
17834 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17836 [POSIX] (limits.h): Likewise.
17837 [POSIX] (math.h): Likewise.
17838 [POSIX] (sys/wait.h): Likewise.
17839 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17841 [POSIX] (stddef.h): Do not allow header inclusion.
17843 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17845 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17847 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17849 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17850 Return immediately after lll_futex_wake.
17852 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17855 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17857 (datahead_init_pos): Call datahead_init_common early.
17858 (datahead_init_neg): Likewise.
17860 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17861 datahead_init_neg): New functions.
17862 * nscd/aicache.c (addhstaiX): Use them.
17863 * nscd/grpcache.c (cache_addgr): Likewise.
17864 * nscd/hstcache.c (cache_addhst): Likewise.
17865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17866 * nscd/netgroupcache.c (do_notfound): Likewise.
17867 (addgetnetgrentX): Likewise.
17868 (addinnetgrX): Likewise.
17869 * nscd/pwdcache.c (cache_addpw): Likewise.
17870 * nscd/servicescache.c (cache_addserv): Likewise.
17872 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17873 Atsushi Onoe <atsushi@onoe.org>
17878 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17879 one response is valid.
17880 * resolv/res_send.c (send_dg): Check for validity of other
17881 response if the current response is a referral.
17883 2014-04-29 Steve Ellcey <sellcey@mips.com>
17885 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17887 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17890 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17891 Always divide by positive zero when computing -Inf result.
17892 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17893 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17895 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17897 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17898 FPSCR if value do not change.
17899 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17900 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17901 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17902 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17903 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17904 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17907 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17909 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17910 * sysdeps/unix/sysv/linux/hppa: Move directory from
17911 ports/systeps/unix/sysv/linux/hppa.
17912 * README: Update listing for hppa-*-linux-gnu.
17914 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17917 * manual/stdio.texi (Hook functions): Fix types of stream hook
17920 * socket/sys/socket.h: Fix typo in comment.
17922 2014-04-28 Wilco <wdijkstr@arm.com>
17924 * sysdeps/arm/fenv_private.h: New file.
17925 * sysdeps/arm/math_private.h: New file.
17926 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17928 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17930 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17932 (La_x86_64_retval): Likewise.
17934 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17936 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17937 fpsr if value didn't change.
17938 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17939 to fpcr if value didn't change.
17940 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17941 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17942 fpsr or fpcr if value didn't change.
17943 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17944 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17945 fpcr if value didn't change.
17946 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17947 to fpsr if value didn't change.
17949 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17951 * nptl/tst-sem3.c: Use test-skeleton.c
17952 (main): Rename to do_test. Use return instead of
17954 * nptl/tst-sem4.c: Use test-skeleton.c
17955 (main): Rename to do_test.
17957 2014-04-22 David S. Miller <davem@davemloft.net>
17959 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17960 (struct sigaction): New struct member __glibc_reserved0, change
17961 type of sa_flags to int.
17963 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17965 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17966 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17968 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17970 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17971 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17973 2014-04-22 Will Newton <will.newton@linaro.org>
17974 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17976 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17977 (__longjmp): Add longjmp and longjmp_target SystemTap
17979 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17980 (__sigsetjmp): Add setjmp SystemTap probe.
17982 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17984 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17985 match manual order.
17987 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17989 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17991 * sysdeps/powerpc/fpu/fenv_private.h
17992 (libc_feholdexcept_setroundl_ctx): Define to
17993 libc_feholdexcept_setround_ppc_ctx.
17994 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17995 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17996 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17997 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17999 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18001 * sysdeps/aarch64/math-tests.h: New file.
18003 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18005 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18008 Check and set bit_AVX2_Usable.
18009 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18011 (bit_AVX2): Likewise.
18012 (index_AVX2_Usable): Likewise.
18013 (CPUID_AVX2): Likewise.
18014 (HAS_AVX2): Likewise.
18016 2014-04-17 Will Newton <will.newton@linaro.org>
18018 * manual/setjmp.texi (System V contexts): Add note that
18019 calling setcontext on a context created by a call to a
18020 signal handler is undefined. Update text to note that
18021 setcontext from a signal handler is possible but not
18025 * stdlib/tst-setcontext.c: Include signal.h.
18026 (main): Check that the signal stack before and
18027 after swapcontext is the same.
18029 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18030 Re-implement to restore registers in user code and avoid
18031 rt_sigreturn system call.
18033 2014-04-17 Wilco <wdijkstr@arm.com>
18035 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18036 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18037 * math/test-fenv.c: Skip exception trap tests on targets which only
18038 support non-stop mode.
18040 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18041 Wilco Dijkstra <wilco.dijkstra@arm.com>
18043 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18044 (libc_feholdsetround_aarch64_ctx)
18045 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18046 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18047 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18048 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18049 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18050 (libc_feresetround_noexl_ctx): Define.
18052 2014-04-16 Richard Henderson <rth@redhat.com>
18054 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18056 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18059 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18060 const from the non-libc, non-ldso copy.
18062 * sysdeps/alpha/libm-test-ulps: Regenerate.
18064 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18065 Wilco Dijkstra <wilco.dijkstra@arm.com>
18067 * sysdeps/aarch64/fpu/math_private.h: New file.
18069 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18071 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18073 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18076 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18077 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18079 Intel MPX bound registers before _dl_profile_fixup.
18080 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18081 registers after _dl_profile_fixup. Save and restore bound
18082 registers bnd0/bnd1 when calling _dl_call_pltexit.
18083 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18084 (LR_BND_OFFSET): Likewise.
18085 (LRV_BND0_OFFSET): Likewise.
18086 (LRV_BND1_OFFSET): Likewise.
18088 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18090 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18092 * sysdeps/mach/hurd/i386/tls.h: ... here.
18093 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18094 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18097 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18099 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18101 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18103 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18105 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18108 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18109 * sysdeps/s390/configure: Regenerate.
18112 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18113 Set round-to-nearest internally to reduce error accumulation.
18115 2014-04-16 Alan Modra <amodra@gmail.com>
18119 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18120 * math/libm-test.inc (frexp_test_data): Add tests.
18121 * NEWS: Update fixed bug list.
18123 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18125 * benchtests/Makefile: Depend on libraries in build directory.
18126 (bench-math): Separate out math tests.
18127 (bench-pthread): Separate out pthread tests.
18128 (bench): Include math and pthread tests.
18130 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18133 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18134 _dl_debug_initialize.
18136 * configure.ac: Remove SELinux header check.
18137 * configure: Regenerate.
18138 * nscd/selinux.c (perms): Array of const char* to permission names.
18139 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18140 default policy. Call string_to_security_class and string_to_av_perm to
18141 translate strings. Enforce default policy and call avs_has_perm with
18142 results of translated strings.
18144 2014-04-13 David S. Miller <davem@davemloft.net>
18146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18148 2014-04-12 Allan McRae <allan@archlinux.org>
18151 * manual/string.texi (Collation Functions): Fix qsort argument
18153 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18155 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18157 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18158 Make the test a no-op if there are no exceptions defined.
18160 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18162 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18163 enable-hardcoded-path-in-tests
18165 2014-04-11 Will Newton <will.newton@linaro.org>
18167 * benchtests/Makefile (extra-objs): Add json-lib.o.
18168 (bench-func): Tidy up JSON output.
18169 * benchtests/bench-skeleton.c: Include json-lib.h.
18170 (main): Use JSON library functions to do output of
18172 * benchtests/bench-timing-type.c (main): Output the
18173 timing type simply, leaving formatting to the user.
18174 * benchtests/json-lib.c: New file.
18175 * benchtests/json-lib.h: Likewise.
18177 2014-04-11 Torvald Riegel <triegel@redhat.com>
18180 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18181 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18182 memory barriers. Add comments.
18183 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18184 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18185 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18186 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18187 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18188 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18190 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18192 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18193 * sysdeps/s390/s390-64/configure.ac: ... this ...
18194 * sysdeps/s390/configure.ac: ... to here.
18195 * sysdeps/s390/s390-32/configure: Delete file.
18196 * sysdeps/s390/s390-64/configure: Delete file.
18197 * sysdeps/s390/configure: Regenerate.
18199 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18201 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18203 2014-04-11 Will Newton <will.newton@linaro.org>
18205 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18206 to zero if it is not defined elsewhere. (mtrim): Test
18207 the value of MALLOC_DEBUG with #if rather than #ifdef.
18209 2014-04-10 Torvald Riegel <triegel@redhat.com>
18211 * benchtests/pthread_once-inputs: New file.
18212 * benchtests/pthread_once-source.c: New file.
18213 * benchtests/README: Update documentation.
18215 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18216 H.J. Lu <hongjiu.lu@intel.com>
18219 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18220 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18221 * sysdeps/x86_64/configure: Regenerated.
18222 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18224 (REGISTER_SAVE_RAX): Likewise.
18225 (REGISTER_SAVE_RCX): Likewise.
18226 (REGISTER_SAVE_RDX): Likewise.
18227 (REGISTER_SAVE_RSI): Likewise.
18228 (REGISTER_SAVE_RDI): Likewise.
18229 (REGISTER_SAVE_R8): Likewise.
18230 (REGISTER_SAVE_R9): Likewise.
18231 (REGISTER_SAVE_BND0): Likewise.
18232 (REGISTER_SAVE_BND1): Likewise.
18233 (REGISTER_SAVE_BND2): Likewise.
18234 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18235 bound registers when calling _dl_fixup.
18237 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18239 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18240 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18242 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18243 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18244 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18245 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18246 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18247 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18248 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18250 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18253 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18254 pathconf(_PC_NAME_MAX).
18256 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18258 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18259 Remove macro usage.
18260 (__PTHREAD_SPINS): Move definition to ...
18261 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18262 (__PTHREAD_SPINS): ... here.
18263 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18264 (__PTHREAD_SPIN): Likewise.
18265 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18266 (__PTHREAD_SPIN): Likewise.
18267 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18268 (__PTHREAD_SPIN): Likewise.
18269 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18270 (__PTHREAD_SPIN): Likewise.
18271 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18272 (__PTHREAD_SPIN): Likewise.
18273 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18274 (__PTHREAD_SPIN): Likewise.
18275 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18276 (__PTHREAD_SPIN): Likewise.
18277 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18278 (__PTHREAD_SPIN): Likewise.
18279 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18280 (__PTHREAD_SPIN): Likewise.
18281 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18282 (__PTHREAD_SPIN): Likewise.
18283 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18284 (__PTHREAD_SPIN): Likewise.
18285 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18286 (__PTHREAD_SPIN): Likewise.
18288 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18289 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18290 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18291 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18293 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18294 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18295 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18296 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18297 correct imply path.
18298 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18299 strlen symbol for non multi-arch builds.
18300 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18301 missing hidden_def and weak_alias.
18303 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18305 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18307 2014-04-07 Will Newton <will.newton@linaro.org>
18309 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18310 and contents. [!_LIBC] Remove #ifndef and contents.
18311 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18312 * string/memccpy.c (__memccpy): Use ANSI prototype.
18313 * string/memfrob.c (memfrob): Likewise.
18314 * string/strcoll.c (STRCOLL): Likewise.
18315 * string/strlen.c (strlen): Likewise.
18316 * string/strtok.c (STRTOK): Likewise.
18317 * string/strcat.c: Remove unused #include of memcopy.h.
18318 (strcat): Use ANSI prototype.
18319 * string/strchr.c: Remove unused #include of memcopy.h.
18320 (strchr): Use ANSI prototype.
18321 * string/strcmp.c: Remove unused #include of memcopy.h.
18322 (strcmp): Use ANSI prototype.
18323 * string/strcpy.c: Remove unused #include of memcopy.h.
18324 (strcpy): Use ANSI prototype.
18326 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18328 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18329 * config.make.in (config-extra-cppflags): Set it from
18330 libc_extra_cppflags.
18331 * configure.ac (libc_extra_cflags): Make it accumulate over
18332 configure fragments.
18333 (libc_extra_cppflags): New flag.
18334 * configure. Regenerate.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18336 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18337 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18341 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18342 result for FE_DOWNWARD rounding mode.
18343 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18347 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18349 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18350 in function argument name.
18352 2014-04-03 David Svoboda <svoboda@cert.org>
18355 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18358 2014-04-03 Roland McGrath <roland@hack.frob.com>
18360 * elf/dl-unmap-segments.h: New file.
18361 * sysdeps/generic/ldsodefs.h
18362 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18363 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18364 * elf/dl-fptr.c: Likewise.
18365 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18366 * sysdeps/aarch64/tlsdesc.c: Likewise.
18367 * sysdeps/arm/tlsdesc.c: Likewise.
18368 * sysdeps/i386/tlsdesc.c: Likewise.
18369 * sysdeps/tile/dl-runtime.c: Likewise.
18370 * sysdeps/x86_64/tlsdesc.c: Likewise.
18371 * elf/dl-load.h: New file.
18372 * elf/dl-load.c: Include it.
18373 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18374 Macros moved to dl-load.h.
18375 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18376 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18377 Use _dl_unmap_segments in place of __munmap.
18378 Break out segment-mapping loop into ...
18379 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18381 2014-04-03 Will Newton <will.newton@linaro.org>
18383 * elf/dl-lookup.c (do_lookup_x): Remove comment
18384 referring to nested function and move variable
18385 declarations down to before first use.
18387 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18391 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18393 * math/s_catanf.c (__catanf): Likewise.
18394 * math/s_catanh.c (__catanh): Likewise.
18395 * math/s_catanhf.c (__catanhf): Likewise.
18396 * math/s_catanhl.c (__catanhl): Likewise.
18397 * math/s_catanl.c (__catanl): Likewise.
18398 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18399 by positive zero when computing -Inf result.
18400 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18401 (catanh_test): Likewise.
18402 * sysdeps/i386/fpu/libm-test-ulps: Update.
18403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18406 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18407 instead of using underflowing value in computing result.
18408 * math/s_clog10.c (__clog10): Likewise.
18409 * math/s_clog10f.c (__clog10f): Likewise.
18410 * math/s_clog10l.c (__clog10l): Likewise.
18411 * math/s_clogf.c (__clogf): Likewise.
18412 * math/s_clogl.c (__clogl): Likewise.
18413 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18414 (clog10_test): Likewise.
18415 * sysdeps/i386/fpu/libm-test-ulps: Update.
18416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18418 2014-04-02 Alan Modra <amodra@gmail.com>
18421 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18422 output when value is near a power of two. Use int64_t for lx and
18423 remove casts. Use decimal rather than hex exponent constants.
18424 Don't use long double multiplication when double will suffice.
18425 * math/libm-test.inc (nextafter_test_data): Add tests.
18426 * NEWS: Add 16739 and 16786 to bug list.
18428 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18430 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18432 2014-04-01 Will Newton <will.newton@linaro.org>
18434 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18435 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18437 2014-04-01 Florian Weimer <fweimer@redhat.com>
18440 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18441 * nptl/tst-setuid2.c: New file.
18442 * nptl/Makefile (xtests): Add tst-setuid2.
18444 2014-04-01 Alan Modra <amodra@gmail.com>
18447 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18449 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18453 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18454 set errno as appropriate.
18455 * math/w_scalbf.c (__scalbf): Likewise.
18456 * math/w_scalbl.c (__scalbl): Likewise.
18457 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18458 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18459 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18460 Add more NaN tests.
18463 * math/w_atan2.c: Include <errno.h>.
18464 (__atan2): Set errno for result underflowing to zero.
18465 * math/w_atan2f.c: Include <errno.h>.
18466 (__atan2f): Set errno for result underflowing to zero.
18467 * math/w_atan2l.c: Include <errno.h>.
18468 (__atan2l): Set errno for result underflowing to zero.
18469 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18471 * math/auto-libm-test-out: Regenerated.
18473 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18475 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18476 Encode instruction correctly in little endian.
18477 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18479 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18481 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18483 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18486 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18489 * sysdeps/unix/sysv/linux/kernel-features.h
18490 [__sparc__ && !__arch64__ && !__sparc_v9__]
18491 (__ASSUME_SET_ROBUST_LIST): Do not define.
18492 [__sparc__ && !__arch64__ && !__sparc_v9__]
18493 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18494 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18496 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18497 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18498 (__ASSUME_REQUEUE_PI): Likewise.
18499 (__ASSUME_SET_ROBUST_LIST): Likewise.
18500 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18501 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18503 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18504 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18506 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18508 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18510 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18511 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18513 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18514 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18519 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18520 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18522 2014-03-31 Will Newton <will.newton@linaro.org>
18524 * benchtests/Makefile (bench): Add ffs and ffsll to list
18526 * benchtests/ffs-inputs: New file.
18527 * benchtests/ffsll-inputs: Likewise.
18529 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18532 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18533 too large before casting to int.
18534 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18535 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18536 * math/libm-test.inc (scalb_test_data): Add more tests.
18538 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18540 * benchtests/Makefile (DETAILED_OPT): New make option.
18541 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18543 * benchtests/bench-skeleton.c: Include stdbool.h.
18544 (main): Store and print timings per input.
18545 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18546 member to each argument value.
18547 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18548 (_print_arg_data): Initialize per-input timing to 0.
18550 * benchtests/Makefile (timing-type): New binary.
18551 (bench-clean): Also remove bench-timing-type.
18552 (bench): New target for timing-type.
18553 (bench-func): Print output in JSON format.
18554 * benchtests/bench-skeleton.c (main): Print output in JSON
18556 * benchtests/bench-timing-type.c: New file.
18557 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18558 (TIMING_PRINT_STATS): Remove.
18559 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18562 * benchtests/bench-modf.c: Remove.
18563 * benchtests/modf-inputs: New inputs file.
18565 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18568 * math/s_clog10.c (M_PI_LOG10E): New macro.
18569 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18570 imaginary parts are 0.
18571 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18572 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18573 imaginary parts are 0.
18574 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18575 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18576 imaginary parts are 0.
18577 * math/libm-test.inc (clog10_test_data): Update expected results
18578 for when real and imaginary parts are 0.
18580 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18582 * elf/dl-load.c: Finish conversion of __builtin_expect into
18583 __glibc_{un}likely.
18585 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18588 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18589 1+x for argument with exponent below -67.
18590 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18592 * math/auto-libm-test-in: Add more tests of exp.
18593 * math/auto-libm-test-out: Regenerated.
18595 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18598 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18599 (nscd_getnetgrent): Use it.
18602 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18605 2014-03-27 Andi Kleen <ak@linux.intel.com>
18607 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18608 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18609 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18610 (lll_robust_unlock): Remove out of line section. Use cfi
18612 (LLL_STUB_UNWIND_INFO*): Remove.
18613 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18614 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18615 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18616 (lll_robust_unlock): Remove out of line section. Use cfi
18618 (LLL_STUB_UNWIND_INFO*): Remove.
18620 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18623 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18626 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18628 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18630 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18633 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18635 * math/test-fenv-preserve.c: New file.
18636 * math/Makefile (tests): Add test-fenv-preserve.
18638 2014-03-26 Will Newton <will.newton@linaro.org>
18640 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18642 2014-03-25 Roland McGrath <roland@hack.frob.com>
18644 * scripts/versionlist.awk: Partition the version sets and emit all
18645 GLIBC_* (sorted) before all others (sorted).
18647 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18649 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18650 GLIBC_2.2.5 version.
18652 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18654 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18657 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18662 2014-03-25 Andreas Schwab <schwab@suse.de>
18664 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18665 label to be used after in6ailist is initialized.
18667 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18669 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18670 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18672 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18676 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18678 (fp_formats): Update initializers.
18679 (init_fp_formats): Initialize new field.
18680 (output_for_one_input_case): Allow underflow for results up to
18682 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18683 * math/auto-libm-test-in: Don't mark some underflows from asin and
18685 * math/auto-libm-test-out: Regenerated.
18686 * sysdeps/i386/fpu/libm-test-ulps: Update.
18687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18689 2014-03-25 Andreas Schwab <schwab@suse.de>
18691 * libio/Makefile (tst-ftell-partial-wide-ENV)
18692 (tst-ftell-active-handler-ENV): Define.
18694 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18696 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18698 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18700 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18702 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18704 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18705 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18706 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18708 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18711 * elf/dl-load.c (open_verify): Add mode parameter.
18712 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18713 (open_path): Change from boolean 'secure' to complete flag 'mode'
18714 (_dl_map_object): Adjust.
18715 * elf/Makefile (tests): Add tst-dlopen-aout.
18716 * elf/tst-dlopen-aout.c: New test.
18718 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18721 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18722 (struct stat): Rename member pad0 to __glibc_reserved0.
18725 * sysdeps/s390/s390-32/bits/wordsize.h
18726 (__WORDSIZE32_SIZE_ULONG): New define.
18727 * sysdeps/s390/s390-64/bits/wordsize.h
18728 (__WORDSIZE32_SIZE_ULONG): Likewise.
18729 * sysdeps/generic/stdint.h (SIZE_MAX):
18730 Define as UL if __WORDSIZE32_SIZE_ULONG.
18733 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18734 (__glibc_reserved0): New variable.
18735 (sa_flags): Change type to int.
18737 * posix/Makefile (before-compile): Use += before-compile instead
18740 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18741 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18743 2014-03-20 Andreas Schwab <schwab@suse.de>
18746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18747 non-matching result from nscd.
18749 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18751 * scripts/bench.py: Moved to ...
18752 * benchtests/scripts/bench.py: ... here.
18753 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18755 2014-03-24 Andreas Schwab <schwab@suse.de>
18758 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18759 alloca_account and account alloca use for struct in6ailist.
18761 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18764 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18765 rounding mode to recompute results that overflow to infinity or
18767 * math/auto-libm-test-in: Don't mark tests as expected to fail for
18769 * math/auto-libm-test-out: Regenerated.
18770 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18771 (ccosh_test): Likewise.
18772 (csin_test_data): Use plus_oflow.
18773 (csin_test): Use ALL_RM_TEST.
18774 (csinh_test_data): Use plus_oflow.
18775 (csinh_test): Use ALL_RM_TEST.
18776 * sysdeps/i386/fpu/libm-test-ulps: Update.
18777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18779 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18781 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18782 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18783 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18786 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18787 when x - 1 is zero.
18788 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18789 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18790 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18791 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18793 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18794 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18796 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18797 * sysdeps/i386/fpu/libm-test-ulps: Update.
18798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18800 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18802 * scripts/bench.pl: Remove file.
18803 * scripts/bench.py: New benchmark script.
18804 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18805 * benchtests/README: Mention python dependency.
18806 * scripts/pylintrc: New file.
18807 * scripts/pylint: New file.
18809 * bits/mathdef.h: Use #ifdef instead of #if.
18810 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18811 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18812 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18813 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18814 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18815 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18817 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18818 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18820 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18822 and strpbrk-ppc64 objects.
18823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18824 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18825 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18826 multiarch strpbrk for POWER7.
18827 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18828 multiarch strpbrk for PPC64.
18829 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18831 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18832 strpbrk for POWER7.
18834 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18836 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18837 (atan_test): Likewise.
18838 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18839 (atanh_test): Use ALL_RM_TEST.
18840 (atan2_test_data): Likewise.
18841 (cabs_test): Likewise.
18842 (cacosh_test): Likewise.
18843 (carg_test): Likewise.
18844 (casin_test): Likewise.
18845 (casinh_test): Likewise.
18846 (cbrt_test): Likewise.
18847 (csqrt_test): Likewise.
18848 (erf_test): Likewise.
18849 (erfc_test): Likewise.
18850 (pow10_test): Likewise.
18851 (exp2_test): Likewise.
18852 (hypot_test): Likewise.
18853 (j0_test): Likewise.
18854 (j1_test): Likewise.
18855 (lgamma_test): Likewise.
18856 (gamma_test): Likewise.
18857 (sincos_test): Likewise.
18858 (tanh_test): Likewise.
18859 (y0_test): Likewise.
18860 (y1_test): Likewise.
18861 * sysdeps/i386/fpu/libm-test-ulps: Update.
18862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18864 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18866 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18868 and strcspn-ppc64 objects.
18869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18870 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18871 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18872 multiarch strcspn for POWER7.
18873 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18874 multiarch strcspn for PPC64.
18875 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18877 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18878 strcspn for POWER7.
18880 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18882 * math/gen-libm-test.pl (generate_testfile): Expect only function
18883 name as argument to AUTO_TESTS_* and pass results for all rounding
18884 modes to parse_args.
18885 (parse_auto_input): Separate inputs of automatic tests from
18886 outputs before storing in %auto_tests.
18887 * math/libm-test.inc (acos_test_data): Update call to
18889 (acos_test): Use ALL_RM_TEST.
18890 (acos_tonearest_test_data): Remove.
18891 (acos_test_tonearest): Likewise.
18892 (acos_towardzero_test_data): Likewise.
18893 (acos_test_towardzero): Likewise.
18894 (acos_downward_test_data): Likewise.
18895 (acos_test_downward): Likewise.
18896 (acos_upward_test_data): Likewise.
18897 (acos_test_upward): Likewise.
18898 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18899 (asin_test_data): Likewise.
18900 (asin_test): Use ALL_RM_TEST.
18901 (asin_tonearest_test_data): Remove.
18902 (asin_test_tonearest): Likewise.
18903 (asin_towardzero_test_data): Likewise.
18904 (asin_test_towardzero): Likewise.
18905 (asin_downward_test_data): Likewise.
18906 (asin_test_downward): Likewise.
18907 (asin_upward_test_data): Likewise.
18908 (asin_test_upward): Likewise.
18909 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18910 (atan_test_data): Likewise.
18911 (atanh_test_data): Likewise.
18912 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18913 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18914 (carg_test_data): Likewise.
18915 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18916 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18917 (ccosh_test_data): Likewise.
18918 (cexp_test_data): Likewise.
18919 (clog_test_data): Likewise.
18920 (clog10_test_data): Likewise.
18921 (cos_test_data): Update call to AUTO_TESTS_f_f.
18922 (cos_test): Use ALL_RM_TEST.
18923 (cos_tonearest_test_data): Remove.
18924 (cos_test_tonearest): Likewise.
18925 (cos_towardzero_test_data): Likewise.
18926 (cos_test_towardzero): Likewise.
18927 (cos_downward_test_data): Likewise.
18928 (cos_test_downward): Likewise.
18929 (cos_upward_test_data): Likewise.
18930 (cos_test_upward): Likewise.
18931 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18932 (cosh_test): Use ALL_RM_TEST.
18933 (cosh_tonearest_test_data): Remove.
18934 (cosh_test_tonearest): Likewise.
18935 (cosh_towardzero_test_data): Likewise.
18936 (cosh_test_towardzero): Likewise.
18937 (cosh_downward_test_data): Likewise.
18938 (cosh_test_downward): Likewise.
18939 (cosh_upward_test_data): Likewise.
18940 (cosh_test_upward): Likewise.
18941 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18942 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18943 (ctan_test_data): Likewise.
18944 (ctan_test): Use ALL_RM_TEST.
18945 (ctan_tonearest_test_data): Remove.
18946 (ctan_test_tonearest): Likewise.
18947 (ctan_towardzero_test_data): Likewise.
18948 (ctan_test_towardzero): Likewise.
18949 (ctan_downward_test_data): Likewise.
18950 (ctan_test_downward): Likewise.
18951 (ctan_upward_test_data): Likewise.
18952 (ctan_test_upward): Likewise.
18953 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18954 (ctanh_test): Use ALL_RM_TEST.
18955 (ctanh_tonearest_test_data): Remove.
18956 (ctanh_test_tonearest): Likewise.
18957 (ctanh_towardzero_test_data): Likewise.
18958 (ctanh_test_towardzero): Likewise.
18959 (ctanh_downward_test_data): Likewise.
18960 (ctanh_test_downward): Likewise.
18961 (ctanh_upward_test_data): Likewise.
18962 (ctanh_test_upward): Likewise.
18963 (erf_test_data): Update call to AUTO_TESTS_f_f.
18964 (erfc_test_data): Likewise.
18965 (exp_test_data): Likewise.
18966 (exp_test): Use ALL_RM_TEST.
18967 (exp_tonearest_test_data): Remove.
18968 (exp_test_tonearest): Likewise.
18969 (exp_towardzero_test_data): Likewise.
18970 (exp_test_towardzero): Likewise.
18971 (exp_downward_test_data): Likewise.
18972 (exp_test_downward): Likewise.
18973 (exp_upward_test_data): Likewise.
18974 (exp_test_upward): Likewise.
18975 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18976 (exp10_test): Use ALL_RM_TEST.
18977 (exp10_tonearest_test_data): Remove.
18978 (exp10_test_tonearest): Likewise.
18979 (exp10_towardzero_test_data): Likewise.
18980 (exp10_test_towardzero): Likewise.
18981 (exp10_downward_test_data): Likewise.
18982 (exp10_test_downward): Likewise.
18983 (exp10_upward_test_data): Likewise.
18984 (exp10_test_upward): Likewise.
18985 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18986 (expm1_test_data): Likewise.
18987 (expm1_test): Use ALL_RM_TEST.
18988 (expm1_tonearest_test_data): Remove.
18989 (expm1_test_tonearest): Likewise.
18990 (expm1_towardzero_test_data): Likewise.
18991 (expm1_test_towardzero): Likewise.
18992 (expm1_downward_test_data): Likewise.
18993 (expm1_test_downward): Likewise.
18994 (expm1_upward_test_data): Likewise.
18995 (expm1_test_upward): Likewise.
18996 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18997 (fma_test): Use ALL_RM_TEST.
18998 (fma_towardzero_test_data): Remove.
18999 (fma_test_towardzero): Likewise.
19000 (fma_downward_test_data): Likewise.
19001 (fma_test_downward): Likewise.
19002 (fma_upward_test_data): Likewise.
19003 (fma_test_upward): Likewise.
19004 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19005 (j0_test_data): Update call to AUTO_TESTS_f_f.
19006 (j1_test_data): Likewise.
19007 (jn_test_data): Update call to AUTO_TESTS_if_f.
19008 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19009 (log_test_data): Update call to AUTO_TESTS_f_f.
19010 (log10_test_data): Likewise.
19011 (log1p_test_data): Likewise.
19012 (log2_test_data): Likewise.
19013 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19014 (pow_tonearest_test_data): Likewise.
19015 (sin_test_data): Update call to AUTO_TESTS_f_f.
19016 (sin_test): Use ALL_RM_TEST.
19017 (sin_tonearest_test_data): Remove.
19018 (sin_test_tonearest): Likewise.
19019 (sin_towardzero_test_data): Likewise.
19020 (sin_test_towardzero): Likewise.
19021 (sin_downward_test_data): Likewise.
19022 (sin_test_downward): Likewise.
19023 (sin_upward_test_data): Likewise.
19024 (sin_test_upward): Likewise.
19025 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19026 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19027 (sinh_test): Use ALL_RM_TEST.
19028 (sinh_tonearest_test_data): Remove.
19029 (sinh_test_tonearest): Likewise.
19030 (sinh_towardzero_test_data): Likewise.
19031 (sinh_test_towardzero): Likewise.
19032 (sinh_downward_test_data): Likewise.
19033 (sinh_test_downward): Likewise.
19034 (sinh_upward_test_data): Likewise.
19035 (sinh_test_upward): Likewise.
19036 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19037 (sqrt_test): Use ALL_RM_TEST.
19038 (sqrt_tonearest_test_data): Remove.
19039 (sqrt_test_tonearest): Likewise.
19040 (sqrt_towardzero_test_data): Likewise.
19041 (sqrt_test_towardzero): Likewise.
19042 (sqrt_downward_test_data): Likewise.
19043 (sqrt_test_downward): Likewise.
19044 (sqrt_upward_test_data): Likewise.
19045 (sqrt_test_upward): Likewise.
19046 (tan_test_data): Update call to AUTO_TESTS_f_f.
19047 (tan_test): Use ALL_RM_TEST.
19048 (tan_tonearest_test_data): Remove.
19049 (tan_test_tonearest): Likewise.
19050 (tan_towardzero_test_data): Likewise.
19051 (tan_test_towardzero): Likewise.
19052 (tan_downward_test_data): Likewise.
19053 (tan_test_downward): Likewise.
19054 (tan_upward_test_data): Likewise.
19055 (tan_test_upward): Likewise.
19056 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19057 (tgamma_test_data): Likewise.
19058 (y0_test_data): Likewise.
19059 (y1_test_data): Likewise.
19060 (yn_test_data): Update call to AUTO_TESTS_if_f.
19061 (main): Do not call removed functions.
19063 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19065 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19066 (ldexp_test_data): Remove.
19067 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19069 (scalb_test): Use ALL_RM_TEST.
19071 2014-03-19 Andreas Schwab <schwab@suse.de>
19073 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19075 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19078 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19079 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19081 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19082 (__ASSUME_PREADV): Undefine.
19083 (__ASSUME_PWRITEV): Likewise.
19085 2014-03-18 Roland McGrath <roland@hack.frob.com>
19087 * bits/mman-linux.h: Add comment about non-Linux use.
19088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19089 bits/mman-linux.h resting place.
19091 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19092 * bits/mman-linux.h: ... here.
19094 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19096 * conform/conformtest.pl: Add standard definition when calling C
19097 preprocessor on data files.
19098 (checknamespace): Remove unused variable.
19100 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19102 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19103 minus_oflow, plus_uflow and minus_uflow in expected results.
19104 * math/libm-test.inc (scalbn_test_data): Add more tests of
19105 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19107 (scalbn_test): Use ALL_RM_TEST.
19108 (scalbln_test_data): Add more tests of negative arguments. Use
19109 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19110 (scalbln_test): Use ALL_RM_TEST.
19112 2014-03-18 Roland McGrath <roland@hack.frob.com>
19114 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19116 2014-03-18 Will Newton <will.newton@linaro.org>
19118 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19119 inaccurate comment.
19121 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19123 * Makerules [!subdir] (check-abi): Exit with error status if a
19126 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19128 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19129 for rint. Include results for all rounding modes.
19130 (nearbyint_test): Use ALL_RM_TEST.
19131 (rint_test_data): Include all tests used for nearbyint.
19133 2014-03-17 Will Newton <will.newton@linaro.org>
19135 * nptl/sysdeps/pthread/pthread.h: Revert previous
19138 * sysdeps/generic/ldsodefs.h: Revert previous
19141 * libio/genops.c: Revert previous change.
19142 * libio/libioP.h: Likewise.
19143 * stdio-common/vfprintf.c: Likewise.
19145 * sysdeps/generic/math_private.h: Revert previous
19148 * sysdeps/generic/math_private.h: Check whether
19149 HAVE_RM_CTX is defined with #ifdef rather
19152 * argp/argp-fmtstream.h: Check whether
19153 __STRICT_ANSI__ is defined with #ifdef rather
19155 * argp/argp.h: Likewise.
19157 * libio/genops.c: Check whether
19158 _IO_JUMPS_OFFSET is defined with #ifdef rather
19160 * libio/libioP.h: Likewise.
19161 * stdio-common/vfprintf.c: Likewise.
19163 * sysdeps/generic/ldsodefs.h: Check whether
19164 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19167 * nptl/sysdeps/pthread/pthread.h: Check
19168 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19171 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19173 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19175 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19179 * libio/fileops.c (_IO_file_open): Seek to end of file but
19180 don't cache the offset.
19181 (get_file_offset): Remove function.
19182 (do_ftell): Use cached offset when available.
19183 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19184 don't cache the offset.
19185 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19187 (do_one_test): Call it.
19188 (do_ftell_test): Fix up expected old offset for a+ mode.
19189 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19192 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19193 up test status with function return status.
19194 (do_write_test): Likewise.
19195 (do_append_test): Likewise.
19197 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19198 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19201 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19203 * math/gen-libm-test.pl (parse_args): Handle results specified for
19204 each rounding mode separately.
19205 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19206 tests and results from lrint_tonearest_test_data,
19207 lrint_towardzero_test_data, lrint_downward_test_data and
19208 lrint_upward_test_data.
19209 (lrint_test): Use ALL_RM_TEST.
19210 (lrint_tonearest_test_data): Remove.
19211 (lrint_test_tonearest): Likewise.
19212 (lrint_towardzero_test_data): Likewise.
19213 (lrint_test_towardzero): Likewise.
19214 (lrint_downward_test_data): Likewise.
19215 (lrint_test_downward): Likewise.
19216 (lrint_upward_test_data): Likewise.
19217 (lrint_test_upward): Likewise.
19218 (llrint_test_data): Merge in per-rounding-mode tests and results
19219 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19220 llrint_downward_test_data and llrint_upward_test_data.
19221 (llrint_test): Use ALL_RM_TEST.
19222 (llrint_tonearest_test_data): Remove.
19223 (llrint_test_tonearest): Likewise.
19224 (llrint_towardzero_test_data): Likewise.
19225 (llrint_test_towardzero): Likewise.
19226 (llrint_downward_test_data): Likewise.
19227 (llrint_test_downward): Likewise.
19228 (llrint_upward_test_data): Likewise.
19229 (llrint_test_upward): Likewise.
19230 (rint_test_data): Merge in per-rounding-mode tests and results
19231 from rint_tonearest_test_data, rint_towardzero_test_data,
19232 rint_downward_test_data and rint_upward_test_data. Add
19233 per-rounding-mode results for tests not in those arrays.
19234 (rint_test): Use ALL_RM_TEST.
19235 (rint_tonearest_test_data): Remove.
19236 (rint_test_tonearest): Likewise.
19237 (rint_towardzero_test_data): Likewise.
19238 (rint_test_towardzero): Likewise.
19239 (rint_downward_test_data): Likewise.
19240 (rint_test_downward): Likewise.
19241 (rint_upward_test_data): Likewise.
19242 (rint_test_upward): Likewise.
19243 (main): Don't call removed functions.
19245 2014-03-14 Roland McGrath <roland@hack.frob.com>
19247 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19248 "Compiled on ..." crapola. It is anti-useful.
19250 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19252 * scripts/evaluate-test.sh: Handle fourth argument to determine
19253 whether test run should stop on failure.
19254 * Makeconfig (stop-on-test-failure): New variable.
19255 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19256 $(stop-on-test-failure).
19257 * Makefile (tests): Give a summary of results from testing and
19258 exit with failure status if they include an ERROR or FAIL.
19259 (xtests): Likewise.
19260 * manual/install.texi (Configuring and compiling): Mention
19261 stop-on-test-failure=y.
19262 * INSTALL: Regenerated.
19264 2014-03-14 Roland McGrath <roland@hack.frob.com>
19266 * scripts/versionlist.awk: New file.
19267 * Makerules [$(build-shared) = yes]
19268 (postclean-generated): Add Versions.def, not Versions.def.v and
19270 ($(common-objpfx)Versions.def.v.i): Target removed.
19271 ($(common-objpfx)Versions.def): New target.
19272 ($(common-objpfx)Versions.all): Depend on that rather that
19273 $(common-objpfx)Versions.def.v.
19274 * Versions.def: File removed.
19276 * Makeconfig (+gccwarn): Add -Wundef.
19277 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19278 a dl-sysdep.h breaking its contract.
19279 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19280 * include/stackinfo.h: New file.
19281 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19282 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19283 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19284 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19285 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19286 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19287 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19288 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19289 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19290 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19291 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19292 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19293 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19294 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19295 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19297 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19300 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19302 * math/libm-test.inc (round_test_data): Add more tests.
19305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19307 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19310 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19312 * math/libm-test.inc (ceil_test_data): Add more tests.
19314 * math/libm-test.inc (trunc_test_data): Add more tests related to
19317 2014-03-14 Roland McGrath <roland@hack.frob.com>
19319 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19320 with #if rather than #ifdef.
19321 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19323 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19325 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19326 first. Disable AVX-512 GCC support if assembler doesn't support
19328 * sysdeps/x86_64/configure: Regenerated.
19330 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19332 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19333 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19334 (__old_pthread_attr_setstack): Likewise.
19335 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19336 [!_STACK_GROWS_DOWN]: Likewise.
19338 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19340 * config.make.in (have-bash2): Delete.
19341 * configure.ac (libc_cv_have_bash2): Delete.
19342 * configure: Regenerate.
19343 * elf/Makefile (common-ldd-rewrite): Rename to ...
19344 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19345 (sh-ldd-rewrite): Delete.
19346 (bash-ldd-rewrite): Delete.
19347 (have-bash2): Delete checks.
19348 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19351 * config.make.in (have-ksh): Delete.
19353 * configure.ac (libc_cv_have_ksh): Delete.
19354 * configure: Regenerate.
19356 * elf/Makefile: Delete $(have-ksh) check.
19357 ($(objpfx)sotruss): Change KSH to BASH.
19358 * elf/sotruss.ksh: Rename to ...
19359 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19360 function style to match POSIX. Drop ksh vim mode setting.
19362 * manual/time.texi (Specifying the Time Zone with TZ): Change
19363 Tuesday to Thursday.
19365 * debug/tst-longjmp_chk2.c: Update header comment.
19366 (stackoverflow_handler): Add comment. Call assert on pass value.
19368 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19371 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19372 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19373 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19374 (La_x86_64_vector): Add zmm.
19375 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19376 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19377 ($(objpfx)tst-audit10): New target.
19378 ($(objpfx)tst-audit10.out): Likewise.
19379 (tst-audit10-ENV): New.
19380 (AVX512-CFLAGS): Likewise.
19381 (CFLAGS-tst-audit10.c): Likewise.
19382 (CFLAGS-tst-auditmod10a.c): Likewise.
19383 (CFLAGS-tst-auditmod10b.c): Likewise.
19384 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19385 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19386 * sysdeps/x86_64/configure: Regenerated.
19387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19388 AVX-512 zmm register support.
19389 (_dl_x86_64_save_sse): Likewise.
19390 (_dl_x86_64_restore_sse): Likewise.
19391 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19392 size vector registers.
19393 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19394 (ZMM_SIZE): Likewise.
19395 * sysdeps/x86_64/tst-audit10.c: New file.
19396 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19397 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19399 2014-03-13 Roland McGrath <roland@hack.frob.com>
19401 * configure.ac (HAVE_EHDR_START): New check.
19402 * configure: Regenerated.
19403 * config.h.in (HAVE_EHDR_START): New #undef.
19404 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19405 assuming the lowest-addressed segment maps the start of the file.
19407 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19409 * INSTALL: Regenerated.
19411 2014-03-13 Will Newton <will.newton@linaro.org>
19413 * manual/setjmp.texi (System V contexts): Improve
19414 clarity and grammar of documentation.
19416 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19419 * elf/Makefile (tests): Add tst-pie2.
19420 (tests-pie): Add tst-pie2.
19421 * elf/tst-pie2.c: New file.
19422 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19424 * elf/rtld.c (map_doit): Load executable as lt_executable.
19425 (dl_main): Likewise.
19427 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19430 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19431 (__ASSUME_PSELECT): Undefine.
19433 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19436 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19437 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19439 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19440 selector for static builds.
19442 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19445 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19448 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19450 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19451 IFUNC selector for static builds.
19453 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19455 * sysdeps/mips/math_private.h [__mips_hard_float]
19456 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19457 libc_feresetround_mips_ctx.
19458 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19459 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19460 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19463 * math/s_nextafter.c (__nextafter): Do not return value from
19464 overflowing computation.
19465 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19466 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19467 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19471 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19472 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19474 2014-03-11 Roland McGrath <roland@hack.frob.com>
19476 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19477 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19478 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19479 the new mov targetting sp.
19481 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19484 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19485 Define it for static builds as well.
19486 (NO_BZERO_IMPL): Likewise.
19488 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19490 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19491 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19492 multiarch strspn for PPC64.
19493 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19494 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19496 (__libc_ifunc_impl_list): Likewise.
19497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19498 multiarch optimizations
19499 * string/strspn.c (strspn): Using macro to redefine symbol name.
19501 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19502 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19504 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19505 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19506 multiarch strncat for PPC64.
19507 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19508 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19510 (__libc_ifunc_impl_list): Likewise.
19511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19512 multiarch optimizations
19514 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19517 * nscd/nscd.service: Make service type forking.
19519 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19521 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19522 sign in non default rounding modes.
19523 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19525 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19527 * math/libm-test.inc (ALL_RM_TEST): New macro.
19528 (ceil_test): Use ALL_RM_TEST.
19529 (cimag_test): Likewise.
19530 (conj_test): Likewise.
19531 (copysign_test): Likewise.
19532 (cproj_test): Likewise.
19533 (creal_test): Likewise.
19534 (fabs_test): Likewise.
19535 (floor_test): Likewise.
19536 (fmax_test): Likewise.
19537 (fmin_test): Likewise.
19538 (fmod_test): Likewise.
19539 (fpclassify_test): Likewise.
19540 (frexp_test): Likewise.
19541 (ilogb_test): Likewise.
19542 (isfinite_test): Likewise.
19543 (finite_test): Likewise.
19544 (isgreater_test): Likewise.
19545 (isgreaterequal_test): Likewise.
19546 (isinf_test): Likewise.
19547 (isless_test): Likewise.
19548 (islessequal_test): Likewise.
19549 (islessgreater_test): Likewise.
19550 (isnan_test): Likewise.
19551 (isnormal_test): Likewise.
19552 (issignaling_test): Likewise.
19553 (isunordered_test): Likewise.
19554 (logb_test): Likewise.
19555 (logb_downward_test_data): Remove.
19556 (logb_test_downward): Likewise.
19557 (lround_test): Use ALL_RM_TEST.
19558 (llround_test): Likewise.
19559 (modf_test): Likewise.
19560 (nexttoward_test): Likewise.
19561 (remainder_test): Likewise.
19562 (drem_test): Likewise.
19563 (remainder_tonearest_test_data): Likewise.
19564 (remainder_test_tonearest): Likewise.
19565 (drem_test_tonearest): Likewise.
19566 (remainder_towardzero_test_data): Likewise.
19567 (remainder_test_towardzero): Likewise.
19568 (drem_test_towardzero): Likewise.
19569 (remainder_downward_test_data): Likewise.
19570 (remainder_test_downward): Likewise.
19571 (drem_test_downward): Likewise.
19572 (remainder_upward_test_data): Likewise.
19573 (remainder_test_upward): Likewise.
19574 (drem_test_upward): Likewise.
19575 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19576 (round_test): Use ALL_RM_TEST.
19577 (signbit_test): Likewise.
19578 (trunc_test): Likewise.
19579 (significand_test): Likewise.
19580 (main): Don't call removed functions.
19582 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19585 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19586 || __USE_XOPEN2K8].
19587 (ILL_ILLOPN): Likewise.
19588 (ILL_ILLADR): Likewise.
19589 (ILL_ILLTRP): Likewise.
19590 (ILL_PRVOPC): Likewise.
19591 (ILL_PRVREG): Likewise.
19592 (ILL_COPROC): Likewise.
19593 (ILL_BADSTK): Likewise.
19594 (FPE_INTDIV): Likewise.
19595 (FPE_INTOVF): Likewise.
19596 (FPE_FLTDIV): Likewise.
19597 (FPE_FLTOVF): Likewise.
19598 (FPE_FLTUND): Likewise.
19599 (FPE_FLTRES): Likewise.
19600 (FPE_FLTINV): Likewise.
19601 (FPE_FLTSUB): Likewise.
19602 (SEGV_MAPERR): Likewise.
19603 (SEGV_ACCERR): Likewise.
19604 (BUS_ADRALN): Likewise.
19605 (BUS_ADRERR): Likewise.
19606 (BUS_OBJERR): Likewise.
19607 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19608 (TRAP_TRACE): Likewise.
19609 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19611 (CLD_KILLED): Likewise.
19612 (CLD_DUMPED): Likewise.
19613 (CLD_TRAPPED): Likewise.
19614 (CLD_STOPPED): Likewise.
19615 (CLD_CONTINUED): Likewise.
19616 (POLL_IN): Likewise.
19617 (POLL_OUT): Likewise.
19618 (POLL_MSG): Likewise.
19619 (POLL_ERR): Likewise.
19620 (POLL_PRI): Likewise.
19621 (POLL_HUP): Likewise.
19622 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19624 (ILL_ILLOPN): Likewise.
19625 (ILL_ILLADR): Likewise.
19626 (ILL_ILLTRP): Likewise.
19627 (ILL_PRVOPC): Likewise.
19628 (ILL_PRVREG): Likewise.
19629 (ILL_COPROC): Likewise.
19630 (ILL_BADSTK): Likewise.
19631 (FPE_INTDIV): Likewise.
19632 (FPE_INTOVF): Likewise.
19633 (FPE_FLTDIV): Likewise.
19634 (FPE_FLTOVF): Likewise.
19635 (FPE_FLTUND): Likewise.
19636 (FPE_FLTRES): Likewise.
19637 (FPE_FLTINV): Likewise.
19638 (FPE_FLTSUB): Likewise.
19639 (SEGV_MAPERR): Likewise.
19640 (SEGV_ACCERR): Likewise.
19641 (BUS_ADRALN): Likewise.
19642 (BUS_ADRERR): Likewise.
19643 (BUS_OBJERR): Likewise.
19644 (BUS_MCEERR_AR): Likewise.
19645 (BUS_MCEERR_AO): Likewise.
19646 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19647 (TRAP_TRACE): Likewise.
19648 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19650 (CLD_KILLED): Likewise.
19651 (CLD_DUMPED): Likewise.
19652 (CLD_TRAPPED): Likewise.
19653 (CLD_STOPPED): Likewise.
19654 (CLD_CONTINUED): Likewise.
19655 (POLL_IN): Likewise.
19656 (POLL_OUT): Likewise.
19657 (POLL_MSG): Likewise.
19658 (POLL_ERR): Likewise.
19659 (POLL_PRI): Likewise.
19660 (POLL_HUP): Likewise.
19661 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19662 (ILL_ILLOPN): Likewise.
19663 (ILL_ILLADR): Likewise.
19664 (ILL_ILLTRP): Likewise.
19665 (ILL_PRVOPC): Likewise.
19666 (ILL_PRVREG): Likewise.
19667 (ILL_COPROC): Likewise.
19668 (ILL_BADSTK): Likewise.
19669 (FPE_INTDIV): Likewise.
19670 (FPE_INTOVF): Likewise.
19671 (FPE_FLTDIV): Likewise.
19672 (FPE_FLTOVF): Likewise.
19673 (FPE_FLTUND): Likewise.
19674 (FPE_FLTRES): Likewise.
19675 (FPE_FLTINV): Likewise.
19676 (FPE_FLTSUB): Likewise.
19677 (SEGV_MAPERR): Likewise.
19678 (SEGV_ACCERR): Likewise.
19679 (BUS_ADRALN): Likewise.
19680 (BUS_ADRERR): Likewise.
19681 (BUS_OBJERR): Likewise.
19682 (BUS_MCEERR_AR): Likewise.
19683 (BUS_MCEERR_AO): Likewise.
19684 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19685 (TRAP_TRACE): Likewise.
19686 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19688 (CLD_KILLED): Likewise.
19689 (CLD_DUMPED): Likewise.
19690 (CLD_TRAPPED): Likewise.
19691 (CLD_STOPPED): Likewise.
19692 (CLD_CONTINUED): Likewise.
19693 (POLL_IN): Likewise.
19694 (POLL_OUT): Likewise.
19695 (POLL_MSG): Likewise.
19696 (POLL_ERR): Likewise.
19697 (POLL_PRI): Likewise.
19698 (POLL_HUP): Likewise.
19699 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19701 (ILL_ILLOPN): Likewise.
19702 (ILL_ILLADR): Likewise.
19703 (ILL_ILLTRP): Likewise.
19704 (ILL_PRVOPC): Likewise.
19705 (ILL_PRVREG): Likewise.
19706 (ILL_COPROC): Likewise.
19707 (ILL_BADSTK): Likewise.
19708 (ILL_BADIADDR): Likewise.
19709 (ILL_BREAK): Likewise.
19710 (FPE_INTDIV): Likewise.
19711 (FPE_INTOVF): Likewise.
19712 (FPE_FLTDIV): Likewise.
19713 (FPE_FLTOVF): Likewise.
19714 (FPE_FLTUND): Likewise.
19715 (FPE_FLTRES): Likewise.
19716 (FPE_FLTINV): Likewise.
19717 (FPE_FLTSUB): Likewise.
19718 (FPE_DECOVF): Likewise.
19719 (FPE_DECDIV): Likewise.
19720 (FPE_DECERR): Likewise.
19721 (FPE_INVASC): Likewise.
19722 (FPE_INVDEC): Likewise.
19723 (SEGV_MAPERR): Likewise.
19724 (SEGV_ACCERR): Likewise.
19725 (SEGV_PSTKOVF): Likewise.
19726 (BUS_ADRALN): Likewise.
19727 (BUS_ADRERR): Likewise.
19728 (BUS_OBJERR): Likewise.
19729 (BUS_MCEERR_AR): Likewise.
19730 (BUS_MCEERR_AO): Likewise.
19731 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19732 (TRAP_TRACE): Likewise.
19733 (TRAP_BRANCH): Likewise.
19734 (TRAP_HWBKPT): Likewise.
19735 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19737 (CLD_KILLED): Likewise.
19738 (CLD_DUMPED): Likewise.
19739 (CLD_TRAPPED): Likewise.
19740 (CLD_STOPPED): Likewise.
19741 (CLD_CONTINUED): Likewise.
19742 (POLL_IN): Likewise.
19743 (POLL_OUT): Likewise.
19744 (POLL_MSG): Likewise.
19745 (POLL_ERR): Likewise.
19746 (POLL_PRI): Likewise.
19747 (POLL_HUP): Likewise.
19748 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19749 (ILL_ILLOPN): Likewise.
19750 (ILL_ILLADR): Likewise.
19751 (ILL_ILLTRP): Likewise.
19752 (ILL_PRVOPC): Likewise.
19753 (ILL_PRVREG): Likewise.
19754 (ILL_COPROC): Likewise.
19755 (ILL_BADSTK): Likewise.
19756 (FPE_INTDIV): Likewise.
19757 (FPE_INTOVF): Likewise.
19758 (FPE_FLTDIV): Likewise.
19759 (FPE_FLTOVF): Likewise.
19760 (FPE_FLTUND): Likewise.
19761 (FPE_FLTRES): Likewise.
19762 (FPE_FLTINV): Likewise.
19763 (FPE_FLTSUB): Likewise.
19764 (SEGV_MAPERR): Likewise.
19765 (SEGV_ACCERR): Likewise.
19766 (BUS_ADRALN): Likewise.
19767 (BUS_ADRERR): Likewise.
19768 (BUS_OBJERR): Likewise.
19769 (BUS_MCEERR_AR): Likewise.
19770 (BUS_MCEERR_AO): Likewise.
19771 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19772 (TRAP_TRACE): Likewise.
19773 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19775 (CLD_KILLED): Likewise.
19776 (CLD_DUMPED): Likewise.
19777 (CLD_TRAPPED): Likewise.
19778 (CLD_STOPPED): Likewise.
19779 (CLD_CONTINUED): Likewise.
19780 (POLL_IN): Likewise.
19781 (POLL_OUT): Likewise.
19782 (POLL_MSG): Likewise.
19783 (POLL_ERR): Likewise.
19784 (POLL_PRI): Likewise.
19785 (POLL_HUP): Likewise.
19786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19787 (ILL_ILLOPN): Likewise.
19788 (ILL_ILLADR): Likewise.
19789 (ILL_ILLTRP): Likewise.
19790 (ILL_PRVOPC): Likewise.
19791 (ILL_PRVREG): Likewise.
19792 (ILL_COPROC): Likewise.
19793 (ILL_BADSTK): Likewise.
19794 (FPE_INTDIV): Likewise.
19795 (FPE_INTOVF): Likewise.
19796 (FPE_FLTDIV): Likewise.
19797 (FPE_FLTOVF): Likewise.
19798 (FPE_FLTUND): Likewise.
19799 (FPE_FLTRES): Likewise.
19800 (FPE_FLTINV): Likewise.
19801 (FPE_FLTSUB): Likewise.
19802 (SEGV_MAPERR): Likewise.
19803 (SEGV_ACCERR): Likewise.
19804 (BUS_ADRALN): Likewise.
19805 (BUS_ADRERR): Likewise.
19806 (BUS_OBJERR): Likewise.
19807 (BUS_MCEERR_AR): Likewise.
19808 (BUS_MCEERR_AO): Likewise.
19809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19810 (TRAP_TRACE): Likewise.
19811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19813 (CLD_KILLED): Likewise.
19814 (CLD_DUMPED): Likewise.
19815 (CLD_TRAPPED): Likewise.
19816 (CLD_STOPPED): Likewise.
19817 (CLD_CONTINUED): Likewise.
19818 (POLL_IN): Likewise.
19819 (POLL_OUT): Likewise.
19820 (POLL_MSG): Likewise.
19821 (POLL_ERR): Likewise.
19822 (POLL_PRI): Likewise.
19823 (POLL_HUP): Likewise.
19824 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19825 (ILL_ILLOPN): Likewise.
19826 (ILL_ILLADR): Likewise.
19827 (ILL_ILLTRP): Likewise.
19828 (ILL_PRVOPC): Likewise.
19829 (ILL_PRVREG): Likewise.
19830 (ILL_COPROC): Likewise.
19831 (ILL_BADSTK): Likewise.
19832 (FPE_INTDIV): Likewise.
19833 (FPE_INTOVF): Likewise.
19834 (FPE_FLTDIV): Likewise.
19835 (FPE_FLTOVF): Likewise.
19836 (FPE_FLTUND): Likewise.
19837 (FPE_FLTRES): Likewise.
19838 (FPE_FLTINV): Likewise.
19839 (FPE_FLTSUB): Likewise.
19840 (SEGV_MAPERR): Likewise.
19841 (SEGV_ACCERR): Likewise.
19842 (BUS_ADRALN): Likewise.
19843 (BUS_ADRERR): Likewise.
19844 (BUS_OBJERR): Likewise.
19845 (BUS_MCEERR_AR): Likewise.
19846 (BUS_MCEERR_AO): Likewise.
19847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19848 (TRAP_TRACE): Likewise.
19849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19851 (CLD_KILLED): Likewise.
19852 (CLD_DUMPED): Likewise.
19853 (CLD_TRAPPED): Likewise.
19854 (CLD_STOPPED): Likewise.
19855 (CLD_CONTINUED): Likewise.
19856 (POLL_IN): Likewise.
19857 (POLL_OUT): Likewise.
19858 (POLL_MSG): Likewise.
19859 (POLL_ERR): Likewise.
19860 (POLL_PRI): Likewise.
19861 (POLL_HUP): Likewise.
19862 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19863 (ILL_ILLOPN): Likewise.
19864 (ILL_ILLADR): Likewise.
19865 (ILL_ILLTRP): Likewise.
19866 (ILL_PRVOPC): Likewise.
19867 (ILL_PRVREG): Likewise.
19868 (ILL_COPROC): Likewise.
19869 (ILL_BADSTK): Likewise.
19870 (ILL_DBLFLT): Likewise.
19871 (ILL_HARDWALL): Likewise.
19872 (FPE_INTDIV): Likewise.
19873 (FPE_INTOVF): Likewise.
19874 (FPE_FLTDIV): Likewise.
19875 (FPE_FLTOVF): Likewise.
19876 (FPE_FLTUND): Likewise.
19877 (FPE_FLTRES): Likewise.
19878 (FPE_FLTINV): Likewise.
19879 (FPE_FLTSUB): Likewise.
19880 (SEGV_MAPERR): Likewise.
19881 (SEGV_ACCERR): Likewise.
19882 (BUS_ADRALN): Likewise.
19883 (BUS_ADRERR): Likewise.
19884 (BUS_OBJERR): Likewise.
19885 (BUS_MCEERR_AR): Likewise.
19886 (BUS_MCEERR_AO): Likewise.
19887 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19888 (TRAP_TRACE): Likewise.
19889 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19891 (CLD_KILLED): Likewise.
19892 (CLD_DUMPED): Likewise.
19893 (CLD_TRAPPED): Likewise.
19894 (CLD_STOPPED): Likewise.
19895 (CLD_CONTINUED): Likewise.
19896 (POLL_IN): Likewise.
19897 (POLL_OUT): Likewise.
19898 (POLL_MSG): Likewise.
19899 (POLL_ERR): Likewise.
19900 (POLL_PRI): Likewise.
19901 (POLL_HUP): Likewise.
19902 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19903 (ILL_ILLOPN): Likewise.
19904 (ILL_ILLADR): Likewise.
19905 (ILL_ILLTRP): Likewise.
19906 (ILL_PRVOPC): Likewise.
19907 (ILL_PRVREG): Likewise.
19908 (ILL_COPROC): Likewise.
19909 (ILL_BADSTK): Likewise.
19910 (FPE_INTDIV): Likewise.
19911 (FPE_INTOVF): Likewise.
19912 (FPE_FLTDIV): Likewise.
19913 (FPE_FLTOVF): Likewise.
19914 (FPE_FLTUND): Likewise.
19915 (FPE_FLTRES): Likewise.
19916 (FPE_FLTINV): Likewise.
19917 (FPE_FLTSUB): Likewise.
19918 (SEGV_MAPERR): Likewise.
19919 (SEGV_ACCERR): Likewise.
19920 (BUS_ADRALN): Likewise.
19921 (BUS_ADRERR): Likewise.
19922 (BUS_OBJERR): Likewise.
19923 (BUS_MCEERR_AR): Likewise.
19924 (BUS_MCEERR_AO): Likewise.
19925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19926 (TRAP_TRACE): Likewise.
19927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19929 (CLD_KILLED): Likewise.
19930 (CLD_DUMPED): Likewise.
19931 (CLD_TRAPPED): Likewise.
19932 (CLD_STOPPED): Likewise.
19933 (CLD_CONTINUED): Likewise.
19934 (POLL_IN): Likewise.
19935 (POLL_OUT): Likewise.
19936 (POLL_MSG): Likewise.
19937 (POLL_ERR): Likewise.
19938 (POLL_PRI): Likewise.
19939 (POLL_HUP): Likewise.
19940 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19941 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19944 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19945 before #include of <time.h>.
19946 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19947 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19948 (test-xfail-UNIX98/sched.h/conform): Likewise.
19950 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19952 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19953 error absence of trapping exception support.
19954 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19956 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19958 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19959 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19960 * timezone/Makefile (testdata): Move definition above include of
19962 (test-zones): New variable.
19963 (tests-special): Add zone files.
19964 (build-testdata): Use $(evaluate-test).
19966 * elf/Makefile (tests-special): Rename tests to end with .out.
19967 ($(objpfx)noload-mem): Likewise.
19968 ($(objpfx)tst-leaks1-mem): Likewise.
19969 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19970 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19971 $(objpfx)test-iconvconfig.out.
19972 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19973 set -e inside subshell and redirect output to file.
19974 * iconvdata/Makefile (generated): Rename tests to end with .out.
19976 (tests-special): Rename tests to end with .out.
19977 ($(objpfx)mtrace-tst-loading): Likewise.
19978 * intl/Makefile (generated): Likewise.
19979 (tests-special): Likewise.
19980 ($(objpfx)mtrace-tst-gettext): Likewise.
19981 * misc/Makefile (generated): Likewise.
19982 (tests-special): Likewise.
19983 ($(objpfx)tst-error1-mem): Likewise.
19984 * nptl/Makefile (tests-special): Likewise.
19985 ($(objpfx)tst-stack3-mem): Likewise.
19986 (generated): Likewise.
19987 * posix/Makefile (generated): Likewise.
19988 (tests-special): Likewise.
19989 (xtests-special): Likewise.
19990 ($(objpfx)tst-fnmatch-mem): Likewise.
19991 ($(objpfx)bug-regex2-mem): Likewise.
19992 ($(objpfx)bug-regex14-mem): Likewise.
19993 ($(objpfx)bug-regex21-mem): Likewise.
19994 ($(objpfx)bug-regex31-mem): Likewise.
19995 ($(objpfx)tst-vfork3-mem): Likewise.
19996 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19997 ($(objpfx)tst-pcre-mem): Likewise.
19998 ($(objpfx)tst-boost-mem): Likewise.
19999 ($(objpfx)bug-ga2-mem): Likewise.
20000 ($(objpfx)bug-glob2-mem): Likewise.
20001 * resolv/Makefile (generate): Likewise.
20002 (tests-special): Likewise.
20003 (xtests-special): Likewise.
20004 (generated): Likewise.
20005 ($(objpfx)mtrace-tst-leaks): Likewise.
20006 ($(objpfx)mtrace-tst-leaks2): Likewise.
20008 * scripts/merge-test-results.sh: New file.
20009 * Makefile (tests-special-notdir): New variable.
20010 (tests): Run merge-test-results.sh.
20011 (xtests): Likewise.
20012 * Rules (tests-special-notdir): New variable.
20013 (xtests-special-notdir): Likewise.
20014 (tests): Run merge-test-results.sh
20015 (xtests): Likewise.
20017 * Makeconfig (test-xfail-name): New variable.
20018 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20019 compute variable name for expected failures.
20020 * conform/Makefile (conformtest-headers-data): New variable.
20021 (conformtest-standards): Likewise.
20022 (conformtest-headers-ISO): Likewise.
20023 (conformtest-headers-ISO99): Likewise.
20024 (conformtest-headers-ISO11): Likewise.
20025 (conformtest-headers-POSIX): Likewise.
20026 (conformtest-headers-XPG3): Likewise.
20027 (conformtest-headers-XPG4): Likewise.
20028 (conformtest-headers-UNIX98): Likewise.
20029 (conformtest-headers-XOPEN2K): Likewise.
20030 (conformtest-headers-POSIX2008): Likewise.
20031 (conformtest-headers-XOPEN2K8): Likewise.
20032 (conformtest-header-list-base): Likewise.
20033 (conformtest-header-list-tests): Likewise.
20034 (conformtest-header-base): Likewise.
20035 (conformtest-header-tests): Likewise.
20036 (tests-special): Add $(conformtest-header-list-tests). If
20037 [$(fast-check) && !$(cross-compiling)], add
20038 $(conformtest-header-tests) instead of
20039 $(objpfx)run-conformtest.out.
20040 (generated): Add $(conformtest-header-list-base). If
20041 [$(fast-check) && !$(cross-compiling)], add
20042 $(conformtest-header-base). Remove previous setting.
20043 ($(conformtest-header-list-tests)): New target.
20044 (test-xfail-run-conformtest): Remove variable.
20045 ($(objpfx)run-conformtest.out): Remove target.
20046 (test-xfail-ISO11/complex.h/conform): New variable.
20047 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20048 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20049 (test-xfail-XPG3/varargs.h/conform): Likewise.
20050 (test-xfail-XPG4/varargs.h/conform): Likewise.
20051 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20052 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20053 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20054 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20055 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20056 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20057 (test-xfail-XPG3/ftw.h/conform): Likewise.
20058 (test-xfail-XPG3/grp.h/conform): Likewise.
20059 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20060 (test-xfail-XPG3/limits.h/conform): Likewise.
20061 (test-xfail-XPG3/pwd.h/conform): Likewise.
20062 (test-xfail-XPG3/search.h/conform): Likewise.
20063 (test-xfail-XPG3/signal.h/conform): Likewise.
20064 (test-xfail-XPG3/stdio.h/conform): Likewise.
20065 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20066 (test-xfail-XPG3/string.h/conform): Likewise.
20067 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20068 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20069 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20070 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20071 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20072 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20073 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20074 (test-xfail-XPG3/termios.h/conform): Likewise.
20075 (test-xfail-XPG3/time.h/conform): Likewise.
20076 (test-xfail-XPG3/unistd.h/conform): Likewise.
20077 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20078 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20079 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20080 (test-xfail-XPG4/netdb.h/conform): Likewise.
20081 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20082 (test-xfail-XPG4/signal.h/conform): Likewise.
20083 (test-xfail-XPG4/stdio.h/conform): Likewise.
20084 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20085 (test-xfail-XPG4/stropts.h/conform): Likewise.
20086 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20087 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20088 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20089 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20090 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20091 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20092 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20093 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20094 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20095 (test-xfail-XPG4/termios.h/conform): Likewise.
20096 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20097 (test-xfail-XPG4/unistd.h/conform): Likewise.
20098 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20099 (test-xfail-POSIX/sched.h/conform): Likewise.
20100 (test-xfail-POSIX/signal.h/conform): Likewise.
20101 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20102 (test-xfail-POSIX/tar.h/conform): Likewise.
20103 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20104 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20105 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20106 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20107 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20108 (test-xfail-UNIX98/sched.h/conform): Likewise.
20109 (test-xfail-UNIX98/signal.h/conform): Likewise.
20110 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20111 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20112 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20113 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20114 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20115 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20116 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20117 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20118 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20119 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20120 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20121 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20122 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20123 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20124 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20125 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20126 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20127 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20128 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20129 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20130 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20131 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20132 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20133 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20134 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20135 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20136 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20137 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20138 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20139 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20140 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20141 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20142 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20143 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20144 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20145 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20146 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20147 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20148 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20149 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20150 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20151 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20152 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20153 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20154 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20155 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20156 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20157 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20158 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20159 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20160 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20161 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20162 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20163 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20164 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20165 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20166 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20167 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20168 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20169 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20170 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20171 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20172 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20173 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20174 (conformtest-cc-flags): Likewise.
20175 ($(conformtest-header-tests): New target.
20176 * conform/check-header-lists.sh: New file.
20177 * conform/run-conformtest.sh: Remove.
20179 * conform/conformtest.pl: Allow ' and \ in values given for
20181 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20183 [POSIX] (sys/types.h): Likewise.
20184 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20186 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20188 * conform/data/signal.h-data (SIGIO): Remove expectation.
20189 [XPG3] (SIGBUS): Do not expect.
20190 [POSIX || XPG3] (SIGPOLL): Likewise.
20191 [POSIX || XPG3] (SIGPROF): Likewise.
20192 [POSIX || XPG3] (SIGSYS): Likewise.
20193 [XPG3] (SIGTRAP): Likewise.
20194 [POSIX || XPG3] (SIGURG): Likewise.
20195 [POSIX || XPG3] (SIGVTALRM): Likewise.
20196 [POSIX || XPG3] (SIGXCPU): Likewise.
20197 [POSIX || XPG3] (SIGXFSZ): Likewise.
20198 [POSIX] (SA_SIGINFO): Expect.
20199 [XPG3] (siginfo_t): Do not expect type or contents.
20200 [POSIX] (si_pid): Do not expect element.
20201 [POSIX] (si_uid): Likewise.
20202 [POSIX] (si_addr): Likewise.
20203 [POSIX] (si_status): Likewise.
20204 [POSIX] (si_band): Likewise.
20205 [XPG4] (si_value): Likewise.
20206 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20207 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20208 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20209 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20210 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20211 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20212 [POSIX || XPG3] (ILL_COPROC): Likewise.
20213 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20214 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20215 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20216 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20217 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20218 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20219 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20220 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20221 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20222 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20223 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20224 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20225 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20226 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20227 [POSIX || XPG3] (CLD_EXITED): Likewise.
20228 [POSIX || XPG3] (CLD_KILLED): Likewise.
20229 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20230 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20231 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20232 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20233 [POSIX || XPG3] (POLL_IN): Likewise.
20234 [POSIX || XPG3] (POLL_OUT): Likewise.
20235 [POSIX || XPG3] (POLL_MSG): Likewise.
20236 [POSIX || XPG3] (POLL_ERR): Likewise.
20237 [POSIX || XPG3] (POLL_PRI): Likewise.
20238 [POSIX || XPG3] (POLL_HUP): Likewise.
20239 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20240 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20241 (SIG*): Do not allow.
20242 [XPG3] (si_*): Likewise.
20243 [XPG3] (SI_*): Likewise.
20244 [XPG3 || XPG4] (sigev_*): Likewise.
20245 [XPG3 || XPG4] (SIGEV_*): Likewise.
20246 [XPG3 || XPG4] (sival_*): Likewise.
20247 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20248 [POSIX || XPG3] (BUS_*): Likewise.
20249 [POSIX || XPG3] (CLD_*): Likewise.
20250 [POSIX || XPG3] (FPE_*): Likewise.
20251 [POSIX || XPG3] (ILL_*): Likewise.
20252 [POSIX || XPG3] (POLL_*): Likewise.
20253 [POSIX || XPG3] (SEGV_*): Likewise.
20254 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20255 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20256 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20257 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20258 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20259 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20260 Specify type and value.
20261 (TVERSLEN): Likewise.
20262 (REGTYPE): Likewise.
20263 (AREGTYPE): Likewise.
20264 (LNKTYPE): Likewise.
20265 (SYMTYPE): Likewise.
20266 (CHRTYPE): Likewise.
20267 (BLKTYPE): Likewise.
20268 (DIRTYPE): Likewise.
20269 (FIFOTYPE): Likewise.
20270 (CONTTYPE): Likewise.
20274 (TUREAD): Likewise.
20275 (TUWRITE): Likewise.
20276 (TUEXEC): Likewise.
20277 (TGREAD): Likewise.
20278 (TGWRITE): Likewise.
20279 (TGEXEC): Likewise.
20280 (TOREAD): Likewise.
20281 (TOWRITE): Likewise.
20282 (TOEXEC): Likewise.
20283 [POSIX] (TSVTX): Expect constant.
20285 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20287 * Makefile (tests): Change dependencies to ....
20288 (tests-special): ... additions to this variable.
20289 (tests): Depend on $(tests-special).
20290 * Makerules (check-abi-list): New variable.
20291 (check-abi): Depend on $(check-abi-list).
20292 [$(subdir) = elf] (tests-special): Add
20293 $(objpfx)check-abi-libc.out.
20294 [$(build-shared) = yes && subdir] (tests-special): Add
20296 [$(build-shared) = yes && subdir] (tests): Do not depend on
20298 * Rules (tests): Depend on $(tests-special).
20299 (xtests): Depend on $(xtests-special).
20300 * catgets/Makefile (tests): Change dependencies to ....
20301 (tests-special): ... additions to this variable.
20302 * conform/Makefile (tests): Change dependencies to ....
20303 (tests-special): ... additions to this variable.
20304 * elf/Makefile (tests): Change dependencies to ....
20305 (tests-special): ... additions to this variable.
20306 * grp/Makefile (tests): Change dependencies to ....
20307 (tests-special): ... additions to this variable.
20308 * iconv/Makefile (xtests): Change dependencies to ....
20309 (xtests-special): ... additions to this variable.
20310 * iconvdata/Makefile (tests): Change dependencies to ....
20311 (tests-special): ... additions to this variable.
20312 * intl/Makefile (tests): Change dependencies to ....
20313 (tests-special): ... additions to this variable. Also add
20314 $(objpfx)tst-gettext.out.
20315 * io/Makefile (tests): Change dependencies to ....
20316 (tests-special): ... additions to this variable.
20317 * libio/Makefile (tests): Change dependencies to ....
20318 (tests-special): ... additions to this variable.
20319 * malloc/Makefile (tests): Change dependencies to ....
20320 (tests-special): ... additions to this variable.
20321 * misc/Makefile (tests): Change dependencies to ....
20322 (tests-special): ... additions to this variable.
20323 * nptl/Makefile (tests): Change dependencies to ....
20324 (tests-special): ... additions to this variable.
20325 * nptl_db/Makefile (tests): Change dependencies to ....
20326 (tests-special): ... additions to this variable.
20327 * posix/Makefile (tests): Change dependencies to ....
20328 (tests-special): ... additions to this variable.
20329 (xtests): Change dependencies to ....
20330 (xtests-special): ... additions to this variable.
20331 * resolv/Makefile (tests): Change dependencies to ....
20332 (tests-special): ... additions to this variable.
20333 (xtests): Change dependencies to ....
20334 (xtests-special): ... additions to this variable.
20335 * stdio-common/Makefile (tests): Change dependencies to ....
20336 (tests-special): ... additions to this variable.
20337 (do-tst-unbputc): Remove target.
20338 (do-tst-printf): Likewise.
20339 * stdlib/Makefile (tests): Change dependencies to ....
20340 (tests-special): ... additions to this variable.
20341 * string/Makefile (tests): Change dependencies to ....
20342 (tests-special): ... additions to this variable.
20343 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20344 (tests-special): ... additions to this variable.
20346 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20348 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20350 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20351 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20353 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20354 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20355 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20356 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20357 * conform/data/libgen.h-data [XPG3]: Likewise.
20358 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20359 * conform/data/ndbm.h-data [XPG3]: Likewise.
20360 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20361 * conform/data/netdb.h-data [XPG3]: Likewise.
20362 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20363 * conform/data/poll.h-data [XPG3]: Likewise.
20364 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20365 * conform/data/strings.h-data [XPG3]: Likewise.
20366 * conform/data/stropts.h-data [XPG3]: Likewise.
20367 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20368 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20369 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20371 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20372 * conform/data/sys/time.h-data [XPG3]: Likewise.
20373 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20374 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20375 * conform/data/sys/un.h-data [XPG3]: Likewise.
20376 * conform/data/syslog.h-data [XPG3]: Likewise.
20377 * conform/data/ucontext.h-data [XPG3]: Likewise.
20378 * conform/data/utmpx.h-data [XPG3]: Likewise.
20379 * conform/data/varargs.h-data [UNIX98]: Enable file.
20381 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20383 * math/libm-test.inc (struct test_f_f_data): Move expected results
20384 into structure for each rounding mode.
20385 (struct test_ff_f_data): Likewise.
20386 (struct test_ff_f_data_nexttoward): Likewise.
20387 (struct test_fi_f_data): Likewise.
20388 (struct test_fl_f_data): Likewise.
20389 (struct test_if_f_data): Likewise.
20390 (struct test_fff_f_data): Likewise.
20391 (struct test_c_f_data): Likewise.
20392 (struct test_f_f1_data): Likewise.
20393 (struct test_fF_f1_data): Likewise.
20394 (struct test_ffI_f1_data): Likewise.
20395 (struct test_c_c_data): Likewise.
20396 (struct test_cc_c_data): Likewise.
20397 (struct test_f_i_data): Likewise.
20398 (struct test_ff_i_data): Likewise.
20399 (struct test_f_l_data): Likewise.
20400 (struct test_f_L_data): Likewise.
20401 (struct test_fFF_11_data): Likewise.
20403 (RM_FE_DOWNWARD): Likewise.
20404 (RM_FE_TONEAREST): Likewise.
20405 (RM_FE_TOWARDZERO): Likewise.
20406 (RM_FE_UPWARD): Likewise.
20407 (RUN_TEST_LOOP_f_f): Update references to expected results.
20408 (RUN_TEST_LOOP_2_f): Likewise.
20409 (RUN_TEST_LOOP_fff_f): Likewise.
20410 (RUN_TEST_LOOP_c_f): Likewise.
20411 (RUN_TEST_LOOP_f_f1): Likewise.
20412 (RUN_TEST_LOOP_fF_f1): Likewise.
20413 (RUN_TEST_LOOP_fI_f1): Likewise.
20414 (RUN_TEST_LOOP_ffI_f1): Likewise.
20415 (RUN_TEST_LOOP_c_c): Likewise.
20416 (RUN_TEST_LOOP_cc_c): Likewise.
20417 (RUN_TEST_LOOP_f_i): Likewise.
20418 (RUN_TEST_LOOP_f_i_tg): Likewise.
20419 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20420 (RUN_TEST_LOOP_f_b): Likewise.
20421 (RUN_TEST_LOOP_f_b_tg): Likewise.
20422 (RUN_TEST_LOOP_f_l): Likewise.
20423 (RUN_TEST_LOOP_f_L): Likewise.
20424 (RUN_TEST_LOOP_fFF_11): Likewise.
20425 * math/gen-libm-test.pl (parse_args): Output four copies of
20426 expected results for each test.
20428 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20429 (__ASSUME_UTIMES): Remove.
20430 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20431 (__ASSUME_UTIMES): Likewise.
20433 * math/gen-auto-libm-tests.c: Update comment on output format.
20434 (output_for_one_input_case): Generate before-rounding and
20435 after-rounding information as conditions on output flags not
20436 floating-point format.
20437 * math/auto-libm-test-out: Regenerated.
20438 * math/gen-libm-test.pl (cond_value): New function.
20439 (or_cond_value): Use cond_value.
20440 (generate_testfile): Handle conditional exceptions.
20442 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20444 * math/libm-test.inc (max_valid_error): New variable.
20445 (init_max_error): Take new argument specifying whether function
20446 results are exactly determined. Set max_valid_error and bound
20447 other variables for errors based on this argument.
20448 (set_max_error): Do not record results above max_valid_error.
20449 (check_float_internal): Only accept errors of up to 0.5ulps if
20450 also at most max_valid_error.
20451 (START): Take new argument EXACT and pass it to init_max_error.
20452 (acos_test): Update call to START.
20453 (acos_test_tonearest): Likewise.
20454 (acos_test_towardzero): Likewise.
20455 (acos_test_downward): Likewise.
20456 (acos_test_upward): Likewise.
20457 (acosh_test): Likewise.
20458 (asin_test): Likewise.
20459 (asin_test_tonearest): Likewise.
20460 (asin_test_towardzero): Likewise.
20461 (asin_test_downward): Likewise.
20462 (asin_test_upward): Likewise.
20463 (asinh_test): Likewise.
20464 (atan_test): Likewise.
20465 (atanh_test): Likewise.
20466 (atan2_test): Likewise.
20467 (cabs_test): Likewise.
20468 (cacos_test): Likewise.
20469 (cacosh_test): Likewise.
20470 (carg_test): Likewise.
20471 (casin_test): Likewise.
20472 (casinh_test): Likewise.
20473 (catan_test): Likewise.
20474 (catanh_test): Likewise.
20475 (cbrt_test): Likewise.
20476 (ccos_test): Likewise.
20477 (ccosh_test): Likewise.
20478 (ceil_test): Likewise.
20479 (cexp_test): Likewise.
20480 (cimag_test): Likewise.
20481 (clog_test): Likewise.
20482 (clog10_test): Likewise.
20483 (conj_test): Likewise.
20484 (copysign_test): Likewise.
20485 (cos_test): Likewise.
20486 (cos_test_tonearest): Likewise.
20487 (cos_test_towardzero): Likewise.
20488 (cos_test_downward): Likewise.
20489 (cos_test_upward): Likewise.
20490 (cosh_test): Likewise.
20491 (cosh_test_tonearest): Likewise.
20492 (cosh_test_towardzero): Likewise.
20493 (cosh_test_downward): Likewise.
20494 (cosh_test_upward): Likewise.
20495 (cpow_test): Likewise.
20496 (cproj_test): Likewise.
20497 (creal_test): Likewise.
20498 (csin_test): Likewise.
20499 (csinh_test): Likewise.
20500 (csqrt_test): Likewise.
20501 (ctan_test): Likewise.
20502 (ctan_test_tonearest): Likewise.
20503 (ctan_test_towardzero): Likewise.
20504 (ctan_test_downward): Likewise.
20505 (ctan_test_upward): Likewise.
20506 (ctanh_test): Likewise.
20507 (ctanh_test_tonearest): Likewise.
20508 (ctanh_test_towardzero): Likewise.
20509 (ctanh_test_downward): Likewise.
20510 (ctanh_test_upward): Likewise.
20511 (erf_test): Likewise.
20512 (erfc_test): Likewise.
20513 (exp_test): Likewise.
20514 (exp_test_tonearest): Likewise.
20515 (exp_test_towardzero): Likewise.
20516 (exp_test_downward): Likewise.
20517 (exp_test_upward): Likewise.
20518 (exp10_test): Likewise.
20519 (exp10_test_tonearest): Likewise.
20520 (exp10_test_towardzero): Likewise.
20521 (exp10_test_downward): Likewise.
20522 (exp10_test_upward): Likewise.
20523 (pow10_test): Likewise.
20524 (exp2_test): Likewise.
20525 (expm1_test): Likewise.
20526 (expm1_test_tonearest): Likewise.
20527 (expm1_test_towardzero): Likewise.
20528 (expm1_test_downward): Likewise.
20529 (expm1_test_upward): Likewise.
20530 (fabs_test): Likewise.
20531 (fdim_test): Likewise.
20532 (floor_test): Likewise.
20533 (fma_test): Likewise.
20534 (fma_test_towardzero): Likewise.
20535 (fma_test_downward): Likewise.
20536 (fma_test_upward): Likewise.
20537 (fmax_test): Likewise.
20538 (fmin_test): Likewise.
20539 (fmod_test): Likewise.
20540 (fpclassify_test): Likewise.
20541 (frexp_test): Likewise.
20542 (hypot_test): Likewise.
20543 (ilogb_test): Likewise.
20544 (isfinite_test): Likewise.
20545 (finite_test): Likewise.
20546 (isgreater_test): Likewise.
20547 (isgreaterequal_test): Likewise.
20548 (isinf_test): Likewise.
20549 (isless_test): Likewise.
20550 (islessequal_test): Likewise.
20551 (islessgreater_test): Likewise.
20552 (isnan_test): Likewise.
20553 (isnormal_test): Likewise.
20554 (issignaling_test): Likewise.
20555 (isunordered_test): Likewise.
20556 (j0_test): Likewise.
20557 (j1_test): Likewise.
20558 (jn_test): Likewise.
20559 (ldexp_test): Likewise.
20560 (lgamma_test): Likewise.
20561 (gamma_test): Likewise.
20562 (lrint_test): Likewise.
20563 (lrint_test_tonearest): Likewise.
20564 (lrint_test_towardzero): Likewise.
20565 (lrint_test_downward): Likewise.
20566 (lrint_test_upward): Likewise.
20567 (llrint_test): Likewise.
20568 (llrint_test_tonearest): Likewise.
20569 (llrint_test_towardzero): Likewise.
20570 (llrint_test_downward): Likewise.
20571 (llrint_test_upward): Likewise.
20572 (log_test): Likewise.
20573 (log10_test): Likewise.
20574 (log1p_test): Likewise.
20575 (log2_test): Likewise.
20576 (logb_test): Likewise.
20577 (logb_test_downward): Likewise.
20578 (lround_test): Likewise.
20579 (llround_test): Likewise.
20580 (modf_test): Likewise.
20581 (nearbyint_test): Likewise.
20582 (nextafter_test): Likewise.
20583 (nexttoward_test): Likewise.
20584 (pow_test): Likewise.
20585 (pow_test_tonearest): Likewise.
20586 (pow_test_towardzero): Likewise.
20587 (pow_test_downward): Likewise.
20588 (pow_test_upward): Likewise.
20589 (remainder_test): Likewise.
20590 (drem_test): Likewise.
20591 (remainder_test_tonearest): Likewise.
20592 (drem_test_tonearest): Likewise.
20593 (remainder_test_towardzero): Likewise.
20594 (drem_test_towardzero): Likewise.
20595 (remainder_test_downward): Likewise.
20596 (drem_test_downward): Likewise.
20597 (remainder_test_upward): Likewise.
20598 (drem_test_upward): Likewise.
20599 (remquo_test): Likewise.
20600 (rint_test): Likewise.
20601 (rint_test_tonearest): Likewise.
20602 (rint_test_towardzero): Likewise.
20603 (rint_test_downward): Likewise.
20604 (rint_test_upward): Likewise.
20605 (round_test): Likewise.
20606 (scalb_test): Likewise.
20607 (scalbn_test): Likewise.
20608 (scalbln_test): Likewise.
20609 (signbit_test): Likewise.
20610 (sin_test): Likewise.
20611 (sin_test_tonearest): Likewise.
20612 (sin_test_towardzero): Likewise.
20613 (sin_test_downward): Likewise.
20614 (sin_test_upward): Likewise.
20615 (sincos_test): Likewise.
20616 (sinh_test): Likewise.
20617 (sinh_test_tonearest): Likewise.
20618 (sinh_test_towardzero): Likewise.
20619 (sinh_test_downward): Likewise.
20620 (sinh_test_upward): Likewise.
20621 (sqrt_test): Likewise.
20622 (sqrt_test_tonearest): Likewise.
20623 (sqrt_test_towardzero): Likewise.
20624 (sqrt_test_downward): Likewise.
20625 (sqrt_test_upward): Likewise.
20626 (tan_test): Likewise.
20627 (tan_test_tonearest): Likewise.
20628 (tan_test_towardzero): Likewise.
20629 (tan_test_downward): Likewise.
20630 (tan_test_upward): Likewise.
20631 (tanh_test): Likewise.
20632 (tgamma_test): Likewise.
20633 (trunc_test): Likewise.
20634 (y0_test): Likewise.
20635 (y1_test): Likewise.
20636 (yn_test): Likewise.
20637 (significand_test): Likewise.
20639 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20640 individual tests in comment.
20641 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20642 (prev_max_error): New variable.
20643 (prev_real_max_error): Likewise.
20644 (prev_imag_max_error): Likewise.
20645 (compare_ulp_data): Don't refer to test names in comment.
20646 (find_test_ulps): Remove function.
20647 (find_function_ulps): Likewise.
20648 (find_complex_function_ulps): Likewise.
20649 (init_max_error): Take function name as argument. Look up ulps
20651 (print_ulps): Remove function.
20652 (print_max_error): Use prev_max_error instead of calling
20653 find_function_ulps.
20654 (print_complex_max_error): Use prev_real_max_error and
20655 prev_imag_max_error instead of calling find_complex_function_ulps.
20656 (check_float_internal): Take max_ulp parameter instead of calling
20657 find_test_ulps. Don't call print_ulps.
20658 (check_float): Update call to check_float_internal.
20659 (check_complex): Update calls to check_float_internal.
20660 (START): Pass argument to init_max_error.
20661 * math/gen-libm-test.pl (%results): Don't include "kind"
20663 (parse_ulps): Don't handle ulps of individual tests.
20664 (print_ulps_file): Likewise.
20665 (output_ulps): Likewise.
20666 * math/README.libm-test: Update.
20667 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20669 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20670 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20671 * sysdeps/arm/libm-test-ulps: Likewise.
20672 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20673 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20674 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20675 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20676 * sysdeps/microblaze/libm-test-ulps: Likewise.
20677 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20678 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20680 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20681 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20682 * sysdeps/sh/libm-test-ulps: Likewise.
20683 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20684 * sysdeps/tile/libm-test-ulps: Likewise.
20685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20687 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20689 * math/libm-test.inc (print_complex_max_error): Check separately
20690 whether real and imaginary errors are within allowed range and
20691 pass 0 to print_complex_function_ulps instead of value within
20694 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20696 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20698 (get_handles_fopen): Likewise.
20699 (do_write_test): Likewise.
20701 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20703 * libio/fileops.c (do_ftell): Use cached offset when
20705 * libio/iofwide.c (do_ftell_wide): Likewise.
20706 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20708 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20711 * libio/libioP.h (get_file_offset): New function.
20712 * libio/fileops.c (get_file_offset): Likewise.
20713 (do_ftell): Likewise.
20714 (_IO_new_file_seekoff): Split out ftell logic.
20715 * libio/wfileops.c (do_ftell_wide): Likewise.
20716 (_IO_wfile_seekoff): Split out ftell logic.
20717 * libio/tst-ftell-active-handler.c: New test case.
20718 * libio/Makefile (tests): Add it.
20720 2014-03-03 Roland McGrath <roland@hack.frob.com>
20722 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20723 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20725 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20728 * nscd/connections.c (nscd_init): Call do_exit.
20729 (start_threads): Call do_exit and notify_parent.
20730 (begin_drop_privileges): Call do_exit.
20731 (finish_drop_privileges): Likewise.
20732 * nscd/selinux.c (preserve_capabilities): Likewise.
20733 (install_real_capabilities): Likewise.
20734 (nscd_selinux_enabled): Likewise.
20735 (avc_create_thread): Likewise.
20736 (avc_alloc_lock): Likewise.
20737 (nscd_avc_init): Likewise.
20738 * nscd/nscd.c (parent_fd): New static variable.
20739 (main): Create a pipe between parent and child processes.
20740 Skip closing parent_fd.
20741 (monitor_child): New function.
20742 (do_exit): Likewise.
20743 (notify_parent): Likewise.
20744 * nscd/nscd.h (notify_parent): Likewise.
20745 (do_exit): Likewise.
20747 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20749 * malloc/malloc.c (__libc_calloc): Revert last change.
20751 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20755 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20757 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20761 (__libc_ifunc_impl_list): Likewise.
20762 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20763 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20764 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20765 * string/strrchr.c: Define STRRCHR.
20767 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
20769 * benchtest/bench-strtok.c (simple_strtok): Delete.
20770 (strtok_string): Use as benchmark.
20771 * string/strtok (STRTOK): New macro.
20773 2014-02-28 Carlos O'Donell <carlos@redhat.com>
20775 * manual/threads.texi: Add header and standard comments to all
20778 * elf/dl-lookup.c (check_match): New function.
20779 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20780 (do_lookup_x): Remove nested function check_match. Use non-nested
20781 function check_match.
20783 2014-02-28 Roland McGrath <roland@hack.frob.com>
20785 * csu/Makefile (generated, before-compile): Use += rather than =.
20786 * catgets/Makefile (generated, generated-dirs): Likewise.
20787 * debug/Makefile (generated): Likewise.
20788 * dlfcn/Makefile (generated): Likewise.
20789 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20790 * iconvdata/Makefile (before-compile, generated): Likewise.
20791 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20792 * libio/Makefile (generated): Likewise.
20793 * malloc/Makefile (generated): Likewise.
20794 * manual/Makefile (generated, generated-dirs): Likewise.
20795 * misc/Makefile (generated): Likewise.
20796 * posix/Makefile (generated): Likewise.
20797 * resolv/Makefile (generated): Likewise.
20798 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20799 * timezone/Makefile (generated, generated-dirs): Likewise.
20801 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20803 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20805 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20806 power8 implementation.
20807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20808 file: POWER8 llround ifunc implementation.
20809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20810 (__lllround): Add POWER8 implementation.
20811 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20812 POWER8 llround implementation.
20814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20815 power8 implementation.
20816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20817 file: POWER8 llrint ifunc implementation.
20818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20819 Add POWER8 implementation.
20820 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20821 POWER8 llrint implementation.
20823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20824 power8 implementation.
20825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20826 file: POWER8 finite ifunc implementation.
20827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20828 Add POWER8 implementation.
20829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20831 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20832 POWER8 finite implementation.
20833 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20836 power8 implementation.
20837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20838 file: POWER8 isinf ifunc implementation.
20839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20840 POWER8 implementation.
20841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20843 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20844 isinf implementation.
20845 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20847 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20848 (INIT_ARCH): Add hwcap2 initialization.
20849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20850 power8 implementation.
20851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20852 file: POWER8 isnan ifunc implementation.
20853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20854 POWER8 implementation.
20855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20858 isnan implementation.
20859 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20861 2014-02-27 Joey Ye <joey.ye@arm.com>
20863 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20864 (_FP_NANFRAC_Q): Set to zero.
20866 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20869 * math/auto-libm-test-in: New test inputs.
20870 * math/auto-libm-test-out: Regenerate.
20871 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20874 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20876 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20878 * scripts/evaluate-test.sh: Take new argument indicating whether
20879 failure is expected.
20880 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20881 indicating whether failure is expected.
20882 * conform/Makefile (test-xfail-run-conformtest): New variable.
20883 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20885 * posix/Makefile (test-xfail-annexc): New variable.
20886 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20888 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20890 * argp/Makefile: Include Makeconfig immediately after defining
20892 * assert/Makefile: Likewise.
20893 * benchtests/Makefile: Likewise.
20894 * catgets/Makefile: Likewise.
20895 * conform/Makefile: Likewise.
20896 * crypt/Makefile: Likewise.
20897 * csu/Makefile: Likewise.
20898 (all): Remove target.
20899 * ctype/Makefile: Include Makeconfig immediately after defining
20901 * debug/Makefile: Likewise.
20902 * dirent/Makefile: Likewise.
20903 * dlfcn/Makefile: Likewise.
20904 * gmon/Makefile: Likewise.
20905 * gnulib/Makefile: Likewise.
20906 * grp/Makefile: Likewise.
20907 * gshadow/Makefile: Likewise.
20908 * hesiod/Makefile: Likewise.
20909 * hurd/Makefile: Likewise.
20910 (all): Remove target.
20911 * iconvdata/Makefile: Include Makeconfig immediately after
20913 * inet/Makefile: Likewise.
20914 * intl/Makefile: Likewise.
20915 * io/Makefile: Likewise.
20916 * libio/Makefile: Likewise.
20917 (all): Remove target.
20918 * locale/Makefile: Include Makeconfig immediately after defining
20920 * login/Makefile: Likewise.
20921 * mach/Makefile: Likewise.
20922 (all): Remove target.
20923 * malloc/Makefile: Include Makeconfig immediately after defining
20925 (all): Remove target.
20926 * manual/Makefile: Include Makeconfig immediately after defining
20928 * math/Makefile: Likewise.
20929 * misc/Makefile: Likewise.
20930 * nis/Makefile: Likewise.
20931 * nss/Makefile: Likewise.
20932 * po/Makefile: Likewise.
20933 (all): Remove target.
20934 * posix/Makefile: Include Makeconfig immediately after defining
20936 * pwd/Makefile: Likewise.
20937 * resolv/Makefile: Likewise.
20938 * resource/Makefile: Likewise.
20939 * rt/Makefile: Likewise.
20940 * setjmp/Makefile: Likewise.
20941 * shadow/Makefile: Likewise.
20942 * signal/Makefile: Likewise.
20943 * socket/Makefile: Likewise.
20944 * soft-fp/Makefile: Likewise.
20945 * stdio-common/Makefile: Likewise.
20946 * stdlib/Makefile: Likewise.
20947 * streams/Makefile: Likewise.
20948 * string/Makefile: Likewise.
20949 * sunrpc/Makefile: Likewise.
20950 (all): Remove target.
20951 * sysvipc/Makefile: Include Makeconfig immediately after defining
20953 * termios/Makefile: Likewise.
20954 * time/Makefile: Likewise.
20955 * timezone/Makefile: Likewise.
20956 (all): Remove target.
20957 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20959 * wctype/Makefile: Likewise.
20961 2014-02-26 Steve Ellcey <sellcey@mips.com>
20963 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20964 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20965 (libc_feholdexcept_setround_mips): Ditto.
20966 (libc_feholdsetround): New.
20967 (libc_feholdsetroundf): New.
20968 (libc_feholdsetroundl): New.
20969 (libc_feupdateenv_test_mips): New.
20970 (libc_feupdateenv_test): New.
20971 (libc_feupdateenv_testf): New.
20972 (libc_feupdateenv_testl): New.
20973 (libc_feresetround): New.
20974 (libc_feresetroundf): New.
20975 (libc_feresetroundl): New.
20976 (libc_fetestexcept_mips): New.
20977 (libc_fetestexcept): New.
20978 (libc_fetestexceptf): New.
20979 (libc_fetestexceptl): New.
20980 (HAVE_RM_CTX): New.
20981 (libc_feholdexcept_setround_mips_ctx): New.
20982 (libc_feholdexcept_setround_ctx): New.
20983 (libc_feholdexcept_setroundf_ctx): New.
20984 (libc_feholdexcept_setroundl_ctx): New.
20985 (libc_fesetenv_mips_ctx): New.
20986 (libc_fesetenv_ctx): New.
20987 (libc_fesetenv_ctxf): New.
20988 (libc_fesetenv_ctxl): New.
20989 (libc_feupdateenv_mips_ctx): New.
20990 (libc_feupdateenv_ctx): New.
20991 (libc_feupdateenvf_ctx): New.
20992 (libc_feupdateenvl_ctx): New.
20993 (libc_feholdsetround_mips_ctx): New.
20994 (libc_feholdsetround_ctx): New.
20995 (libc_feholdsetroundf_ctx): New.
20996 (libc_feholdsetroundl_ctx): New.
20997 (libc_feresetround_mips_ctx): New.
20998 (libc_feresetround_ctx): New.
20999 (libc_feresetroundf_ctx): New.
21000 (libc_feresetroundl_ctx): New.
21002 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21004 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21006 * manual/ipc.texi: New file.
21007 * manual/Makefile (chapters): Add ipc.
21008 * manual/job.texi: Add "Inter-Process Communication" to next.
21009 * manual/process.texi: Add "Inter-Process Communication" to prev.
21011 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21015 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21017 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21019 * manual/arith.texi: Fix spaces after sentences.
21020 * manual/charset.texi: Likewise.
21021 * manual/errno.texi: Likewise.
21022 * manual/install.texi: Likewise.
21023 * manual/llio.texi: Likewise.
21024 * manual/locale.texi: Likewise.
21025 * manual/maint.texi: Likewise.
21026 * manual/math.texi: Likewise.
21027 * manual/memory.texi: Likewise.
21028 * manual/message.texi: Likewise.
21029 * manual/probes.texi: Likewise.
21030 * manual/resource.texi: Likewise.
21031 * manual/signal.texi: Likewise.
21032 * manual/socket.texi: Likewise.
21033 * manual/stdio.texi: Likewise.
21034 * manual/string.texi: Likewise.
21035 * manual/time.texi: Likewise.
21036 * manual/users.texi: Likewise.
21038 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21041 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21042 _DEFAULT_SOURCE is defined.
21044 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21045 Carlos O'Donell <carlos@redhat.com>
21048 * elf/dl-tls.c (_dl_count_modids): New function.
21049 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21050 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21051 audit library and increment generation counter.
21052 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21053 * elf/tst-audit9.c: New file.
21054 * elf/tst-auditmod9a.c: New file.
21055 * elf/tst-auditmod9b.c: New file.
21056 * elf/Makefile: Add rules to build and run tst-audit9.
21058 2014-02-25 Florian Weimer <fweimer@redhat.com>
21061 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21063 2014-02-25 Will Newton <will.newton@linaro.org>
21065 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21066 (__longjmp): Restore sp and lr before restoring callee
21067 saved registers. Add longjmp and longjmp_target
21068 SystemTap probe point.
21069 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21070 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21071 Define to zero to match jmpbuf layout.
21072 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21073 (__sigsetjmp): Save sp and lr before saving callee
21074 saved registers. Add setjmp SystemTap probe point.
21076 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21078 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21080 2014-02-24 Andreas Schwab <schwab@suse.de>
21083 * elf/pldd.c (wait_for_ptrace_stop): New function.
21084 (main): Call it after attaching.
21086 2014-02-22 Roland McGrath <roland@hack.frob.com>
21088 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21089 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21090 Versions files is now verboten.
21091 * hurd/Versions (libc: GLIBC_2.0):
21092 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21093 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21094 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21095 * mach/Versions: Likewise.
21097 * csu/Versions: Remove unused %include.
21098 * resolv/Versions: Likewise.
21100 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21102 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21103 ($(objpfx)check-local-headers.out): Likewise.
21104 ($(objpfx)begin-end-check.out): Likewise.
21105 * Makerules (check-abi-%.out): Likewise.
21106 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21107 ($(objpfx)test2.cat): Likewise.
21108 ($(objpfx)de/libc.cat): Likewise.
21109 ($(objpfx)test-gencat.out): Likewise.
21110 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21111 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21112 ($(objpfx)noload-mem): Likewise.
21113 ($(objpfx)tst-pathopt.out): Likewise.
21114 ($(objpfx)tst-rtld-load-self.out): Likewise.
21115 ($(objpfx)tst-array1-cmp.out): Likewise.
21116 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21117 ($(objpfx)tst-array2-cmp.out): Likewise.
21118 ($(objpfx)tst-array3-cmp.out): Likewise.
21119 ($(objpfx)tst-array4-cmp.out): Likewise.
21120 ($(objpfx)tst-array5-cmp.out): Likewise.
21121 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21122 ($(objpfx)check-textrel.out): Likewise.
21123 ($(objpfx)check-execstack.out): Likewise.
21124 ($(objpfx)check-localplt.out): Likewise.
21125 ($(objpfx)order2-cmp.out): Likewise.
21126 ($(objpfx)tst-leaks1-mem): Likewise.
21127 ($(objpfx)tst-leaks1-static-mem): Likewise.
21128 ($(objpfx)tst-initorder-cmp.out): Likewise.
21129 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21130 ($(objpfx)tst-unused-dep.out): Likewise.
21131 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21132 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21133 * iconv/Makefile (test-iconvconfig): Likewise.
21134 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21135 ($(objpfx)iconv-test.out): Likewise.
21136 ($(objpfx)tst-tables.out): Likewise.
21137 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21138 ($(objpfx)tst-gettext.out): Likewise.
21139 ($(objpfx)tst-translit.out): Likewise.
21140 ($(objpfx)tst-gettext2.out): Likewise.
21141 ($(objpfx)tst-gettext4.out): Likewise.
21142 ($(objpfx)tst-gettext6.out): Likewise.
21143 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21144 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21145 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21146 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21147 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21148 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21149 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21150 ($(objpfx)wordexp-tst.out): Likewise.
21151 ($(objpfx)annexc.out): Likewise.
21152 ($(objpfx)tst-fnmatch-mem): Likewise.
21153 ($(objpfx)bug-regex2-mem): Likewise.
21154 ($(objpfx)bug-regex14-mem): Likewise.
21155 ($(objpfx)bug-regex21-mem): Likewise.
21156 ($(objpfx)bug-regex31-mem): Likewise.
21157 ($(objpfx)tst-vfork3-mem): Likewise.
21158 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21159 ($(objpfx)tst-pcre-mem): Likewise.
21160 ($(objpfx)tst-boost-mem): Likewise.
21161 ($(objpfx)tst-getconf.out): Likewise.
21162 ($(objpfx)bug-ga2-mem): Likewise.
21163 ($(objpfx)bug-glob2-mem): Likewise.
21164 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21165 ($(objpfx)mtrace-tst-leaks2): Likewise.
21166 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21167 ($(objpfx)tst-printf.out): Likewise.
21168 ($(objpfx)tst-setvbuf1.out): Likewise.
21169 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21170 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21171 ($(objpfx)tst-fmtmsg.out): Likewise.
21172 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21173 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21175 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21176 * bits/sigaction.h [__USE_MISC]: Likewise.
21177 * bits/waitstatus.h: Update #endif comments.
21178 * ctype/ctype.h: Likewise.
21179 * dirent/dirent.h: Likewise.
21180 [__USE_MISC]: Remove redundant conditionals.
21181 * grp/grp.h: Update #endif comments.
21182 [__USE_GNU]: Remove redundant conditionals.
21183 [__USE_MISC]: Likewise.
21184 * inet/netinet/in.h [__USE_GNU]: Likewise.
21185 * io/sys/stat.h [__USE_MISC]: Likewise.
21186 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21187 * libio/bits/stdio.h: Update #endif comments.
21188 [__USE_MISC]: Remove redundant conditionals.
21189 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21190 * libio/stdio.h: Update #endif comments.
21191 [__USE_MISC]: Remove redundant conditionals.
21192 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21193 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21194 * math/math.h: Update #else and #endif comments.
21195 [__USE_MISC]: Remove redundant conditionals.
21196 * misc/sys/uio.h: Update #endif comments.
21197 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21198 * posix/glob.h [__USE_MISC]: Likewise.
21199 * posix/sys/types.h: Update #endif comments.
21200 [__USE_MISC]: Remove redundant conditionals.
21201 * posix/sys/wait.h: Update #endif comments.
21202 [__USE_MISC]: Remove redundant conditionals.
21203 * posix/unistd.h: Update #endif comments.
21204 [__USE_MISC]: Remove redundant conditionals.
21205 * pwd/pwd.h [__USE_GNU]: Likewise.
21206 [__USE_MISC]: Likewise.
21207 * resolv/netdb.h [__USE_GNU]: Likewise.
21208 * signal/signal.h: Update #endif comments.
21209 [__USE_MISC]: Remove redundant conditionals.
21210 * stdlib/stdlib.h: Update #else and #endif comments.
21211 [__USE_MISC]: Remove redundant conditionals.
21212 [__USE_GNU]: Likewise.
21213 * string/bits/string2.h [__USE_MISC]: Likewise.
21214 * string/string.h: Update #endif comments.
21215 [__USE_MISC]: Remove redundant conditionals.
21216 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21218 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21219 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21220 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21222 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21226 [__USE_MISC]: Remove redundant conditionals.
21227 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21228 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21229 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21230 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21231 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21233 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21234 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21236 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21237 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21239 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21241 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21242 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21244 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21246 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21247 * sysdeps/x86/bits/string.h: Update #endif comments.
21248 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21250 * time/sys/time.h: Update #endif comments.
21251 * time/time.h: Likewise.
21252 [__USE_MISC]: Remove redundant conditionals.
21254 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21257 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21259 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21261 * Versions.def (librt): Add GLIBC_2.17.
21263 2014-02-21 Adam Conrad <adconrad@0c3.net>
21265 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21266 synonym for _SYS_AUXV_H to allow direct inclusion.
21267 * sysdeps/sparc/bits/hwcap.h: Likewise.
21268 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21269 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21270 * sysdeps/sparc/sysdep.h: Likewise.
21272 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21274 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21276 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21278 * benchtests/bench-strrchr.c: Print length instead of position.
21280 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21283 * sysdeps/unix/sysv/linux/kernel-features.h
21284 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21285 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21286 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21287 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21289 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21290 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21291 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21292 (__ASSUME_SENDMMSG): Define instead of using previous
21293 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21294 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21295 (__ASSUME_SENDMMSG_SYSCALL): Define.
21296 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21297 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21300 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21302 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21303 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21305 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21306 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21307 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21308 [__ASSUME_SENDMMSG]: Change conditionals to
21309 [__ASSUME_SENDMMSG_SOCKETCALL].
21310 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21311 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21313 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21314 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21316 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21317 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21318 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21319 [!__ASSUME_SENDMMSG]: Change conditional to
21320 [!__ASSUME_SENDMMSG_SOCKETCALL].
21321 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21322 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21326 * sysdeps/unix/sysv/linux/kernel-features.h
21327 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21328 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21329 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21330 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21331 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21332 [__i386__ || __sparc__]
21333 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21334 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21335 (__ASSUME_RECVMMSG): Define instead of using previous
21336 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21337 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21338 (__ASSUME_RECVMMSG_SYSCALL): Define.
21339 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21340 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21342 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21343 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21345 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21346 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21348 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21349 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21350 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21351 [__ASSUME_RECVMMSG]: Change condition to
21352 [__ASSUME_RECVMMSG_SOCKETCALL].
21353 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21354 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21356 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21357 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21358 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21360 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21361 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21362 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21363 [!__ASSUME_RECVMMSG]: Change condition to
21364 [!__ASSUME_RECVMMSG_SOCKETCALL].
21365 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21366 (__ASSUME_RECVMMSG_SYSCALL): Define.
21369 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21370 __powerpc__ || __s390__ || __sh__ || __sparc__]
21371 (__ASSUME_SOCKETCALL): Define.
21372 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21373 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21374 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21375 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21376 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21377 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21378 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21379 (__ASSUME_ACCEPT4): Define instead of using previous
21380 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21381 __powerpc__ || __sparc__ || __s390__)] condition.
21382 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21383 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21384 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21385 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21386 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21387 [!__ASSUME_ACCEPT4]: Change condition to
21388 [!__ASSUME_ACCEPT4_SOCKETCALL].
21389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21390 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21391 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21393 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21394 __ASSUME_ACCEPT4_SYSCALL.
21395 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21396 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21397 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21398 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21399 __ASSUME_ACCEPT4_SYSCALL.
21400 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21401 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21402 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21403 [__ASSUME_ACCEPT4]: Change condition to
21404 [__ASSUME_ACCEPT4_SOCKETCALL].
21405 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21406 (__ASSUME_SOCKETCALL): Define.
21407 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21409 (__ASSUME_SOCKETCALL): Define.
21410 (__ASSUME_ACCEPT4): Remove.
21411 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21413 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21414 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21416 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21417 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21419 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21421 (HWCAP_ARM_LPAE): Likewise.
21422 (HWCAP_ARM_EVTSTRM): Likewise.
21423 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21424 Add vpfd32, lpae and evtstrm.
21425 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21428 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21430 * math/auto-libm-test-in: Add tests of clog10.
21431 * math/auto-libm-test-out: Regenerated.
21432 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21433 * sysdeps/i386/fpu/libm-test-ulps: Update.
21434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21436 2014-02-18 Andreas Schwab <schwab@suse.de>
21439 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21440 Store non-zero if the second buffer was newly allocated.
21441 (send_dg): Likewise.
21442 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21443 to send_vc and send_dg.
21444 (res_nsend): Pass NULL for ansp2_malloced.
21445 * resolv/res_query.c (__libc_res_nquery): Add parameter
21446 answerp2_malloced and pass it down to __libc_res_nsend.
21447 (res_nquery): Pass additional NULL to __libc_res_nquery.
21448 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21449 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21450 second answer buffer if answerp2_malloced was set.
21451 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21452 (__libc_res_nquerydomain): Add parameter
21453 answerp2_malloced and pass it down to __libc_res_nquery.
21454 (res_nquerydomain): Pass additional NULL to
21455 __libc_res_nquerydomain.
21456 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21457 additional NULL to __libc_res_nsend and __libc_res_nquery.
21458 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21459 additional NULL to __libc_res_nsearch.
21460 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21461 parameter of __libc_res_nsearch to check for separately allocated
21463 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21465 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21466 additional NULL to __libc_res_nquery.
21467 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21468 __libc_res_nsearch.
21469 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21470 * include/resolv.h: Update prototypes of __libc_res_nquery,
21471 __libc_res_nsearch, __libc_res_nsend.
21473 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21475 * math/auto-libm-test-in: Add tests of fma.
21476 * math/auto-libm-test-out: Regenerated.
21477 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21478 (fma_towardzero_test_data): Likewise.
21479 (fma_downward_test_data): Likewise.
21480 (fma_upward_test_data): Likewise.
21481 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21483 (rounding_modes): Add values for new field.
21484 (func_calc_method): Add value mpfr_fff_f.
21485 (func_calc_desc): Add mpfr_fff_f union field.
21486 (test_function): Add field exact_args.
21487 (FUNC): Add macro argument EXACT_ARGS.
21488 (FUNC_mpfr_f_f): Update call to FUNC.
21489 (FUNC_mpfr_f_f): Likewise.
21490 (FUNC_mpfr_ff_f): Likewise.
21491 (FUNC_mpfr_if_f): Likewise.
21492 (FUNC_mpc_c_f): Likewise.
21493 (FUNC_mpc_c_c): Likewise.
21494 (test_functions): Add fma. Update calls to FUNC.
21495 (handle_input_arg): Add argument exact_args.
21496 (add_test): Update call to handle_input_arg.
21497 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21498 (output_for_one_input_case): Update call to calc_generic_results.
21499 Recalculate exact zero results in each rounding mode.
21501 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21502 non-negative before setting low bit.
21503 * math/auto-libm-test-in: Mark one asin test possibly having
21504 spurious underflow.
21505 * math/auto-libm-test-out: Regenerated.
21506 * sysdeps/i386/fpu/libm-test-ulps: Update.
21507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21509 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21511 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21512 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21513 ports/sysdeps/unix/sysv/linux/microblaze.
21514 * README: Add missing listing for microblaze*-*-linux-gnu.
21516 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21518 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21521 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21523 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21524 * sysdeps/unix/sysv/linux/ia64: Move directory from
21525 ports/sysdeps/unix/sysv/linux/ia64.
21526 * README: Update listing for ia64-*-linux-gnu.
21528 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21529 Joseph Myers <joseph@codesourcery.com>
21531 * Makeconfig (test-name): New variable.
21532 (evaluate-test): Likewise.
21533 * Makerules (do-test-clean): Remove .test-result files.
21534 (common-mostlyclean): Likewise.
21535 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21536 * scripts/evaluate-test.sh: New file.
21538 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21540 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21541 separate $(objpfx)tst-fopenloc-cmp.out and
21542 $(objpfx)tst-fopenloc-mem.out targets.
21543 (tests): Update dependencies.
21544 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21545 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21546 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21547 (tst-rxspencer-no-utf8-ARGS): New variable.
21548 (tst-rxspencer-no-utf8-ENV): Likewise.
21549 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21550 instead of $(objpfx)tst-rxspencer-mem.
21551 ($(objpfx)tst-rxspencer-mem): Change target to
21552 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21553 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21554 * posix/tst-rxspencer-no-utf8.c: New file.
21556 * elf/Makefile ($(objpfx)order.out): Remove rule.
21557 [$(run-built-tests) = yes] (tests): Depend on
21558 $(objpfx)order-cmp.out.
21559 ($(objpfx)order-cmp.out): New rule.
21560 [$(run-built-tests) = yes] (tests): Depend on
21561 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21562 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21563 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21564 $(objpfx)tst-array5-static-cmp.out.
21565 ($(objpfx)tst-array1.out): Remove rule.
21566 ($(objpfx)tst-array1-cmp.out): New rule.
21567 ($(objpfx)tst-array1-static.out): Remove rule.
21568 ($(objpfx)tst-array1-static-cmp.out): New rule.
21569 ($(objpfx)tst-array2.out): Remove rule.
21570 ($(objpfx)tst-array2-cmp.out): New rule.
21571 ($(objpfx)tst-array3.out): Remove rule.
21572 ($(objpfx)tst-array3-cmp.out): New rule.
21573 ($(objpfx)tst-array4.out): Remove rule.
21574 ($(objpfx)tst-array4-cmp.out): New rule.
21575 ($(objpfx)tst-array5.out): Remove rule.
21576 ($(objpfx)tst-array5-cmp.out): New rule.
21577 ($(objpfx)tst-array5-static.out): Remove rule.
21578 ($(objpfx)tst-array5-static-cmp.out): New rule.
21579 [$(run-built-tests) = yes] (tests): Depend on
21580 $(objpfx)order2-cmp.out.
21581 ($(objpfx)order2.out): Remove rule.
21582 ($(objpfx)order2-cmp.out): New rule.
21583 ($(objpfx)tst-initorder.out): Remove rule.
21584 [$(run-built-tests) = yes] (tests): Depend on
21585 $(objpfx)tst-initorder-cmp.out.
21586 ($(objpfx)tst-initorder-cmp.out): New rule.
21587 ($(objpfx)tst-initorder2.out): Remove rule.
21588 [$(run-built-tests) = yes] (tests): Depend on
21589 $(objpfx)tst-initorder2-cmp.out.
21590 ($(objpfx)tst-initorder2-cmp.out): New rule.
21591 [$(run-built-tests) = yes] (tests): Depend on
21592 $(objpfx)tst-unused-dep-cmp.out.
21593 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21594 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21595 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21596 on $(objpfx)tst-setvbuf1-cmp.out.
21597 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21598 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21599 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21600 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21601 ($(objpfx)tst-svc.out): Remove rule.
21602 ($(objpfx)tst-svc-cmp.out): New rule.
21604 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21606 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21607 * ctype/ctype.h [__USE_MISC]: Likewise.
21608 * dirent/dirent.h [__USE_MISC]: Likewise.
21609 * grp/grp.h [__USE_MISC]: Likewise.
21610 * io/fcntl.h [__USE_MISC]: Likewise.
21611 * io/sys/stat.h [__USE_MISC]: Likewise.
21612 * libio/stdio.h [__USE_MISC]: Likewise.
21613 * posix/unistd.h [__USE_MISC]: Likewise.
21614 * pwd/pwd.h [__USE_MISC]: Likewise.
21615 * stdlib.h [__USE_MISC]: Likewise.
21616 * string/bits/string2.h [__USE_MISC]: Likewise.
21617 * string/string.h [__USE_MISC]: Likewise.
21618 * time/time.h [__USE_MISC]: Likewise.
21620 2014-02-13 Andreas Schwab <schwab@suse.de>
21623 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21624 second answer buffer if it was separately allocated.
21626 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21628 * sysdeps/mips/math-tests.h: Include <features.h>.
21629 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21630 (ROUNDING_TESTS_long_double): Do not define.
21631 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21632 (EXCEPTION_TESTS_long_double): Likewise.
21633 * sysdeps/mips/mips64/libm-test-ulps: Update.
21635 * include/features.h (__USE_BSD): Remove macro definitions.
21636 (__USE_SVID): Likewise.
21637 (_BSD_SOURCE): Likewise.
21638 (_SVID_SOURCE): Likewise.
21639 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21640 from definition of _DEFAULT_SOURCE.
21641 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21643 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21644 * bits/mman.h [__USE_BSD]: Likewise.
21645 * bits/termios.h [__USE_BSD]: Likewise.
21646 * bits/waitstatus.h [__USE_BSD]: Likewise.
21647 * ctype/ctype.h [__USE_SVID]: Likewise.
21648 * dirent/dirent.h [__USE_BSD]: Likewise.
21649 * grp/grp.h [__USE_SVID]: Likewise.
21650 [__USE_BSD]: Likewise.
21651 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21652 * io/fcntl.h [__USE_BSD]: Likewise.
21653 * io/ftw.h [__USE_BSD]: Likewise.
21654 * io/sys/stat.h [__USE_BSD]: Likewise.
21655 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21656 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21657 * libio/stdio.h [__USE_SVID]: Likewise.
21658 [__USE_BSD]: Likewise.
21659 * math/math.h [__USE_SVID]: Likewise.
21660 [__USE_BSD]: Likewise.
21661 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21662 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21663 * misc/search.h [__USE_SVID]: Likewise.
21664 * misc/sys/mman.h [__USE_BSD]: Likewise.
21665 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21666 * misc/sys/uio.h [__USE_BSD]: Likewise.
21667 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21668 * posix/glob.h [__USE_BSD]: Likewise.
21669 * posix/regex.h [__USE_BSD]: Likewise.
21670 * posix/sys/types.h [__USE_BSD]: Likewise.
21671 [__USE_SVID]: Likewise.
21672 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21673 * posix/sys/wait.h [__USE_BSD]: Likewise.
21674 [__USE_SVID]: Likewise.
21675 * posix/unistd.h [__USE_BSD]: Likewise.
21676 [__USE_SVID]: Likewise.
21677 * pwd/pwd.h [__USE_SVID]: Likewise.
21678 * resolv/netdb.h [__USE_BSD]: Likewise.
21679 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21680 * signal/signal.h [__USE_BSD]: Likewise.
21681 [__USE_SVID]: Likewise.
21682 * socket/sys/socket.h [__USE_BSD]: Likewise.
21683 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21684 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21685 [__USE_SVID]: Likewise.
21686 * string/bits/string2.h [__USE_BSD]: Likewise.
21687 [__USE_SVID]: Likewise.
21688 * string/bits/string3.h [__USE_BSD]: Likewise.
21689 * string/endian.h [__USE_BSD]: Likewise.
21690 * string/string.h [__USE_SVID]: Likewise.
21691 [__USE_BSD]: Likewise.
21692 * string/strings.h [__USE_BSD]: Likewise.
21693 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21694 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21695 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21696 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21697 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21698 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21702 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21703 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21705 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21706 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21708 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21710 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21711 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21714 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21716 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21717 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21718 * termios/termios.h [__USE_BSD]: Likewise.
21719 * time/sys/time.h [__USE_BSD]: Likewise.
21720 * time/time.h [__USE_BSD]: Likewise.
21721 [__USE_SVID]: Likewise.
21723 * Makefile (subdir_targets): Remove subdir_lint.out.
21725 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21726 (do-tst-printf): Likewise.
21727 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21728 $(objpfx)tst-printf.out.
21730 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21732 * Makerules (check-abi-%): Change target to
21733 $(objpfx)check-abi-%.out.
21734 (check-abi target): Update dependencies.
21735 (check-abi-pattern variable): Redirect output of diff to $@.
21736 (check-abi variable): Likewise.
21737 * elf/Makefile (check-abi): Update dependencies.
21739 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21741 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21742 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21744 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21745 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21746 value has largest subnormal exponent.
21747 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21748 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21749 * sysdeps/aarch64/soft-fp/sfp-machine.h
21750 (_FP_TININESS_AFTER_ROUNDING): New macro.
21751 * sysdeps/alpha/soft-fp/sfp-machine.h
21752 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21753 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21755 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21756 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21757 * sysdeps/mips/soft-fp/sfp-machine.h
21758 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21759 * sysdeps/powerpc/soft-fp/sfp-machine.h
21760 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21761 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21763 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21764 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21765 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21766 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21767 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21770 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
21773 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21776 2014-02-12 Richard Henderson <rth@redhat.com>
21778 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21779 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21780 * sysdeps/unix/sysv/linux/alpha: Move directory from
21781 ports/sysdeps/unix/sysv/linux/alpha.
21782 * README: Update listing for alpha-*-linux-gnu.
21784 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21786 * include/features.h: Update comment documenting feature test
21788 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21790 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21791 (_SVID_SOURCE): Likewise.
21792 (_DEFAULT_SOURCE): Update description of default features.
21793 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21795 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21796 (S_ISVTX): Likewise.
21797 * manual/math.texi (Mathematical Constants): Likewise.
21798 * manual/signal.texi (Interrupted Primitives): Likewise.
21799 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21800 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21801 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21802 Don't refer to _SVID_SOURCE in warning text.
21804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21806 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21808 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21809 * sysdeps/mips/dl-lookup.c: Remove.
21810 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21812 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21815 * math/auto-libm-test-in: Add testcase for expl.
21816 * math/auto-libm-test-out: Regenerate.
21817 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21818 calculation of unsafe.
21819 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21821 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21823 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21824 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21825 ports/sysdeps/unix/sysv/linux/aarch64.
21826 * README: Update listing for aarch64*-*-linux-gnu.
21828 2014-02-11 Will Newton <will.newton@linaro.org>
21830 * manual/probes.texi (Mathematical Function Probes): Use
21831 "triggered" instead of "hit".
21833 * manual/probes.texi (Internal Probes): Add documentation
21834 of setjmp, longjmp and longjmp_target probes.
21836 * include/stap-probe.h: Add comment about probe argument
21839 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21840 definition. (tr_where, tr_freehook, tr_mallochook,
21841 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21843 2014-02-11 David S. Miller <davem@davemloft.net>
21845 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21846 processing int_tests.
21848 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21850 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21851 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21852 * sysdeps/unix/sysv/linux/mips: Move directory from
21853 ports/sysdeps/unix/sysv/linux/mips.
21854 * README: Update listing for mips-*-linux-gnu and
21855 mips64-*-linux-gnu.
21857 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21859 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21860 * sysdeps/unix/sysv/linux/m68k: Move directory from
21861 ports/sysdeps/unix/sysv/linux/m68k.
21862 * README: Update listing for m68k-*-linux-gnu.
21864 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21866 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21867 * sysdeps/unix/sysv/linux/generic: Move directory from
21868 ports/sysdeps/unix/sysv/linux/generic.
21869 * sysdeps/unix/sysv/linux/tile: Move directory from
21870 ports/sysdeps/unix/sysv/linux/tile.
21871 * README: Update listing for tile*-*-linux-gnu.
21873 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21875 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21877 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21878 * catgets/open_catalog.c (__open_catalog): Likewise.
21879 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21880 * debug/confstr_chk.c: Likewise.
21881 * debug/fread_chk.c (__fread_chk): Likewise.
21882 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21883 * debug/getgroups_chk.c: Likewise.
21884 * debug/mbsnrtowcs_chk.c: Likewise.
21885 * debug/mbsrtowcs_chk.c: Likewise.
21886 * debug/mbstowcs_chk.c: Likewise.
21887 * debug/memcpy_chk.c: Likewise.
21888 * debug/memmove_chk.c: Likewise.
21889 * debug/mempcpy_chk.c: Likewise.
21890 * debug/memset_chk.c: Likewise.
21891 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21892 * debug/strcat_chk.c (__strcat_chk): Likewise.
21893 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21894 * debug/strncat_chk.c (__strncat_chk): Likewise.
21895 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21896 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21897 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21898 * debug/wcpncpy_chk.c: Likewise.
21899 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21900 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21901 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21902 * debug/wcsncpy_chk.c: Likewise.
21903 * debug/wcsnrtombs_chk.c: Likewise.
21904 * debug/wcsrtombs_chk.c: Likewise.
21905 * debug/wcstombs_chk.c: Likewise.
21906 * debug/wmemcpy_chk.c: Likewise.
21907 * debug/wmemmove_chk.c: Likewise.
21908 * debug/wmempcpy_chk.c: Likewise.
21909 * debug/wmemset_chk.c: Likewise.
21910 * dirent/scandirat.c (SCANDIRAT): Likewise.
21911 * dlfcn/dladdr1.c (dladdr1): Likewise.
21912 * dlfcn/dladdr.c (dladdr): Likewise.
21913 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21914 * dlfcn/dlerror.c (__dlerror): Likewise.
21915 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21916 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21917 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21918 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21919 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21920 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21921 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21922 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21924 * elf/dl-conflict.c: Likewise.
21925 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21926 * elf/dl-dst.h: Likewise.
21927 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21928 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21929 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21930 * elf/dl-init.c (call_init, _dl_init): Likewise.
21931 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21932 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21933 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21935 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21937 * elf/dl-minimal.c (__libc_memalign): Likewise.
21938 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21939 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21940 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21941 * elf/dl-sym.c (do_sym): Likewise.
21942 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21943 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21944 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21945 * elf/dl-writev.h (_dl_writev): Likewise.
21946 * elf/ldconfig.c (search_dir): Likewise.
21947 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21948 (dl_main): Likewise.
21949 * elf/setup-vdso.h (setup_vdso): Likewise.
21950 * grp/compat-initgroups.c (compat_call): Likewise.
21951 * grp/fgetgrent.c (fgetgrent): Likewise.
21952 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21953 * grp/putgrent.c (putgrent): Likewise.
21954 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21956 * hurd/hurdinit.c: Likewise.
21957 * iconvdata/8bit-gap.c (struct): Likewise.
21958 * iconvdata/ansi_x3.110.c : Likewise.
21959 * iconvdata/big5.c : Likewise.
21960 * iconvdata/big5hkscs.c : Likewise.
21961 * iconvdata/cp1255.c: Likewise.
21962 * iconvdata/cp1258.c : Likewise.
21963 * iconvdata/cp932.c : Likewise.
21964 * iconvdata/euc-cn.c: Likewise.
21965 * iconvdata/euc-jisx0213.c : Likewise.
21966 * iconvdata/euc-jp.c: Likewise.
21967 * iconvdata/euc-jp-ms.c : Likewise.
21968 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21969 * iconvdata/gb18030.c : Likewise.
21970 * iconvdata/gbbig5.c (const): Likewise.
21971 * iconvdata/gbgbk.c: Likewise.
21972 * iconvdata/gbk.c : Likewise.
21973 * iconvdata/ibm1364.c : Likewise.
21974 * iconvdata/ibm930.c : Likewise.
21975 * iconvdata/ibm932.c: Likewise.
21976 * iconvdata/ibm933.c : Likewise.
21977 * iconvdata/ibm935.c : Likewise.
21978 * iconvdata/ibm937.c : Likewise.
21979 * iconvdata/ibm939.c : Likewise.
21980 * iconvdata/ibm943.c: Likewise.
21981 * iconvdata/iso_11548-1.c: Likewise.
21982 * iconvdata/iso-2022-cn.c : Likewise.
21983 * iconvdata/iso-2022-cn-ext.c : Likewise.
21984 * iconvdata/iso-2022-jp-3.c: Likewise.
21985 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21986 * iconvdata/iso-2022-kr.c : Likewise.
21987 * iconvdata/iso646.c (gconv_end): Likewise.
21988 * iconvdata/iso_6937-2.c : Likewise.
21989 * iconvdata/iso_6937.c : Likewise.
21990 * iconvdata/iso8859-1.c: Likewise.
21991 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21992 * iconvdata/shift_jisx0213.c : Likewise.
21993 * iconvdata/sjis.c : Likewise.
21994 * iconvdata/t.61.c : Likewise.
21995 * iconvdata/tcvn5712-1.c : Likewise.
21996 * iconvdata/tscii.c: Likewise.
21997 * iconvdata/uhc.c : Likewise.
21998 * iconvdata/unicode.c (gconv_end): Likewise.
21999 * iconvdata/utf-16.c (gconv_end): Likewise.
22000 * iconvdata/utf-32.c (gconv_end): Likewise.
22001 * iconvdata/utf-7.c (base64): Likewise.
22002 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22003 * iconv/gconv_close.c (__gconv_close): Likewise.
22004 * iconv/gconv_open.c (__gconv_open): Likewise.
22005 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22006 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22007 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22008 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22009 (ucs4le_internal_loop_single): Likewise.
22010 * iconv/iconv.c (iconv): Likewise.
22011 * iconv/iconv_close.c: Likewise.
22012 * iconv/loop.c (SINGLE): Likewise.
22013 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22014 * include/atomic.h: Likewise.
22015 * inet/inet6_option.c (option_alloc): Likewise.
22016 * intl/bindtextdom.c (set_binding_values): Likewise.
22017 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22018 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22019 * intl/localealias.c (read_alias_file): Likewise.
22020 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22021 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22022 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22023 * libio/fmemopen.c (fmemopen): Likewise.
22024 * libio/iofgets.c (_IO_fgets): Likewise.
22025 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22026 * libio/iofgetws.c (fgetws): Likewise.
22027 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22028 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22029 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22030 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22031 * locale/findlocale.c (_nl_find_locale): Likewise.
22032 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22033 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22035 * locale/setlocale.c (setlocale): Likewise.
22036 * login/programs/pt_chown.c (main): Likewise.
22037 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22038 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22039 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22040 (mmap, mmap64, mremap, munmap): Likewise.
22041 * math/e_exp2l.c: Likewise.
22042 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22043 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22044 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22045 * math/s_catan.c (__catan): Likewise.
22046 * math/s_catanf.c (__catanf): Likewise.
22047 * math/s_catanh.c (__catanh): Likewise.
22048 * math/s_catanhf.c (__catanhf): Likewise.
22049 * math/s_catanhl.c (__catanhl): Likewise.
22050 * math/s_catanl.c (__catanl): Likewise.
22051 * math/s_ccosh.c (__ccosh): Likewise.
22052 * math/s_ccoshf.c (__ccoshf): Likewise.
22053 * math/s_ccoshl.c (__ccoshl): Likewise.
22054 * math/s_cexp.c (__cexp): Likewise.
22055 * math/s_cexpf.c (__cexpf): Likewise.
22056 * math/s_cexpl.c (__cexpl): Likewise.
22057 * math/s_clog10.c (__clog10): Likewise.
22058 * math/s_clog10f.c (__clog10f): Likewise.
22059 * math/s_clog10l.c (__clog10l): Likewise.
22060 * math/s_clog.c (__clog): Likewise.
22061 * math/s_clogf.c (__clogf): Likewise.
22062 * math/s_clogl.c (__clogl): Likewise.
22063 * math/s_csin.c (__csin): Likewise.
22064 * math/s_csinf.c (__csinf): Likewise.
22065 * math/s_csinh.c (__csinh): Likewise.
22066 * math/s_csinhf.c (__csinhf): Likewise.
22067 * math/s_csinhl.c (__csinhl): Likewise.
22068 * math/s_csinl.c (__csinl): Likewise.
22069 * math/s_csqrt.c (__csqrt): Likewise.
22070 * math/s_csqrtf.c (__csqrtf): Likewise.
22071 * math/s_csqrtl.c (__csqrtl): Likewise.
22072 * math/s_ctan.c (__ctan): Likewise.
22073 * math/s_ctanf.c (__ctanf): Likewise.
22074 * math/s_ctanh.c (__ctanh): Likewise.
22075 * math/s_ctanhf.c (__ctanhf): Likewise.
22076 * math/s_ctanhl.c (__ctanhl): Likewise.
22077 * math/s_ctanl.c (__ctanl): Likewise.
22078 * math/w_pow.c: Likewise.
22079 * math/w_powf.c: Likewise.
22080 * math/w_powl.c: Likewise.
22081 * math/w_scalb.c (sysv_scalb): Likewise.
22082 * math/w_scalbf.c (sysv_scalbf): Likewise.
22083 * math/w_scalbl.c (sysv_scalbl): Likewise.
22084 * misc/error.c (error_tail): Likewise.
22085 * misc/pselect.c (__pselect): Likewise.
22086 * nis/nis_callback.c (__nis_create_callback): Likewise.
22087 * nis/nis_call.c (__nisfind_server): Likewise.
22088 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22089 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22090 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22091 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22092 * nis/nis_lookup.c (nis_lookup): Likewise.
22093 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22094 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22095 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22096 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22097 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22098 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22099 * nis/nss_compat/compat-initgroups.c (add_group)
22100 (internal_getgrent_r): Likewise.
22101 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22102 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22103 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22104 (internal_getspnam_r): Likewise.
22105 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22106 (_nss_nis_getaliasbyname_r): Likewise.
22107 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22108 (_nss_nis_getntohost_r): Likewise.
22109 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22110 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22111 (_nss_nis_getgrgid_r): Likewise.
22112 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22113 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22114 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22115 (_nss_nis_gethostbyname4_r): Likewise.
22116 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22117 (initgroups_netid): Likewise.
22118 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22119 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22120 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22121 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22122 (_nss_nis_getprotobynumber_r): Likewise.
22123 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22124 (_nss_nis_getsecretkey): Likewise.
22125 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22126 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22127 (_nss_nis_getpwuid_r): Likewise.
22128 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22129 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22130 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22131 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22132 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22133 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22134 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22136 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22137 (_nss_nisplus_getntohost_r): Likewise.
22138 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22139 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22140 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22141 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22143 * nis/nss_nisplus/nisplus-initgroups.c
22144 (_nss_nisplus_initgroups_dyn): Likewise.
22145 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22146 (_nss_nisplus_getnetbyaddr_r): Likewise.
22147 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22148 (_nss_nisplus_getprotobynumber_r): Likewise.
22149 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22150 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22151 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22153 * nis/nss_nisplus/nisplus-service.c
22154 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22155 (_nss_nisplus_getservbyport_r): Likewise.
22156 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22157 (_nss_nisplus_getspnam_r): Likewise.
22158 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22160 * nscd/aicache.c (addhstaiX): Likewise.
22161 * nscd/cache.c (cache_search, prune_cache): Likewise.
22162 * nscd/connections.c (register_traced_file, send_ro_fd)
22163 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22164 (main_loop_epoll): Likewise.
22165 * nscd/grpcache.c (addgrbyX): Likewise.
22166 * nscd/hstcache.c (addhstbyX): Likewise.
22167 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22168 * nscd/mem.c (gc, mempool_alloc): Likewise.
22169 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22170 (addinnetgrX): Likewise.
22171 * nscd/nscd-client.h (__nscd_acquire_maplock)
22172 (__nscd_drop_map_ref): Likewise.
22173 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22174 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22175 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22177 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22179 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22180 (__nscd_get_map_ref): Likewise.
22181 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22182 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22184 * nscd/pwdcache.c (addpwbyX): Likewise.
22185 * nscd/selinux.c (preserve_capabilities): Likewise.
22186 * nscd/servicescache.c (addservbyX): Likewise.
22187 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22188 * posix/fnmatch.c (fnmatch): Likewise.
22189 * posix/getopt.c (_getopt_internal_r): Likewise.
22190 * posix/glob.c (glob, glob_in_dir): Likewise.
22191 * posix/wordexp.c (exec_comm_child): Likewise.
22192 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22193 (getanswer_r, gaih_getanswer_slice): Likewise.
22194 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22195 * resolv/res_init.c: Likewise.
22196 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22197 * resolv/res_query.c (__libc_res_nquery): Likewise.
22198 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22200 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22201 * stdio-common/perror.c (perror): Likewise.
22202 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22203 * stdio-common/tmpnam.c (tmpnam): Likewise.
22204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22205 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22206 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22208 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22209 * stdlib/putenv.c (putenv): Likewise.
22210 * stdlib/setenv.c (__add_to_environ): Likewise.
22211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22212 * stdlib/strtol_l.c (INTERNAL): Likewise.
22213 * string/memmem.c (memmem): Likewise.
22214 * string/strerror.c (strerror): Likewise.
22215 * string/strnlen.c (__strnlen): Likewise.
22216 * string/test-memmem.c (simple_memmem): Likewise.
22217 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22218 * sunrpc/pm_getport.c (__get_socket): Likewise.
22219 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22220 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22221 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22222 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22224 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22225 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22226 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22227 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22228 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22229 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22231 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22233 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22234 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22235 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22236 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22237 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22239 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22241 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22242 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22243 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22244 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22246 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22248 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22250 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22252 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22253 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22254 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22255 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22256 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22260 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22262 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22263 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22267 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22269 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22271 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22273 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22275 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22277 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22278 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22279 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22280 * sysdeps/posix/sleep.c: Likewise.
22281 * sysdeps/posix/tempname.c: Likewise.
22282 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22283 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22285 * sysdeps/powerpc/powerpc32/dl-machine.h
22286 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22287 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22289 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22290 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22292 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22293 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22294 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22295 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22296 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22297 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22298 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22299 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22300 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22301 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22303 (elf_machine_lazy_rel): Likewise.
22304 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22306 (elf_machine_lazy_rel): Likewise.
22307 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22308 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22309 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22310 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22311 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22312 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22313 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22316 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22317 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22318 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22319 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22320 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22321 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22322 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22323 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22324 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22325 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22326 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22328 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22329 (__posix_fallocate64_l64): Likewise.
22330 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22331 (posix_fallocate): Likewise.
22332 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22334 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22335 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22336 (getifaddrs_internal): Likewise.
22337 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22338 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22339 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22341 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22342 (__posix_fallocate64_l64): Likewise.
22343 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22345 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22346 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22347 (__get_clockfreq): Likewise.
22348 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22349 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22350 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22353 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22354 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22355 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22357 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22358 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22359 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22360 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22361 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22362 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22363 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22365 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22366 (posix_fallocate): Likewise.
22367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22368 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22369 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22370 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22371 (elf_machine_rela, elf_machine_rela_relative)
22372 (elf_machine_lazy_rel): Likewise.
22373 * time/asctime.c (asctime_internal): Likewise.
22374 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22375 * time/tzset.c (__tzset_parse_tz): Likewise.
22376 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22377 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22378 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22379 * wcsmbs/wcsmbsload.h: Likewise.
22382 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22384 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22385 (arena_get2): Remove THREAD_STATS conditionals.
22386 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22387 (__malloc_stats, int): Likewise.
22389 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22391 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22392 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22394 * manual/setjmp.texi: Fix typos/grammar errors.
22396 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22397 Only return early when n is <= 0. Delete unused return statement.
22399 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22400 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22401 * debug/tst-longjmp_chk3.c: New file.
22403 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22404 (test_main): Replace code with set_fortify_handler call.
22405 * debug/test-strcpy_chk.c: Likewise.
22406 * debug/tst-chk1.c: Likewise.
22407 * debug/tst-longjmp_chk.c: Likewise.
22408 * test-skeleton.c: Include fcntl.h & paths.h
22409 (set_fortify_handler): Define.
22411 * debug/tst-longjmp_chk.c: Add header comment and include
22412 ../test-skeleton.c.
22413 (do_test): Mark static.
22414 (TEST_FUNCTION): Define.
22416 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22417 (IP_PMTUDISC_INTERFACE): Likewise.
22418 (IP_MULTICAST_IF): Likewise.
22419 (IP_MULTICAST_TTL): Likewise.
22420 (IP_MULTICAST_LOOP): Likewise.
22421 (IP_ADD_MEMBERSHIP): Likewise.
22422 (IP_DROP_MEMBERSHIP): Likewise.
22423 (IP_UNBLOCK_SOURCE): Likewise.
22424 (IP_BLOCK_SOURCE): Likewise.
22425 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22426 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22427 (IP_MSFILTER): Likewise.
22428 (MCAST_JOIN_GROUP): Likewise.
22429 (MCAST_BLOCK_SOURCE): Likewise.
22430 (MCAST_UNBLOCK_SOURCE): Likewise.
22431 (MCAST_LEAVE_GROUP): Likewise.
22432 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22433 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22434 (MCAST_MSFILTER): Likewise.
22435 (IP_MULTICAST_ALL): Likewise.
22436 (IP_UNICAST_IF): Likewise.
22438 * timezone/Makefile: Delete $(have-ksh) check.
22439 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22440 * timezone/tzselect.ksh: Add +x mode bits.
22442 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22443 (ANON_INODE_FS_MAGIC): Likewise.
22444 (BDEVFS_MAGIC): Likewise.
22445 (BINFMTFS_MAGIC): Likewise.
22446 (BTRFS_TEST_MAGIC): Likewise.
22447 (CRAMFS_MAGIC_WEND): Likewise.
22448 (DEBUGFS_MAGIC): Likewise.
22449 (ECRYPTFS_SUPER_MAGIC): Likewise.
22450 (EXT3_SUPER_MAGIC): Likewise.
22451 (EXT4_SUPER_MAGIC): Likewise.
22452 (FUTEXFS_SUPER_MAGIC): Likewise.
22453 (HOSTFS_SUPER_MAGIC): Likewise.
22454 (HUGETLBFS_MAGIC): Likewise.
22455 (MINIX3_SUPER_MAGIC): Likewise.
22456 (MTD_INODE_FS_MAGIC): Likewise.
22457 (NILFS_SUPER_MAGIC): Likewise.
22458 (OPENPROM_SUPER_MAGIC): Likewise.
22459 (PIPEFS_MAGIC): Likewise.
22460 (PSTOREFS_MAGIC): Likewise.
22461 (QNX6_SUPER_MAGIC): Likewise.
22462 (RAMFS_MAGIC): Likewise.
22463 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22464 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22465 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22466 (SECURITYFS_MAGIC): Likewise.
22467 (SELINUX_MAGIC): Likewise.
22468 (SMACK_MAGIC): Likewise.
22469 (SOCKFS_MAGIC): Likewise.
22470 (SQUASHFS_MAGIC): Likewise.
22471 (STACK_END_MAGIC): Likewise.
22472 (TMPFS_MAGIC): Likewise.
22473 (USBDEVICE_SUPER_MAGIC): Likewise.
22474 (V9FS_MAGIC): Likewise.
22475 (XENFS_SUPER_MAGIC): Likewise.
22476 (CRAMFS_MAGIC): Fix typo in comment.
22477 (EXT2_SUPER_MAGIC): Update comment.
22478 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22480 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22482 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22483 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22484 * sysdeps/unix/sysv/linux/arm: Move directory from
22485 ports/sysdeps/unix/sysv/linux/arm.
22486 * README: Update listing for arm-*-linux-gnueabi.
22488 * README: Remove mention of am33.
22490 2014-02-07 Roland McGrath <roland@hack.frob.com>
22492 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22493 than the comma operator, to avoid "rhs of comma has no effect"
22495 (__sigfillset, __sigandset, __sigorset): Likewise.
22496 * include/signal.h (__sigemptyset): Likewise.
22497 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22499 2014-02-07 Allan McRae <allan@archlinux.org>
22501 * version.h (RELEASE): Set to "development".
22502 (VERSION): Set to "2.19.90"
22503 * NEWS: Add 2.20 section.
22505 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22508 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22510 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22512 * manual/contrib.texi: Update entry for Carlos O'Donell,
22513 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22515 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22517 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22519 * sysdeps/unix/sysv/linux/kernel-features.h
22520 [__LINUX_KERNEL_VERSION >= 0x020621]
22521 (__ASSUME_PROC_PID_TASK_COMM): Define.
22523 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22526 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22527 conversion when destination buffer does not have enough space.
22528 * libio/tst-ftell-partial-wide.c: New test case.
22529 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22531 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22532 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22533 Leonard and Allan McRae.
22535 2014-02-04 David S. Miller <davem@davemloft.net>
22537 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22540 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22569 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22571 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22572 * shlib-versions: Likewise.
22574 2014-02-04 Roland McGrath <roland@hack.frob.com>
22575 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22577 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22578 (abilist-pattern): New variable, set to %-le.abilist.
22580 * Makerules (abilist-pattern): New variable.
22581 (vpath): Use $(abilist-pattern) in place of %.abilist.
22582 (check-abi-% pattern rule): Likewise.
22583 (check-abi, update-abi): Likewise.
22585 2014-02-04 Eric Wong <normalperson@yhbt.net>
22587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22589 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22591 * manual/startup.texi: Add next, previous, and top entries for
22592 the `Program Arguments' and `Environment Variables' nodes.
22594 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22596 * manual/macros.texi: Add comments before MTASC-safety macros.
22598 * manual/users.texi: Document MTASC-safety properties.
22600 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22601 (pthread_getspecific, pthread_setspecific): Format with
22602 @deftypefun, and add @safety note.
22603 * manual/signal.texi: Move comments that analyze the above
22604 functions to their home place.
22606 2014-02-03 Allan McRae <allan@archlinux.org>
22608 * po/sl.po: Update Slovenian translation from translation project.
22610 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22612 * manual/time.texi (timegm): Add missing blank after @c.
22613 Reported by Joseph Myers <joseph@codesourcery.com>.
22615 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22617 * manual/check-safety.sh: New.
22618 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22620 * manual/terminal.texi: Document MTASC-safety properties.
22622 * manual/filesys.texi: Document MTASC-safety properties.
22624 * manual/errno.texi: Document MTASC-safety properties.
22626 * manual/intro.texi: Document safety identifiers and
22629 * manual/string.texi (wcstok): Fix prototype.
22630 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22632 * manual/time.texi: Document MTASC-safety properties.
22634 * manual/string.texi: Document MTASC-safety properties.
22636 * manual/threads.texi: Document MTASC-safety properties.
22638 * manual/stdio.texi: Document MTASC-safety properties.
22640 * manual/syslog.texi: Document MTASC-safety properties.
22642 * manual/sysinfo.texi: Document MTASC-safety properties.
22644 * manual/startup.texi: Document MTASC-safety properties.
22646 * manual/socket.texi: Document MTASC-safety properties.
22648 * manual/signal.texi: Document MTASC-safety properties.
22650 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22652 * manual/setjmp.texi: Document MTASC-safety properties.
22654 * manual/search.texi: Document MTASC-safety properties.
22656 * manual/resource.texi: Document MTASC-safety properties.
22658 * manual/process.texi: Document MTASC-safety properties.
22660 * manual/platform.texi: Document MTASC-safety properties.
22662 * manual/pipe.texi: Document MTASC-safety properties.
22664 * manual/pattern.texi: Document MTASC-safety properties.
22666 * manual/message.texi: Document MTASC-safety properties.
22669 * manual/memory.texi: Document MTASC-safety properties.
22671 * manual/math.texi: Document MTASC-safety properties.
22673 * manual/locale.texi: Document MTASC-safety properties.
22675 * manual/llio.texi: Document MTASC-safety properties.
22677 * manual/libdl.texi: New.
22679 * manual/lang.texi: Document MTASC-safety properties.
22681 * manual/job.texi: Document MTASC-safety properties.
22683 * manual/getopt.texi: Document MTASC-safety properties.
22685 * manual/ctype.texi: Document MTASC-safety properties.
22687 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22690 * csu/libc-tls.c (static_map): Remove variable.
22691 (__libc_setup_tls): Use main executable's link map for TLS data.
22692 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22693 casing for LM_ID_BASE and GL(dl_nns).
22694 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22695 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22696 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22697 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22698 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22700 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22703 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22705 * manual/debug.texi: Document MTASC-safety properties.
22707 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22710 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22711 of __x86_64__ when disabling x87 inline functions.
22713 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22715 * manual/charset.texi: Document MTASC-safety properties.
22717 * manual/crypt.texi: Document MTASC-safety properties.
22719 * manual/conf.texi: Document MTASC-safety properties.
22721 * manual/arith.texi: Document MTASC-safety properties.
22723 * manual/argp.texi: Document MTASC-safety properties.
22725 * manual/macros.texi: Introduce macros to document multi
22726 thread, asynchronous signal and asynchronous cancellation
22728 * manual/intro.texi: Introduce the properties themselves.
22730 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22732 * sysdeps/sh/sh4/Makefile: New file.
22734 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22736 * math/gen-libm-test.pl ($srcdir): New variable.
22737 ($auto_input): Use it.
22739 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22742 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22743 access beyond array bounds when parsing netgroups file.
22745 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22746 the old buffer before realloc.
22748 2014-01-27 Allan McRae <allan@archlinux.org>
22750 * po/fr.po: Update French translation from translation project.
22752 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22754 * sysdeps/sh/libm-test-ulps: Regenerate.
22756 2014-01-24 David S. Miller <davem@davemloft.net>
22758 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22760 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22762 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22763 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22765 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22768 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22769 string pointers after reallocation.
22771 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22773 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22774 __SH4A__ instead of __SH_FPU_ANY__.
22776 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22778 * sysdeps/sh/fpu_control.h: New file.
22779 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22780 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22781 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22782 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22783 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22784 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22785 * sysdeps/sh/sys/ucontext.h: Remove.
22786 * sysdeps/sh/sys: Remove directory.
22788 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22790 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22791 s390/sys/ucontext.h.
22792 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22793 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22795 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22798 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22800 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22803 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22804 Adjust the vDSO correctly for internal calls.
22805 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22807 2014-01-20 Allan McRae <allan@archlinux.org>
22809 * po/ca.po: Update Catalan translation from translation project.
22811 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22813 * sysdeps/s390/sotruss-lib.c: New file.
22815 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22818 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22819 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22820 local calls issues by not having a PLT stub required for IFUNC calls.
22821 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22823 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22825 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22826 * math/test-fpucw-static.c: Likewise.
22828 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22831 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22833 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22835 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22836 implementation for powerpc.
22838 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22841 * sysdeps/posix/system.c (__libc_system): Do not enable
22842 asynchronous cancellation.
22844 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22847 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22848 handling only for numbers special also in the IEEE case.
22850 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22852 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22854 2014-01-11 Allan McRae <allan@archlinux.org>
22856 * po/bg.po: Update Bulgarian translation from translation project.
22858 * po/de.po: Update German translation from translation project.
22860 2014-01-10 Roland McGrath <roland@hack.frob.com>
22862 * sysdeps/generic/gcc-compat.h: New file.
22864 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22866 * benchtests/asin-inputs: Correct slow inputs.
22867 * benchtests/acos-inputs: Likewise.
22869 2014-01-10 Allan McRae <allan@archlinux.org>
22871 * po:sv.po: Update Swedish translation from translation project.
22873 * po/vi.po: Update Vietnamese translation from translation project.
22875 * po/eo.po: Update Esperanto translation from translation project.
22877 * po/cs.po: Update Czech translation from translation project.
22879 * po/nl.po: Update Dutch translation from translation project.
22881 * po/pl.po: Update Polish translation from translation project.
22883 * po/ru.po: Update Russian translation from translation project.
22885 * po/uk.po: Update Ukrainian translation from translation project.
22887 2014-01-08 Brooks Moses <bmoses@google.com>
22889 * elf/dl-load.c: Fix comment typo.
22891 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22893 * po/header.pot: Rename to...
22894 * po/pot.header: ... this.
22895 * po/Makefile: Use pot.header.
22897 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22898 Maxim Kuvyrkov <maxim@kugelworks.com>
22901 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22902 SRC and DEST against LEN.
22904 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22907 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22909 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22911 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22915 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22918 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22919 for large positive arguments.
22921 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22923 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22925 * math/auto-libm-test-in: Mark various tests with
22926 xfail-rounding:ldbl-128ibm.
22927 * math/auto-libm-test-out: Regenerated.
22930 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22931 Increase overflow threshold.
22933 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22936 * stdio-common/vfprintf.c: Check for integer overflow.
22938 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22940 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22941 the first argument and return value of __tls_get_addr_internal.
22943 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22945 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22946 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22948 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22950 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22951 * sysdeps/s390/rtld-global-offsets.sym: New file.
22952 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22954 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22956 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22958 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22959 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22965 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22966 halfs of GPRs for high_gprs contexts.
22967 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22968 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22970 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22972 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22974 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22975 for high GPRs (uc_high_gprs) and for future extensions
22977 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22978 for future extensions (__reserved).
22979 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22981 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22982 SC_HIGHGPRS offset definition.
22983 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22984 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22986 * Versions.def: Add GLIBC_2.19 for libpthread.
22987 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22988 siglongjmp for libpthread with GLIBC_2.19 symver.
22989 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22990 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22991 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22992 * sysdeps/s390/__longjmp.c: New file.
22993 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22994 * sysdeps/s390/longjmp.c: New file.
22995 * sysdeps/s390/setjmp.S: New file.
22996 * sysdeps/s390/sigjmp.S: New file.
22997 * sysdeps/s390/v1-longjmp.c: New file.
22998 * sysdeps/s390/v1-setjmp.h: New file.
22999 * sysdeps/s390/v1-sigjmp.c: New file.
23000 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23001 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23002 GLIBC_2.19 version.
23003 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23004 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23005 versioned symbols for ____longjmp_chk.
23006 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23016 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23017 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23018 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23019 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23020 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23021 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23022 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23023 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23024 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23025 * sysdeps/s390/rtld-__longjmp.c: New file.
23026 * sysdeps/s390/rtld-setjmp.S: New file.
23028 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23032 Return -__logl (x) for small positive arguments without evaluating
23035 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23037 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23039 (__ptrace_peeksiginfo_args): ... this.
23040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23041 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23044 2014-01-06 Allan McRae <allan@archlinux.org>
23046 * inet/netinet/in.h: Fix typo in comment.
23048 2014-01-05 Andreas Jaeger <aj@suse.de>
23050 * sysdeps/i386/fpu/libm-test-ulps: Update.
23052 2014-01-05 Allan McRae <allan@archlinux.org>
23054 * po/libc.pot: Regenerated.
23056 * malloc/memusagestat.c: Fix gettext call formatting.
23058 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23060 * nscd/nscd.c: Improve usage() output.
23062 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23064 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23065 * sysdeps/unix/sysv/linux/configure: Regenerated.
23066 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23067 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23069 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23072 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23073 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23075 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23077 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23078 extra tokens at end of #undef directive.
23079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23080 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23083 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23085 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23087 * math/auto-libm-test-in: Mark various tests with
23088 xfail-rounding:ldbl-128ibm.
23089 * math/auto-libm-test-out: Regenerated.
23091 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23094 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23095 numbers with subnormal high part when calculating exponent.
23098 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23104 (__ieee754_acoshl): Use __log1pl not __log1p.
23106 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23108 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23109 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23110 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23111 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23112 (reused_arena, arena_get2): Convert to GNU style.
23113 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23114 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23115 (memalign_check, __malloc_set_state): Likewise.
23116 * malloc/mallocbug.c (main): Likewise.
23117 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23118 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23119 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23120 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23121 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23122 (__posix_memalign, malloc_info): Likewise.
23123 * malloc/malloc.h: Likewise.
23124 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23125 (mallochook, memalignhook, reallochook, mabort): Likewise.
23126 * malloc/mcheck.h: Likewise.
23127 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23128 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23129 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23130 * malloc/morecore.c (__default_morecore): Likewise.
23131 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23132 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23133 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23134 (print_and_abort): Likewise.
23135 * malloc/obstack.h: Likewise.
23136 * malloc/set-freeres.c (__libc_freeres): Likewise.
23137 * malloc/tst-mallocstate.c (main): Likewise.
23138 * malloc/tst-mtrace.c (main): Likewise.
23139 * malloc/tst-realloc.c (do_test): Likewise.
23141 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23144 * nscd/netgroupcache.c (do_notfound): New function.
23145 (addgetnetgrentX): Use it.
23148 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23149 NSS_STATUS_NOTFOUND.
23151 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23153 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23156 2014-01-01 Allan McRae <allan@archlinux.org>
23158 * scripts/update-copyrights: Update configure input file suffix.
23160 * NEWS: Update copyright year.
23161 * catgets/gencat.c: Likewise.
23162 * csu/version.c: Likewise.
23163 * debug/catchsegv.sh: Likewise.
23164 * debug/pcprofiledump.c: Likewise.
23165 * debug/xtrace.sh: Likewise.
23166 * elf/ldconfig.c: Likewise.
23167 * elf/ldd.bash.in: Likewise.
23168 * elf/pldd.c: Likewise.
23169 * elf/sotruss.ksh: Likewise.
23170 * elf/sprof.c: Likewise.
23171 * iconv/iconv_prog.c: Likewise.
23172 * iconv/iconvconfig.c: Likewise.
23173 * locale/programs/locale.c: Likewise.
23174 * locale/programs/localedef.c: Likewise.
23175 * login/programs/pt_chown.c: Likewise.
23176 * malloc/memusage.sh: Likewise.
23177 * malloc/memusagestat.c: Likewise.
23178 * malloc/mtrace.pl: Likewise.
23179 * manual/libc.texinfo: Likewise.
23180 * nscd/nscd.c: Likewise.
23181 * nss/getent.c: Likewise.
23182 * nss/makedb.c: Likewise.
23183 * posix/getconf.c: Likewise.
23184 * scripts/test-installation.pl: Likewise.
23186 * All files with FSF copyright notices: Update copyright dates
23187 using scripts/update-copyrights.
23188 * intl/plural.c: Regenerated.
23189 * locale/programs/charmap-kw.h: Likewise.
23190 * locale/programs/locfile-kw.h: Likewise.
23192 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23194 * sysdeps/unix/sysv/linux/configure: Regenerated.
23195 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23196 the linux/fanotify.h header.
23197 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23198 HAVE_LINUX_FANOTIFY_H is defined.
23200 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23202 * benchtests/cos-inputs: New inputs.
23203 * benchtests/sin-inputs: Likewise.
23205 * benchtests/atan-inputs: New inputs. Fix name of multiple
23206 precision fallback inputs.
23208 * benchtests/atanh-inputs: New inputs.
23209 * benchtests/tanh-inputs: Likewise.
23211 * benchtests/acosh-inputs: New inputs.
23212 * benchtests/asinh-inputs: Likewise.
23214 * benchtests/cosh-inputs: New inputs.
23215 * benchtests/sinh-inputs: Likewise.
23217 * benchtests/acos-inputs: Add more inputs.
23218 * benchtests/asin-inputs: Likewise.
23220 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23223 * manual/arith.texi: Fix spelling.
23224 * manual/charset.texi: Likewise.
23225 * manual/errno.texi: Likewise.
23226 * manual/filesys.texi: Likewise.
23227 * manual/lang.texi: Likewise.
23228 * manual/llio.texi: Likewise.
23229 * manual/locale.texi: Likewise.
23230 * manual/message.texi: Likewise.
23231 * manual/resource.texi: Likewise.
23232 * manual/search.texi: Likewise.
23233 * manual/setjmp.texi: Likewise.
23234 * manual/stdio.texi: Likewise.
23235 * manual/string.texi: Likewise.
23236 * manual/sysinfo.texi: Likewise.
23237 * manual/time.texi: Likewise.
23239 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23241 * po/sl.po: New file.
23243 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23245 * .gitignore: Add core/.gdbinit/.gdb_history.
23247 2013-12-27 Allan McRae <allan@archlinux.org>
23250 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23251 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23253 2013-12-24 Brooks Moses <bmoses@google.com>
23255 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23256 all compilers that claim C++98 compliance, not just GCC.
23257 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23260 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23262 * NEWS: Restore accidentally deleted bug-fix entries.
23264 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23265 Ondřej Bílka <neleai@seznam.cz>
23268 * malloc/malloc.c (_int_free): Perform sanity check only if we
23271 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23274 * manual/stdio.texi (String Input Conversions): Clarify that character
23275 classes are not supported.
23277 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23281 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23285 Calculate results for small negative arguments directly rather
23286 than using reflection formula with special underflow handling.
23288 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23289 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23290 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23291 (fchflags): Likewise.
23292 (revoke): Likewise.
23293 (setlogin): Likewise.
23294 (sigaltstack): Likewise.
23296 (sigblock): Remove.
23297 (sigsetmask): Likewise.
23299 (waitpid): Likewise.
23300 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23301 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23303 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23304 * sysdeps/unix/bsd/Makefile: ... here.
23305 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23306 * sysdeps/unix/bsd/Versions: ... here.
23307 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23308 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23309 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23310 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23311 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23312 * sysdeps/unix/bsd/sigblock.c: ... here.
23313 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23314 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23315 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23316 * sysdeps/unix/bsd/sigvec.c: ... here.
23317 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23318 * sysdeps/unix/bsd/tcdrain.c: ... here.
23319 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23320 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23321 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23322 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23323 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23324 * sysdeps/unix/bsd/wait.c: ... here.
23325 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23326 * sysdeps/unix/bsd/wait3.c: ... here.
23327 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23328 * sysdeps/unix/bsd/waitpid.c: ... here.
23330 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23333 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23334 round-to-nearest for [!USE_AS_EXPM1L].
23335 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23336 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23337 more tests of exp and exp10. Expect some exp10 tests to miss
23338 exceptions or fail in directed rounding modes.
23339 * math/auto-libm-test-out: Regenerated.
23340 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23341 (exp10_test_tonearest): New function.
23342 (exp10_towardzero_test_data): New array.
23343 (exp10_test_towardzero): New function.
23344 (exp10_downward_test_data): New array.
23345 (exp10_test_downward): New function.
23346 (exp10_upward_test_data): New array.
23347 (exp10_test_upward): New function.
23348 (main): Call the new functions.
23349 * sysdeps/i386/fpu/libm-test-ulps: Update.
23350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23352 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23354 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23355 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23356 * math/auto-libm-test-out: Regenerated.
23357 * math/libm-test.inc (acosh_test_data): Add more tests.
23358 (atanh_test_data): Likewise.
23359 (ceil_test_data): Likewise.
23360 (copysign_test_data): Likewise.
23361 * sysdeps/i386/fpu/libm-test-ulps: Update.
23362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23364 * timezone/checktab.awk: Update from tzcode 2013i.
23365 * timezone/private.h: Likewise.
23366 * timezone/scheck.c: Likewise.
23367 * timezone/tzfile.h: Likewise.
23368 * timezone/tzselect.ksh: Likewise.
23369 * timezone/zdump.c: Likewise.
23370 * timezone/zic.c: Likewise.
23372 * math/auto-libm-test-in: Add tests of cpow.
23373 * math/auto-libm-test-out: Regenerated.
23374 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23375 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23377 (func_calc_desc): Add mpc_cc_c union field.
23378 (test_functions): Add cpow.
23379 (special_fill_2pi): New function.
23380 (special_real_inputs): Add 2pi.
23381 (calc_generic_results): Handle mpc_cc_c.
23382 * sysdeps/i386/fpu/libm-test-ulps: Update.
23383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23385 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23386 csqrt, ctan and ctanh.
23387 * math/auto-libm-test-out: Regenerated.
23388 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23389 (TEST_COND_x86): Likewise.
23390 (ccos_test_data): Use AUTO_TESTS_c_c.
23391 (ccosh_test_data): Likewise.
23392 (cexp_test_data): Likewise.
23393 (clog_test_data): Likewise.
23394 (csqrt_test_data): Likewise.
23395 (ctan_test_data): Likewise.
23396 (ctan_tonearest_test_data): Likewise.
23397 (ctan_towardzero_test_data): Likewise.
23398 (ctan_downward_test_data): Likewise.
23399 (ctan_upward_test_data): Likewise.
23400 (ctanh_test_data): Likewise.
23401 (ctanh_tonearest_test_data): Likewise.
23402 (ctanh_towardzero_test_data): Likewise.
23403 (ctanh_downward_test_data): Likewise.
23404 (ctanh_upward_test_data): Likewise.
23405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23407 (func_calc_desc): Add mpc_c_c union field.
23408 (FUNC_mpc_c_c): New macro.
23409 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23410 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23412 (special_fill_min_subnorm_p120): New function.
23413 (special_real_inputs): Add min_subnorm_p120.
23414 (calc_generic_results): Handle mpc_c_c.
23415 * sysdeps/i386/fpu/libm-test-ulps: Update.
23416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23418 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23420 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23421 (do_sin_slow): New functions.
23422 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23423 (cslow2, csloww1, csloww2): Use the new functions.
23425 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23426 Use M to change sign of result instead of X. Assume X is
23428 (csloww1): Likewise.
23432 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23433 arguments A and DA.
23437 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23439 (sloww1): Don't adjust sign of DX.
23440 (csloww1): Likewise.
23441 (sloww2): Use X directly and don't adjust sign of DX.
23442 (csloww2): Likewise.
23444 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23446 * math/auto-libm-test-in: Add tests of cabs and carg.
23447 * math/auto-libm-test-out: Regenerated.
23448 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23449 (carg_test_data): Likewise.
23450 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23452 (func_calc_desc): Add mpc_c_f union field.
23453 (test_functions): Add cabs and carg.
23454 (calc_generic_results): Handle mpc_c_f.
23456 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23457 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23458 as a macro and a compat symbol.
23459 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23460 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23461 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23462 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23463 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23464 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23466 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23468 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23470 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23472 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23474 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23476 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23477 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23480 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23484 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23486 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23487 trailing whitespace removed.
23488 * scripts/config.guess: Update to version 2013-11-29.
23489 * scripts/config.sub: Update to version 2013-10-01.
23491 * math/auto-libm-test-in: Add tests of sincos.
23492 * math/auto-libm-test-out: Regenerated.
23493 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23496 (func_calc_desc): Add mpfr_f_11 union field.
23497 (test_functions): Add sincos.
23498 (calc_generic_results): Handle mpfr_f_11.
23499 * sysdeps/i386/fpu/libm-test-ulps: Update.
23500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23502 2013-12-19 Andreas Schwab <schwab@suse.de>
23504 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23506 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23507 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23508 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23510 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23512 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23513 * sysdeps/i386/fpu/libm-test-ulps: Update.
23514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23517 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23518 round-to-nearest mode when using frndint.
23519 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23520 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23521 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23523 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23525 * math/auto-libm-test-out: Regenerated.
23526 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23527 (TEST_COND_x86): Likewise.
23528 (expm1_tonearest_test_data): New array.
23529 (expm1_test_tonearest): New function.
23530 (expm1_towardzero_test_data): New array.
23531 (expm1_test_towardzero): New function.
23532 (expm1_downward_test_data): New array.
23533 (expm1_test_downward): New function.
23534 (expm1_upward_test_data): New array.
23535 (expm1_test_upward): New function.
23536 (main): Run the new test functions.
23537 * sysdeps/i386/fpu/libm-test-ulps: Update.
23538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23540 * include/features.h: Update comment documenting feature test
23541 macros. Mention _DEFAULT_SOURCE in comment.
23542 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23543 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23544 _BSD_SOURCE and _SVID_SOURCE.
23545 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23546 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23547 !_SVID_SOURCE]: Likewise.
23548 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23549 (__USE_POSIX_IMPLICITLY): Define.
23550 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23551 (_POSIX_SOURCE): Undefine and redefine.
23552 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23553 (_POSIX_C_SOURCE): Likewise.
23554 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23555 (Feature Test Macros): Update documentation of default features.
23557 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23559 * benchtests/Makefile: Add bench-strtok.
23560 * benchtests/bench-strtok.c: New file: strtok benchtest.
23562 2013-12-19 Allan McRae <allan@archlinux.org>
23564 * manual/install.texi: Suppress menu for plain text output.
23565 * INSTALL: Regenerated.
23567 2013-12-18 Brooks Moses <bmoses@google.com>
23570 * misc/getauxval.c: Include errno.h.
23571 (__getauxval): Set errno to ENOENT if the requested type is not
23573 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23574 don't declare with __attribute_const__.
23575 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23576 * manual/startup.texi: Document that getauxval sets errno.
23578 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23580 * math/auto-libm-test-in: Add tests of jn and yn.
23581 * math/auto-libm-test-out: Regenerated.
23582 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23583 (yn_test_data): Likewise.
23584 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23586 (func_calc_desc): Add mpfr_if_f union field.
23587 (FUNC_mpfr_if_f): New macro.
23588 (test_functions): Add jn and yn.
23589 (calc_generic_results): Assert type of second input for
23590 mpfr_ff_f. Handle mpfr_if_f.
23591 (output_for_one_input_case): Disable all checking for arguments
23592 fitting floating-point types in case of an integer argument.
23593 * sysdeps/i386/fpu/libm-test-ulps: Update.
23594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23597 Don't expect fegetround reference in libm.so.
23599 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23601 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23602 $(config-cflags-nofma).
23604 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23606 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23607 * math/auto-libm-test-out: Regenerated.
23610 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23611 to determine exponent and adjust argument to have exponent of -1.
23612 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23614 * math/auto-libm-test-out: Regenerated.
23615 * sysdeps/i386/fpu/libm-test-ulps: Update.
23616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23618 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23620 * manual/probes.texi: Remove cases when per-thread arenas are
23623 2013-12-18 Andreas Schwab <schwab@suse.de>
23625 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23626 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23627 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23628 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23629 * sysdeps/i386/i686/multiarch/Makefile: Update.
23630 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23632 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23634 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23635 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23637 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23640 Support TZ transition times < 00:00:00.
23641 This is needed for version-3 tz-format files; it supports time
23642 stamps past 2037 for America/Godthab (the only entry in the tz
23643 database for which this change is relevant).
23644 * manual/time.texi (TZ Variable): Document transition times
23645 from -167:59:59 through -00:00:01.
23646 * time/tzset.c (tz_rule): Time of day is now signed.
23647 (__tzset_parse_tz): Parse negative time of day.
23649 Document TZ transition times >= 25:00:00.
23650 * manual/time.texi (TZ Variable): Document transition times from
23651 25:00:00 through 167:59:59. These are already supported, and this
23652 support will help with version-3 tz-format files.
23654 * manual/time.texi (TZ Variable): Modernize North America example
23655 to reflect current (i.e., 2007-and-later) daylight saving rules.
23657 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23659 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23661 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23662 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23665 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23666 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23667 * sysdeps/unix/bsd/clock.c: Likewise.
23668 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23669 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23670 * sysdeps/unix/bsd/init-posix.c: Likewise.
23671 * sysdeps/unix/bsd/poll.c: Likewise.
23672 * sysdeps/unix/bsd/ptsname.c: Likewise.
23673 * sysdeps/unix/bsd/seekdir.c: Likewise.
23674 * sysdeps/unix/bsd/setegid.c: Likewise.
23675 * sysdeps/unix/bsd/seteuid.c: Likewise.
23676 * sysdeps/unix/bsd/setgid.c: Likewise.
23677 * sysdeps/unix/bsd/setrgid.c: Likewise.
23678 * sysdeps/unix/bsd/setruid.c: Likewise.
23679 * sysdeps/unix/bsd/setsid.c: Likewise.
23680 * sysdeps/unix/bsd/setuid.c: Likewise.
23681 * sysdeps/unix/bsd/sigaction.c: Likewise.
23682 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23683 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23684 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23685 * sysdeps/unix/bsd/telldir.c: Likewise.
23686 * sysdeps/unix/bsd/times.c: Likewise.
23687 * sysdeps/unix/bsd/usleep.c: Likewise.
23689 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23690 ($(objpfx)libbsd-compat.a): Remove rule.
23692 * include/features.h (__FAVOR_BSD): Do not define.
23693 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23694 features conflicting with POSIX.
23695 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23696 (_BSD_SOURCE): Remove description of not being a subset of other
23697 feature test macros.
23698 * manual/job.texi (getpgrp): Do not document BSD version.
23699 (getpgid): Do not document by reference to BSD getpgrp.
23700 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23701 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23702 * signal/signal.h [__FAVOR_BSD]: Likewise.
23703 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23704 instead of making contents conditional on [__FAVOR_BSD].
23705 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23707 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23711 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23714 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23715 values below 2**-450, not 2**-500.
23716 * math/auto-libm-test-in: Don't allow spurious underflow from
23718 * math/auto-libm-test-out: Regenerated.
23722 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23723 values of ha and hb and sort them after adjusting subnormal
23725 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23728 values of ea and eb and sort them after adjusting subnormal
23730 * math/auto-libm-test-in: Do not expect some hypot tests of
23731 subnormals to fail. Add more hypot tests.
23732 * math/auto-libm-test-out: Regenerated.
23734 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23737 * sysdeps/sh/s_fma.c: New file.
23738 * sysdeps/sh/s_fmaf.c: New file.
23739 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23741 * sysdeps/sh/Implies: Add sh/soft-fp.
23743 2013-12-16 Roland McGrath <roland@hack.frob.com>
23745 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23746 level of indirection to members `objname', `errstring', `malloced'.
23747 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23748 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23749 it as the __longjmp argument (just pass 1 instead).
23750 (_dl_catch_error): Initialize C with argument pointers and address of
23751 volatile local ERRCODE rather than copying values out of C at return.
23753 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23755 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23756 * math/auto-libm-test-out: Regenerated.
23757 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23758 (hypot_test_data): Likewise.
23759 (pow_test_data): Likewise.
23760 (pow_tonearest_test_data): Likewise.
23761 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23763 (func_calc_desc): Add mpfr_ff_f union field.
23764 (FUNC_mpfr_ff_f): New macro.
23765 (test_functions): Add atan2, hypot and pow.
23766 (special_fill_min): New function.
23767 (special_fill_minus_min): Likewise.
23768 (special_fill_min_subnorm): Likewise.
23769 (special_fill_minus_min_subnorm): Likewise.
23770 (special_real_inputs): Add min, -min, min_subnorm and
23772 (calc_generic_results): Handle mpfr_ff_f.
23773 * sysdeps/i386/fpu/libm-test-ulps: Update.
23774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23776 2013-12-16 Will Newton <will.newton@linaro.org>
23778 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23779 (Aligned Memory Blocks): Add documentation for aligned_alloc
23780 and suggest it as an alternative to posix_memalign.
23781 (Hooks for Malloc): Document __memalign_hook is also called
23782 for aligned_alloc. (Summary of Malloc): Add summary for
23783 aligned alloc. Document __memalign_hook is also called
23786 2013-12-16 Will Newton <will.newton@linaro.org>
23788 * manual/memory.texi (Malloc Examples): Clarify default
23789 alignment documentation. Suggest posix_memalign rather
23790 than memalign or valloc.
23791 (Aligned Memory Blocks): Remove suggestion to use memalign
23792 or valloc. Remove obsolete comment about BSD.
23793 Document memalign errno values and mark the function obsolete.
23794 Document posix_memalign returned error codes. Mark valloc
23795 as obsolete. (Hooks for Malloc): __memalign_hook is also
23796 called for posix_memalign and valloc.
23797 (Summary of Malloc): Add posix_memalign to function summary.
23798 __memalign_hook is also called for posix_memalign and valloc.
23800 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23802 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23806 (sloww): Use mynumber union. Expand ternary operator into
23807 if-else statements.
23808 (cslow): use mynumber union.
23810 2013-12-16 Allan McRae <allan@archlinux.org>
23812 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23813 * configure: Regenerated.
23815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23818 * configure.ac: Added --enable-maintainer-mode. Check for
23819 autoconf when enabled.
23820 * configure: Regenerated.
23822 * nscd/nscd.service: New file.
23823 * nscd/nscd.tmpfiles: New file.
23825 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23828 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23829 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23830 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23831 (strstr): Add __strstr_sse2_unaligned ifunc.
23832 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23833 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23834 (strcasestr): Remove __strcasestr_sse42 ifunc.
23835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23839 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23841 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23842 * sysdeps/sh/bits/fenv.h: ... here.
23843 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23845 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23847 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23850 hypotf multiarch implementations.
23851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23853 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23854 multiarch hypot for PPC64.
23855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23857 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23858 multiarch hypotf for PPC64.
23860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23861 modff multiarch implementations.
23862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23865 multiarch modf for PPC64.
23866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23869 multiarch modff for PPC64.
23871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23872 and logl multiarch implementations.
23873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23876 multiarch logb for PPC64.
23877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23880 multiarch logb for PPC64.
23881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23884 multiarch logb for PPC64.
23886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23887 isinff multiarch implementation.
23888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23892 multiarch isinf for PPC64.
23893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23896 multiarch isinff for PPC64.
23898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23899 finitef multiarch implementation.
23900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23904 multiarch finite for PPC64.
23905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23908 multiarch finitef for PPC64.
23910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23911 lrint multiarch implementation.
23912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23916 multiarch llrint for PPC64.
23917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23918 multiarch lrint for PPC64.
23920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23921 copysignf multiarch implementation.
23922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23927 multiarch copysign for PPC64.
23928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23929 multiarch copysignf for PPC64.
23931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23932 multiarch implementation.
23933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23941 multiarch llround for PPC64.
23942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23943 multiarch trunc for PPC64.
23944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23945 multiarch truncf for PPC64.
23947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23948 multiarch implementation.
23949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23957 multiarch llround for PPC64.
23958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23959 multiarch round for PPC64.
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23961 multiarch roundf for PPC64.
23963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23964 multiarch implementation.
23965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23973 multiarch llround for PPC64.
23974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23975 multiarch floor for PPC64.
23976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23977 multiarch floorf for PPC64.
23979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23980 multiarch implementation.
23981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23989 multiarch llround for PPC64.
23990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23991 multiarch ceil for PPC64.
23992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23993 multiarch ceilf for PPC64.
23995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23996 multiarch implementation.
23997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24004 multiarch llround for PPC64.
24005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24006 multiarch lround for PPC64.
24008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24009 multiarch implementation.
24010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24017 multiarch isnan for PPC64.
24018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24019 multiarch isnanf for PPC64.
24021 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24022 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24023 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24024 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24025 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24028 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24034 multiarch implementations.
24035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24036 (__libc_ifunc_impl_list): Likewise.
24037 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24039 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24040 multiarch stpcpy for PPC64.
24042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24043 multiarch implementations.
24044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24045 (__libc_ifunc_impl_list): Likewise.
24046 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24047 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24048 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24049 multiarch strcpy for PPC64.
24051 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24052 redefine function name.
24053 (_wordcopy_fwd_dest_aligned): Likewise.
24054 (_wordcopy_bwd_aligned): Likewise.
24055 (_wordcopy_bwd_dest_aligned): Likewise.
24056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24057 multiarch implementations.
24058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24059 (__libc_ifunc_impl_list): Likewise.
24060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24062 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24063 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24064 multiarch wcscpy for PPC64.
24066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24067 multiarch implementations.
24068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24069 (__libc_ifunc_impl_list): Likewise.
24070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24074 multiarch wcscpy for PPC64.
24076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24077 multiarch implementations.
24078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24079 (__libc_ifunc_impl_list): Likewise.
24080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24083 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24084 multiarch wcsrchr for PPC64.
24086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24087 multiarch implementations.
24088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24089 (__libc_ifunc_impl_list): Likewise.
24090 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24091 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24092 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24093 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24094 multiarch wcschr for PPC64.
24096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24097 multiarch implementations.
24098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24099 (__libc_ifunc_impl_list): Likewise.
24100 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24102 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24103 multiarch strchrnul for PPC64.
24105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24108 (__libc_ifunc_impl_list): Likewise.
24109 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24110 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24111 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24112 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24118 (__libc_ifunc_impl_list): Likewise.
24119 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24121 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24122 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24126 multiarch implementations.
24127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24128 (__libc_ifunc_impl_list): Likewise.
24129 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24130 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24131 strncasecmp for PPC64.
24132 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24133 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24134 multiarch strncasecmp_l for PPC64.
24136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24137 multiarch implementations.
24138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24139 (__libc_ifunc_impl_list): Likewise.
24140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24141 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24142 multiarch strcasecmp for PPC64.
24143 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24145 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24146 multiarch strcasecmp_l for PPC64.
24148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24151 (__libc_ifunc_impl_list): Likewise.
24152 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24153 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24154 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24160 (__libc_ifunc_impl_list): Likewise.
24161 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24162 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24163 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24169 (__libc_ifunc_impl_list): Likewise.
24170 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24172 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24173 rawmemrchr for PPC64.
24175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24178 (__libc_ifunc_impl_list): Likewise.
24179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24180 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24181 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24187 (__libc_ifunc_impl_list): Likewise.
24188 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24189 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24190 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24196 (__libc_ifunc_impl_list): Likewise.
24197 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24198 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24199 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24202 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24203 avoid cretion of __bzero symbol.
24204 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24206 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24208 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24211 multiarch implementations.
24212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24213 (__libc_ifunc_impl_list): Likewise.
24214 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24215 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24216 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24217 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24219 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24220 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24221 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24222 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24223 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24225 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24227 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24231 (__libc_ifunc_impl_list): Likewise.
24232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24234 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24235 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24239 multiarch for POWER/PPC64.
24240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24241 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24247 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24248 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24251 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24252 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24253 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24254 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24255 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24256 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24257 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24258 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24259 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24260 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24261 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24262 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24263 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24264 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24265 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24274 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24276 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24278 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24280 * benchtests/Makefile (bench): Add exp2 and log2.
24281 (LDLIBS-bench-exp2): Add -lm.
24282 (LDLIBS-bench-log2): Likewise.
24283 * benchtests/exp2-inputs: New inputs file.
24284 * benchtests/log2-inputs: New inputs file.
24285 * benchtests/log-inputs: Add new inputs.
24286 * benchtests/tan-inputs: Likewise.
24288 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24290 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24292 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24293 (csloww2): ... from here.
24295 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24296 instead of structures.
24297 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24298 (POLYNOMIAL): Likewise.
24299 (TAYLOR_SLOW): Likewise.
24305 (sloww1); Likewise.
24306 (sloww2): Likewise.
24307 (bsloww1): Likewise.
24308 (bsloww2): Likewise.
24309 (cslow2): Likewise.
24310 (csloww): Likewise.
24311 (csloww1): Likewise.
24312 (csloww2): Likewise.
24314 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24316 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24317 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24318 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24319 * malloc/hooks.c (realloc_check): Likewise.
24321 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24322 * malloc/arena.c: Remove PER_THREAD conditional.
24323 [!PER_THREAD]: Remove code.
24324 (ptmalloc_unlock_all2): Likewise.
24325 (ptmalloc_init): Likewise.
24326 (_int_new_arena): Likewise.
24327 (arena_get2): Likewise.
24328 * malloc/hooks.c (__malloc_get_state): Likewise.
24329 (__malloc_set_state): Likewise.
24330 * malloc/malloc.c: Likewise.
24331 (struct malloc_state): Likewise.
24332 (struct malloc_par): Likewise.
24333 (__libc_realloc): Likewise.
24334 (__libc_mallopt): Likewise.
24336 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24338 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24340 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24342 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24343 macro to a function. Check for zero perturb_byte.
24344 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24346 * malloc/malloc.c: (force_reg): Remove.
24347 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24348 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24349 force_reg by atomic_forced_read.
24350 * malloc/arena.c (ptmalloc_init): Likewise.
24351 * malloc/hooks.c (top_check): Likewise.
24353 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24357 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24361 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24363 * math/auto-libm-test-in: Add tests of lgamma.
24364 * math/auto-libm-test-out: Regenerated.
24365 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24366 (M_LOG_2_SQRT_PIl): Likewise.
24367 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24370 (func_calc_desc): Add mpfr_f_f1 union field.
24371 (ARGS1): New macro.
24379 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24380 (test_functions): Add lgamma.
24381 (calc_generic_results): Handle mpfr_f_f1.
24382 * sysdeps/i386/fpu/libm-test-ulps: Update.
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24385 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24387 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24388 __mpn_add_n for PowerPC64/POWER7.
24389 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24390 __mpn_sub_n for PowerPC64/POWER7.
24392 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24393 __mpn_addmul_1 for PowerPC64.
24394 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24395 __mpn_submul_1 for PowerPC64.
24396 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24398 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24401 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24404 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24406 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24408 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24410 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24411 add multiarch folders.
24412 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24413 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24414 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24415 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24416 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24417 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24418 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24419 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24420 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24421 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24422 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24431 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24437 multiarch __ieee754_hypot for PowerPC32.
24438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24443 multiarch __ieee754_hypotf for PowerPC32.
24445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24446 long_double_symbol only if __logbl is defined.
24447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24448 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24450 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24452 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24454 path for implementation.
24455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24458 logb, and logbl multiarch implementations for PowerPC32.
24459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24464 multiarch logb for PowerPC32.
24465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24470 multiarch logbf for PowerPC32.
24471 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24475 multiarch logbl implementation for PowerPC32.
24477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24478 and modff multiarch implementations.
24479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24484 multiarch modf for PowerPC32.
24485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24490 multiarch modff for PowerPC32.
24492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24493 and lrintf multiarch implementations.
24494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24499 multiarch lrint for PowerPC32.
24500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24501 file: multiarch lrintf for PowerPC32.
24503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24504 and lroundf multiarch implementations.
24505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24512 multiarch lround for PowerPC32.
24513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24514 file: multiarch lroundf for PowerPC32.
24516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24517 copysign and copysignf multiarch implementations.
24518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24523 file: multiarch copysign for PowerPC32.
24524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24525 file: multiarch copysignf for PowerPC32.
24527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24528 and truncf multiarch implementations.
24529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24534 multiarch trunc for PowerPC32.
24535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24540 multiarch truncf for PowerPC32.
24542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24543 and roundf multiarch implementations.
24544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24549 multiarch round for PowerPC32.
24550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24555 multiarch roundf for PowerPC32.
24557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24558 and floorf multiarch implementations.
24559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24564 multiarch floor for PowerPC32.
24565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24570 multiarch floorf for PowerPC32.
24572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24573 and ceilf multiarch implementations.
24574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24579 multiarch ceil for PowerPC32.
24580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24585 multiarch ceilf for PowerPC32.
24587 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24589 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24590 FINITEF is defined.
24591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24592 and finitef multiarch implementations.
24593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24598 multiarch finite for PowerPC32.
24599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24602 file: multiarch finitef for PowerPC32.
24604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24605 and isinff multiarch implementations.
24606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24611 multiarch isinf for PowerPC32.
24612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24615 multiarch isinff for PowerPC32.
24617 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24618 alias when __isnan is defined.
24619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24620 and isnanf multiarch implementations.
24621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24630 multiarch isnan for PowerPC32.
24631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24636 multiarch isnanf for PowerPC32.
24638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24639 and sqrtf multiarch implementations.
24640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24645 multiarch sqrt for PowerPC32.
24646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24651 multiarch sqrtf for PowerPC32.
24653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24654 and llroundf multiarch implementations.
24655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24662 file: multiarch llround for PowerPC32.
24663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24664 file: multiarch llroundf for PowerPC32.
24666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24667 multiarch PowerPC32 fpu implementations.
24668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24673 multiarch llrint for PowerPC32.
24674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24683 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24685 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24690 multiarch wordcopy for PPC32.
24691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24694 (__libc_ifunc_impl_list): Likewise.
24695 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24696 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24697 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24698 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24699 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24700 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24702 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24710 multiarch wcscpy for PPC32.
24711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24714 (__libc_ifunc_impl_list): Likewise.
24715 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24716 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24717 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24718 sysdeps/powerpc/power6/wcscpy.c.
24720 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24728 multiarch wcsrchr for PPC32.
24729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24732 (__libc_ifunc_impl_list): Likewise.
24733 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24734 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24735 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24736 sysdeps/powerpc/power6/wcsrchr.c.
24738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24744 multiarch wcschr for PPc32.
24745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24748 (__libc_ifunc_impl_list): Likewise.
24749 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24750 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24751 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24752 sysdeps/powerpc/power6/wcschr.c.
24754 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24755 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24757 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24758 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24759 file: multiarch strchr for PPC32.
24760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24763 (__libc_ifunc_impl_list): Likewise.
24765 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24767 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24769 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24771 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24772 multiarch strchrnul for PPC32.
24773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24776 (__libc_ifunc_impl_list): Likewise.
24778 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24780 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24781 multiarch strncasecmp for PPC32.
24782 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24785 multiarch strncasecmp_l for PPC32.
24786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24787 strncasecmp multiarch objects.
24788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24789 (__libc_ifunc_impl_list): Likewise.
24791 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24793 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24794 multiarch strncasecmp for PPC32.
24795 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24797 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24798 multiarch strcasecmp_l for PPC32.
24799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24802 (__libc_ifunc_impl_list): Likewise.
24804 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24806 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24808 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24809 multiarch strncmp for PPC32.
24810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24813 (__libc_ifunc_impl_list): Likewise.
24815 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24816 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24819 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24823 (__libc_ifunc_impl_list): Likewise.
24825 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24827 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24829 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24833 (__libc_ifunc_impl_list): Likewise.
24835 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24837 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24839 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24840 multiarch rawmemchr for PPC32.
24841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24844 (__libc_ifunc_impl_list): Likewise.
24846 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24848 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24850 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24851 file: memrchr multiarch for PPC32.
24852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24855 (__libc_ifunc_impl_list): Likewise.
24857 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24858 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24860 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24861 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24862 multiarch memchr for PPC32.
24863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24866 (__libc_ifunc_impl_list): Likewise.
24868 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24869 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24871 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24873 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24874 file: multiarch mempcpy for PPC32.
24875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24878 (__libc_ifunc_impl_list): Likewise.
24880 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24881 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24883 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24884 multiarch bzero for PPC32.
24885 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24887 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24889 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24890 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24891 file: multiarch memset for PPC32.
24892 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24894 memset multiarch objects.
24895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24896 (__libc_ifunc_impl_list): Likewise.
24898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24903 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24907 (__libc_ifunc_impl_list): Likewise.
24909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24915 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24917 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24918 multiarch memcpy for PPC32.
24919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24922 (__libc_ifunc_impl_list): Likewise.
24924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24925 support multiarch for POWER/PPC32.
24926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24928 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24930 Implies file to make multiarch folder appers before the fpu and
24931 default folder for power4 configuration.
24933 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24935 * scripts/bench.pl: Append volatile keyword to type.
24937 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24939 * sysdeps/sh/sotruss-lib.c: New file.
24940 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24942 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24946 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24949 * math/w_tgamma.c: Include <errno.h>.
24950 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24951 * math/w_tgammaf.c: Include <errno.h>.
24952 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24953 * math/w_tgammal.c: Include <errno.h>.
24954 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24955 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24956 underflow. Add more tgamma tests.
24957 * math/auto-libm-test-out: Regenerated.
24958 * sysdeps/i386/fpu/libm-test-ulps: Update.
24959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24961 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24962 sin, sinh, tan, tanh, tgamma, y0 and y1.
24963 * math/auto-libm-test-out: Regenerated.
24964 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24965 (TEST_COND_x86): Likewise.
24966 (M_E2l): Remove macro.
24968 (M_2_SQRT_PIl): Likewise.
24969 (M_SQRT_PIl): Likewise.
24970 (M_1_DIV_El): Likewise.
24971 (log_test_data): Use AUTO_TESTS_f_f.
24972 (log10_test_data): Likewise.
24973 (log1p_test_data): Likewise.
24974 (log2_test_data): Likewise.
24975 (sin_test_data): Likewise.
24976 (sin_tonearest_test_data): Likewise.
24977 (sin_towardzero_test_data): Likewise.
24978 (sin_downward_test_data): Likewise.
24979 (sin_upward_test_data): Likewise.
24980 (sinh_test_data): Likewise.
24981 (sinh_tonearest_test_data): Likewise.
24982 (sinh_towardzero_test_data): Likewise.
24983 (sinh_downward_test_data): Likewise.
24984 (sinh_upward_test_data): Likewise.
24985 (tan_test_data): Likewise.
24986 (tan_tonearest_test_data): Likewise.
24987 (tan_towardzero_test_data): Likewise.
24988 (tan_downward_test_data): Likewise.
24989 (tan_upward_test_data): Likewise.
24990 (tanh_test_data): Likewise.
24991 (tgamma_test_data): Likewise.
24992 (y0_test_data): Likewise.
24993 (y1_test_data): Likewise.
24994 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24995 (special_real_inputs): Add pi/4.
24996 * sysdeps/i386/fpu/libm-test-ulps: Update.
24997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24999 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25001 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25002 "longjmp_target" static probes.
25003 (__longjmp): Rename to __longjmp_symbol.
25004 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25005 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25006 on which longjmp to generate.
25007 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25008 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25010 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25011 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25012 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25013 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25014 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25015 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25017 __longjmp_symbol based on which __longjmp to generate.
25018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25020 (setjmp): Rename to setjmp_symbol.
25021 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25022 (_setjmp): Rename to _setjmp_symbol.
25023 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25024 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25025 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25026 which setjmp to generate.
25027 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25028 "longjmp_target" static probes.
25030 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25032 * benchtests/README: Add note about output arguments.
25033 * benchtests/bench-sincos.c: Remove file.
25034 * benchtests/sincos-inputs: New file.
25035 * scripts/bench.pl: Identify output arguments and define
25036 static variables for them.
25038 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25041 * Makefile (INSTALL): Add install-plain.texi as the primary
25043 * manual/install-plain.texi: New file.
25044 * manual/install.texi: Include node directive only for
25045 non-plaintext output.
25047 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25049 * stdlib/longlong.h: Update from GCC.
25053 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25054 * math/w_j0f.c (y0f): Likewise.
25055 * math/w_j0l.c (__y0l): Likewise.
25056 * math/w_j1.c (y1): Likewise.
25057 * math/w_j1f.c (y1f): Likewise.
25058 * math/w_j1l.c (__y1l): Likewise
25059 * math/w_jn.c (yn): Likewise.
25060 * math/w_jnf.c (ynf): Likewise.
25061 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25062 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25063 value for Bessel function domain errors outside _SVID_ mode.
25064 Adjust sign of return value for yn (negative integer, 0).
25065 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25066 by zero in return for negative x and set sign appropriately for
25068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25069 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25070 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25071 expectations in error cases.
25072 (y1_test_data): Likewise.
25073 (yn_test_data): Likewise.
25074 * sysdeps/i386/fpu/libm-test-ulps: Update.
25075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25077 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25079 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25080 "64" to "64-v1". Add "64-v2".
25081 (abi-64-options): Rename to ...
25082 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25083 (abi-64-condition): Rename to ...
25084 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25085 (abi-64-ld-soname): Rename to ...
25086 (abi-64-v1-ld-soname): ... this.
25087 (abi-64-v2-options): Define.
25088 (abi-64-v2-condition): Likewise.
25089 (abi-64-v2-ld-soname): Likewise.
25090 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25091 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25096 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25097 Alan Modra <amodra@gmail.com>
25099 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25100 New versions for use with the ELFv2 ABI.
25101 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25102 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25104 (struct La_ppc64v2_retval): Likewise.
25105 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25106 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25107 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25108 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25109 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25110 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25111 Do not save or restore CR.
25112 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25113 (_dl_profile_resolve): Do no save or restore CR. Support extended
25114 return values for ELFv2 ABI. Fix location of FPR return registers.
25115 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25116 updated values for _CALL_ELF == 2.
25117 (La_regs, La_retval, int_retval): Likewise.
25119 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25121 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25122 (FRAME_MIN_SIZE_PARM): Likewise.
25123 (FRAME_BACKCHAIN): Likewise.
25124 (FRAME_CR_SAVE): Likewise.
25125 (FRAME_LR_SAVE): Likewise.
25126 (FRAME_TOC_SAVE): Likewise.
25127 (FRAME_PARM_SAVE): Likewise.
25128 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25129 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25130 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25131 (call_mcount_parm_offset): New macro.
25132 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25133 (PROF): Use symbolic stack frame offsets.
25134 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25135 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25136 Redefine in terms of FRAME_MIN_SIZE.
25137 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25138 (_dl_profile_resolve): Likewise. Update comment.
25139 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25140 symbols stack frame offsets.
25141 (__sigsetjmp): Likewise.
25142 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25143 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25144 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25145 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25148 (FRAME_BACKCHAIN): Remove.
25149 (FRAME_CR_SAVE): Likewise.
25150 (FRAME_LR_SAVE): Likewise.
25151 (FRAME_COMPILER_DW): Likewise.
25152 (FRAME_LINKER_DW): Likewise.
25153 (FRAME_TOC_SAVE): Likewise.
25154 (FRAME_PARM_SAVE): Likewise.
25155 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25156 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25157 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25159 (CHECK_SP): Use symbolic stack frame offsets.
25160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25161 zone" instead of caller's parameter save area for temp storage.
25162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25163 Likewise. Also, use symbolic stack frame offsets.
25164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25165 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25166 our own stack frame instead of the caller's.
25167 (__socket): Use symbolic stack frame offsets.
25169 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25170 Alan Modra <amodra@gmail.com>
25172 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25174 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25175 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25176 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25178 (elf_machine_fixup_plt): Call it.
25179 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25181 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25182 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25183 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25184 r2 before calling target.
25186 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25187 Alan Modra <amodra@gmail.com>
25189 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25190 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25191 versions of macros to support ELFv2 ABI.
25192 (LOCALENTRY): New macro.
25193 (ENTRY, EALIGN): Use it.
25194 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25195 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25196 fall through into ENTRY entry point.
25197 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25198 Only define if _CALL_ELF != 2.
25200 (elf_machine_matches_host): Verify ABI version matches.
25201 (RTLD_START): Use LOCALENTRY.
25202 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25203 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25204 (PLT_ENTRY_WORDS): New macro.
25205 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25206 (elf_machine_runtime_setup): Support ELFv2 ABI.
25207 (elf_machine_fixup_plt): Likewise.
25208 (elf_machine_plt_conflict): Likewise.
25209 (resolve_ifunc): Likewise.
25210 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25211 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25214 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25216 (makecontext): Support ELFv2 ABI.
25217 * elf/elf.h (EF_PPC64_ABI): Define.
25219 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25221 * sysdeps/powerpc/powerpc64/sysdep.h
25222 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25223 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25224 (ENTRY) [ASSEMBLER]: ... but instead here ...
25225 (EALIGN) [ASSEMBLER]: ... and here.
25226 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25227 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25228 (ENTRY_2) [!ASSEMBLER]: Use it.
25229 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25230 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25231 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25232 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25233 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25235 Use PPC64_LOAD_FUNCPTR.
25237 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25239 2013-12-04 Alan Modra <amodra@gmail.com>
25241 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25242 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25243 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25244 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25247 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25248 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25249 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25250 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25251 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25253 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25256 (__makecontext): Fix incorrect CFI when backtracing out of
25257 context created via makecontext.
25258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25259 (__setcontext): Fix incorrect CFI during switch to new context.
25260 (__novec_setcontext): Likewise.
25262 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25265 * time/strptime_l.c (__strptime_internal): Allow modifiers
25267 * time/tst-strptime.c (day_tests): Add testcase.
25269 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25271 * scripts/bench.pl: Skip over blank lines.
25273 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25276 * manual/time.texi (Calendar Time): Clarify what timezone functions
25279 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25283 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25285 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25287 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25288 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25289 * debug/memset_chk.c (__memset_chk): Likewise.
25290 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25291 * debug/strncpy_chk.c: Likewise.
25293 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25297 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25298 (__ieee754_exp): For possibly underflowing results, check size of
25299 result and force underflow exception if required.
25300 * math/auto-libm-test-in: Add more tests of exp.
25301 * math/auto-libm-test-out: Regenerated.
25302 * sysdeps/i386/fpu/libm-test-ulps: Update.
25303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25306 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25307 * math/w_exp2f.c (__exp2f): Likewise.
25308 * math/w_exp2l.c (__exp2l): Likewise.
25309 * math/auto-libm-test-in: Do not allow missing errno on exp2
25311 * math/auto-libm-test-out: Regenerated.
25313 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25316 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25317 handle filename validation.
25318 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25321 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25324 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25325 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25326 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25328 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25330 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25331 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25332 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25333 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25334 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25335 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25336 Add more erfc tests.
25337 * math/auto-libm-test-out: Regenerated.
25338 * sysdeps/i386/fpu/libm-test-ulps: Update.
25339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25341 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25342 exp2, expm1, j0 and j1.
25343 * math/auto-libm-test-out: Regenerated.
25344 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25345 (erfc_test_data): Likewise.
25346 (exp_test_data): Likewise.
25347 (exp_tonearest_test_data): Likewise.
25348 (exp_towardzero_test_data): Likewise.
25349 (exp_downward_test_data): Likewise.
25350 (exp_upward_test_data): Likewise.
25351 (exp10_test_data): Likewise.
25352 (exp2_test_data): Likewise.
25353 (expm1_test_data): Likewise.
25354 (j0_test_data): Likewise.
25355 (j1_test_data): Likewise.
25356 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25357 (input_flag_type): Add flag_xfail_rounding.
25358 (input_flags): Add xfail-rounding.
25359 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25360 (output_for_one_input_case): Handle flag_xfail_rounding.
25361 * sysdeps/i386/fpu/libm-test-ulps: Update.
25362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25364 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25367 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25370 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25373 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25374 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25375 (STAP_PROBE0): New macro.
25376 (STAP_PROBE1): Likewise.
25377 (STAP_PROBE2): Likewise.
25378 (STAP_PROBE3): Likewise.
25379 (STAP_PROBE4): Likewise.
25381 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25383 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25385 2013-12-02 Steve Ellcey <sellcey@mips.com>
25387 * benchtests/Makefile (bench): Add sqrt.
25388 (LDLIBS-bench-sqrt): New.
25389 * benchtests/sqrt-input: New.
25391 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25393 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25394 (GAIH_EAI): Likewise.
25395 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25396 (gaih_inet): Likewise.
25397 (getaddrinfo): Don't use GAIH_EAI.
25399 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25400 (struct gaih): Remove definition.
25402 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25404 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25405 Use HERRNOP directly.
25407 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25411 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25413 * math/gen-auto-libm-tests.c (test_functions): Add more
25414 single-argument functions.
25415 (special_fill_pi_2): New function.
25416 (special_fill_minus_pi_2): Likewise.
25417 (special_fill_pi_6): Likewise.
25418 (special_fill_minus_pi_6): Likewise.
25419 (special_fill_pi_3): Likewise.
25420 (special_fill_2pi_3): Likewise.
25421 (special_fill_e): Likewise.
25422 (special_fill_1_e): Likewise.
25423 (special_fill_e_minus_1): Likewise.
25424 (special_real_inputs): Add more special inputs.
25425 (output_for_one_input_case): Do not require ERANGE on underflow to
25426 zero if round-to-nearest result does not underflow to zero, unless
25427 exact results required.
25428 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25429 atan, atanh, cbrt, cos and cosh.
25430 * math/auto-libm-test-out: Regenerated.
25431 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25432 (acos_tonearest_test_data): Likewise.
25433 (acos_towardzero_test_data): Likewise.
25434 (acos_downward_test_data): Likewise.
25435 (acos_upward_test_data): Likewise.
25436 (acosh_test_data): Likewise.
25437 (asin_test_data): Likewise.
25438 (asin_tonearest_test_data): Likewise.
25439 (asin_towardzero_test_data): Likewise.
25440 (asin_upward_test_data): Likewise.
25441 (asinh_test_data): Likewise.
25442 (atan_test_data): Likewise.
25443 (atanh_test_data): Likewise.
25444 (cbrt_test_data): Likewise.
25445 (cos_test_data): Likewise.
25446 (cos_tonearest_test_data): Likewise.
25447 (cos_towardzero_test_data): Likewise.
25448 (cos_downward_test_data): Likewise.
25449 (cos_upward_test_data): Likewise.
25450 (cosh_test_data): Likewise.
25451 (cosh_tonearest_test_data): Likewise.
25452 (cosh_towardzero_test_data): Likewise.
25453 (cosh_downward_test_data): Likewise.
25454 (cosh_upward_test_data): Likewise.
25455 * sysdeps/i386/fpu/libm-test-ulps: Update.
25456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25458 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25461 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25462 * math/w_exp10f.c (__exp10f): Likewise.
25463 * math/w_exp10l.c (__exp10l): Likewise.
25464 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25465 errno settings in existing tests.
25468 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25469 precision control set to double precision.
25470 * sysdeps/i386/fpu/w_sqrt.c: New file.
25471 * math/auto-libm-test-in: Add more tests.
25472 * math/auto-libm-test-out: Update.
25474 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25475 (sqrt_test_tonearest): New function.
25476 (sqrt_towardzero_test_data): New variable.
25477 (sqrt_test_towardzero): New function.
25478 (sqrt_downward_test_data): New variable.
25479 (sqrt_test_downward): New function.
25480 (sqrt_upward_test_data): New variable.
25481 (sqrt_test_upward): New function.
25482 (main): Call the new functions.
25484 * math/gen-auto-libm-tests.c: New file.
25485 * math/auto-libm-test-in: Likewise.
25486 * math/auto-libm-test-out: New generated file.
25487 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25489 (%beautify): Add generated representations of zero.
25490 (top level): Set $auto_input and call parse_auto_input.
25491 (beautify): Remove trailing "f" from hex float constants.
25492 (parse_args): Handle XFAIL_TEST.
25493 (convert_condition): New function.
25494 (or_value): Likewise.
25495 (or_cond_value): Likewise.
25496 (generate_testfile): Handle AUTO_TESTS_* lines.
25497 (parse_auto_input): New function.
25498 * math/libm-test.inc (XFAIL_TEST): New macro.
25499 (ERRNO_UNCHANGED): Update value.
25500 (ERRNO_EDOM): Likewise.
25501 (ERRNO_ERANGE): Likewise.
25502 (IGNORE_RESULT): Likewise.
25503 (TEST_COND_flt_32): New macro.
25504 (TEST_COND_dbl_64): Likewise.
25505 (TEST_COND_ldbl_96_intel): Likewise.
25506 (TEST_COND_ldbl_96_m68k): Likewise.
25507 (TEST_COND_ldbl_128): Likewise.
25508 (TEST_COND_ldbl_128ibm): Likewise.
25509 (TEST_COND_long32): Likewise.
25510 (TEST_COND_long64): Likewise.
25511 (TEST_COND_before_rounding): Likewise.
25512 (TEST_COND_after_rounding): Likewise.
25513 (enable_test): Handle XFAIL_TEST flag.
25514 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25515 with finite results.
25516 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25517 auto-libm-test-out.
25519 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25520 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25523 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25524 __tls_get_addr_internal instead of __tls_get_offset in order to
25525 avoid GOT pointer dependency. Make rtld export
25526 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25527 __tls_get_addr since we are a __tls_get_offset platform.
25528 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25529 GOT pointer being set up before.
25530 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25532 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25534 * manual/math.texi (Errors in Math Functions): Document accuracy
25538 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25539 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25542 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25544 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25555 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25556 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25557 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25558 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25559 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25561 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25563 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25565 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25566 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25567 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25568 atomic-feupdateenv and flt-rounds.
25569 * sysdeps/powerpc/nofpu/Versions (libc): Add
25570 __atomic_feholdexcept, __atomic_feclearexcept,
25571 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25572 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25573 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25574 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25575 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25580 * manual/arith.texi (FP Exceptions): Document that exceptions may
25581 not be raised when matherr is used.
25582 (Math Error Reporting): Document overflow in directed rounding
25583 modes. Document that errno may not be set when finite values are
25584 returned on overflow. Document intent to set errno on underflow
25585 only for underflow to zero.
25588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25589 round-to-nearest then adjust result for other rounding modes.
25590 * include/fenv.h (fegetround): Use libm_hidden_proto.
25591 * math/fegetround.c (fegetround): Use libm_hidden_def.
25592 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25593 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25594 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25595 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25597 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25598 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25599 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25600 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25602 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25605 * nss/Versions (libnss_files): Add
25606 _nss_files_gethostbyname3_r.
25607 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25609 (HOST_DB_LOOKUP): Remove macro.
25610 (_nss_files_gethostbyname_r): Implement function without the
25611 HOST_DB_LOOKUP macro.
25612 (_nss_files_gethostbyname2_r): Likewise.
25614 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25616 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25618 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25620 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25621 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25624 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25626 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25627 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25628 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25629 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25630 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25631 __fe_nomask_env_priv and attribute_hidden.
25632 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25633 (libc_feupdateenv_test_ppc): Likewise.
25634 (libc_feresetround_ppc): Likewise.
25635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25636 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25637 compat_symbol macro.
25638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25639 (__fe_nomask_env): Likewise.
25640 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25642 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25644 * string/Makefile: Remove ifunc tests.
25645 * string/test-string.h: Define TEST_IFUNC.
25646 * string/test-bcopy-ifunc.c: Remove.
25647 * string/test-bzero-ifunc.c: Likewise.
25648 * string/test-memccpy-ifunc.c: Likewise.
25649 * string/test-memchr-ifunc.c: Likewise.
25650 * string/test-memcmp-ifunc.c: Likewise.
25651 * string/test-memcpy-ifunc.c: Likewise.
25652 * string/test-memmem-ifunc.c: Likewise.
25653 * string/test-memmove-ifunc.c: Likewise.
25654 * string/test-mempcpy-ifunc.c: Likewise.
25655 * string/test-memrchr-ifunc.c: Likewise.
25656 * string/test-memset-ifunc.c: Likewise.
25657 * string/test-rawmemchr-ifunc.c: Likewise.
25658 * string/test-stpcpy-ifunc.c: Likewise.
25659 * string/test-stpncpy-ifunc.c: Likewise.
25660 * string/test-strcasecmp-ifunc.c: Likewise.
25661 * string/test-strcasestr-ifunc.c: Likewise.
25662 * string/test-strcat-ifunc.c: Likewise.
25663 * string/test-strchr-ifunc.c: Likewise.
25664 * string/test-strchrnul-ifunc.c: Likewise.
25665 * string/test-strcmp-ifunc.c: Likewise.
25666 * string/test-strcpy-ifunc.c: Likewise.
25667 * string/test-strcspn-ifunc.c: Likewise.
25668 * string/test-strlen-ifunc.c: Likewise.
25669 * string/test-strncasecmp-ifunc.c: Likewise.
25670 * string/test-strncat-ifunc.c: Likewise.
25671 * string/test-strncmp-ifunc.c: Likewise.
25672 * string/test-strncpy-ifunc.c: Likewise.
25673 * string/test-strnlen-ifunc.c: Likewise.
25674 * string/test-strpbrk-ifunc.c: Likewise.
25675 * string/test-strrchr-ifunc.c: Likewise.
25676 * string/test-strspn-ifunc.c: Likewise.
25677 * string/test-strstr-ifunc.c: Likewise.
25679 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25681 * benchtests/Makefile: Remove ifunc tests.
25682 * benchtests/bench-string.h: Define TEST_IFUNC.
25683 * benchtests/bench-bcopy-ifunc.c: Remove.
25684 * benchtests/bench-bzero-ifunc.c: Likewise.
25685 * benchtests/bench-memccpy-ifunc.c: Likewise.
25686 * benchtests/bench-memchr-ifunc.c: Likewise.
25687 * benchtests/bench-memcmp-ifunc.c: Likewise.
25688 * benchtests/bench-memcpy-ifunc.c: Likewise.
25689 * benchtests/bench-memmem-ifunc.c: Likewise.
25690 * benchtests/bench-memmove-ifunc.c: Likewise.
25691 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25692 * benchtests/bench-memrchr-ifunc.c: Likewise.
25693 * benchtests/bench-memset-ifunc.c: Likewise.
25694 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25695 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25696 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25697 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25698 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25699 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25700 * benchtests/bench-strcat-ifunc.c: Likewise.
25701 * benchtests/bench-strchr-ifunc.c: Likewise.
25702 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25703 * benchtests/bench-strcmp-ifunc.c: Likewise.
25704 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25705 * benchtests/bench-strcpy-ifunc.c: Likewise.
25706 * benchtests/bench-strcspn-ifunc.c: Likewise.
25707 * benchtests/bench-strlen-ifunc.c: Likewise.
25708 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25709 * benchtests/bench-strncat-ifunc.c: Likewise.
25710 * benchtests/bench-strncmp-ifunc.c: Likewise.
25711 * benchtests/bench-strncpy-ifunc.c: Likewise.
25712 * benchtests/bench-strnlen-ifunc.c: Likewise.
25713 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25714 * benchtests/bench-strrchr-ifunc.c: Likewise.
25715 * benchtests/bench-strsep-ifunc.c: Likewise.
25716 * benchtests/bench-strspn-ifunc.c: Likewise.
25717 * benchtests/bench-strstr-ifunc.c: Likewise.
25719 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25721 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25723 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25725 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25726 * rt/aio.h: Likewise.
25727 * sysdeps/gnu/bits/utmp.h: Likewise.
25728 * sysdeps/gnu/bits/utmpx.h: Likewise.
25729 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25730 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25731 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25732 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25733 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25734 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25735 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25736 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25737 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25738 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25739 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25740 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25741 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25743 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25744 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25745 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25746 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25747 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25748 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25749 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25750 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25751 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25752 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25753 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25755 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25756 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25757 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25758 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25759 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25760 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25761 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25762 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25763 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25764 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25765 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25766 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25767 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25768 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25769 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25770 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25772 2013-11-25 Carlos O'Donell <carlos@redhat.com>
25775 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25776 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25778 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25780 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25781 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25784 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25787 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25788 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25789 (__fesetround): Remove define.
25790 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25791 rounding and exceptions handling.
25792 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25793 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25794 (__fe_nomask_env): Likewise.
25795 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25796 __fegetround instead of fegetround.
25797 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25800 2013-11-21 Roland McGrath <roland@hack.frob.com>
25802 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25805 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25807 2013-11-21 Meador Inge <meadori@codesourcery.com>
25810 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25811 (encrypt_r): Likewise.
25812 * malloc/obstack.h (obstack_free): Likewise.
25813 * posix/unistd.h (encrypt): Likewise.
25815 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25817 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25818 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25819 DL_CALL_DT_FINI() that call the functions directly.
25820 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25821 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25822 * elf/dl-fini.c: Likewise.
25824 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25826 * malloc/hooks.c (memalign_check): Add alignment rounding.
25827 * malloc/malloc.c (_mid_memalign): New function.
25828 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25829 Implement by calling _mid_memalign.
25830 * manual/probes.texi (Memory Allocation Probes): Remove
25831 memory_valloc_retry and memory_pvalloc_retry.
25833 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25835 * locale/programs/locarchive.c (open_archive): Add const
25836 qualifier to ARCHIVEFNAME and copy default fname to
25840 * libio/tst-widetext.input: Rename Oriya to Odia.
25841 * locale/iso-639.def: Likewise.
25843 * manual/probes.texi (Mathematical Function Probes): Add
25844 documentation for sin, cos, asin and acos probes.
25845 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25846 (__sin32): Add slowasin probe.
25847 (__cos32): Add slowacos probe.
25848 (__mpsin): Add slowsin probe.
25849 (__mpcos): Add slowcos probe.
25851 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25854 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25855 thread-local __sim_exceptions_thread and global
25856 __sim_exceptions_global.
25857 (__sim_disabled_exceptions): Change to thread-local
25858 __sim_disabled_exceptions_thread and global
25859 __sim_disabled_exceptions_global.
25860 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25861 and global __sim_round_mode_global.
25862 (__simulate_exceptions): Use thread-local floating-point state and
25863 set global state from it as needed.
25864 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25865 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25866 __sim_round_mode_thread.
25867 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25868 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25869 and global __sim_exceptions_global.
25870 (__sim_disabled_exceptions): Change to thread-local
25871 __sim_disabled_exceptions_thread and global
25872 __sim_disabled_exceptions_global.
25873 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25874 and global __sim_round_mode_global.
25875 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25876 (SIM_SET_GLOBAL): Likewise.
25877 * sysdeps/powerpc/soft-fp/sfp-machine.h
25878 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25879 __sim_round_mode_thread.
25880 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25881 __sim_disabled_exceptions_thread.
25882 (__sim_exceptions): Change to __sim_exceptions_thread.
25883 (__sim_disabled_exceptions): Change to
25884 __sim_disabled_exceptions_thread.
25885 (__sim_round_mode): Change to __sim_round_mode_thread.
25886 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25887 thread-local floating-point state and set global state from it as
25889 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25890 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25891 (__sim_disabled_exceptions): Remove extern declaration.
25892 (feenableexcept): Use thread-local floating-point state and set
25893 global state from it as needed.
25894 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25895 extern declaration.
25896 (__sim_disabled_exceptions): Likewise.
25897 (__sim_round_mode): Likewise.
25898 (__fegetenv): Use thread-local floating-point state.
25899 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25900 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25901 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25902 floating-point state and set global state from it as needed.
25903 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25904 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25905 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25907 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25908 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25910 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25911 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25912 Use __sim_round_mode_thread.
25913 * math/test-fenv-tls.c: New file.
25914 * math/Makefile (tests): Add test-fenv-tls.
25915 ($(objpfx)test-fenv-tls): Depend on
25916 $(common-objpfx)nptl/libpthread.so.
25918 2013-11-19 Andreas Schwab <schwab@suse.de>
25920 * locale/programs/locale.c (show_info): Decode wordarray elements.
25921 * locale/categories.def (LC_MONETARY): Add element for
25922 _NL_MONETARY_CRNCYSTR.
25923 * locale/C-monetary.c (conversion_rate): New variable.
25924 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25927 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25929 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25930 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25932 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25934 * elf/Makefile (tst-auxv): New test.
25935 * elf/tst-auxv.c: New
25936 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25938 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25940 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25941 (hidden_proto): Caller changed.
25942 (hidden_tls_proto): New macro.
25943 (libc_hidden_tls_proto): Likewise.
25944 (rtld_hidden_tls_proto): Likewise.
25945 (libm_hidden_tls_proto): Likewise.
25946 (libresolv_hidden_tls_proto): Likewise.
25947 (librt_hidden_tls_proto): Likewise.
25948 (libdl_hidden_tls_proto): Likewise.
25949 (libnss_files_hidden_tls_proto): Likewise.
25950 (libnsl_hidden_tls_proto): Likewise.
25951 (libnss_nisplus_hidden_tls_proto): Likewise.
25952 (libutil_hidden_tls_proto): Likewise.
25954 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25957 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25958 (decompose_rpath): Defer expansion to fillin_rpath.
25959 (_dl_init_paths): Pass linkmap to fillin_rpath.
25961 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25963 * benchtests/Makefile: Add strsep.
25964 * benchtests/bench-strsep.c: New file: strsep benchtest.
25965 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25967 2013-11-18 Andreas Schwab <schwab@suse.de>
25969 * locale/programs/locale.c (show_info) [case byte]: Check for
25970 '\377' instead of '\177'.
25971 * locale/C-monetary.c (not_available): Always use "\377".
25972 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25973 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25974 detect unavailable sign_posn locale elements.
25975 * locale/localeconv.c (__localeconv): For grouping and
25976 mon_grouping handle "\177" and "\377" like no grouping.
25977 (INT_ELEM): New macro. Use it to set all numeric members.
25978 * locale/programs/ld-monetary.c (monetary_read)
25979 <tok_mon_grouping>: Normalize single -1 to the empty string.
25980 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25983 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25986 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25987 when we match (nil).
25988 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25990 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25992 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25993 (NO_TEST_INLINE): Update value.
25994 (ERRNO_UNCHANGED): Likewise.
25995 (ERRNO_EDOM): Likewise.
25996 (ERRNO_ERANGE): Likewise.
25997 (IGNORE_RESULT): Likewise.
25998 (check_float_internal): Check signs of NaN results if
25999 TEST_NAN_SIGN used.
26000 (check_complex): Pass TEST_NAN_SIGN flag through to second
26001 check_float_internal call.
26002 (copysign_test_data): Add tests with quiet NaNs as second
26003 argument. Use TEST_NAN_SIGN.
26004 (fabs_test_data): Add test of negative quiet NaN argument. Use
26006 (signbit_test_data): Add tests of quiet NaN argument.
26007 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26009 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26011 (parse_args): Handle function results specified as IGNORE.
26012 * math/libm-test.inc (IGNORE_RESULT): New macro.
26013 (check_float_internal): Do not check numerical result if flag
26015 (check_complex): Pass through IGNORE_RESULT to second
26016 check_float_internal call.
26017 (check_int): Do not check numerical result if flag IGNORE_RESULT
26019 (check_long): Likewise.
26020 (check_bool): Likewise.
26021 (check_longlong): Likewise.
26022 (lrint_test_data): Add tests of infinite and NaN arguments.
26023 (lrint_tonearest_test_data): Likewise.
26024 (lrint_towardzero_test_data): Likewise.
26025 (lrint_downward_test_data): Likewise.
26026 (lrint_upward_test_data): Likewise.
26027 (llrint_test_data): Likewise.
26028 (llrint_tonearest_test_data): Likewise.
26029 (llrint_towardzero_test_data): Likewise.
26030 (llrint_downward_test_data): Likewise.
26031 (llrint_upward_test_data): Likewise.
26032 (lround_test_data): Likewise.
26033 (llround_test_data): Likewise.
26035 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26036 (ERRNO_UNCHANGED): Update value.
26037 (ERRNO_EDOM): Likewise.
26038 (ERRNO_ERANGE): Likewise.
26039 (NO_TEST_INLINE_FLOAT): New macro.
26040 (NO_TEST_INLINE_DOUBLE): Likewise.
26041 (enable_test): New function.
26042 (RUN_TEST_f_f): Check enable_test before running test.
26043 (RUN_TEST_2_f): Likewise.
26044 (RUN_TEST_fff_f): Likewise.
26045 (RUN_TEST_c_f): Likewise.
26046 (RUN_TEST_f_f1): Likewise.
26047 (RUN_TEST_fF_f1): Likewise.
26048 (RUN_TEST_fI_f1): Likewise.
26049 (RUN_TEST_ffI_f1): Likewise.
26050 (RUN_TEST_c_c): Likewise.
26051 (RUN_TEST_cc_c): Likewise.
26052 (RUN_TEST_f_i): Likewise.
26053 (RUN_TEST_f_i_tg): Likewise.
26054 (RUN_TEST_ff_i_tg): Likewise.
26055 (RUN_TEST_f_b): Likewise.
26056 (RUN_TEST_f_b_tg): Likewise.
26057 (RUN_TEST_f_l): Likewise.
26058 (RUN_TEST_f_L): Likewise.
26059 (RUN_TEST_fFF_11): Likewise.
26060 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26062 (cosh_test_data): Likewise.
26063 (exp_test_data): Likewise.
26064 (expm1_test_data): Likewise.
26065 (hypot_test_data): Likewise.
26066 (pow_test_data): Likewise.
26067 (sinh_test_data): Likewise.
26068 (tanh_test_data): Likewise.
26069 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26072 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26073 tests with quiet NaN input and output.
26074 (acosh_test_data): Likewise.
26075 (asin_test_data): Likewise.
26076 (asinh_test_data): Likewise.
26077 (atan_test_data): Likewise.
26078 (atanh_test_data): Likewise.
26079 (atan2_test_data): Likewise.
26080 (cbrt_test_data): Likewise.
26081 (cos_test_data): Likewise.
26082 (cosh_test_data): Likewise.
26083 (erf_test_data): Likewise.
26084 (erfc_test_data): Likewise.
26085 (exp_test_data): Likewise.
26086 (exp10_test_data): Likewise.
26087 (exp2_test_data): Likewise.
26088 (expm1_test_data): Likewise.
26089 (hypot_test_data): Likewise.
26090 (j0_test_data): Likewise.
26091 (j1_test_data): Likewise.
26092 (jn_test_data): Likewise.
26093 (lgamma_test_data): Likewise.
26094 (log_test_data): Likewise.
26095 (log10_test_data): Likewise.
26096 (log1p_test_data): Likewise.
26097 (log2_test_data): Likewise.
26098 (pow_test_data): Likewise.
26099 (scalb_test_data): Likewise.
26100 (sin_test_data): Likewise.
26101 (sincos_test_data): Likewise.
26102 (sinh_test_data): Likewise.
26103 (tan_test_data): Likewise.
26104 (tanh_test_data): Likewise.
26105 (tgamma_test_data): Likewise.
26106 (y0_test_data): Likewise.
26107 (y1_test_data): Likewise.
26108 (yn_test_data): Likewise.
26111 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26112 argument being NaN and avoid computations with second argument in
26114 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26115 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26116 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26118 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26120 * locale/iso-639.def: Add Chitwani Tharu (the).
26122 2013-11-14 Andreas Schwab <schwab@suse.de>
26124 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26125 word instead of empty string.
26127 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26130 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26132 (__fe_nomask_env): Likewise.
26134 2013-11-13 Steve Ellcey <sellcey@mips.com>
26136 * benchtests/bench-timing.h: Include time.h.
26138 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26141 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26143 * sysdeps/unix/sysv/linux/configure: Regenerated.
26145 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26148 * stdlib/strtod_l.c (round_and_return): Do not consider
26149 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26150 exponent one less than half the least subnormal exponent.
26151 * stdlib/test-strtod-round-data: Add more tests.
26152 * stdlib/tst-strtod-round.c (tests): Regenerated.
26154 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26157 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26158 (__fe_mask_env): Likewise.
26159 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26160 libm_hidden_proto and add function prototype.
26161 (__fe_mask_env): Add function prototype.
26162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26163 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26165 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26167 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26169 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26171 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26172 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26174 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26176 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26177 of htab_find_slot().
26179 2013-11-11 David S. Miller <davem@davemloft.net>
26182 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26183 symbol in the non-vis3 case in static builds.
26184 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26185 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26186 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26187 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26189 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26192 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26195 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26197 * benchtests/Makefile: Add bench-strtod.
26198 * benchtests/bench-strtod.c: New file: strtod benchtest
26200 2013-11-11 Andreas Schwab <schwab@suse.de>
26203 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26204 terminating NUL in key length.
26206 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26209 Add artificial ODP entry for vDSO symbol for PPC64.
26210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26211 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26213 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26216 * nss/getent.c (services_keys): Recognize services starting with digit.
26218 2013-11-06 David S. Miller <davem@davemloft.net>
26221 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26222 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26224 2013-11-06 Will Newton <will.newton@linaro.org>
26226 * manual/memory.texi (Malloc Examples): Remove register
26227 keyword from examples.
26229 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26231 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26233 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26236 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26237 depending on [__GCC_IEC_559 > 0].
26238 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26239 depending on [__GCC_IEC_559_COMPLEX > 0].
26241 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26243 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26246 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26248 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26250 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26253 * malloc/malloc (malloc_info): Do not handle first bin as
26256 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26258 * locale/iso-639.def: Add Central Nahuatl (nhn).
26260 2013-11-01 Bruno Haible <bruno@clisp.org>
26263 * manual/math.texi (BSD Random): Specify range upper bound as
26266 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26268 * locale/iso-639.def: Add Meadow Mari (mhr).
26270 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26272 [BZ #14752], [BZ #15763]
26273 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26275 * rt/tst_shm.c: Add test for escaping directory.
26277 2013-10-31 Andreas Schwab <schwab@suse.de>
26280 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26281 followed by 'x' as part of digit sequence.
26282 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26284 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26287 * configure.ac: allow GNU Make 4.0 and greater.
26288 * configure: Regenerated.
26290 2013-10-30 Will Newton <will.newton@linaro.org>
26293 * malloc/hooks.c (memalign_check): Limit alignment to the
26294 maximum representable power of two.
26295 * malloc/malloc.c (__libc_memalign): Likewise.
26296 * malloc/tst-memalign.c (do_test): Add test for very
26297 large alignment values.
26298 * malloc/tst-posix_memalign.c (do_test): Likewise.
26300 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26303 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26304 (munmap_chunk): Likewise.
26305 (mremap_chunk): Likewise.
26307 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26310 * stdlib/div.c (div): Remove obsolete code.
26311 * stdlib/ldiv.c (ldiv): Likewise.
26312 * stdlib/lldiv.c (lldiv): Likewise.
26314 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26317 * nss/nss_files/files-XXX.c (get_contents_ret): New
26319 (get_contents): New function.
26320 (internal_getent): Use it. Expand size of LINEBUFLEN.
26322 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26324 * configure.in: Moved to ...
26325 * configure.ac: ... here. Change reference to configure.in
26327 * sysdeps/arm/preconfigure.ac: ... here.
26328 configure.in to configure.ac.
26329 * sysdeps/gnu/configure.in: Moved to ...
26330 * sysdeps/gnu/configure.ac: ... here.
26331 * sysdeps/i386/configure.in: Moved to ...
26332 * sysdeps/i386/configure.ac: ... here.
26333 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26334 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26335 * sysdeps/mach/configure.in: Moved to ...
26336 * sysdeps/mach/configure.ac: ... here.
26337 * sysdeps/mach/hurd/configure.in: Moved to ...
26338 * sysdeps/mach/hurd/configure.ac: ... here.
26339 * sysdeps/powerpc/configure.in: Moved to ...
26340 * sysdeps/powerpc/configure.ac: ... here.
26341 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26342 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26343 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26344 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26345 * sysdeps/s390/s390-32/configure.in: Moved to ...
26346 * sysdeps/s390/s390-32/configure.ac: ... here.
26347 * sysdeps/s390/s390-64/configure.in: Moved to ...
26348 * sysdeps/s390/s390-64/configure.ac: ... here.
26349 * sysdeps/sh/configure.in: Moved to ...
26350 * sysdeps/sh/configure.ac: ... here.
26351 * sysdeps/sparc/configure.in: Moved to ...
26352 * sysdeps/sparc/configure.ac: ... here.
26353 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26354 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26355 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26356 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26357 * sysdeps/x86_64/configure.in: Moved to ...
26358 * sysdeps/x86_64/configure.ac: ... here.
26359 * sysdeps/x86_64/preconfigure.in: Moved to ...
26360 * sysdeps/x86_64/preconfigure.ac: ... here.
26361 * aclocal.m4: Change reference to configure.in to configure.ac.
26362 * config.h.in: Likewise.
26363 * manual/install.texi: Likewise.
26364 * manual/maint.texi: Likewise.
26365 * Makefile: Likewise.
26366 * malloc/Makefile: Likewise.
26367 * nscd/Makefile: Likewise.
26368 * Makeconfig: Change reference to configure.in and
26369 preconfigure.in to configure.ac and preconfigure.ac
26371 * INSTALL: Regenerated.
26372 * configure: Likewise.
26373 * sysdeps/gnu/configure: Likewise.
26374 * sysdeps/i386/configure: Likewise.
26375 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26376 * sysdeps/mach/configure: Likewise.
26377 * sysdeps/mach/hurd/configure: Likewise.
26378 * sysdeps/powerpc/configure: Likewise.
26379 * sysdeps/powerpc/powerpc32/configure: Likewise.
26380 * sysdeps/powerpc/powerpc64/configure: Likewise.
26381 * sysdeps/s390/s390-32/configure: Likewise.
26382 * sysdeps/s390/s390-64/configure: Likewise.
26383 * sysdeps/sh/configure: Likewise.
26384 * sysdeps/sparc/configure: Likewise.
26385 * sysdeps/unix/sysv/linux/configure: Likewise.
26386 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26387 * sysdeps/x86_64/configure: Likewise.
26388 * sysdeps/x86_64/preconfigure: Likewise.
26390 2013-10-29 Andreas Schwab <schwab@suse.de>
26392 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26394 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26396 * benchtests/pow-inputs: Add new inputs.
26398 * benchtests/exp-inputs: Add new inputs.
26400 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26401 conditional check for return value.
26402 (__cos32): Likewise.
26404 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26406 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26407 to provide a boost for large inputs with word alignment.
26408 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26409 implementation based on optimized PPC64 strcpy.
26410 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26411 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26412 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26413 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26415 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26418 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26420 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26423 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26424 * time/tst-strptime.c (day_tests): Add testcase.
26426 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26429 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26431 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26434 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26435 MAP_FAILED on error.
26437 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26440 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26441 heap for large requests.
26443 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26446 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26447 result if the result has no associated interface.
26448 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26449 interface for all 127.X.Y.Z addresses.
26451 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26453 * locale/iso-639.def: Add Ligurian (lij)
26455 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26458 * sunrpc/rpc_main.c: Document rpcgen -5.
26460 2013-10-19 Michael Stahl <mstahl@redhat.com>
26462 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26464 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26467 * posix/glob.c: Match only directories when trailing slash is present.
26468 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26469 (main): Add testcase.
26471 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26474 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26476 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26478 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26479 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26480 AUTH_DES and cindex for FIPS 140-2.
26481 (DES Encryption): Add cindex FIPS 46-3.
26483 * locale/locarchive.h (struct locarhandle): Add fname.
26484 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26485 if an optional argument was specified to --list-archive,
26487 * locale/programs/locarchive.c (show_archive_content): Take new
26488 argument fname and pass it via ah.fname to open_archive.
26489 * locale/programs/localedef.h: Update decl.
26490 (open_archive): If AH->fname is non-null, open that file
26491 rather than the default file name, and don't ignore ENOENT.
26492 (create_archive): Set AH.fname to NULL.
26493 (delete_locales_from_archive): Likewise.
26494 (add_locales_to_archive): Likewise.
26495 * locale/programs/locfile.c (write_all_categories): Likewise.
26497 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26498 Aldy Hernandez <aldyh@redhat.com>
26500 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26501 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26502 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26503 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26504 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26505 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26507 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26508 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26510 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26511 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26512 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26513 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26514 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26516 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26518 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26520 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26522 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26523 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26525 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26526 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26527 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26528 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26530 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26531 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26532 * sysdeps/powerpc/preconfigure: Likewise.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26535 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26536 Replace contents of file by #include of <fenv_libc.h>.
26537 * sysdeps/powerpc/soft-fp/sfp-machine.h
26538 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26540 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26553 Allow copysignl PLT reference to be missing.
26555 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26556 Joseph Myers <joseph@codesourcery.com
26559 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26561 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26563 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26565 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26566 * elf/tst-tls1.c: Likewise.
26567 * elf/tst-tls10.h: Likewise.
26568 * elf/tst-tls14.c: Likewise.
26569 * elf/tst-tls2.c: Likewise.
26570 * elf/tst-tls3.c: Likewise.
26571 * elf/tst-tls4.c: Likewise.
26572 * elf/tst-tls5.c: Likewise.
26573 * elf/tst-tls6.c: Likewise.
26574 * elf/tst-tls7.c: Likewise.
26575 * elf/tst-tls8.c: Likewise.
26576 * elf/tst-tls9.c: Likewise.
26577 * elf/tst-tlsmod1.c: Likewise.
26578 * elf/tst-tlsmod13.c: Likewise.
26579 * elf/tst-tlsmod13a.c: Likewise.
26580 * elf/tst-tlsmod14a.c: Likewise.
26581 * elf/tst-tlsmod16a.c: Likewise.
26582 * elf/tst-tlsmod16b.c: Likewise.
26583 * elf/tst-tlsmod2.c: Likewise.
26584 * elf/tst-tlsmod3.c: Likewise.
26585 * elf/tst-tlsmod4.c: Likewise.
26586 * elf/tst-tlsmod5.c: Likewise.
26587 * elf/tst-tlsmod6.c: Likewise.
26589 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26592 * malloc/malloc.c: remove checks for statistics.
26594 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26597 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26598 * inet/tst-network.c: Add testcase.
26600 2013-10-17 Andreas Schwab <schwab@suse.de>
26603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26604 to determine canonical name.
26606 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26608 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26609 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26614 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26615 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26616 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26617 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26618 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26632 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26633 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26634 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26635 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26636 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26637 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26638 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26639 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26640 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26641 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26642 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26643 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26644 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26645 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26667 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26670 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26671 make result into a quiet NaN.
26673 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26675 * soft-fp/adddf3.c: Fix horizontal whitespace.
26676 * soft-fp/addsf3.c: Likewise.
26677 * soft-fp/addtf3.c: Likewise.
26678 * soft-fp/divdf3.c: Likewise.
26679 * soft-fp/divsf3.c: Likewise.
26680 * soft-fp/divtf3.c: Likewise.
26681 * soft-fp/double.h: Likewise.
26682 * soft-fp/eqdf2.c: Likewise.
26683 * soft-fp/eqsf2.c: Likewise.
26684 * soft-fp/eqtf2.c: Likewise.
26685 * soft-fp/extenddftf2.c: Likewise.
26686 * soft-fp/extended.h: Likewise.
26687 * soft-fp/extendsfdf2.c: Likewise.
26688 * soft-fp/extendsftf2.c: Likewise.
26689 * soft-fp/extendxftf2.c: Likewise.
26690 * soft-fp/fixdfdi.c: Likewise.
26691 * soft-fp/fixdfsi.c: Likewise.
26692 * soft-fp/fixdfti.c: Likewise.
26693 * soft-fp/fixsfdi.c: Likewise.
26694 * soft-fp/fixsfsi.c: Likewise.
26695 * soft-fp/fixsfti.c: Likewise.
26696 * soft-fp/fixtfdi.c: Likewise.
26697 * soft-fp/fixtfsi.c: Likewise.
26698 * soft-fp/fixtfti.c: Likewise.
26699 * soft-fp/fixunsdfdi.c: Likewise.
26700 * soft-fp/fixunsdfsi.c: Likewise.
26701 * soft-fp/fixunsdfti.c: Likewise.
26702 * soft-fp/fixunssfdi.c: Likewise.
26703 * soft-fp/fixunssfsi.c: Likewise.
26704 * soft-fp/fixunssfti.c: Likewise.
26705 * soft-fp/fixunstfdi.c: Likewise.
26706 * soft-fp/fixunstfsi.c: Likewise.
26707 * soft-fp/fixunstfti.c: Likewise.
26708 * soft-fp/floatdidf.c: Likewise.
26709 * soft-fp/floatdisf.c: Likewise.
26710 * soft-fp/floatditf.c: Likewise.
26711 * soft-fp/floatsidf.c: Likewise.
26712 * soft-fp/floatsisf.c: Likewise.
26713 * soft-fp/floatsitf.c: Likewise.
26714 * soft-fp/floattidf.c: Likewise.
26715 * soft-fp/floattisf.c: Likewise.
26716 * soft-fp/floattitf.c: Likewise.
26717 * soft-fp/floatundidf.c: Likewise.
26718 * soft-fp/floatundisf.c: Likewise.
26719 * soft-fp/floatunditf.c: Likewise.
26720 * soft-fp/floatunsidf.c: Likewise.
26721 * soft-fp/floatunsisf.c: Likewise.
26722 * soft-fp/floatunsitf.c: Likewise.
26723 * soft-fp/floatuntidf.c: Likewise.
26724 * soft-fp/floatuntisf.c: Likewise.
26725 * soft-fp/floatuntitf.c: Likewise.
26726 * soft-fp/fmadf4.c: Likewise.
26727 * soft-fp/fmasf4.c: Likewise.
26728 * soft-fp/fmatf4.c: Likewise.
26729 * soft-fp/gedf2.c: Likewise.
26730 * soft-fp/gesf2.c: Likewise.
26731 * soft-fp/getf2.c: Likewise.
26732 * soft-fp/ledf2.c: Likewise.
26733 * soft-fp/lesf2.c: Likewise.
26734 * soft-fp/letf2.c: Likewise.
26735 * soft-fp/muldf3.c: Likewise.
26736 * soft-fp/mulsf3.c: Likewise.
26737 * soft-fp/multf3.c: Likewise.
26738 * soft-fp/negdf2.c: Likewise.
26739 * soft-fp/negsf2.c: Likewise.
26740 * soft-fp/negtf2.c: Likewise.
26741 * soft-fp/op-1.h: Likewise.
26742 * soft-fp/op-2.h: Likewise.
26743 * soft-fp/op-4.h: Likewise.
26744 * soft-fp/op-8.h: Likewise.
26745 * soft-fp/op-common.h: Likewise.
26746 * soft-fp/quad.h: Likewise.
26747 * soft-fp/single.h: Likewise.
26748 * soft-fp/soft-fp.h: Likewise.
26749 * soft-fp/sqrtdf2.c: Likewise.
26750 * soft-fp/sqrtsf2.c: Likewise.
26751 * soft-fp/sqrttf2.c: Likewise.
26752 * soft-fp/subdf3.c: Likewise.
26753 * soft-fp/subsf3.c: Likewise.
26754 * soft-fp/subtf3.c: Likewise.
26755 * soft-fp/truncdfsf2.c: Likewise.
26756 * soft-fp/trunctfdf2.c: Likewise.
26757 * soft-fp/trunctfsf2.c: Likewise.
26758 * soft-fp/trunctfxf2.c: Likewise.
26759 * soft-fp/unorddf2.c: Likewise.
26760 * soft-fp/unordsf2.c: Likewise.
26761 * soft-fp/unordtf2.c: Likewise.
26763 2013-10-15 Joseph Myers <joseph@codesourcery.com>
26765 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26766 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26768 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
26770 * elf/dl-libc.c: Clear initfini list after freeing.
26772 2013-10-14 Joseph Myers <joseph@codesourcery.com>
26774 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26775 * soft-fp/addsf3.c: Likewise.
26776 * soft-fp/addtf3.c: Likewise.
26777 * soft-fp/divdf3.c: Likewise.
26778 * soft-fp/divsf3.c: Likewise.
26779 * soft-fp/divtf3.c: Likewise.
26780 * soft-fp/double.h: Likewise.
26781 * soft-fp/eqdf2.c: Likewise.
26782 * soft-fp/eqsf2.c: Likewise.
26783 * soft-fp/eqtf2.c: Likewise.
26784 * soft-fp/extenddftf2.c: Likewise.
26785 * soft-fp/extended.h: Likewise.
26786 * soft-fp/extendsfdf2.c: Likewise.
26787 * soft-fp/extendsftf2.c: Likewise.
26788 * soft-fp/extendxftf2.c: Likewise.
26789 * soft-fp/fixdfdi.c: Likewise.
26790 * soft-fp/fixdfsi.c: Likewise.
26791 * soft-fp/fixdfti.c: Likewise.
26792 * soft-fp/fixsfdi.c: Likewise.
26793 * soft-fp/fixsfsi.c: Likewise.
26794 * soft-fp/fixsfti.c: Likewise.
26795 * soft-fp/fixtfdi.c: Likewise.
26796 * soft-fp/fixtfsi.c: Likewise.
26797 * soft-fp/fixtfti.c: Likewise.
26798 * soft-fp/fixunsdfdi.c: Likewise.
26799 * soft-fp/fixunsdfsi.c: Likewise.
26800 * soft-fp/fixunsdfti.c: Likewise.
26801 * soft-fp/fixunssfdi.c: Likewise.
26802 * soft-fp/fixunssfsi.c: Likewise.
26803 * soft-fp/fixunssfti.c: Likewise.
26804 * soft-fp/fixunstfdi.c: Likewise.
26805 * soft-fp/fixunstfsi.c: Likewise.
26806 * soft-fp/fixunstfti.c: Likewise.
26807 * soft-fp/floatdidf.c: Likewise.
26808 * soft-fp/floatdisf.c: Likewise.
26809 * soft-fp/floatditf.c: Likewise.
26810 * soft-fp/floatsidf.c: Likewise.
26811 * soft-fp/floatsisf.c: Likewise.
26812 * soft-fp/floatsitf.c: Likewise.
26813 * soft-fp/floattidf.c: Likewise.
26814 * soft-fp/floattisf.c: Likewise.
26815 * soft-fp/floattitf.c: Likewise.
26816 * soft-fp/floatundidf.c: Likewise.
26817 * soft-fp/floatundisf.c: Likewise.
26818 * soft-fp/floatunsidf.c: Likewise.
26819 * soft-fp/floatunsisf.c: Likewise.
26820 * soft-fp/floatuntidf.c: Likewise.
26821 * soft-fp/floatuntisf.c: Likewise.
26822 * soft-fp/floatuntitf.c: Likewise.
26823 * soft-fp/fmadf4.c: Likewise.
26824 * soft-fp/fmasf4.c: Likewise.
26825 * soft-fp/fmatf4.c: Likewise.
26826 * soft-fp/gedf2.c: Likewise.
26827 * soft-fp/gesf2.c: Likewise.
26828 * soft-fp/getf2.c: Likewise.
26829 * soft-fp/ledf2.c: Likewise.
26830 * soft-fp/lesf2.c: Likewise.
26831 * soft-fp/letf2.c: Likewise.
26832 * soft-fp/muldf3.c: Likewise.
26833 * soft-fp/mulsf3.c: Likewise.
26834 * soft-fp/multf3.c: Likewise.
26835 * soft-fp/negdf2.c: Likewise.
26836 * soft-fp/negsf2.c: Likewise.
26837 * soft-fp/negtf2.c: Likewise.
26838 * soft-fp/op-1.h: Likewise.
26839 * soft-fp/op-2.h: Likewise.
26840 * soft-fp/op-4.h: Likewise.
26841 * soft-fp/op-8.h: Likewise.
26842 * soft-fp/op-common.h: Likewise.
26843 * soft-fp/quad.h: Likewise.
26844 * soft-fp/single.h: Likewise.
26845 * soft-fp/soft-fp.h: Likewise.
26846 * soft-fp/sqrtdf2.c: Likewise.
26847 * soft-fp/sqrtsf2.c: Likewise.
26848 * soft-fp/sqrttf2.c: Likewise.
26849 * soft-fp/subdf3.c: Likewise.
26850 * soft-fp/subsf3.c: Likewise.
26851 * soft-fp/subtf3.c: Likewise.
26852 * soft-fp/truncdfsf2.c: Likewise.
26853 * soft-fp/trunctfdf2.c: Likewise.
26854 * soft-fp/trunctfsf2.c: Likewise.
26855 * soft-fp/trunctfxf2.c: Likewise.
26856 * soft-fp/unorddf2.c: Likewise.
26857 * soft-fp/unordsf2.c: Likewise.
26858 * soft-fp/unordtf2.c: Likewise.
26860 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26863 * misc/error.c (error_tail): Fix possible buffer overflow.
26865 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26868 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26871 2013-10-14 P. J. McDermott <pj@pehjota.net>
26874 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26875 testing pipefail option.
26877 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26879 * soft-fp/double.h: Indent preprocessor directives inside #if.
26880 * soft-fp/extended.h: Likewise.
26881 * soft-fp/op-2.h: Likewise.
26882 * soft-fp/op-4.h: Likewise.
26883 * soft-fp/op-common.h: Likewise.
26884 * soft-fp/quad.h: Likewise.
26885 * soft-fp/single.h: Likewise.
26886 * soft-fp/soft-fp.h: Likewise.
26888 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26890 * iconv/iconv_prog.c: Fix typos.
26891 * stdio-common/psiginfo-data.h: Likewise.
26893 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26896 * locale/setlocale.c: Fix typo.
26898 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26901 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26902 signaling NaN arguments.
26903 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26904 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26907 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26908 unordered operands.
26909 * soft-fp/gesf2.c (__gesf2): Likewise.
26910 * soft-fp/getf2.c (__getf2): Likewise.
26911 * soft-fp/ledf2.c (__ledf2): Likewise.
26912 * soft-fp/lesf2.c (__lesf2): Likewise.
26913 * soft-fp/letf2.c (__letf2): Likewise.
26915 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26916 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26917 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26918 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26919 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26920 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26921 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26922 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26923 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26924 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26925 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26926 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26927 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26928 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26929 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26930 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26931 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26932 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26933 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26934 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26935 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26936 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26937 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26938 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26939 * soft-fp/floattidf.c (__floattidf): Likewise.
26940 * soft-fp/floattisf.c (__floattisf): Likewise.
26941 * soft-fp/floattitf.c (__floattitf): Likewise.
26942 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26943 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26944 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26945 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26946 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26947 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26948 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26949 * soft-fp/gesf2.c (__gesf2): Likewise.
26950 * soft-fp/getf2.c (__getf2): Likewise.
26951 * soft-fp/ledf2.c (__ledf2): Likewise.
26952 * soft-fp/lesf2.c (__lesf2): Likewise.
26953 * soft-fp/letf2.c (__letf2): Likewise.
26955 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26956 Undefine and redefine.
26957 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26958 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26959 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26960 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26961 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26962 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26963 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26964 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26965 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26966 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26967 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26968 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26969 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26970 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26971 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26974 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26975 without decrementing exponent if mantissa >= that for the
26976 denominator, not >.
26977 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26978 denominator, not >. Decrement exponent in < case instead of
26979 incrementing in >= case.
26980 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26981 without decrementing exponent if mantissa >= that for the
26982 denominator, not >.
26984 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26985 computing saturated result for unsigned overflow.
26987 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26988 Jeff Law <law@redhat.com>
26990 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26991 (atan2Mp): Add systemtap probe marker.
26992 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26993 (__ieee754_log): Add systemtap probe marker.
26994 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26995 (atanMp): Add systemtap probe marker.
26996 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26997 (tanMp): Add systemtap probe marker.
26998 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26999 (__slowexp): Add systemtap probe marker.
27000 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27001 (__slowpow): Add systemtap probe marker.
27002 * manual/probes.texi: Document probes.
27004 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27007 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27009 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27011 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27012 written to buffer but not flushed.
27013 * libio/iofwrite_u.c: Likewise.
27014 * libio/iopadn.c: Return bytes returned even if EOF was
27016 * libio/iowpadn.c: Likewise.
27017 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27018 if _IO_padn does not write the whole buffer.
27019 [!COMPILE_WPRINTF] (PAD): Likewise.
27021 2013-10-10 David S. Miller <davem@davemloft.net>
27023 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27026 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27028 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27029 instead of FSF address.
27030 * soft-fp/fixdfti.c: Likewise.
27031 * soft-fp/fixsfti.c: Likewise.
27032 * soft-fp/fixtfti.c: Likewise.
27033 * soft-fp/fixunsdfti.c: Likewise.
27034 * soft-fp/fixunssfti.c: Likewise.
27035 * soft-fp/fixunstfti.c: Likewise.
27036 * soft-fp/floattidf.c: Likewise.
27037 * soft-fp/floattisf.c: Likewise.
27038 * soft-fp/floattitf.c: Likewise.
27039 * soft-fp/floatuntidf.c: Likewise.
27040 * soft-fp/floatuntisf.c: Likewise.
27041 * soft-fp/floatuntitf.c: Likewise.
27042 * soft-fp/trunctfxf2.c: Likewise.
27044 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27045 * soft-fp/fixdfti.c: Likewise.
27046 * soft-fp/fixsfti.c: Likewise.
27047 * soft-fp/fixtfti.c: Likewise.
27048 * soft-fp/fixunsdfti.c: Likewise.
27049 * soft-fp/fixunssfti.c: Likewise.
27050 * soft-fp/fixunstfti.c: Likewise.
27051 * soft-fp/floattidf.c: Likewise.
27052 * soft-fp/floattisf.c: Likewise.
27053 * soft-fp/floattitf.c: Likewise.
27054 * soft-fp/floatuntidf.c: Likewise.
27055 * soft-fp/floatuntisf.c: Likewise.
27056 * soft-fp/floatuntitf.c: Likewise.
27057 * soft-fp/trunctfxf2.c: Likewise.
27059 2013-10-10 David S. Miller <davem@davemloft.net>
27061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27063 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27066 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27067 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27068 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27069 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27070 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27071 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27074 for NaNs before doing comparisons on argument.
27075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27078 2013-10-10 Will Newton <will.newton@linaro.org>
27080 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27081 passed to _int_memalign does not overflow.
27083 2013-10-10 Torvald Riegel <triegel@redhat.com>
27085 * scripts/bench.pl: Add include-sources directive.
27086 * benchtests/README: Update documentation.
27088 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27090 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27091 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27092 instead of FP_INIT_ROUNDMODE.
27093 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27094 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27097 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27098 copy class of input value.
27099 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27100 not handle exceptions.
27101 * soft-fp/negsf2.c (__negsf2): Likewise.
27102 * soft-fp/negtf2.c (__negtf2): Likewise.
27103 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27105 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27107 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27108 semicolon. From Linux kernel.
27110 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27112 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27114 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27117 * manual/socket.texi: Added statement about buffer
27118 for gethostbyname2_r.
27120 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27122 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27123 Use .p2align directive instead, throughout.
27124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27125 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27126 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27129 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27130 * sysdeps/x86_64/strchr.S: Likewise.
27131 * sysdeps/x86_64/strrchr.S: Likewise.
27133 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27135 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27137 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27139 * sysdeps/generic/math_private.h (__mpsin1): Remove
27141 (__mpcos1): Likewise.
27142 (__mpsin): New argument __range_reduce.
27143 (__mpcos): Likewise.
27144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27145 (slow): Use __mpsin and __mpcos.
27149 (sloww1): Likewise.
27150 (sloww2): Likewise.
27151 (bsloww): Likewise.
27152 (bsloww1): Likewise.
27153 (bsloww2): Likewise.
27154 (cslow2): Likewise.
27155 (csloww): Likewise.
27156 (csloww1): Likewise.
27157 (csloww2): Likewise.
27158 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27159 range_reduce. Merge in __mpsin1.
27160 (__mpcos): Likewise.
27161 (__mpsin1): Remove.
27162 (__mpcos1): Likewise.
27164 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27166 * locale/loadlocale.c (_nl_intern_locale_data): Use
27168 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27169 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27170 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27171 obstack data is appropriately aligned.
27172 (obstack_int32_grow_fast): Likewise.
27173 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27174 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27175 (add_locale_uint32_array): Likewise.
27177 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27179 * benchtests/Makefile: Remove ARGLIST and RET variables.
27180 ($(objpfx)bench-%.c): Pass only function name to the script.
27181 * benchtests/README: Update documentation.
27182 * benchtests/acos-inputs: Add new directives.
27183 * benchtests/acosh-inputs: Likewise.
27184 * benchtests/asin-inputs: Likewise.
27185 * benchtests/asinh-inputs: Likewise.
27186 * benchtests/atan-inputs: Likewise.
27187 * benchtests/atanh-inputs: Likewise.
27188 * benchtests/cos-inputs: Likewise.
27189 * benchtests/cosh-inputs: Likewise.
27190 * benchtests/exp-inputs: Likewise.
27191 * benchtests/log-inputs: Likewise.
27192 * benchtests/pow-inputs: Likewise.
27193 * benchtests/rint-inputs: Likewise.
27194 * benchtests/sin-inputs: Likewise.
27195 * benchtests/sinh-inputs: Likewise.
27196 * benchtests/tan-inputs: Likewise.
27197 * benchtests/tanh-inputs: Likewise.
27198 * scripts/bench.pl: Add support for new directives.
27200 2013-10-07 Alan Modra <amodra@gmail.com>
27202 * README: Fix careless merge.
27204 2013-10-05 Alan Modra <amodra@gmail.com>
27206 * NEWS: Mention powerpc64le support and bugs fixed.
27207 * README: Both big-endian and little-endian powerpc64 supported.
27209 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27211 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27212 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27213 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27214 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27216 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27218 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27221 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27223 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27224 Move -mhard-float appending from
27225 ports/sysdeps/powerpc/powerpc32/Makefile.
27226 [$(with-fp) = yes] (ASFLAGS): Likewise.
27227 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27228 * sysdeps/powerpc/nofpu: Move directory from
27229 ports/sysdeps/powerpc/nofpu.
27230 * sysdeps/powerpc/soft-fp: Move directory from
27231 ports/sysdeps/powerpc/soft-fp.
27232 * sysdeps/powerpc/powerpc32/405: Move directory from
27233 ports/sysdeps/powerpc/powerpc32/405.
27234 * sysdeps/powerpc/powerpc32/440: Move directory from
27235 ports/sysdeps/powerpc/powerpc32/440.
27236 * sysdeps/powerpc/powerpc32/464: Move directory from
27237 ports/sysdeps/powerpc/powerpc32/464.
27238 * sysdeps/powerpc/powerpc32/476: Move directory from
27239 ports/sysdeps/powerpc/powerpc32/476.
27240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27243 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27245 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27247 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27249 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27250 * README: Update for powerpc-*-linux-gnu software floating point
27253 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27254 case to powerpc/powerpc32*.
27255 * sysdeps/unix/sysv/linux/configure: Regenerated.
27257 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27258 (_FPU_MASK_OM): Define as 0x04.
27259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27267 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27270 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27273 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27274 and setcontext_e500.
27276 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27278 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27280 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27282 * manual/threads.texi (Default Thread Attributes): Fix typo.
27284 2013-10-04 Will Newton <will.newton@linaro.org>
27286 * malloc/Makefile: Add tst-memalign.
27287 * malloc/tst-memalign.c: New file.
27289 * malloc/tst-posix_memalign.c: Add comments.
27290 (do_test): Add comments and call free on all potentially
27291 allocated pointers. Add space after cast.
27293 * malloc/tst-pvalloc.c: Add comments.
27294 (do_test): Add comments and call free on all potentially
27295 allocated pointers. Remove duplicate check for NULL pointer.
27296 Add space after cast.
27298 * malloc/tst-valloc.c: Add comments.
27299 (do_test): Add comments and call free on all potentially
27300 allocated pointers. Remove duplicate check for NULL pointer.
27301 Add space after cast.
27303 2013-10-04 Alan Modra <amodra@gmail.com>
27305 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27306 Use stdint types in rather than __attribute__((mode())).
27307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27309 2013-10-04 Alan Modra <amodra@gmail.com>
27311 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27312 Correct handling of unaligned relocs for little-endian.
27313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27315 2013-10-04 Alan Modra <amodra@gmail.com>
27317 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27318 * configure: Regenerate.
27319 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27320 * shlib-versions: Likewise.
27322 2013-10-04 Alan Modra <amodra@gmail.com>
27324 * string/tester.c (test_memrchr): Increment reported test cycle.
27326 2013-10-04 Alan Modra <amodra@gmail.com>
27328 * string/test-memcpy.c (do_one_test): When reporting errors, print
27329 string address and don't overrun end of string.
27331 2013-10-04 Alan Modra <amodra@gmail.com>
27333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27334 insrdi. Make better use of reg selection to speed exit slightly.
27335 Schedule entry path a little better. Remove useless "are we done"
27336 checks on entry to main loop. Handle wrapping around zero address.
27337 Correct main loop count. Handle single left-over word from main
27338 loop inline rather than by using loop_small. Remove extra word
27339 case in loop_small caused by wrong loop count. Add little-endian
27341 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27345 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27346 support. Avoid rlwimi.
27347 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27349 2013-10-04 Alan Modra <amodra@gmail.com>
27351 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27352 insrdi. Formatting.
27353 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27354 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27355 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27356 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27357 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27358 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27360 2013-10-04 Alan Modra <amodra@gmail.com>
27362 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27364 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27365 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27366 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27367 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27370 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27371 use of regs. Use power7 mtocrf. Tidy function tails.
27373 2013-10-04 Alan Modra <amodra@gmail.com>
27375 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27376 Formatting. Consistently use rXXX register defines or rN defines.
27377 Use early exit labels that avoid restoring unused non-volatile regs.
27378 Make cr field use more consistent with rWORDn compares. Rename
27379 regs used as shift registers for unaligned loop, using rN defines
27380 for short lifetime/multiple use regs.
27381 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27382 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27383 addi 1,1,64 to pop stack frame. Simplify return value code.
27384 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27386 2013-10-04 Alan Modra <amodra@gmail.com>
27388 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27389 support. Correct typos, formatting. Optimize tail. Use insrdi
27390 rather than rlwimi.
27391 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27392 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27393 little-endian support. Correct typos.
27394 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27395 rather than rlwimi.
27396 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27397 in loop and entry code to keep "and." results.
27398 (strchr): Add little-endian support. Comment. Move cntlzd
27400 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27402 2013-10-04 Alan Modra <amodra@gmail.com>
27404 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27405 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27406 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27407 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27409 2013-10-04 Alan Modra <amodra@gmail.com>
27411 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27412 (rTMP): Define as r11.
27413 (strcmp): Add little-endian support. Optimise tail.
27414 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27415 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27416 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27417 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27418 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27422 2013-10-04 Alan Modra <amodra@gmail.com>
27424 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27425 little-endian support. Remove unnecessary "are we done" tests.
27426 Handle "s" wrapping around zero and extremely large "size".
27427 Correct main loop count. Handle single left-over word from main
27428 loop inline rather than by using small_loop. Correct comments.
27429 Delete "zero" tail, use "end_max" instead.
27430 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27432 2013-10-04 Alan Modra <amodra@gmail.com>
27434 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27435 support. Don't branch over align.
27436 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27437 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27438 support. Rearrange tmp reg use to suit. Comment.
27439 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27441 2013-10-04 Alan Modra <amodra@gmail.com>
27443 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27445 2013-10-04 Alan Modra <amodra@gmail.com>
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27448 conditional form of branch and link when obtaining pc.
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27451 2013-10-04 Alan Modra <amodra@gmail.com>
27453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27458 2013-10-04 Alan Modra <amodra@gmail.com>
27460 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27461 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27462 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27463 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27464 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27465 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27466 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27467 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27468 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27469 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27471 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27472 Alistair Popple <alistair@ozlabs.au.ibm.com>
27473 Alan Modra <amodra@gmail.com>
27476 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27477 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27478 _dl_hwcap access for little-endian.
27479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27480 destroy vmx regs when saving unaligned.
27481 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27483 destroy vmx regs when saving unaligned.
27485 2013-10-04 Alan Modra <amodra@gmail.com>
27487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27488 Don't use a union to pack hi/low value.
27490 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27492 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27494 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27496 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27497 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27498 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27500 2013-10-04 Alan Modra <amodra@gmail.com>
27502 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27503 constants to usual value for .cst8 section, and remove redundant
27505 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27506 constant for 0x1p52. Load little-endian words of double from
27507 correct stack offsets.
27509 2013-10-04 Alan Modra <amodra@gmail.com>
27511 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27512 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27513 words of double from correct stack offsets.
27514 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27515 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27518 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27521 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27522 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27526 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27527 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27528 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27529 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27530 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27532 2013-10-04 Alan Modra <amodra@gmail.com>
27534 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27535 64-bit int/double union.
27536 (_FPU_SETCW): Likewise.
27537 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27538 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27540 2013-10-04 Alan Modra <amodra@gmail.com>
27542 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27543 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27545 2013-10-04 Alan Modra <amodra@gmail.com>
27547 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27548 use vector int constants.
27549 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27551 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27553 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27554 array with long long.
27555 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27556 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27557 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27558 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27559 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27560 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27561 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27562 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27563 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27564 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27565 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27566 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27567 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27569 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27571 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27572 (__signbit): Likewise. Correct for little-endian.
27573 (__signbitl): Call __signbit.
27574 (lrint): Correct for little-endian.
27575 (lrintf): Call lrint.
27577 2013-10-04 Alan Modra <amodra@gmail.com>
27579 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27580 union 32-bit int array member with 64-bit int array.
27581 (t515, tm256): Double rather than long double.
27582 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27584 2013-10-04 Alan Modra <amodra@gmail.com>
27586 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27588 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27590 version of math_ldbl.h.
27592 2013-10-04 Alan Modra <amodra@gmail.com>
27594 [BZ #15734], [BZ #15735]
27595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27596 all uses of ieee875 long double macros and unions. Simplify test
27597 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27598 ldbl_extract_mantissa value for ix,iy exponents. Properly
27599 normalize after ldbl_extract_mantissa, and don't add hidden bit
27600 already handled. Don't treat low word of ieee854 mantissa like
27601 low word of IBM long double and mask off bit when testing for
27603 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27604 all uses of ieee875 long double macros and unions. Simplify tests
27605 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27606 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27607 two1022, instead use their values. Recognise that tests for large
27608 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27609 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27610 Rewrite all uses of ieee875 long double macros and unions. Simplify
27611 test for 0.0L and nan. Correct negation.
27612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27613 ieee875 long double macros and unions. Correct output for large
27614 magnitude x. Correct absolute value calculation.
27615 (__erfcl): Likewise.
27616 * math/libm-test.inc: Add tests for errors discovered in IBM long
27617 double versions of fmodl, remainderl, erfl and erfcl.
27619 2013-10-04 Alan Modra <amodra@gmail.com>
27621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27622 all uses of ieee854 long double macros and unions. Simplify tests
27623 for long doubles that are fully specified by the high double.
27624 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27626 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27627 Remove dead code too.
27628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27629 (__ieee754_ynl): Likewise.
27630 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27633 Remove dead code too.
27634 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27636 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27637 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27639 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27641 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27642 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27644 Comment on variable precision.
27645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27648 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27652 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27654 2013-10-04 Alan Modra <amodra@gmail.com>
27656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27657 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27658 all uses of ieee854 long double macros and unions.
27659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27672 Simplify sign and nan test too.
27673 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27674 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27675 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27676 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27678 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27679 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27682 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27683 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27684 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27685 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27688 2013-10-04 Alan Modra <amodra@gmail.com>
27690 * stdio-common/printf_size.c (__printf_size): Don't use
27691 union ieee854_long_double in fpnum union.
27692 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27693 signbit macro to retrieve sign from long double.
27694 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27695 retrieve sign from long double.
27696 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27697 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27698 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27699 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27700 * math/test-misc.c (main): Don't use union ieee854_long_double.
27702 2013-10-04 Alan Modra <amodra@gmail.com>
27705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27706 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27707 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27708 calculation. Remove unnecessary test for denormal exponent.
27709 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27710 Correct handling of denormals. Avoid undefined shift behaviour.
27711 Correct normalisation of low mantissa when low double is denormal.
27712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27713 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27714 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27715 Correct normalisation of low mantissa. Test for overflow of high
27716 mantissa and normalise.
27717 (ldbl_nearbyint): Use more readable constant for two52.
27718 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27719 (__mpn_construct_long_double): Fix test for overflow of high
27720 mantissa and correct normalisation. Avoid undefined shift.
27722 2013-10-04 Alan Modra <amodra@gmail.com>
27724 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27725 (union ibm_extended_long_double): Define as an array of ieee754_double.
27726 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27727 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27728 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27729 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27733 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27738 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27740 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27741 page size instead of calling getpagesize.
27743 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27744 (LOCFILE_ALIGN_MASK): Likewise.
27745 (LOCFILE_ALIGN_UP): Likewise.
27746 (LOCFILE_ALIGNED_P): Likewise.
27747 * locale/programs/ld-collate.c (collate_output): Use the new
27748 macros instead of __alignof__ (int32_t).
27749 * locale/weight.h (findidx): Likewise.
27751 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27754 * manual/string.texi: Fix strncat and wcsncat.
27756 2013-10-03 Brooks Moses <bmoses@google.com>
27759 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27760 * Makerules: ...here, and adjust associated comments.
27762 2013-10-02 Will Newton <will.newton@linaro.org>
27764 * malloc/Makefile: Add tst-pvalloc.
27765 * malloc/tst-pvalloc.c: New file.
27767 2013-10-02 Will Newton <will.newton@linaro.org>
27769 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27770 improve test coverage.
27772 2013-10-02 Will Newton <will.newton@linaro.org>
27774 * malloc/Makefile: Add tst-posix_memalign.
27775 * malloc/tst-posix_memalign.c: New file.
27777 2013-10-01 Eric Blake <eblake@redhat.com>
27779 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27780 Use __THROWNL rather than __THROW on static functions.
27782 2013-09-30 Petr Machata <pmachata@redhat.com>
27784 * elf/elf.h (R_AARCH64_ABS16): New macro.
27785 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27786 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27787 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27788 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27789 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27790 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27791 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27792 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27793 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27794 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27795 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27796 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27797 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27798 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27799 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27800 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27801 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27802 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27803 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27804 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27805 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27806 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27807 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27808 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27809 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27810 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27811 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27812 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27813 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27814 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27815 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27816 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27817 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27818 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27819 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27820 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27821 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27822 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27823 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27824 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27825 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27826 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27827 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27828 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27829 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27830 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27831 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27832 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27833 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27834 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27835 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27836 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27837 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27838 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27839 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27840 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27841 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27842 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27843 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27844 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27845 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27846 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27847 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27848 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27849 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27850 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27851 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27852 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27853 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27854 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27855 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27856 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27857 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27858 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27859 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27860 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27861 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27862 (R_AARCH64_TLSDESC_LDR): Likewise.
27863 (R_AARCH64_TLSDESC_ADD): Likewise.
27864 (R_AARCH64_TLSDESC_CALL): Likewise.
27866 2013-09-30 Andreas Schwab <schwab@suse.de>
27869 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27870 the nss database lookup.
27871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27874 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27876 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27878 2013-09-28 P. J. McDermott <pj@pehjota.net>
27880 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27881 ${Bash-specific parameter/pattern/string} parameter expansion.
27882 * sysdeps/unix/make-syscalls.sh: Likewise.
27884 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27886 * sysdeps/sh/stackguard-macros.h: New file.
27888 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27892 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27893 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27895 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27897 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27899 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27900 Fix thread ID register.
27902 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27904 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27905 [POSIX || UNIX98]: Require rather than permitting all symbols from
27907 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27908 element of struct sched_param.
27909 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27910 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27911 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27912 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27915 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27917 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27918 argument calculation.
27920 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27922 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27924 [POSIX] (pthread_attr_t): Do not require type.
27925 [POSIX] (pthread_cond_t): Likewise.
27926 [POSIX] (pthread_condattr_t): Likewise.
27927 [POSIX] (pthread_key_t): Likewise.
27928 [POSIX] (pthread_mutex_t): Likewise.
27929 [POSIX] (pthread_mutexattr_t): Likewise.
27930 [POSIX] (pthread_once_t): Likewise.
27931 [POSIX] (pthread_t): Likewise.
27932 [POSIX-based standards] (pthread_atfork): Expect function.
27934 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27935 Richard Sandiford <richard@codesourcery.com>
27937 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27938 (swap_endianness_p): New extern variable.
27939 (set_big_endian): New inline function.
27940 (maybe_swap_uint32): Likewise.
27941 (maybe_swap_uint32_array): Likewise.
27942 (maybe_swap_uint32_obstack): Likewise.
27943 * locale/programs/locfile.c: Include <stdbool.h>.
27944 (swap_endianness_p): New variable.
27945 (add_locale_uint32): Call maybe_swap_uint32.
27946 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27947 (write_locale_data): Call maybe_swap_uint32_array.
27948 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27950 (obstack_int32_grow_fast): Likewise.
27951 (output_weightwc): Call maybe_swap_uint32_obstack.
27952 (collate_output): Likewise.
27953 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27954 (OPT_LITTLE_ENDIAN): Likewise.
27955 (options): Add --little-endian and --big-endian options.
27956 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27957 * locale/programs/locarchive.c: Include "locfile.h".
27961 (create_archive): Use the new macros to access fields of
27962 structures directly mapped from or written to locale archives.
27963 (oldlocrecentcmp): Likewise.
27964 (enlarge_archive): Likewise.
27965 (insert_name): Likewise.
27966 (add_alias): Likewise.
27967 (add_locale): Likewise.
27968 (delete_locales_from_archive): Likewise.
27969 (show_archive_content): Likewise.
27970 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27973 2013-09-24 Roland McGrath <roland@hack.frob.com>
27975 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27976 http://www.gnu.org/doc/freemanuals.texi.
27977 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27979 2013-09-24 Will Newton <will.newton@linaro.org>
27981 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27984 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27986 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27989 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27991 * manual/threads.texi (POSIX Threads): Fix a typo.
27993 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27996 * string/tst-strcoll-overflow.c: New test case.
27997 * string/Makefile (xtests): Add tst-strcoll-overflow.
27998 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27999 cache if string sizes may cause integer overflow.
28002 * string/strcoll_l.c (coll_seq): New members rule, idx,
28003 save_idx and back_us.
28004 (get_next_seq_nocache): New function.
28005 (do_compare_nocache): New function.
28006 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28009 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28012 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28013 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28014 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28017 * elf/Makefile (tests): Add tst-ptrguard1.
28018 (tests-static): Add tst-ptrguard1-static.
28019 (tst-ptrguard1-ARGS): Define.
28020 (tst-ptrguard1-static-ARGS): Define.
28021 * elf/tst-ptrguard1.c: New file.
28022 * elf/tst-ptrguard1-static.c: New file.
28023 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28024 * sysdeps/i386/stackguard-macros.h: Likewise.
28025 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28026 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28027 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28028 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28029 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28030 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28032 2013-09-23 Hector Marco <hecmargi@upv.es>
28033 Ismael Ripoll <iripoll@disca.upv.es>
28034 Carlos O'Donell <carlos@redhat.com>
28037 * sysdeps/generic/stackguard-macros.h: Define
28038 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28039 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28040 Define __pointer_chk_guard_local.
28041 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28042 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28044 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28047 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28049 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28051 * include/string.h (__ffs): Declare as hidden.
28052 * string/ffs.c (__ffs): Define as hidden.
28053 * sysdeps/i386/ffs.c (__ffs): Likewise.
28054 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28055 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28056 * sysdeps/s390/ffs.c (__ffs): Likewise.
28057 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28059 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28061 * NEWS: Mention malloc probes.
28063 * malloc/arena.c (new_heap): New memory_heap_new probe.
28064 (grow_heap): New memory_heap_more probe.
28065 (shrink_heap): New memory_heap_less probe.
28066 (heap_trim): New memory_heap_free probe.
28067 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28068 (systrim): New memory_sbrk_less probe.
28069 * manual/probes.texi: Document them.
28071 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28072 * manual/probes.texi: Document it.
28074 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28075 (__libc_realloc): Add memory_realloc_retry probe.
28076 (__libc_memalign): Add memory_memalign_retry probe.
28077 (__libc_valloc): Add memory_valloc_retry probe.
28078 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28079 (__libc_calloc): Add memory_calloc_retry probe.
28080 * manual/probes.texi: Document them.
28082 * malloc/arena.c (get_free_list): Add probe
28083 memory_arena_reuse_free_list.
28084 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28085 and memory_arena_reuse.
28086 (arena_get2) [!PER_THREAD]: Likewise.
28087 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28088 memory_arena_reuse_realloc.
28089 * manual/probes.texi: Document them.
28091 * malloc/malloc.c (__libc_free): Add
28092 memory_mallopt_free_dyn_thresholds probe.
28093 (__libc_mallopt): Add multiple memory_mallopt probes.
28094 * manual/probes.texi: Document them.
28096 * malloc/malloc.c: Include stap-probe.h.
28097 (__libc_mallopt): Add memory_mallopt probe.
28098 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28099 * manual/probes.texi: New.
28100 * manual/Makefile (chapters): Add probes.
28101 * manual/threads.texi: Set next node.
28103 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28105 [BZ #15963, #13985]
28106 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28107 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28108 Add `Chinese' to `nan' entry name.
28110 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28112 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28113 (POLYNOMIAL): Likewise.
28114 (TAYLOR_SINCOS): Likewise.
28115 (TAYLOR_SLOW): Likewise.
28116 (__sin): Use TAYLOR_SINCOS.
28118 (slow): Use TAYLOR_SLOW.
28120 (bsloww): Likewise.
28121 (csloww): Likewise.
28123 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28125 * stdlib/strtod_l.c: Fix buffer overrun.
28127 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28129 * benchtests/Makefile (bench): Add sincos.
28130 * benchtests/bench-sincos.c: New file.
28132 * math/libm-test.inc (cos_test_data): New test inputs.
28133 (sin_test_data): Likewise.
28135 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28141 (sloww1): Likewise.
28142 (sloww2): Likewise.
28143 (bsloww1): Likewise.
28144 (bsloww2): Likewise.
28145 (cslow2): Likewise.
28146 (csloww1): Likewise.
28147 (csloww2): Likewise.
28149 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28158 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28160 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28161 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28162 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28163 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28164 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28165 * elf/cache.c (print_entry): Handle the new cache flags.
28167 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28168 Aldy Hernandez <aldyh@redhat.com>
28170 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28171 Change condition to [_SOFT_FLOAT].
28172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28184 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28187 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28190 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28192 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28193 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28194 (__longjmp): Use LOAD_GP to load saved GPRs.
28195 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28196 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28197 (__sigsetjmp): Use SAVE_GP to save GPRs.
28199 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28200 Do not append -msoft-float.
28201 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28203 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28205 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28207 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28210 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28211 (_FPU_GETCW): Use initial "__" on variable and field names but not
28212 on macro parameter name.
28213 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28214 parentheses around reference to macro parameter.
28216 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28218 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28220 (ctype_startup): Use uint32_t in cast and sizeof for
28223 2013-09-11 Jia Liu <proljc@gmail.com>
28225 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28227 [__FreeBSD__]: Likewise.
28229 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28232 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28233 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28234 (strchr): Remove __strchr_sse42 ifunc selection.
28235 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28236 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28238 2013-09-11 Will Newton <will.newton@linaro.org>
28240 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28241 parameter to RES. Remove hardcoded 1000 value.
28242 * benchtests/bench-skeleton.c (main): Pass RES parameter
28243 to TIMING_INIT and multiply result by 1000.
28245 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28249 2013-09-11 Andreas Schwab <schwab@suse.de>
28251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28253 (O_TMPFILE) [__USE_GNU]: Define.
28254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28257 2013-09-11 Will Newton <will.newton@linaro.org>
28260 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28263 2013-09-11 Will Newton <will.newton@linaro.org>
28266 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28269 2013-09-11 Will Newton <will.newton@linaro.org>
28272 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28275 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28277 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28278 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28283 2013-09-10 Allan McRae <allan@archlinux.org>
28286 * manual/arith.texi (Parsing of Floats): Clarify
28290 * manual/install.texi (Running make install): Mention
28292 * INSTALL: Regenerated.
28294 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28296 * csu/init-first.c (_init): Remove the !SHARED condition around
28297 FPU control word initialization.
28298 * elf/dl-support.c (_dl_fpu_control): New variable.
28299 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28300 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28301 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28302 * math/test-fpucw-static.c: New file.
28303 * math/test-fpucw-ieee.c: New file.
28304 * math/test-fpucw-ieee-static.c: New file.
28305 * math/Makefile (tests): Add `test-fpucw-ieee' and
28307 (tests-static): New variable.
28308 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28310 [($(build-shared),yes)]
28311 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28313 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28316 2013-09-09 Allan McRae <allan@archlinux.org>
28319 * manual/string.texi (Collation Functions): Fix typo in
28321 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28324 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28327 * libio/memstream.c (open_memstream): Fix memory leak.
28328 * libio/wmemstream.c (open_wmemstream): Likewise.
28331 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28333 2013-09-09 Will Newton <will.newton@linaro.org>
28335 * malloc/Makefile: Add tst-realloc to tests.
28336 * malloc/tst-realloc.c: New file.
28338 2013-09-09 Allan McRae <allan@archlinux.org>
28341 * COPYING: Update from GNU website to fix FSF address.
28342 * COPYING.LIB: Likewise.
28344 2013-09-06 David S. Miller <davem@davemloft.net>
28346 * po/zh_TW.po: Update Chinese (traditional) translation from
28347 translation project.
28349 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28350 Joseph Myers <joseph@codesourcery.com>
28352 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28354 (obstack_chunk_alloc): New macro.
28355 (obstack_chunk_free): Likewise.
28356 (record_offset): New function.
28357 (init_locale_data): Likewise.
28358 (align_locale_data): Likewise.
28359 (add_locale_empty): Likewise.
28360 (add_locale_raw_data): Likewise.
28361 (add_locale_raw_obstack): Likewise.
28362 (add_locale_string): Likewise.
28363 (add_locale_wstring): Likewise.
28364 (add_locale_uint32): Likewise.
28365 (add_locale_uint32_array): Likewise.
28366 (add_locale_char): Likewise.
28367 (start_locale_structure): Likewise.
28368 (end_locale_structure): Likewise.
28369 (start_locale_prelude): Likewise.
28370 (end_locale_prelude): Likewise.
28371 (write_locale_data): Take locale_file structure rather than an
28373 * locale/programs/locfile.h: Include "obstack.h".
28374 (struct locale_file): Change to store locale file contents instead
28376 (init_locale_data): New prototype.
28377 (align_locale_data): Likewise.
28378 (add_locale_empty): Likewise.
28379 (add_locale_raw_data): Likewise.
28380 (add_locale_raw_obstack): Likewise.
28381 (add_locale_string): Likewise.
28382 (add_locale_wstring): Likewise.
28383 (add_locale_uint32): Likewise.
28384 (add_locale_uint32_array): Likewise.
28385 (add_locale_char): Likewise.
28386 (start_locale_structure): Likewise.
28387 (end_locale_structure): Likewise.
28388 (start_locale_prelude): Likewise.
28389 (end_locale_prelude): Likewise.
28390 (write_locale_data): Update prototype.
28391 * locale/programs/3level.h (struct TABLE): Remove result field.
28392 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28393 Use new locale_file interface.
28394 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28395 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28396 * locale/programs/ld-address.c (address_output): Use new
28397 locale_file interface.
28398 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28400 (collate_finish): Don't call collseq_table_finalize.
28401 (collate_output): Use new locale_file interface.
28402 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28404 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28405 (TABLE): Move defines earlier in file.
28406 (ELEMENT): Likewise.
28407 (DEFAULT): Likewise.
28408 (wctrans_table_add): Move macro and inline function earlier in
28410 (struct wctype_table): Move type earlier in file.
28411 (add_locale_wctype_table): New static prototype.
28412 (struct locale_ctype_t): Use logical types instead of struct iovec
28413 pointers for members.
28414 (ctype_output): Use new locale_file interface.
28415 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28416 new locale_file interface.
28417 (allocate_arrays): Update for use of new locale_file interface.
28418 * locale/programs/ld-identification.c (identification_output): Use
28419 new locale_file interface.
28420 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28421 * locale/programs/ld-messages.c (messages_output): Likewise.
28422 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28423 * locale/programs/ld-name.c (name_output): Likewise.
28424 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28425 * locale/programs/ld-paper.c (paper_output): Likewise.
28426 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28427 * locale/programs/ld-time.c (time_output): Likewise.
28429 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28431 * benchtests/Makefile: Add memrchr benchmark.
28432 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28433 benchmark as memrchr.
28434 * benchtests/bench-memrchr-ifunc.c: New file.
28435 * benchtests/bench-memrchr.c: New file.
28437 2013-09-06 Will Newton <will.newton@linaro.org>
28439 * benchtests/Makefile (string-bench): Add memcpy.
28441 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28442 Cong Wang <amwang@redhat.com>
28445 * sysdeps/unix/sysv/linux/bits/in.h
28446 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28447 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28448 before __USE_KERNEL_IPV6_DEFS uses.
28449 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28451 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28452 sockaddr_in6, or ipv6_mreq.
28454 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28456 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28457 memory access for final bytes in some large inputs.
28458 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28460 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28462 * string/test-memrchr.c: New file.
28463 * string/test-memrchr-ifunc.c: New file.
28464 * string/Makefile: Add new memrchr testcase.
28466 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28468 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28469 fanotify_init returns EPERM.
28471 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28473 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28475 (top level): Treat second token from macro or constant entries for
28476 allowed headers as allowed.
28477 * include/complex.h: Condition internal declarations on
28479 * include/fenv.h: Condition include of <stdbool.h> and internal
28480 declarations on [!_ISOMAC].
28482 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28485 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28487 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28489 * configure.in (--enable-versioning): Remove configure option.
28490 (libc_cv_asm_symver_directive): Remove configure test.
28491 (libc_cv_ld_version_script_option): Likewise.
28492 (VERSIONING): Remove variable and AC_SUBST.
28493 (DO_VERSIONING): Remove AC_DEFINE.
28494 * configure: Regenerated.
28495 * config.h.in (DO_VERSIONING): Remove macro.
28496 * Makerules [$(versioning) = yes]: Change conditionals to
28497 [$(build-shared) = yes].
28498 * config.make.in (versioning): Remove variable.
28499 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28500 [$(build-shared) = yes].
28501 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28502 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28503 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28504 [$(build-shared) = yes].
28505 * extra-lib.mk [$(versioning) = yes]: Likewise.
28506 * hurd/Makefile [$(versioning) = yes]: Likewise.
28507 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28509 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28511 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28512 [SHARED && !NO_HIDDEN].
28513 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28515 [SHARED && DO_VERSIONING]: Likewise..
28516 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28517 [$(build-shared) = yes].
28518 * manual/install.texi (--disable-versioning): Remove
28520 * INSTALL: Regenerated.
28521 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28523 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28524 [$(build-shared) = yes].
28525 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28526 * sysdeps/i386/i686/multiarch/strstr-c.c
28527 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28528 [SHARED && !NO_HIDDEN].
28529 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28530 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28531 * sysdeps/powerpc/powerpc32/dl-machine.c
28532 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28533 * sysdeps/powerpc/powerpc32/sysdep.h
28534 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28535 to [SHARED && PIC && !NO_HIDDEN].
28536 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28537 conditional to [SHARED].
28539 2013-09-04 Will Newton <will.newton@linaro.org>
28541 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28542 * benchtests/bench-string.h: Include bench-timing.h instead
28543 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28544 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28545 call to HP_TIMING_DIFF_INIT.
28546 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28547 instead of hp-timing.h macros.
28548 * benchtests/bench-memchr.c: Likewise.
28549 * benchtests/bench-memcmp.c: Likewise.
28550 * benchtests/bench-memcpy.c: Likewise.
28551 * benchtests/bench-memmem.c: Likewise.
28552 * benchtests/bench-memmove.c: Likewise.
28553 * benchtests/bench-memset.c: Likewise.
28554 * benchtests/bench-rawmemchr.c: Likewise.
28555 * benchtests/bench-strcasecmp.c: Likewise.
28556 * benchtests/bench-strcasestr.c: Likewise.
28557 * benchtests/bench-strcat.c: Likewise.
28558 * benchtests/bench-strchr.c: Likewise.
28559 * benchtests/bench-strcmp.c: Likewise.
28560 * benchtests/bench-strcpy.c: Likewise.
28561 * benchtests/bench-strcpy_chk.c: Likewise.
28562 * benchtests/bench-strlen.c: Likewise.
28563 * benchtests/bench-strncasecmp.c: Likewise.
28564 * benchtests/bench-strncat.c: Likewise.
28565 * benchtests/bench-strncmp.c: Likewise.
28566 * benchtests/bench-strncpy.c: Likewise.
28567 * benchtests/bench-strnlen.c: Likewise.
28568 * benchtests/bench-strpbrk.c: Likewise.
28569 * benchtests/bench-strrchr.c: Likewise.
28570 * benchtests/bench-strspn.c: Likewise.
28571 * benchtests/bench-strstr.c: Likewise.
28573 2013-09-04 Will Newton <will.newton@linaro.org>
28575 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28577 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28580 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28581 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28582 * math/libm-test.inc (lgamma_test_data): Add more tests.
28583 * sysdeps/i386/fpu/libm-test-ulps: Update.
28584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28586 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28588 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28592 Add strcmp-sse2-unaligned
28593 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28595 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28597 * Versions.def (libc): Add GLIBC_2.19.
28599 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28601 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28602 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28604 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28607 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28608 intermediate calculations in recurrence.
28609 (__ieee754_ynf): Likewise.
28610 * math/libm-test.inc (jn_test_data): Do not allow spurious
28611 underflow exception. Add more tests.
28612 (yn_test_data): Add more tests.
28613 * sysdeps/i386/fpu/libm-test-ulps: Update.
28614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28616 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28618 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28620 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28622 * csu/init-first.c: Fix then/than typos.
28623 * locale/programs/ld-collate.c: Likewise.
28624 * locale/programs/linereader.h: Likewise.
28625 * manual/charset.texi: Likewise.
28626 * manual/filesys.texi: Likewise.
28627 * manual/stdio.texi: Likewise.
28628 * manual/string.texi: Likewise.
28629 * stdlib/fmtmsg.c: Likewise.
28630 * sysdeps/i386/stpncpy.S: Likewise.
28631 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28632 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28633 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28634 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28636 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28638 * elf/dl-open.c: Fix typos.
28639 * iconvdata/gbbig5.c: Likewise.
28640 * iconvdata/iso-2022-jp.c: Likewise.
28641 * iconv/gconv_int.h: Likewise.
28642 * iconv/loop.c: Likewise.
28643 * nis/rpcsvc/nis.h: Likewise.
28644 * resolv/ns_name.c: Likewise.
28645 * stdio-common/vfscanf.c: Likewise.
28646 * streams/stropts.h: Likewise.
28647 * sunrpc/rpc_thread.c: Likewise.
28648 * sysdeps/i386/strpbrk.S: Likewise.
28649 * sysdeps/ieee754/k_standard.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28652 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28653 * sysdeps/mach/hurd/profil.c: Likewise.
28654 * sysdeps/s390/dl-procinfo.h: Likewise.
28655 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28656 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28657 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28658 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28661 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28663 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28666 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28668 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28669 aix specific files.
28670 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28672 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28673 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28674 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28675 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28676 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28677 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28679 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28680 Roland McGrath <roland@hack.frob.com>
28682 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28683 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28685 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28687 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28688 __executable_start symbol instead of _start.
28690 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28692 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28693 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28695 * sysdeps/gnu/ldsodefs.h: ... this new file.
28697 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28698 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28699 instead of ELFOSABI_LINUX.
28701 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28702 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28703 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28704 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28706 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28707 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28708 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28710 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28711 (ibm_extended_long_double): Add ieee_nan member.
28712 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28713 (do_test): New function.
28715 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28717 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28718 functions, renamed from truncdfsf_test, trunctfsf_test,
28720 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28722 (do_test): Run all these.
28724 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28726 * argp/argp-help.c: Fix typos.
28727 * argp/argp-parse.c: Likewise.
28728 * debug/backtracesyms.c: Likewise.
28729 * elf/elf.h: Likewise.
28730 * malloc/malloc.c: Likewise.
28731 * nis/nis_print.c: Likewise.
28732 * resolv/res_comp.c: Likewise.
28733 * stdlib/stdlib.h: Likewise.
28734 * sunrpc/clnt_tcp.c: Likewise.
28735 * sunrpc/clnt_udp.c: Likewise.
28736 * sunrpc/clnt_unix.c: Likewise.
28737 * sysdeps/unix/bsd/ptsname.c: Likewise.
28738 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28739 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28746 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28748 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28750 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28753 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28756 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28757 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28758 ($(objpfx)bug-dl-leaf): New rule.
28759 ($(objpfx)bug-dl-leaf.so): Likewise.
28760 ($(objpfx)bug-dl-leaf.out): Likewise.
28761 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28762 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28763 * dlfcn/bug-dl-leaf.c: New test.
28764 * dlfcn/bug-dl-leaf-lib.c: Likewise.
28765 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28766 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28767 (dlclose): Likewise.
28768 (dlmopen): Likewise.
28770 2013-08-27 Roland McGrath <roland@hack.frob.com>
28772 * include/netdb.h [!_ISOMAC]:
28773 Don't include <tls.h>.
28774 (h_errno, __libc_h_errno): Move declaration and macros out of
28777 * include/resolv.h [_RESOLV_H_]:
28778 Don't include <tls.h>.
28779 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28780 * resolv/res_libc.c: Don't include <tls.h>.
28781 (_res): Use __attribute__ ((nocommon)) in place of
28782 __attribute__ ((section (".bss"))).
28784 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28785 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28787 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28789 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28790 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28792 * resolv/res_mkquery.c: Include <sys/time.h>.
28794 * inet/ifreq.c: Moved to ...
28795 * sysdeps/unix/ifreq.c: ... here.
28796 * inet/ifreq.c: New file, true stub version.
28798 * socket/sa_len.c: New file.
28799 * socket/Makefile (aux): Add it.
28800 * sysdeps/unix/sysv/linux/Makefile
28801 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28802 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28803 and #include <socket/sa_len.c>.
28804 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28805 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28807 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28808 * bits/socket.h: ... here.
28810 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28811 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28812 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28814 2013-08-27 Andreas Schwab <schwab@suse.de>
28817 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28818 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28819 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28820 * string/test-strcasecmp.c (test_main): Run tests in several
28822 * string/test-strncasecmp.c (test_main): Likewise.
28824 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28825 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28826 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28828 (__strncasecmp_ssse3) [PIC]: Likewise.
28830 2013-08-26 Roland McGrath <roland@hack.frob.com>
28832 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28834 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28835 instead of explicitly declaring xdecrypt.
28836 * nis/nss_nis/nis-publickey.c: Likewise.
28838 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28841 * nscd/aicache.c: Include res_hconf.h.
28842 (addhstaiX): Initialize res_hconf.
28844 2013-08-26 Andreas Schwab <schwab@suse.de>
28846 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28847 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28849 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28851 * nscd/aicache.c (addhstaiX): Fix indentation.
28853 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28855 * configure.ac: Quote $build_pt_chown test.
28856 * configure: Regenerated.
28858 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28861 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28862 * math/s_cexpf.c (__cexpf): Likewise.
28863 * math/s_cexpl.c (__cexpl): Likewise.
28864 * math/libm-test.inc (cexp_test_data): Correct expected return
28865 value for NaN + i0. Add another test.
28867 2013-08-22 David S. Miller <davem@davemloft.net>
28869 * po/ca.po: Update Catalan translation from translation project.
28870 * po/uk.po: Add Ukrainian translations from translation project.
28872 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28875 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28876 is infinite, not alongside NaN test.
28877 * math/s_fdimf.c (__fdimf): Likewise.
28878 * math/s_fdiml.c (__fdiml): Likewise.
28879 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28880 errno is unchanged.
28882 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28884 * argp/argp-help.c: Fix typos.
28885 * crypt/speeds.c: Likewise.
28886 * csu/check_fds.c: Likewise.
28887 * elf/dl-load.c: Likewise.
28888 * elf/dl-open.c: Likewise.
28889 * elf/reldep3.c: Likewise.
28890 * elf/reldep.c: Likewise.
28891 * elf/sprof.c: Likewise.
28892 * iconv/iconv_charmap.c: Likewise.
28893 * iconv/skeleton.c: Likewise.
28894 * iconv/strtab.c: Likewise.
28895 * io/lockf64.c: Likewise.
28896 * libio/libioP.h: Likewise.
28897 * resolv/gai_notify.c: Likewise.
28898 * resolv/ns_name.c: Likewise.
28899 * resolv/ns_samedomain.c: Likewise.
28900 * resolv/res_send.c: Likewise.
28901 * stdlib/random.c: Likewise.
28902 * sunrpc/rpc/xdr.h: Likewise.
28903 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28904 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28905 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28906 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28907 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28908 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28911 * sysdeps/mach/hurd/check_fds.c: Likewise.
28912 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28913 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28916 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28917 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28918 * sysdeps/pthread/aio_notify.c: Likewise.
28919 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28920 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28922 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28923 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28925 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28927 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28928 version if bit_Slow_SSE4_2 is set.
28929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28932 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28935 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28936 trampoline stack frame information.
28937 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28938 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28939 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28940 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28941 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28942 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28943 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28944 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28946 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28947 interrupting a syscall and set with option SA_SIGINFO.
28949 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28952 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28953 argument is infinite.
28954 * math/s_cprojf.c (__cprojf): Likewise.
28955 * math/s_cprojl.c (__cprojl): Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28957 * math/libm-test.inc (cproj_test_data): Add more tests.
28959 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28961 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28962 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28963 size. Use __ffs to determine corresponding shift.
28965 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28966 Roland McGrath <roland@hack.frob.com>
28968 * Makefile (INSTALL): Remove trailing blank lines from output of
28971 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28973 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28974 Align 32 bit compat elf_greg to 8 bytes.
28976 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28978 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28980 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28982 * string/strcoll_l.c (coll_seq): New structure.
28983 (get_next_seq_cached): New function.
28984 (get_next_seq): New function.
28985 (do_compare): New function.
28986 (STRCOLL): Use GNU style definition. Simplify implementation
28987 by using get_next_seq, get_next_seq_cached and do_compare.
28989 2013-08-16 Florian Weimer <fweimer@redhat.com>
28993 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28995 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28997 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28998 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28999 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29001 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29002 GETDENTS_64BIT_ALIGNED.
29003 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29004 * manual/filesys.texi (Reading/Closing Directory): Document
29005 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29007 * manual/conf.texi (Limits for Files): Add portability note to
29008 NAME_MAX, PATH_MAX.
29009 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29011 2013-08-13 Andreas Schwab <schwab@suse.de>
29014 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29016 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29017 LDBL_MAX_EXP >= 16384]: Add tests for it.
29019 2013-08-12 David S. Miller <davem@davemloft.net>
29021 * version.h (RELEASE): Set to "development".
29022 (VERSION): Set to "2.18.90".
29023 * NEWS: Add 2.19 section.
29025 2013-08-03 David S. Miller <davem@davemloft.net>
29027 * po/ko.po: Update Korean translation from translation project.
29029 2013-08-01 David S. Miller <davem@davemloft.net>
29031 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29032 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29035 2013-07-30 David S. Miller <davem@davemloft.net>
29037 * po/fr.po: Update French translation from translation project.
29039 2013-07-28 David S. Miller <davem@davemloft.net>
29041 * po/cs.po: Update Czech translation from translation project.
29043 * po/sv.po: Update Swedish translation from translation project.
29045 2013-07-27 David S. Miller <davem@davemloft.net>
29047 * po/eo.po: Update Esperanto translation from translation project.
29049 * po/vi.po: Update Vietnamese translation from translation project.
29051 * po/de.po: Update German translation from translation project.
29053 2013-07-26 David S. Miller <davem@davemloft.net>
29055 * po/bg.po: Update Bulgarian translation from translation project.
29057 * po/nl.po: Update Dutch translation from translation project.
29058 * po/pl.po: Update Polish translation from translation project.
29059 * po/ru.po: Update Russian translation from translation project.
29061 2013-07-24 David S. Miller <davem@davemloft.net>
29063 * po/libc.pot: Update.
29065 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29067 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29068 variable page size.
29069 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29070 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29071 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29073 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29075 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29077 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29078 Andreas Schwab <schwab@suse.de>
29079 Roland McGrath <roland@hack.frob.com>
29080 Joseph Myers <joseph@codesourcery.com>
29081 Carlos O'Donell <carlos@redhat.com>
29084 * config.h.in: Define HAVE_PT_CHOWN.
29085 * config.make.in (build-pt-chown): New variable.
29086 * configure.in (--enable-pt_chown): New configure option.
29087 * configure: Regenerate.
29088 * login/Makefile: Include Makeconfig. Build pt_chown only if
29089 build-pt-chown is enabled.
29090 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29091 pt_chown to fix pty ownership.
29092 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29094 * manual/install.texi (Configuring and compiling): Mention
29095 --enable-pt_chown. Add @findex for grantpt.
29096 * INSTALL: Regenerate.
29098 2013-07-20 David S. Miller <davem@davemloft.net>
29100 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29101 difference between 32-bit and 64-bit.
29103 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29106 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29107 Avoid system header dependency with -ffreestanding.
29108 ($(objpfx)bits/syscall%d): Likewise.
29110 2013-07-13 David S. Miller <davem@davemloft.net>
29112 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29113 underflows from atanl/atan2l due to bug 15319.
29114 (casinh_test_data): Likewise.
29116 2013-07-07 David S. Miller <davem@davemloft.net>
29118 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29120 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29122 * sysdeps/i386/fpu/libm-test-ulps: Update.
29123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29125 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29127 * configure.in (--enable-lock-elision): Fix message text.
29128 * INSTALL: Regenerate.
29129 * configure: Regenerate.
29131 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29135 2013-07-03 Andreas Jaeger <aj@suse.de>
29137 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29139 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29140 (ptrace_peeksiginfo_args): Add.
29141 (__ptrace_peeksiginfo_flags): Add.
29142 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29144 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29146 2013-07-03 Allan McRae <allan@archlinux.org>
29148 * sysdeps/i386/fpu/libm-test-ulps: Update.
29150 2013-07-02 David S. Miller <davem@davemloft.net>
29152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29154 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29158 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29160 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29163 2013-07-02 Andi Kleen <ak@linux.intel.com>
29165 * config.h.in (ENABLE_LOCK_ELISION): Add.
29166 * configure.in (--enable-lock-elision): Add option.
29167 * manual/install.texi: Document --enable lock elision.
29168 * configure: Regenerate
29169 * INSTALL: Regenerate.
29171 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29173 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29174 SSE4.2 strcasecmp for libc.a.
29175 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29177 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29180 * soft-fp/op-common.h (_FP_FMA): New macro.
29181 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29182 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29183 (_FP_MUL_MEAT_1_imm): ... here.
29184 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29185 (_FP_MUL_MEAT_1_wide): ... here.
29186 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29187 (_FP_MUL_MEAT_1_hard): ... here.
29188 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29189 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29190 (_FP_MUL_MEAT_2_wide): ... here.
29191 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29192 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29193 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29194 (_FP_MUL_MEAT_2_gmp): ... here.
29195 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29196 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29197 (_FP_MUL_MEAT_4_wide): ... here.
29198 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29199 (_FP_MUL_MEAT_4_gmp): ... here.
29200 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29201 (_FP_WFRACBITS_DW_S): Likewise.
29202 (_FP_WFRACXBITS_DW_S): Likewise.
29203 (_FP_HIGHBIT_DW_S): Likewise.
29204 (FP_FMA_S): Likewise.
29205 (_FP_FRAC_HIGH_DW_S): Likewise.
29206 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29207 (_FP_WFRACBITS_DW_D): Likewise.
29208 (_FP_WFRACXBITS_DW_D): Likewise.
29209 (_FP_HIGHBIT_DW_D): Likewise.
29210 (FP_FMA_D): Likewise.
29211 (_FP_FRAC_HIGH_DW_D): Likewise.
29212 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29213 (_FP_WFRACBITS_DW_E): Likewise.
29214 (_FP_WFRACXBITS_DW_E): Likewise.
29215 (_FP_HIGHBIT_DW_E): Likewise.
29216 (FP_FMA_E): Likewise.
29217 (_FP_FRAC_HIGH_DW_E): Likewise.
29218 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29219 (_FP_WFRACBITS_DW_Q): Likewise.
29220 (_FP_WFRACXBITS_DW_Q): Likewise.
29221 (_FP_HIGHBIT_DW_Q): Likewise.
29222 (FP_FMA_Q): Likewise.
29223 (_FP_FRAC_HIGH_DW_Q): Likewise.
29224 * soft-fp/fmasf4.c: New file.
29225 * soft-fp/fmadf4.c: Likewise.
29226 * soft-fp/fmatf4.c: Likewise.
29228 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29231 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29233 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29235 (index_Slow_SSE4_2): Likewise.
29236 (index_Prefer_PMINUB_for_stringop): Likewise.
29237 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29238 bit_Slow_SSE4_2 is set.
29239 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29240 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29242 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29244 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29245 rtld_global._dl_hwcap2.
29246 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29248 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29249 POWER8 feature descriptions defined in _dl_hwcap2.
29250 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29251 string handling for POWER8 feature bits.
29252 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29253 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29254 _dl_powerpc_cap_flags.
29255 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29256 * sysdeps/powerpc/rtld-global-offsets.sym
29257 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29258 _dl_hwcap2 in the rtld_global_ro structure.
29260 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29262 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29263 hardware capabilities in support of AT_HWCAP2.
29264 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29265 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29267 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29268 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29269 explicitly the unknown a_type display mechanism is used.
29270 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29271 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29273 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29274 to macro prototype for AT_HWCAP2 support.
29275 * sysdeps/i386/dl-procinfo.h: Likewise.
29276 * sysdeps/s390/dl-procinfo.h: Likewise.
29277 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29278 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29279 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29280 return -1 for unknown a_type display fallback.
29281 * sysdeps/sparc/dl-procinfo.h: Likewise.
29282 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29283 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29285 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29287 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29288 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29290 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29293 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29294 mprotect making __stack_prot writable.
29296 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29297 Joseph Myers <joseph@codesourcery.com>
29299 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29300 as being properly aligned.
29302 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29304 * dlfcn/modstatic5.c: New file.
29305 * dlfcn/tststatic5.c: New file.
29306 * dlfcn/Makefile (tests): Add tststatic5.
29307 (tests-static): Likewise.
29308 (modules-names): Add modstatic5.
29309 (tststatic5-ENV): New variable.
29310 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29313 * elf/dl-support.c (_dl_main_map): New variable.
29314 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29315 (_dl_nns, _dl_load_adds): Set to 1.
29316 (_dl_initial_searchlist): Refer to _dl_main_map.
29317 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29318 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29319 call to _dl_get_origin.
29320 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29322 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29323 * dlfcn/modstatic3.c: New file.
29324 * dlfcn/tststatic3.c: New file.
29325 * dlfcn/tststatic4.c: New file.
29326 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29327 (tests-static): Likewise.
29328 (modules-names): Add modstatic3.
29329 (tststatic3-ENV, tststatic4-ENV): New variables.
29330 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29331 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29333 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29335 * configure.in (CC): Require GCC version 4.4 or later.
29336 * configure: Regenerated.
29337 * manual/install.texi (Tools for Compilation): Update GCC version
29339 * INSTALL: Regenerated.
29341 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29344 * string/test-memcmp.c (check2): New.
29345 (main): Call check2.
29347 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29349 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29352 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29354 (dl_open_worker) [!SHARED]: ... here.
29356 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29358 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29360 2013-06-25 Richard Henderson <rth@redhat.com>
29362 * locale/programs/locarchive.c: Include <libc-internal.h>
29364 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29366 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29367 trailing whitespace removed.
29369 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29372 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29373 * locale/programs/locarchive.c: Include libc-mmap.h.
29374 (prepare_address_space): Take two new outputs (the mmap base and len).
29375 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29377 (create_archive): Declare new mmap base and len values for
29378 prepare_address_space, and store the result in ah.
29379 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29380 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29381 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29382 Declare new mmap base and len values for
29383 prepare_address_space, and store the result in new_ah.
29384 (open_archive): Declare new mmap base and len values for
29385 prepare_address_space, and store the result in ah.
29386 (close_archive): If ah->mmap_base is not NULL, use that and
29387 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29388 * sysdeps/generic/libc-mmap.h: New file.
29390 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29392 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29393 (ALIGN_UP): Likewise.
29394 (PTR_ALIGN_DOWN): Likewise.
29395 (PTR_ALIGN_UP): Likewise.
29397 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29399 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29400 entry mapped to PPC_PLATFORM_POWER8.
29401 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29403 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29404 (_dl_string_platform): Add case for exporting platform position for
29406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29407 search path to sysdeps/powerpc/powerpc32/power8 directory.
29408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29409 search path to sysdeps/powerpc/powerpc64/power8 directory.
29410 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29411 power7 directories.
29412 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29413 power7 directories.
29415 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29417 * INSTALL: Regenerate.
29419 * nscd/connections.c (nscd_init): Fix comment.
29421 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29423 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29426 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29427 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29429 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29431 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29433 (DL_DST_REQ_STATIC): Remove macro.
29435 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29438 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29439 with a shift of 0 bits.
29441 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29443 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29446 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29449 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29451 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29453 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29454 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29455 accepts -fno-tree-loop-distribute-patterns.
29456 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29457 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29459 * string/memset.c (memset): Likewise.
29460 * string/test-memmove.c (simple_memmove): Disable loop transformation
29462 * string/test-memset.c (simple_memset): Likewise.
29463 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29464 * benchtests/bench-memset.c (simple_memset): Likewise.
29465 * configure: Regenerated.
29467 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29469 * math/test-misc.c (main): Ignore fesetround failure when failures
29470 of subsequent rounding tests would be ignored.
29473 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29474 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29475 * math/fegetenv.c (__fegetenv): Return 0.
29476 * math/fegetexcept.c (fegetexcept): Return 0.
29477 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29479 * math/feholdexcpt.c (feholdexcept): Return 0.
29480 * math/fesetenv.c (__fesetenv): Return 0.
29481 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29482 argument FE_TONEAREST.
29483 * math/feupdateenv.c (__feupdateenv): Return 0.
29484 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29486 2013-06-18 Roland McGrath <roland@hack.frob.com>
29488 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29489 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29490 ($(objpfx)rtld-%.os rules): Use them.
29492 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29494 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29497 2013-06-17 Roland McGrath <roland@hack.frob.com>
29499 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29500 length of target pattern, then descending length of dependency pattern.
29501 * configure.in (AWK): Require gawk 3.1.2 or newer.
29502 * manual/install.texi (Tools for Compilation): Say that we do.
29503 * configure: Regenerated.
29505 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29506 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29507 * scripts/sysd-rules.awk: ... this new script.
29508 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29509 than a glob-style pattern.
29511 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29513 * math/test-misc.c (main): Do not treat incorrectly rounded
29514 conversions as failure unless ROUNDING_TESTS passes.
29516 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29519 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29520 restore exception state around main square root computation, then
29521 check for inexactness explicitly.
29523 * math/libm-test.inc (fma_test_data): Add another test.
29525 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29527 * manual/threads.texi (Non-POSIX Extensions): New document
29528 node. Document pthread_getattr_default_np and
29529 pthread_setattr_default_np.
29531 * Versions.def (libpthread): Add GLIBC_2.18.
29532 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29541 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29552 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29555 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29557 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29558 H.J. Lu <hjl.tools@gmail.com>
29561 * sysdeps/x86_64/rtld-memset.c: Remove file.
29562 * sysdeps/x86_64/rtld-memset.S: New file.
29564 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29566 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29567 (test_in_one_mode): Take arguments for whether the rounding mode
29568 is supported for each floating-point type.
29569 (do_test): Pass new arguments to test_in_one_mode using
29572 2013-06-13 Roland McGrath <roland@hack.frob.com>
29574 * posix/tst-waitid.c (do_test): Distinguish different instances of
29575 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29576 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29577 before entering the kernel for waitpid.
29579 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29581 * NEWS: Fix note on clock function precision. Text by Roland
29584 2013-06-13 Roland McGrath <roland@hack.frob.com>
29586 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29587 it into place only when and if the sanity check passes.
29589 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29591 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29592 output for whether conversion result is exact. Take argument
29593 indicating whether type is IBM long double.
29594 (round_for_all): Change need_exact field to ibm_ld.
29595 * stdlib/tst-strtod-round.c (struct exactness): New type.
29596 (struct test): Change bool ld_ok field to struct exactness exact.
29597 (TEST): Update all definitions for change to field.
29598 (tests): Regenerate array contents.
29599 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29600 field value. Check for IBM long double here.
29601 (do_test): Update calls to test_in_one_mode.
29603 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29606 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29607 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29609 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29612 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29613 generated by the compiler on loop optimizations.
29614 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29615 general definitions.
29617 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29619 * math/bug-nextafter.c: Include <math-tests.h>.
29620 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29622 * math/bug-nexttoward.c: Include <math-tests.h>.
29623 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29625 * math/test-misc.c: Include <math-tests.h>.
29626 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29629 2013-06-12 Andreas Jaeger <aj@suse.de>
29631 * po/ia.po: Update Interlingua translation from translation
29634 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29636 * include/fenv.h: Include stdbool.h.
29637 (struct rm_ctx): New structure.
29638 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29640 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29641 (SET_RESTORE_ROUNDF): Likewise.
29642 (SET_RESTORE_ROUNDL): Likewise.
29643 (SET_RESTORE_ROUND_NOEX): Likewise.
29644 (SET_RESTORE_ROUND_NOEXF): Likewise.
29645 (SET_RESTORE_ROUND_NOEXL): Likewise.
29646 (SET_RESTORE_ROUND_53BIT): Likewise.
29647 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29648 (libc_feresetround_noexf_ctx): Likewise.
29649 (libc_feresetround_noexl_ctx): Likewise.
29650 (libc_feholdsetround_53bit_ctx): Likewise.
29651 (libc_feresetround_53bit_ctx): Likewise.
29652 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29653 (libc_feholdexcept_setround_sse_ctx): New function.
29654 (libc_fesetenv_sse_ctx): Likewise.
29655 (libc_feupdateenv_sse_ctx): Likewise.
29656 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29657 (libc_feholdexcept_setround_387_ctx): Likewise.
29658 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29659 (libc_feholdsetround_387_prec_ctx): Likewise.
29660 (libc_feholdsetround_387_ctx): Likewise.
29661 (libc_feholdsetround_387_53bit_ctx): Likewise.
29662 (libc_feholdsetround_sse_ctx): Likewise.
29663 (libc_feresetround_sse_ctx): Likewise.
29664 (libc_feresetround_387_ctx): Likewise.
29665 (libc_feupdateenv_387_ctx): Likewise.
29666 (libc_feholdexcept_setroundf_ctx): Define macro.
29667 (libc_fesetenvf_ctx): Likewise.
29668 (libc_feupdateenvf_ctx): Likewise.
29669 (libc_feholdsetroundf_ctx): Likewise.
29670 (libc_feresetroundf_ctx): Likewise.
29671 (libc_feholdexcept_setround_ctx): Likewise.
29672 (libc_fesetenv_ctx): Likewise.
29673 (libc_feupdateenv_ctx): Likewise.
29674 (libc_feholdsetround_ctx): Likewise.
29675 (libc_feresetround_ctx): Likewise.
29676 (libc_feholdexcept_setroundl_ctx): Likewise.
29677 (libc_feupdateenvl_ctx): Likewise.
29678 (libc_feholdsetroundl_ctx): Likewise.
29679 (libc_feresetroundl_ctx): Likewise.
29680 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29681 (libc_feresetround_53bit_ctx): Likewise.
29683 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29685 * locale/iso-639.def: Convert to UTF-8.
29687 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29689 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29690 (EXCEPTION_TESTS_double): Likewise.
29691 (EXCEPTION_TESTS_long_double): Likewise.
29692 (EXCEPTION_TESTS): Likewise.
29693 * math/libm-test.inc (test_exceptions): Only test exceptions if
29694 EXCEPTION_TESTS (FLOAT).
29696 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29698 * benchtests/Makefile (string-bench): Add strcpy_chk and
29700 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29701 * benchtests/bench-stpcpy_chk.c: New file.
29702 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29703 * benchtests/bench-strcpy_chk.c: New file.
29704 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29706 (do_test): Likewise.
29708 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29710 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29711 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29712 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29713 with tabs where appropriate.
29714 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29716 [PPC_PLATFORM_PPC440]: Likewise.
29717 [PPC_PLATFORM_PPC464]: Likewise.
29718 [PPC_PLATFORM_PPC476]: Likewise.
29719 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29720 ppc464, and ppc476 platform strings merging from ports/
29723 2013-06-11 Andreas Schwab <schwab@suse.de>
29726 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29727 (from_ucs4_idx): Regenerate.
29728 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29729 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29730 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29731 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29732 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29733 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29734 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29735 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29736 from FROM_LOOP and TO_LOOP specific macros.
29737 (BODY): Handle combining characters.
29738 * iconvdata/BIG5HKSCS.irreversible: Update.
29739 * iconvdata/BIG5HKSCS.precomposed: New file.
29740 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29742 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29744 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29746 * include/sys/time.h: Fix indentation and add copyright header.
29748 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29749 (do_test): Likewise.
29750 * string/test-memchr.c (do_one_test): Likewise.
29751 (do_test): Likewise.
29752 * string/test-memcmp.c (do_one_test): Likewise.
29753 (do_test): Likewise.
29754 * string/test-memcpy.c (do_one_test): Likewise.
29755 (do_test): Likewise.
29756 * string/test-memmem.c (do_one_test): Likewise.
29757 (do_test): Likewise.
29758 (do_random_tests): Likewise.
29759 * string/test-memmove.c (do_one_test): Likewise.
29760 (do_test): Likewise.
29761 * string/test-memset.c (do_one_test): Likewise.
29762 (do_test): Likewise.
29763 * string/test-rawmemchr.c (do_one_test): Likewise.
29764 (do_test): Likewise.
29765 * string/test-strcasecmp.c (do_one_test): Likewise.
29766 (do_test): Likewise.
29767 * string/test-strcasestr.c (do_one_test): Likewise.
29768 (do_test): Likewise.
29769 * string/test-strcat.c (do_one_test): Likewise.
29770 (do_test): Likewise.
29771 * string/test-strchr.c (do_one_test): Likewise.
29772 (do_test): Likewise.
29773 * string/test-strcmp.c (do_one_test): Likewise.
29774 (do_test): Likewise.
29775 * string/test-strcpy.c (do_one_test): Likewise.
29776 (do_test): Likewise.
29777 * string/test-string.h: Likewise.
29778 (test_init): Likewise.
29779 * string/test-strlen.c (do_one_test): Likewise.
29780 (do_test): Likewise.
29781 * string/test-strncasecmp.c (do_one_test): Likewise.
29782 (do_test): Likewise.
29783 * string/test-strncat.c (do_one_test): Likewise.
29784 (do_test): Likewise.
29785 * string/test-strncmp.c (do_one_test): Likewise.
29786 (do_test_limit): Likewise.
29787 (do_test): Likewise.
29788 * string/test-strncpy.c (do_one_test): Likewise.
29789 (do_test): Likewise.
29790 * string/test-strnlen.c (do_one_test): Likewise.
29791 (do_test): Likewise.
29792 * string/test-strpbrk.c (do_one_test): Likewise.
29793 (do_test): Likewise.
29794 * string/test-strrchr.c (do_one_test): Likewise.
29795 (do_test): Likewise.
29796 * string/test-strspn.c (do_one_test): Likewise.
29797 (do_test): Likewise.
29798 * string/test-strstr.c (do_one_test): Likewise.
29799 (do_test): Likewise.
29801 * benchtests/Makefile (string-bench): Add string benchmarks.
29802 * benchtests/bench-bcopy-ifunc.c: New file.
29803 * benchtests/bench-bcopy.c: New file.
29804 * benchtests/bench-bzero-ifunc.c: New file.
29805 * benchtests/bench-bzero.c: New file.
29806 * benchtests/bench-memccpy-ifunc.c: New file.
29807 * benchtests/bench-memccpy.c: New file.
29808 * benchtests/bench-memchr-ifunc.c: New file.
29809 * benchtests/bench-memchr.c: New file.
29810 * benchtests/bench-memcmp-ifunc.c: New file.
29811 * benchtests/bench-memcmp.c: New file.
29812 * benchtests/bench-memmem-ifunc.c: New file.
29813 * benchtests/bench-memmem.c: New file.
29814 * benchtests/bench-memmove-ifunc.c: New file.
29815 * benchtests/bench-memmove.c: New file.
29816 * benchtests/bench-mempcpy-ifunc.c: New file.
29817 * benchtests/bench-mempcpy.c: New file.
29818 * benchtests/bench-memset-ifunc.c: New file.
29819 * benchtests/bench-memset.c: New file.
29820 * benchtests/bench-rawmemchr-ifunc.c: New file.
29821 * benchtests/bench-rawmemchr.c: New file.
29822 * benchtests/bench-stpcpy-ifunc.c: New file.
29823 * benchtests/bench-stpcpy.c: New file.
29824 * benchtests/bench-stpncpy-ifunc.c: New file.
29825 * benchtests/bench-stpncpy.c: New file.
29826 * benchtests/bench-strcasecmp-ifunc.c: New file.
29827 * benchtests/bench-strcasecmp.c: New file.
29828 * benchtests/bench-strcasestr-ifunc.c: New file.
29829 * benchtests/bench-strcasestr.c: New file.
29830 * benchtests/bench-strcat-ifunc.c: New file.
29831 * benchtests/bench-strcat.c: New file.
29832 * benchtests/bench-strchr-ifunc.c: New file.
29833 * benchtests/bench-strchr.c: New file.
29834 * benchtests/bench-strchrnul-ifunc.c: New file.
29835 * benchtests/bench-strchrnul.c: New file.
29836 * benchtests/bench-strcmp-ifunc.c: New file.
29837 * benchtests/bench-strcmp.c: New file.
29838 * benchtests/bench-strcpy-ifunc.c: New file.
29839 * benchtests/bench-strcpy.c: New file.
29840 * benchtests/bench-strcspn-ifunc.c: New file.
29841 * benchtests/bench-strcspn.c: New file.
29842 * benchtests/bench-strlen-ifunc.c: New file.
29843 * benchtests/bench-strlen.c: New file.
29844 * benchtests/bench-strncasecmp-ifunc.c: New file.
29845 * benchtests/bench-strncasecmp.c: New file.
29846 * benchtests/bench-strncat-ifunc.c: New file.
29847 * benchtests/bench-strncat.c: New file.
29848 * benchtests/bench-strncmp-ifunc.c: New file.
29849 * benchtests/bench-strncmp.c: New file.
29850 * benchtests/bench-strncpy-ifunc.c: New file.
29851 * benchtests/bench-strncpy.c: New file.
29852 * benchtests/bench-strnlen-ifunc.c: New file.
29853 * benchtests/bench-strnlen.c: New file.
29854 * benchtests/bench-strpbrk-ifunc.c: New file.
29855 * benchtests/bench-strpbrk.c: New file.
29856 * benchtests/bench-strrchr-ifunc.c: New file.
29857 * benchtests/bench-strrchr.c: New file.
29858 * benchtests/bench-strspn-ifunc.c: New file.
29859 * benchtests/bench-strspn.c: New file.
29860 * benchtests/bench-strstr-ifunc.c: New file.
29861 * benchtests/bench-strstr.c: New file.
29863 * benchtests/Makefile: Disable parallel execution of targets.
29864 (string-bench): Add memcpy.
29865 (benchset): New variable to store a list of benchmark sets.
29866 (bench-func): Renamed from bench.
29867 (bench-set): New target.
29868 (bench): Depend on bench-func and bench-set.
29869 * benchtests/README: Add section on benchmark sets.
29870 * benchtests/bench-memcpy-ifunc.c: New file.
29871 * benchtests/bench-memcpy.c: New file.
29872 * benchtests/bench-string.h: New file.
29874 2013-06-11 Andreas Schwab <schwab@suse.de>
29877 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29878 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29879 values in the triple.
29880 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29881 terminator in the group key.
29883 2013-06-11 Andreas Jaeger <aj@suse.de>
29885 * po/zh_TW.po: Update Chinese (traditional) translation from
29886 translation project.
29888 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29890 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29891 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29892 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29894 (clock_getcpuclockid): Likewise.
29895 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29896 Add weak_alias and libc_hidden_def.
29897 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29898 * rt/clock_gettime.c (clock_gettime): Rename to
29899 __clock_gettime. Add weak_alias and libc_hidden_def.
29900 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29901 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29902 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29903 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29904 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29906 * rt/clock_settime.c (clock_settime): Rename to
29907 __clock_settime. Add weak_alias and libc_hidden_def.
29908 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29910 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29912 * mach/err_boot.sub: Remove trailing whitespace.
29913 * mach/err_ipc.sub: Likewise.
29914 * mach/err_mach.sub: Likewise.
29916 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29917 (ROUNDING_TESTS_double): Likewise.
29918 (ROUNDING_TESTS_long_double): Likewise.
29919 (ROUNDING_TESTS): Likewise.
29920 * math/libm-test.inc: Include <math-tests.h>.
29921 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29922 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29923 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29924 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29926 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29928 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29931 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29933 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29934 otherwise empty TRANS lines.
29935 * sysdeps/gnu/errlist.c: Regenerated.
29937 * catgets/gencat.c (error_print): Use (void) in function
29939 * crypt/crypt_util.c (__init_des): Likewise.
29940 * crypt/speeds.c (Stop): Likewise.
29942 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29943 * inet/ruserpass.c (token): Likewise.
29944 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29945 * intl/localealias.c (extend_alias_table): Likewise.
29946 * intl/plural-exp.c (init_germanic_plural): Likewise.
29947 * libio/fcloseall.c (__fcloseall): Likewise.
29948 * libio/genops.c (_IO_flush_all): Likewise.
29949 (_IO_flush_all_linebuffered): Likewise.
29950 (_IO_cleanup): Likewise.
29951 (_IO_iter_begin): Likewise.
29952 (_IO_iter_end): Likewise.
29953 (_IO_list_lock): Likewise.
29954 (_IO_list_unlock): Likewise.
29955 (_IO_list_resetlock): Likewise.
29956 * libio/getchar.c (getchar): Likewise.
29957 * libio/getchar_u.c (getchar_unlocked): Likewise.
29958 * libio/getwchar.c (getwchar): Likewise.
29959 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29960 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29961 * login/getpt.c (__getpt): Likewise.
29962 * login/tst-utmp.c (main): Likewise.
29963 * malloc/hooks.c (__malloc_check_init): Likewise.
29964 * malloc/malloc.c (__malloc_stats): Likewise.
29965 * malloc/mtrace.c (tr_break): Likewise.
29966 (mtrace): Likewise.
29967 (muntrace): Likewise.
29968 * misc/fstab.c (endfsent): Likewise.
29969 * misc/getclktck.c (__getclktck): Likewise.
29970 * misc/getdtsz.c (__getdtablesize): Likewise.
29971 * misc/gethostid.c (gethostid): Likewise.
29972 * misc/getpagesize.c (__getpagesize): Likewise.
29973 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29974 (__get_nprocs): Likewise.
29975 (__get_phys_pages): Likewise.
29976 (__get_avphys_pages): Likewise.
29977 * misc/getttyent.c (getttyent): Likewise.
29978 (setttyent): Likewise.
29979 (endttyent): Likewise.
29980 * misc/getusershell.c (getusershell): Likewise.
29981 (endusershell): Likewise.
29982 (setusershell): Likewise.
29983 (initshells): Likewise.
29984 * misc/hsearch.c (__hdestroy): Likewise.
29985 * misc/sync.c (sync): Likewise.
29986 * misc/syslog.c (closelog_internal): Likewise.
29987 (closelog): Likewise.
29988 * misc/ttyslot.c (ttyslot): Likewise.
29989 * misc/vhangup.c (vhangup): Likewise.
29990 * posix/fork.c (__fork): Likewise.
29991 * posix/getegid.c (__getegid): Likewise.
29992 * posix/geteuid.c (__geteuid): Likewise.
29993 * posix/getgid.c (__getgid): Likewise.
29994 * posix/getpid.c (__getpid): Likewise.
29995 * posix/getppid.c (__getppid): Likewise.
29996 * posix/getuid.c (__getuid): Likewise.
29997 * posix/pause.c (pause): Likewise.
29998 * posix/setpgrp.c (setpgrp): Likewise.
29999 * posix/setsid.c (__setsid): Likewise.
30000 * posix/test-vfork.c (noop): Likewise.
30001 * resolv/gethnamaddr.c (_endhtent): Likewise.
30002 (_gethtent): Likewise.
30003 (ht_endhostent): Likewise.
30004 (gethostent): Likewise.
30005 (dns_service): Likewise.
30006 * stdlib/drand48.c (drand48): Likewise.
30007 * stdlib/lrand48.c (lrand48): Likewise.
30008 * stdlib/mrand48.c (mrand48): Likewise.
30009 * stdlib/rand.c (rand): Likewise.
30010 * stdlib/random.c (__random): Likewise.
30011 * stdlib/setenv.c (clearenv): Likewise.
30012 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30013 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30014 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30015 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30016 (__get_nprocs): Likewise.
30017 (__get_phys_pages): Likewise.
30018 (__get_avphys_pages): Likewise.
30019 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30020 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30021 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30022 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30023 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30024 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30025 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30026 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30027 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30028 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30029 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30030 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30031 * sysdeps/posix/clock.c (clock): Likewise.
30032 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30033 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30034 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30035 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30036 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30038 (__get_nprocs_conf): Likewise.
30039 (__get_phys_pages): Likewise.
30040 (__get_avphys_pages): Likewise.
30041 * time/clock.c (clock): Likewise.
30042 * time/tzset.c (__tzname_max): Likewise.
30044 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30046 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30047 (__bswap_32): Do not use "register".
30048 * crypt/crypt.c (_ufc_doit_r): Likewise.
30049 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30050 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30051 * gmon/gmon.c (__monstartup): Likewise.
30052 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30053 * hurd/hurdmalloc.c (more_memory): Likewise.
30054 (malloc): Likewise.
30056 (realloc): Likewise.
30057 (malloc_fork_prepare): Likewise.
30058 (malloc_fork_parent): Likewise.
30059 (malloc_fork_child): Likewise.
30060 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30061 (_svcauth_des): Likewise.
30062 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30063 * inet/inet_net.c (inet_network): Likewise.
30064 * inet/inet_netof.c (inet_netof): Likewise.
30065 * inet/rcmd.c (__validuser2_sa): Likewise.
30066 * io/fts.c (fts_open): Likewise.
30067 (fts_load): Likewise.
30068 (fts_close): Likewise.
30069 (fts_read): Likewise.
30070 (fts_children): Likewise.
30071 (fts_build): Likewise.
30072 (fts_stat): Likewise.
30073 (fts_sort): Likewise.
30074 (fts_alloc): Likewise.
30075 (fts_lfree): Likewise.
30076 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30077 (_IO_file_xsgetn): Likewise.
30078 (_IO_file_xsgetn_mmap): Likewise.
30079 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30080 (_IO_cookie_write): Likewise.
30081 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30082 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30083 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30084 * malloc/obstack.c (_obstack_begin): Likewise.
30085 (_obstack_begin_1): Likewise.
30086 (_obstack_newchunk): Likewise.
30087 (_obstack_allocated_p): Likewise.
30088 (obstack_free): Likewise.
30089 (_obstack_memory_used): Likewise.
30090 * misc/getttyent.c (getttynam): Likewise.
30091 (getttyent): Likewise.
30094 * misc/getusershell.c (initshells): Likewise.
30095 * misc/syslog.c (__vsyslog_chk): Likewise.
30096 * misc/ttyslot.c (ttyslot): Likewise.
30097 * nis/nis_hash.c (__nis_hash): Likewise.
30098 * posix/fnmatch_loop.c (FCT): Likewise.
30099 * posix/getconf.c (print_all): Likewise.
30101 * posix/getopt.c (exchange): Likewise.
30102 * posix/glob.c (globfree): Likewise.
30103 (prefix_array): Likewise.
30104 (__glob_pattern_type): Likewise.
30105 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30106 (NS_GET32): Likewise.
30107 (NS_PUT16): Likewise.
30108 (NS_PUT32): Likewise.
30109 * resolv/gethnamaddr.c (getanswer): Likewise.
30110 (gethostbyname2): Likewise.
30111 (gethostbyaddr): Likewise.
30112 (_gethtent): Likewise.
30113 (_gethtbyname2): Likewise.
30114 (_gethtbyaddr): Likewise.
30115 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30116 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30117 * resolv/res_init.c (__res_vinit): Likewise.
30118 (net_mask): Likewise.
30119 * resolv/res_mkquery.c (outchar): Likewise.
30121 * stdio-common/printf_fp.c (outchar): Likewise.
30123 * stdio-common/printf_fphex.c (outchar): Likewise.
30125 * stdio-common/printf_size.c (outchar): Likewise.
30127 * stdio-common/test_rdwr.c (main): Likewise.
30128 * stdio-common/tfformat.c (matches): Likewise.
30129 * stdio-common/vfprintf.c (outchar): Likewise.
30130 (printf_unknown): Likewise.
30131 (buffered_vfprintf): Likewise.
30132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30133 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30134 (ReadFile): Likewise.
30135 * stdlib/qsort.c (SWAP): Likewise.
30136 (_quicksort): Likewise.
30137 * stdlib/setenv.c (__add_to_environ): Likewise.
30138 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30139 * stdlib/strtol_l.c (__strtol_l): Likewise.
30140 * stdlib/tst-strtod.c (main): Likewise.
30141 * stdlib/tst-strtol.c (main): Likewise.
30142 * stdlib/tst-strtoll.c (main): Likewise.
30143 * string/bits/string2.h (__strcmp_cc): Likewise.
30144 (__strcmp_cg): Likewise.
30145 (__strcspn_c1): Likewise.
30146 (__strcspn_c2): Likewise.
30147 (__strcspn_c3): Likewise.
30148 (__strspn_c1): Likewise.
30149 (__strspn_c2): Likewise.
30150 (__strspn_c3): Likewise.
30151 (__strsep_1c): Likewise.
30152 (__strsep_2c): Likewise.
30153 (__strsep_3c): Likewise.
30154 * string/memccpy.c (__memccpy): Likewise.
30155 * string/stpcpy.c (__stpcpy): Likewise.
30156 * string/strcmp.c (strcmp): Likewise.
30157 * string/strrchr.c (strrchr): Likewise.
30158 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30160 * sysdeps/mach/hurd/getcwd.c
30161 (_hurd_canonicalize_directory_name_internal): Likewise.
30162 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30163 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30164 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30165 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30166 Likewise, in both definitions.
30167 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30169 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30170 64] (__bswap_64): Likewise.
30171 * time/test_time.c (main): Likewise.
30172 * time/tzfile.c (__tzfile_read): Likewise.
30173 (__tzfile_compute): Likewise.
30174 * time/tzset.c (__tzset_parse_tz): Likewise.
30175 (tzset_internal): Likewise.
30176 (compute_change): Likewise.
30177 * wcsmbs/wcscat.c (__wcscat): Likewise.
30178 * wcsmbs/wcschr.c (wcschr): Likewise.
30179 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30180 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30181 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30182 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30183 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30184 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30185 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30186 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30187 * wcsmbs/wmemset.c (wmemset): Likewise.
30189 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30191 * scripts/config.guess: Update to version 2013-05-16.
30192 * scripts/config.sub: Update to version 2013-04-24.
30193 * scripts/install-sh: Update to version 2011-11-20.07.
30194 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30195 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30197 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30199 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30200 * elf/sln.c: Likewise.
30201 * hurd/hurd/ioctl.h: Likewise.
30202 * hurd/hurdmalloc.c: Likewise.
30203 * hurd/xattr.c: Likewise.
30204 * include/shlib-compat.h: Likewise.
30205 * inet/ruserpass.c: Likewise.
30206 * libio/iofgets_u.c: Likewise.
30207 * libio/iofgetws_u.c: Likewise.
30208 * locale/programs/ld-identification.c: Likewise.
30209 * locale/programs/ld-time.c: Likewise.
30210 * mach/msg-destroy.c: Likewise.
30211 * nss/nss_files/files-netgrp.c: Likewise.
30212 * resolv/res_data.c: Likewise.
30213 * soft-fp/op-1.h: Likewise.
30214 * soft-fp/op-2.h: Likewise.
30215 * soft-fp/op-4.h: Likewise.
30216 * soft-fp/op-common.h: Likewise.
30217 * stdio-common/printf_fphex.c: Likewise.
30218 * stdlib/strtod_l.c: Likewise.
30219 * sunrpc/rpc/clnt.h: Likewise.
30220 * sysdeps/generic/framestate.c: Likewise.
30221 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30222 * sysdeps/i386/bsd-setjmp.S: Likewise.
30223 * sysdeps/i386/__longjmp.S: Likewise.
30224 * sysdeps/i386/setjmp.S: Likewise.
30225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30226 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30228 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30230 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30231 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30234 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30235 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30236 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30238 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30239 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30240 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30241 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30242 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30243 * sysdeps/ieee754/support.c: Likewise.
30244 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30245 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30246 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30247 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30248 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30249 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30250 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30251 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30252 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30253 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30254 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30255 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30256 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30258 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30259 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30260 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30263 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30265 * posix/transbug.c: Remove executable mode.
30267 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30269 * crypt/speeds.c: Remove trailing whitespace.
30270 * dlfcn/default.c: Likewise.
30271 * elf/ifuncdep2.c: Likewise.
30272 * elf/ifuncmain1.c: Likewise.
30273 * elf/ifuncmain1vis.c: Likewise.
30274 * elf/testobj.h: Likewise.
30275 * elf/tst-stackguard1.c: Likewise.
30276 * gmon/sys/gmon.h: Likewise.
30277 * hurd/hurdmsg.c: Likewise.
30278 * hurd/new-fd.c: Likewise.
30279 * hurd/ports-get.c: Likewise.
30280 * iconvdata/ibm1008_420.c: Likewise.
30281 * inet/tst-getni1.c: Likewise.
30282 * inet/tst-getni2.c: Likewise.
30283 * libio/ioungetc.c: Likewise.
30284 * libio/wfiledoalloc.c: Likewise.
30285 * manual/libm-err-tab.pl: Likewise.
30286 * math/w_dremf.c: Likewise.
30287 * misc/ftruncate.c: Likewise.
30288 * posix/bug-glob2.c: Likewise.
30289 * posix/tst-pcre.c: Likewise.
30290 * posix/wait4.c: Likewise.
30291 * resolv/README: Likewise.
30292 * resolv/res_debug.h: Likewise.
30293 * resolv/tst-inet_ntop.c: Likewise.
30294 * setjmp/bug269-setjmp.c: Likewise.
30295 * soft-fp/extended.h: Likewise.
30296 * soft-fp/op-1.h: Likewise.
30297 * soft-fp/op-2.h: Likewise.
30298 * soft-fp/op-4.h: Likewise.
30299 * soft-fp/op-8.h: Likewise.
30300 * soft-fp/testit.c: Likewise.
30301 * stdio-common/bug16.c: Likewise.
30302 * stdlib/random.c: Likewise.
30303 * sunrpc/rpcsvc/rquota.x: Likewise.
30304 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30305 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30307 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30308 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30309 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30310 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30312 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30314 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30315 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30316 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30317 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30319 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30320 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30322 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30333 * sysdeps/ieee754/s_lib_version.c: Likewise.
30334 * sysdeps/mach/hurd/check_fds.c: Likewise.
30335 * sysdeps/mach/hurd/getsockname.c: Likewise.
30336 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30337 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30338 * sysdeps/powerpc/bits/link.h: Likewise.
30339 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30340 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30341 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30342 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30343 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30344 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30345 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30346 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30347 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30348 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30349 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30350 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30351 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30352 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30353 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30354 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30357 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30359 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30360 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30362 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30363 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30365 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30367 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30370 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30371 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30373 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30374 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30375 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30376 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30377 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30378 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30379 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30380 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30381 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30382 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30383 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30384 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30385 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30386 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30387 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30388 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30392 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30393 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30394 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30395 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30396 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30397 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30400 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30401 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30402 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30403 * sysdeps/powerpc/sysdep.h: Likewise.
30404 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30405 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30406 * sysdeps/sh/dl-trampoline.S: Likewise.
30407 * sysdeps/sh/memset.S: Likewise.
30408 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30409 * sysdeps/sh/strlen.S: Likewise.
30410 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30411 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30412 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30413 * sysdeps/sparc/sparc32/rem.S: Likewise.
30414 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30415 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30416 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30417 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30418 * sysdeps/sparc/sparc32/urem.S: Likewise.
30419 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30420 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30421 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30422 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30424 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30425 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30426 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30427 * sysdeps/unix/bsd/times.c: Likewise.
30428 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30429 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30433 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30434 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30435 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30436 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30437 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30438 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30439 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30440 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30441 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30442 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30443 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30444 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30445 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30446 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30447 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30448 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30449 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30450 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30451 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30452 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30453 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30454 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30455 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30456 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30457 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30458 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30459 * sysdeps/x86_64/strcspn.S: Likewise.
30461 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30463 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30464 generated file. Regenerate properly from gen-translit.pl.
30465 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30466 locale/C-translit.h.
30468 2013-06-05 Andreas Schwab <schwab@suse.de>
30471 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30472 week as 6 instead of -1.
30473 * time/tst-strptime.c (day_tests): Add test case.
30475 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30477 * sysdeps/generic/math_private.h
30478 (libc_feholdexcept_setround_53bit): Replace with
30479 libc_feholdsetround_53bit.
30480 (libc_feupdateenv_53bit): Replace with
30481 libc_feresetround_53bit.
30482 (SET_RESTORE_ROUND_53BIT): Adjust.
30484 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30486 * string/test-strchrnul.c: Add copyright header.
30488 * posix/tst-getaddrinfo4.c: Increase test timeout.
30490 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30493 * math/libm-test.inc (MAX_EXP): Remove
30495 (ulp): Use MIN_EXP - MANT_DIG.
30496 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30498 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30500 * po/be.po: Revert last change.
30501 * po/zh_CN.po: Likewise.
30502 * po/header.pot: Likewise.
30504 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30506 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30507 link-libc-deps to empty as target-specific variable.
30508 * Makerules (link-libc-args): New variable.
30509 (libc-for-link): Likewise.
30510 (link-libc-deps): Likewise.
30511 (lib%.so): Depend on $(link-libc-deps). Link with
30513 (build-module): Link with $(link-libc-args).
30514 (build-module-asneeded): Likewise.
30515 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30517 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30518 target-specific variable.
30519 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30520 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30521 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30523 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30525 ($(objpfx)libpcprofile.so): Likewise.
30526 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30528 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30529 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30530 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30532 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30533 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30534 * login/Makefile ($(objpfx)libutil.so): Likewise.
30535 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30536 * math/Makefile ($(objpfx)libm.so): Likewise.
30537 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30538 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30539 variable instead of depending directly on libc.
30540 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30541 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30543 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30545 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30546 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30547 ($(objpfx)libanl.so): Likewise.
30548 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30550 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30552 * sysdeps/i386/fpu/Makefile: Remove file.
30553 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30554 ($(objpfx)libm.so): Remove dependency on ld.so.
30556 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30559 * nis/yp_xdr.c (XDRMAXNAME): Define.
30560 (XDRMAXRECORD): Define.
30561 (xdr_domainname): Use XDRMAXNAME.
30562 (xdr_mapname): Likewise.
30563 (xdr_peername): Likewise.
30564 (xdr_keydat): Use XDRMAXRECORD.
30565 (xdr_valdat): Likewise.
30567 2013-05-30 Jeff Law <law@redhat.com>
30570 * manual/errno.texi (ESTALE): Update to account for more than
30571 just NFS file systems.
30572 * sysdeps/gnu/errlist.c: Regenerated.
30574 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30577 * elf/Makefile (tests): Add tst-null-argv.
30578 (modules-names): Add tst-null-argv-lib.
30579 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30580 (tst-null-argv-ENV): Set environment for tst-null-argv.
30581 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30582 (RTLD_PROGNAME): New macro.
30583 * elf/tst-null-argv.c: New test case.
30584 * elf/tst-null-argv-lib.c: Library for test case.
30585 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30586 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30587 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30588 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30589 * elf/dl-init.c (call_init): Likewise.
30590 (_dl_init): Likewise.
30591 * elf/dl-load.c (print_search_path): Likewise.
30592 (_dl_map_object): Likewise.
30593 * elf/dl-lookup.c (do_lookup_x): Likewise.
30594 (add_dependency): Likewise.
30595 (_dl_lookup_symbol_x): Likewise.
30596 (_dl_debug_bindings): Likewise.
30597 * elf/dl-open.c (_dl_show_scope): Likewise.
30598 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30599 * elf/dl-version.c (match_symbol): Likewise.
30600 (_dl_check_map_versions): Likewise.
30601 * elf/rtld.c (dl_main): Likewise.
30602 (print_unresolved): Use RTLD_PROGNAME.
30603 (print_missing_version): Likewise.
30604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30605 (elf_machine_rela): Likewise.
30606 * sysdeps/powerpc/powerpc32/dl-machine.c
30607 (__process_machine_rela): Likewise.
30608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30610 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30612 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30614 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30615 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30621 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30623 * po/be.po: Add descriptive title.
30624 * po/zh_CN.po: Likewise.
30625 * po/header.pot: Likewise.
30627 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30629 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30631 (enlarge_archive): Likewise.
30633 2013-05-28 Ben North <ben@redfrontdoor.org>
30635 * manual/arith.texi (frexp): It is the magnitude of the return
30636 value which lies in [0.5, 1), not the return value itself.
30638 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30642 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30644 * stdio-common/bug26.c (main): Correct fscanf template.
30646 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30647 declare _dl_skip_args.
30649 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30652 * manual/platform.texi: Add missing @end deftypefun.
30654 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30657 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30658 bit of mantissa of 2^16382.
30659 * math/libm-test.inc (hypot_test_data): Add more tests.
30661 * math/libm-test.inc: Add drem and pow10 to list of tested
30663 (pow10_test): New function.
30664 (drem_test): Likewise.
30665 (drem_test_tonearest): Likewise.
30666 (drem_test_towardzero): Likewise.
30667 (drem_test_downward): Likewise.
30668 (drem_test_upward): Likewise.
30669 (main): Call the new functions.
30671 * math/libm-test.inc (finite_test_data): Remove.
30672 (finite_test): Run tests from isfinite_test_data.
30673 (gamma_test_data): Remove.
30674 (gamma_test): Run tests from lgamma_test_data.
30675 * sysdeps/i386/fpu/libm-test-ulps: Update.
30676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30678 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30680 * manual/platform.texi: Add PowerPC PPR function set documentation.
30681 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30684 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30686 * math/libm-test.inc (MAX_EXP): Define.
30688 (ulp): New function.
30689 (check_float_internal): Use ULPDIFF.
30690 (cpow_test): Disable failing test.
30691 (check_ulp): Test ulp() implemetnation.
30692 (main): Call check_ulp before starting tests.
30694 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30696 * math/gen-libm-test.pl (generate_testfile): Do not handle
30697 START_DATA and END_DATA.
30698 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30700 (acos_tonearest_test_data): Likewise.
30701 (acos_towardzero_test_data): Likewise.
30702 (acos_downward_test_data): Likewise.
30703 (acos_upward_test_data): Likewise.
30704 (acosh_test_data): Likewise.
30705 (asin_test_data): Likewise.
30706 (asin_tonearest_test_data): Likewise.
30707 (asin_towardzero_test_data): Likewise.
30708 (asin_downward_test_data): Likewise.
30709 (asin_upward_test_data): Likewise.
30710 (asinh_test_data): Likewise.
30711 (atan_test_data): Likewise.
30712 (atanh_test_data): Likewise.
30713 (atan2_test_data): Likewise.
30714 (cabs_test_data): Likewise.
30715 (cacos_test_data): Likewise.
30716 (cacosh_test_data): Likewise.
30717 (carg_test_data): Likewise.
30718 (casin_test_data): Likewise.
30719 (casinh_test_data): Likewise.
30720 (catan_test_data): Likewise.
30721 (catanh_test_data): Likewise.
30722 (cbrt_test_data): Likewise.
30723 (ccos_test_data): Likewise.
30724 (ccosh_test_data): Likewise.
30725 (ceil_test_data): Likewise.
30726 (cexp_test_data): Likewise.
30727 (cimag_test_data): Likewise.
30728 (clog_test_data): Likewise.
30729 (clog10_test_data): Likewise.
30730 (conj_test_data): Likewise.
30731 (copysign_test_data): Likewise.
30732 (cos_test_data): Likewise.
30733 (cos_tonearest_test_data): Likewise.
30734 (cos_towardzero_test_data): Likewise.
30735 (cos_downward_test_data): Likewise.
30736 (cos_upward_test_data): Likewise.
30737 (cosh_test_data): Likewise.
30738 (cosh_tonearest_test_data): Likewise.
30739 (cosh_towardzero_test_data): Likewise.
30740 (cosh_downward_test_data): Likewise.
30741 (cosh_upward_test_data): Likewise.
30742 (cpow_test_data): Likewise.
30743 (cproj_test_data): Likewise.
30744 (creal_test_data): Likewise.
30745 (csin_test_data): Likewise.
30746 (csinh_test_data): Likewise.
30747 (csqrt_test_data): Likewise.
30748 (ctan_test_data): Likewise.
30749 (ctan_tonearest_test_data): Likewise.
30750 (ctan_towardzero_test_data): Likewise.
30751 (ctan_downward_test_data): Likewise.
30752 (ctan_upward_test_data): Likewise.
30753 (ctanh_test_data): Likewise.
30754 (ctanh_tonearest_test_data): Likewise.
30755 (ctanh_towardzero_test_data): Likewise.
30756 (ctanh_downward_test_data): Likewise.
30757 (ctanh_upward_test_data): Likewise.
30758 (erf_test_data): Likewise.
30759 (erfc_test_data): Likewise.
30760 (exp_test_data): Likewise.
30761 (exp_tonearest_test_data): Likewise.
30762 (exp_towardzero_test_data): Likewise.
30763 (exp_downward_test_data): Likewise.
30764 (exp_upward_test_data): Likewise.
30765 (exp10_test_data): Likewise.
30766 (exp2_test_data): Likewise.
30767 (expm1_test_data): Likewise.
30768 (fabs_test_data): Likewise.
30769 (fdim_test_data): Likewise.
30770 (finite_test_data): Likewise.
30771 (floor_test_data): Likewise.
30772 (fma_test_data): Likewise.
30773 (fma_towardzero_test_data): Likewise.
30774 (fma_downward_test_data): Likewise.
30775 (fma_upward_test_data): Likewise.
30776 (fmax_test_data): Likewise.
30777 (fmin_test_data): Likewise.
30778 (fmod_test_data): Likewise.
30779 (fpclassify_test_data): Likewise.
30780 (frexp_test_data): Likewise.
30781 (gamma_test_data): Likewise.
30782 (hypot_test_data): Likewise.
30783 (ilogb_test_data): Likewise.
30784 (isfinite_test_data): Likewise.
30785 (isgreater_test_data): Likewise.
30786 (isgreaterequal_test_data): Likewise.
30787 (isinf_test_data): Likewise.
30788 (isless_test_data): Likewise.
30789 (islessequal_test_data): Likewise.
30790 (islessgreater_test_data): Likewise.
30791 (isnan_test_data): Likewise.
30792 (isnormal_test_data): Likewise.
30793 (issignaling_test_data): Likewise.
30794 (isunordered_test_data): Likewise.
30795 (j0_test_data): Likewise.
30796 (j1_test_data): Likewise.
30797 (jn_test_data): Likewise.
30798 (ldexp_test_data): Likewise.
30799 (lgamma_test_data): Likewise.
30800 (lrint_test_data): Likewise.
30801 (lrint_tonearest_test_data): Likewise.
30802 (lrint_towardzero_test_data): Likewise.
30803 (lrint_downward_test_data): Likewise.
30804 (lrint_upward_test_data): Likewise.
30805 (llrint_test_data): Likewise.
30806 (llrint_tonearest_test_data): Likewise.
30807 (llrint_towardzero_test_data): Likewise.
30808 (llrint_downward_test_data): Likewise.
30809 (llrint_upward_test_data): Likewise.
30810 (log_test_data): Likewise.
30811 (log10_test_data): Likewise.
30812 (log1p_test_data): Likewise.
30813 (log2_test_data): Likewise.
30814 (logb_test_data): Likewise.
30815 (logb_downward_test_data): Likewise.
30816 (lround_test_data): Likewise.
30817 (llround_test_data): Likewise.
30818 (modf_test_data): Likewise.
30819 (nearbyint_test_data): Likewise.
30820 (nextafter_test_data): Likewise.
30821 (nexttoward_test_data): Likewise.
30822 (pow_test_data): Likewise.
30823 (pow_tonearest_test_data): Likewise.
30824 (pow_towardzero_test_data): Likewise.
30825 (pow_downward_test_data): Likewise.
30826 (pow_upward_test_data): Likewise.
30827 (remainder_test_data): Likewise.
30828 (remainder_tonearest_test_data): Likewise.
30829 (remainder_towardzero_test_data): Likewise.
30830 (remainder_downward_test_data): Likewise.
30831 (remainder_upward_test_data): Likewise.
30832 (remquo_test_data): Likewise.
30833 (rint_test_data): Likewise.
30834 (rint_tonearest_test_data): Likewise.
30835 (rint_towardzero_test_data): Likewise.
30836 (rint_downward_test_data): Likewise.
30837 (rint_upward_test_data): Likewise.
30838 (round_test_data): Likewise.
30839 (scalb_test_data): Likewise.
30840 (scalbn_test_data): Likewise.
30841 (scalbln_test_data): Likewise.
30842 (signbit_test_data): Likewise.
30843 (sin_test_data): Likewise.
30844 (sin_tonearest_test_data): Likewise.
30845 (sin_towardzero_test_data): Likewise.
30846 (sin_downward_test_data): Likewise.
30847 (sin_upward_test_data): Likewise.
30848 (sincos_test_data): Likewise.
30849 (sinh_test_data): Likewise.
30850 (sinh_tonearest_test_data): Likewise.
30851 (sinh_towardzero_test_data): Likewise.
30852 (sinh_downward_test_data): Likewise.
30853 (sinh_upward_test_data): Likewise.
30854 (sqrt_test_data): Likewise.
30855 (tan_test_data): Likewise.
30856 (tan_tonearest_test_data): Likewise.
30857 (tan_towardzero_test_data): Likewise.
30858 (tan_downward_test_data): Likewise.
30859 (tan_upward_test_data): Likewise.
30860 (tanh_test_data): Likewise.
30861 (tgamma_test_data): Likewise.
30862 (trunc_test_data): Likewise.
30863 (y0_test_data): Likewise.
30864 (y1_test_data): Likewise.
30865 (yn_test_data): Likewise.
30866 (significand_test_data): Likewise.
30868 * math/gen-libm-test.pl (@functions): Remove variable.
30869 (generate_testfile): Don't handle START and END lines.
30870 * math/libm-test.inc (START): New macro.
30872 (END_COMPLEX): Likewise.
30873 (acos_test): Use END macro without arguments.
30874 (acos_test_tonearest): Likewise.
30875 (acos_test_towardzero): Likewise.
30876 (acos_test_downward): Likewise.
30877 (acos_test_upward): Likewise.
30878 (acosh_test): Likewise.
30879 (asin_test): Likewise.
30880 (asin_test_tonearest): Likewise.
30881 (asin_test_towardzero): Likewise.
30882 (asin_test_downward): Likewise.
30883 (asin_test_upward): Likewise.
30884 (asinh_test): Likewise.
30885 (atan_test): Likewise.
30886 (atanh_test): Likewise.
30887 (atan2_test): Likewise.
30888 (cabs_test): Likewise.
30889 (cacos_test): Use END_COMPLEX macro without arguments.
30890 (cacosh_test): Likewise.
30891 (carg_test): Use END macro without arguments.
30892 (casin_test): Use END_COMPLEX macro without arguments.
30893 (casinh_test): Likewise.
30894 (catan_test): Likewise.
30895 (catanh_test): Likewise.
30896 (cbrt_test): Use END macro without arguments.
30897 (ccos_test): Use END_COMPLEX macro without arguments.
30898 (ccosh_test): Likewise.
30899 (ceil_test): Use END macro without arguments.
30900 (cexp_test): Use END_COMPLEX macro without arguments.
30901 (cimag_test): Use END macro without arguments.
30902 (clog_test): Use END_COMPLEX macro without arguments.
30903 (clog10_test): Likewise.
30904 (conj_test): Likewise.
30905 (copysign_test): Use END macro without arguments.
30906 (cos_test): Likewise.
30907 (cos_test_tonearest): Likewise.
30908 (cos_test_towardzero): Likewise.
30909 (cos_test_downward): Likewise.
30910 (cos_test_upward): Likewise.
30911 (cosh_test): Likewise.
30912 (cosh_test_tonearest): Likewise.
30913 (cosh_test_towardzero): Likewise.
30914 (cosh_test_downward): Likewise.
30915 (cosh_test_upward): Likewise.
30916 (cpow_test): Use END_COMPLEX macro without arguments.
30917 (cproj_test): Likewise.
30918 (creal_test): Use END macro without arguments.
30919 (csin_test): Use END_COMPLEX macro without arguments.
30920 (csinh_test): Likewise.
30921 (csqrt_test): Likewise.
30922 (ctan_test): Likewise.
30923 (ctan_test_tonearest): Likewise.
30924 (ctan_test_towardzero): Likewise.
30925 (ctan_test_downward): Likewise.
30926 (ctan_test_upward): Likewise.
30927 (ctanh_test): Likewise.
30928 (ctanh_test_tonearest): Likewise.
30929 (ctanh_test_towardzero): Likewise.
30930 (ctanh_test_downward): Likewise.
30931 (ctanh_test_upward): Likewise.
30932 (erf_test): Use END macro without arguments.
30933 (erfc_test): Likewise.
30934 (exp_test): Likewise.
30935 (exp_test_tonearest): Likewise.
30936 (exp_test_towardzero): Likewise.
30937 (exp_test_downward): Likewise.
30938 (exp_test_upward): Likewise.
30939 (exp10_test): Likewise.
30940 (exp2_test): Likewise.
30941 (expm1_test): Likewise.
30942 (fabs_test): Likewise.
30943 (fdim_test): Likewise.
30944 (finite_test): Likewise.
30945 (floor_test): Likewise.
30946 (fma_test): Likewise.
30947 (fma_test_towardzero): Likewise.
30948 (fma_test_downward): Likewise.
30949 (fma_test_upward): Likewise.
30950 (fmax_test): Likewise.
30951 (fmin_test): Likewise.
30952 (fmod_test): Likewise.
30953 (fpclassify_test): Likewise.
30954 (frexp_test): Likewise.
30955 (gamma_test): Likewise.
30956 (hypot_test): Likewise.
30957 (ilogb_test): Likewise.
30958 (isfinite_test): Likewise.
30959 (isgreater_test): Likewise.
30960 (isgreaterequal_test): Likewise.
30961 (isinf_test): Likewise.
30962 (isless_test): Likewise.
30963 (islessequal_test): Likewise.
30964 (islessgreater_test): Likewise.
30965 (isnan_test): Likewise.
30966 (isnormal_test): Likewise.
30967 (issignaling_test): Likewise.
30968 (isunordered_test): Likewise.
30969 (j0_test): Likewise.
30970 (j1_test): Likewise.
30971 (jn_test): Likewise.
30972 (ldexp_test): Likewise.
30973 (lgamma_test): Likewise.
30974 (lrint_test): Likewise.
30975 (lrint_test_tonearest): Likewise.
30976 (lrint_test_towardzero): Likewise.
30977 (lrint_test_downward): Likewise.
30978 (lrint_test_upward): Likewise.
30979 (llrint_test): Likewise.
30980 (llrint_test_tonearest): Likewise.
30981 (llrint_test_towardzero): Likewise.
30982 (llrint_test_downward): Likewise.
30983 (llrint_test_upward): Likewise.
30984 (log_test): Likewise.
30985 (log10_test): Likewise.
30986 (log1p_test): Likewise.
30987 (log2_test): Likewise.
30988 (logb_test): Likewise.
30989 (logb_test_downward): Likewise.
30990 (lround_test): Likewise.
30991 (llround_test): Likewise.
30992 (modf_test): Likewise.
30993 (nearbyint_test): Likewise.
30994 (nextafter_test): Likewise.
30995 (nexttoward_test): Likewise.
30996 (pow_test): Likewise.
30997 (pow_test_tonearest): Likewise.
30998 (pow_test_towardzero): Likewise.
30999 (pow_test_downward): Likewise.
31000 (pow_test_upward): Likewise.
31001 (remainder_test): Likewise.
31002 (remainder_test_tonearest): Likewise.
31003 (remainder_test_towardzero): Likewise.
31004 (remainder_test_downward): Likewise.
31005 (remainder_test_upward): Likewise.
31006 (remquo_test): Likewise.
31007 (rint_test): Likewise.
31008 (rint_test_tonearest): Likewise.
31009 (rint_test_towardzero): Likewise.
31010 (rint_test_downward): Likewise.
31011 (rint_test_upward): Likewise.
31012 (round_test): Likewise.
31013 (scalb_test): Likewise.
31014 (scalbn_test): Likewise.
31015 (scalbln_test): Likewise.
31016 (signbit_test): Likewise.
31017 (sin_test): Likewise.
31018 (sin_test_tonearest): Likewise.
31019 (sin_test_towardzero): Likewise.
31020 (sin_test_downward): Likewise.
31021 (sin_test_upward): Likewise.
31022 (sincos_test): Likewise.
31023 (sinh_test): Likewise.
31024 (sinh_test_tonearest): Likewise.
31025 (sinh_test_towardzero): Likewise.
31026 (sinh_test_downward): Likewise.
31027 (sinh_test_upward): Likewise.
31028 (sqrt_test): Likewise.
31029 (tan_test): Likewise.
31030 (tan_test_tonearest): Likewise.
31031 (tan_test_towardzero): Likewise.
31032 (tan_test_downward): Likewise.
31033 (tan_test_upward): Likewise.
31034 (tanh_test): Likewise.
31035 (tgamma_test): Likewise.
31036 (trunc_test): Likewise.
31037 (y0_test): Likewise.
31038 (y1_test): Likewise.
31039 (yn_test): Likewise.
31040 (significand_test): Likewise.
31042 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31045 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31047 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31050 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31051 __ppc_mdoio and __ppc_mdoom.
31052 * manual/platform.texi: Document new functions __ppc_yield,
31053 __ppc_mdoio and __ppc_mdoom.
31055 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31057 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31058 (main): Mention "tls" pseudo-hwcap is legacy.
31059 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31061 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31063 * math/gen-libm-test.pl (parse_args): Output only string of
31064 arguments as text for test name, not full call or descriptions of
31065 tests for extra outputs.
31066 (generate_testfile): Do not pass function name to parse_args.
31067 Generate this_func variable from START.
31068 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31070 (struct test_ff_f_data): Likewise.
31071 (test_ff_f_data_nexttoward): Likewise.
31072 (struct test_fi_f_data): Likewise.
31073 (struct test_fl_f_data): Likewise.
31074 (struct test_if_f_data): Likewise.
31075 (struct test_fff_f_data): Likewise.
31076 (struct test_c_f_data): Likewise.
31077 (struct test_f_f1_data): Likewise. Remove field extra_name.
31078 (struct test_fF_f1_data): Likewise.
31079 (struct test_ffI_f1_data): Likewise.
31080 (struct test_c_c_data): Rename test_name field to arg_str.
31081 (struct test_cc_c_data): Likewise.
31082 (struct test_f_i_data): Likewise.
31083 (struct test_ff_i_data): Likewise.
31084 (struct test_f_l_data): Likewise.
31085 (struct test_f_L_data): Likewise.
31086 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31088 (COMMON_TEST_SETUP): New macro.
31089 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31090 (COMMON_TEST_CLEANUP): Likewise.
31091 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31092 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31094 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31095 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31097 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31098 (RUN_TEST_fff_f): Take argument string. Call new setup and
31100 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31101 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31103 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31104 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31106 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31107 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31109 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31110 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31112 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31113 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31115 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31116 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31118 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31119 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31121 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31122 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31124 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31125 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31127 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31128 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31130 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31131 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31133 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31134 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31136 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31137 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31139 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31140 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31142 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31143 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31145 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31147 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31149 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31150 to _sifields.sigfault.
31151 (si_addr_lsb): Define new macro.
31152 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31153 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31154 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31156 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31159 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31161 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31163 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31164 loading the domain.
31166 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31168 * math/gen-libm-test.pl (parse_args): Do not include expected
31169 result in test name.
31170 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31172 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31177 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31179 * benchtests/Makefile: Sort function entries.
31181 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31182 tanh, asinh, acosh, atanh.
31183 * benchtests/acos-inputs: New file.
31184 * benchtests/acosh-inputs: New file.
31185 * benchtests/asin-inputs: New file.
31186 * benchtests/asinh-inputs: New file.
31187 * benchtests/atanh-inputs: New file.
31188 * benchtests/cosh-inputs: New file.
31189 * benchtests/log-inputs: New file.
31190 * benchtests/sinh-inputs: New file.
31191 * benchtests/tanh-inputs: New file.
31193 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31196 * posix/tst-getaddrinfo4.c: New test.
31197 * posix/Makefile (tests): Add it.
31199 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31202 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31203 when no services were used.
31204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31205 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31207 2013-05-21 Andreas Schwab <schwab@suse.de>
31210 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31211 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31213 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31214 redundant variable declarations and reallocation of buffer when
31215 parsing as IPv6 address. Always set NSS status when called from
31216 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31217 buffer too small. Correct computation of needed size.
31218 * nss/Makefile (tests): Add test-digits-dots.
31219 * nss/test-digits-dots.c: New test.
31221 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31223 * benchtests/Makefile: Remove instructions for adding
31225 * benchtests/README: New file to explain how to execute and
31226 enhance the benchmark tests.
31228 2013-05-21 Andreas Schwab <schwab@suse.de>
31231 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31232 * setjmp/tst-sigsetjmp.c: New test.
31234 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31236 * sysdeps/x86_64/memset.S (memset): New implementation.
31237 (__bzero): Likewise.
31238 (__memset_tail): New function.
31240 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31242 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31243 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31244 __memcpy_sse2_unaligned ifunc selection.
31245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31246 Add memcpy-sse2-unaligned.S.
31247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31248 Add: __memcpy_sse2_unaligned.
31250 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31254 math_force_eval before restoring floating-point envrionment.
31255 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31258 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31260 (__nearbyintl): Use math_force_eval before restoring
31261 floating-point environment.
31262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31264 * math/gen-libm-test.pl (special_functions): Remove.
31265 (parse_args): Don't handle TEST_extra. Handle functions with no
31267 * math/libm-test.inc (struct test_sincos_data): Replace with
31268 struct test_fFF_11_data.
31269 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31270 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31271 (sincos_test_data): Change element type to struct
31272 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31273 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31274 RUN_TEST_LOOP_sincos.
31275 * math/README.libm-test: Don't mention special handling of
31276 individual functions.
31277 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31284 * math/gen-libm-test.pl (get_variable): Remove function.
31285 (parse_args): Don't show pointer parameters to call in test
31286 names. Use "extra output N" in test names for extra outputs
31287 rather than naming variables.
31289 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31292 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31293 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31294 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31296 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31298 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31301 * math/gen-libm-test.pl (@tests): Remove variable.
31302 ($count): Likewise.
31303 (new_test): Remove function.
31304 (show_exceptions): New function.
31305 (special_functions): Use show_exceptions instead of new_test.
31306 (parse_args): Likewise.
31307 (generate_testfile): Pass only function name in generated call to
31308 print_max_error or print_complex_max_error.
31309 (get_ulps): Do not handle complex tests specially.
31310 (output_test): Rename to ...
31311 (get_all_ulps_for_test): ... this. Return a string rather than
31312 printing to a file. Require ulps to be present.
31313 (output_ulps): Generate arrays rather than #defines.
31314 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31315 (struct ulp_data): New type.
31316 (BUILD_COMPLEX_ULP): Remove macro.
31317 (compare_ulp_data): New function.
31318 (find_ulps): Likewise.
31319 (find_test_ulps): Likewise.
31320 (find_function_ulps): Likewise.
31321 (find_complex_function_ulps): Likewise.
31322 (print_max_error): Determine allowed ulps using
31323 find_function_ulps.
31324 (print_complex_max_error): Determine allowed ulps using
31325 find_complex_function_ulps.
31326 (check_float_internal): Determine max ulps using find_test_ulps.
31327 (check_float): Do not take max_ulp parameter. Update call to
31328 check_float_internal.
31329 (check_complex): Likewise.
31330 (check_int): Do not take max_ulp parameter.
31331 (check_long): Likewise.
31332 (check_bool): Likewise.
31333 (check_longlong): Likewise.
31334 (struct test_f_f_data): Remove max_ulp field.
31335 (struct test_ff_f_data): Likewise.
31336 (struct test_ff_f_data_nexttoward): Likewise.
31337 (struct test_fi_f_data): Likewise.
31338 (struct test_fl_f_data): Likewise.
31339 (struct test_if_f_data): Likewise.
31340 (struct test_fff_f_data): Likewise.
31341 (struct test_c_f_data): Likewise.
31342 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31343 (struct test_fF_f1_data): Likewise.
31344 (struct test_ffI_f1_data): Likewise.
31345 (struct test_c_c_data): Remove max_ulp field.
31346 (struct test_cc_c_data): Likewise.
31347 (struct test_f_i_data): Likewise.
31348 (struct test_ff_i_data): Likewise.
31349 (struct test_f_l_data): Likewise.
31350 (struct test_f_L_data): Likewise.
31351 (struct test_sincos_data): Likewise.
31352 (RUN_TEST_f_f): Do not handle ulps.
31353 (RUN_TEST_LOOP_f_f): Likewise.
31354 (RUN_TEST_2_f): Likewise.
31355 (RUN_TEST_LOOP_2_f): Likewise.
31356 (RUN_TEST_fff_f): Likewise.
31357 (RUN_TEST_LOOP_fff_f): Likewise.
31358 (RUN_TEST_c_f): Likewise.
31359 (RUN_TEST_LOOP_c_f): Likewise.
31360 (RUN_TEST_f_f1): Likewise.
31361 (RUN_TEST_LOOP_f_f1): Likewise.
31362 (RUN_TEST_fF_f1): Likewise.
31363 (RUN_TEST_LOOP_fF_f1): Likewise.
31364 (RUN_TEST_fI_f1): Likewise.
31365 (RUN_TEST_LOOP_fI_f1): Likewise.
31366 (RUN_TEST_ffI_f1): Likewise.
31367 (RUN_TEST_LOOP_ffI_f1): Likewise.
31368 (RUN_TEST_c_c): Likewise.
31369 (RUN_TEST_LOOP_c_c): Likewise.
31370 (RUN_TEST_cc_c): Likewise.
31371 (RUN_TEST_LOOP_cc_c): Likewise.
31372 (RUN_TEST_f_i): Likewise.
31373 (RUN_TEST_LOOP_f_i): Likewise.
31374 (RUN_TEST_f_i_tg): Likewise.
31375 (RUN_TEST_LOOP_f_i_tg): Likewise.
31376 (RUN_TEST_ff_i_tg): Likewise.
31377 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31378 (RUN_TEST_f_b): Likewise.
31379 (RUN_TEST_LOOP_f_b): Likewise.
31380 (RUN_TEST_f_b_tg): Likewise.
31381 (RUN_TEST_LOOP_f_b_tg): Likewise.
31382 (RUN_TEST_f_l): Likewise.
31383 (RUN_TEST_LOOP_f_l): Likewise.
31384 (RUN_TEST_f_L): Likewise.
31385 (RUN_TEST_LOOP_f_L): Likewise.
31386 (RUN_TEST_sincos): Likewise.
31387 (RUN_TEST_LOOP_sincos): Likewise.
31389 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31393 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31394 main case of finite arguments, set rounding mode to FE_TONEAREST
31395 and discard exceptions.
31396 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31398 (remainder_tonearest_test_data): New variable.
31399 (remainder_test_tonearest): New function.
31400 (remainder_towardzero_test_data): New variable.
31401 (remainder_test_towardzero): New function.
31402 (remainder_downward_test_data): New variable.
31403 (remainder_test_downward): New function.
31404 (remainder_upward_test_data): New variable.
31405 (remainder_test_upward): New function.
31406 (main): Call the new test functions.
31408 * math/libm-test.inc (struct test_f_f1_data): Remove field
31410 (struct test_fF_f1_data): Likewise.
31411 (struct test_ffI_f1_data): Likewise.
31412 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31413 based on value of EXTRA_EXPECTED.
31414 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31415 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31416 EXTRA_VAR based on value of EXTRA_EXPECTED.
31417 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31418 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31419 EXTRA_VAR based on value of EXTRA_EXPECTED.
31420 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31421 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31422 EXTRA_VAR based on value of EXTRA_EXPECTED.
31423 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31424 * math/gen-libm-test.pl (parse_args): Don't output initializers
31425 for extra output values.
31427 * math/libm-test.inc (check_int): Expect result to be exactly
31428 equal to expected value and do not handle ulps.
31429 (check_long): Likewise.
31430 (check_longlong): Likewise.
31432 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31434 (cimag_test_data): Likewise.
31435 (conj_test_data): Likewise.
31436 (copysign_test_data): Likewise.
31437 (cproj_test_data): Likewise.
31438 (creal_test_data): Likewise.
31439 (fabs_test_data): Likewise.
31440 (fdim_test_data): Likewise.
31441 (finite_test_data): Likewise.
31442 (floor_test_data): Likewise.
31443 (fmax_test_data): Likewise.
31444 (fmin_test_data): Likewise.
31445 (fmod_test_data): Likewise.
31446 (fpclassify_test_data): Likewise.
31447 (frexp_test_data): Likewise.
31448 (ilogb_test_data): Likewise.
31449 (isfinite_test_data): Likewise.
31450 (isgreater_test_data): Likewise.
31451 (isgreaterequal_test_data): Likewise.
31452 (isinf_test_data): Likewise.
31453 (isless_test_data): Likewise.
31454 (islessequal_test_data): Likewise.
31455 (islessgreater_test_data): Likewise.
31456 (isnan_test_data): Likewise.
31457 (isnormal_test_data): Likewise.
31458 (issignaling_test_data): Likewise.
31459 (isunordered_test_data): Likewise.
31460 (ldexp_test_data): Likewise.
31461 (lrint_test_data): Likewise.
31462 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31463 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31464 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31465 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31466 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31467 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31469 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31470 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31471 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31472 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31474 (lrint_downward_test_data): Test for "inexact" exceptions.
31475 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31476 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31477 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31479 (lrint_upward_test_data): Test for "inexact" exceptions.
31480 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31482 (llrint_test_data): Test for "inexact" exceptions.
31483 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31484 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31485 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31486 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31487 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31488 (llrint_downward_test_data): Test for "inexact" exceptions.
31489 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31490 (llrint_upward_test_data): Test for "inexact" exceptions.
31491 (logb_test_data): Likewise.
31492 (logb_downward_test_data): Likewise.
31493 (nextafter_test_data): Likewise.
31494 (nexttoward_test_data): Likewise.
31495 (remainder_test_data): Likewise.
31496 (remquo_test_data): Likewise.
31497 (scalbn_test_data): Likewise.
31498 (scalbln_test_data): Likewise.
31499 (signbit_test_data): Likewise.
31500 (sqrt_test_data): Likewise.
31501 (significand_test_data): Likewise.
31503 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31506 * benchtests/bench-modf.c (struct args): Mark arg0 as
31508 * scripts/bench.pl: Mark members of struct args as volatile.
31510 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31513 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31514 negative infinity on POWER6 or lower.
31515 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31517 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31520 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31521 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31522 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31523 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31524 (_FP_SETQNAN): New macro.
31525 (_FP_SETQNAN_SEMIRAW): Likewise.
31526 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31527 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31528 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31529 (FP_EXTEND): Use _FP_FRAC_SNANP.
31530 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31531 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31533 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31538 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31540 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31541 with DIVIDE_BY_ZERO_EXCEPTION.
31542 (gamma_test_data): Likewise.
31543 (lgamma_test_data): Likewise.
31544 (log_test_data): Likewise.
31545 (log10_test_data): Likewise.
31546 (log2_test_data): Likewise.
31547 (tgamma_test_data): Likewise.
31549 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31550 (acos_test_tonearest): Likewise.
31551 (acos_test_towardzero): Likewise.
31552 (acos_test_downward): Likewise.
31553 (acos_test_upward): Likewise.
31554 (acosh_test): Likewise.
31555 (asin_test): Likewise.
31556 (asin_test_tonearest): Likewise.
31557 (asin_test_towardzero): Likewise.
31558 (asin_test_downward): Likewise.
31559 (asin_test_upward): Likewise.
31560 (asinh_test): Likewise.
31561 (atan_test): Likewise.
31562 (atanh_test): Likewise.
31563 (atan2_test): Likewise.
31564 (cabs_test): Likewise.
31565 (cacos_test): Likewise.
31566 (cacosh_test): Likewise.
31567 (casin_test): Likewise.
31568 (casinh_test): Likewise.
31569 (catan_test): Likewise.
31570 (catanh_test): Likewise.
31571 (cbrt_test): Likewise.
31572 (ccos_test): Likewise.
31573 (ccosh_test): Likewise.
31574 (cexp_test): Likewise.
31575 (clog_test): Likewise.
31576 (clog10_test): Likewise.
31577 (cos_test): Likewise.
31578 (cos_test_tonearest): Likewise.
31579 (cos_test_towardzero): Likewise.
31580 (cos_test_downward): Likewise.
31581 (cos_test_upward): Likewise.
31582 (cosh_test): Likewise.
31583 (cosh_test_tonearest): Likewise.
31584 (cosh_test_towardzero): Likewise.
31585 (cosh_test_downward): Likewise.
31586 (cosh_test_upward): Likewise.
31587 (cpow_test): Likewise.
31588 (csin_test): Likewise.
31589 (csinh_test): Likewise.
31590 (csqrt_test): Likewise.
31591 (ctan_test): Likewise.
31592 (ctan_test_tonearest): Likewise.
31593 (ctan_test_towardzero): Likewise.
31594 (ctan_test_downward): Likewise.
31595 (ctan_test_upward): Likewise.
31596 (ctanh_test): Likewise.
31597 (ctanh_test_tonearest): Likewise.
31598 (ctanh_test_towardzero): Likewise.
31599 (ctanh_test_downward): Likewise.
31600 (ctanh_test_upward): Likewise.
31601 (erf_test): Likewise.
31602 (erfc_test): Likewise.
31603 (exp_test): Likewise.
31604 (exp_test_tonearest): Likewise.
31605 (exp_test_towardzero): Likewise.
31606 (exp_test_downward): Likewise.
31607 (exp_test_upward): Likewise.
31608 (exp10_test): Likewise.
31609 (exp2_test): Likewise.
31610 (expm1_test): Likewise.
31611 (fmod_test): Likewise.
31612 (gamma_test): Likewise.
31613 (hypot_test): Likewise.
31614 (j0_test): Likewise.
31615 (j1_test): Likewise.
31616 (jn_test): Likewise.
31617 (lgamma_test): Likewise.
31618 (log_test): Likewise.
31619 (log10_test): Likewise.
31620 (log1p_test): Likewise.
31621 (log2_test): Likewise.
31622 (logb_test_downward): Likewise.
31623 (pow_test): Likewise.
31624 (pow_test_tonearest): Likewise.
31625 (pow_test_towardzero): Likewise.
31626 (pow_test_downward): Likewise.
31627 (pow_test_upward): Likewise.
31628 (remainder_test): Likewise.
31629 (remquo_test): Likewise.
31630 (sin_test): Likewise.
31631 (sin_test_tonearest): Likewise.
31632 (sin_test_towardzero): Likewise.
31633 (sin_test_downward): Likewise.
31634 (sin_test_upward): Likewise.
31635 (sincos_test): Likewise.
31636 (sinh_test): Likewise.
31637 (sinh_test_tonearest): Likewise.
31638 (sinh_test_towardzero): Likewise.
31639 (sinh_test_downward): Likewise.
31640 (sinh_test_upward): Likewise.
31641 (sqrt_test): Likewise.
31642 (tan_test): Likewise.
31643 (tan_test_tonearest): Likewise.
31644 (tan_test_towardzero): Likewise.
31645 (tan_test_downward): Likewise.
31646 (tan_test_upward): Likewise.
31647 (tanh_test): Likewise.
31648 (tgamma_test): Likewise.
31649 (y0_test): Likewise.
31650 (y1_test): Likewise.
31651 (yn_test): Likewise.
31653 * math/gen-libm-test.pl (adjust_arg): Remove function.
31654 (special_function): Remove argument $in_func. Only handle
31655 generating output for tables of tests, not inside functions.
31656 (parse_args): Likewise.
31657 (generate_testfile): Remove variable $in_func. Update call to
31659 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31660 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31661 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31662 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31663 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31664 (MAX_VALUE_INIT): Rename macro to max_value.
31665 (MIN_VALUE_INIT): Rename macro to min_value.
31666 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31667 (plus_zero): Remove variable.
31668 (minus_zero): Likewise.
31669 (plus_infty): Likewise.
31670 (minus_infty): Likewise.
31671 (qnan_value): Likewise.
31672 (max_value): Likewise.
31673 (min_value): Likewise.
31674 (min_subnorm_value): Likewise.
31676 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31678 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31679 uint64_t or uint32_t usage.
31680 * crypt/sha256-block.c: Likewise.
31681 * crypt/sha256-crypt.c: Likewise.
31682 * crypt/sha256.c: Likewise.
31683 * crypt/sha512-block.c: Likewise.
31684 * crypt/sha512-crypt.c: Likewise.
31685 * crypt/sha512.c: Likewise.
31686 * debug/backtrace-tst.c: Likewise.
31687 * debug/pcprofiledump.c: Likewise.
31688 * elf/cache.c: Likewise.
31689 * elf/dl-cache.c: Likewise.
31690 * elf/dl-misc.c: Likewise.
31691 * elf/dl-profile.c: Likewise.
31692 * elf/dl-support.c: Likewise.
31693 * elf/ldconfig.c: Likewise.
31694 * elf/sprof.c: Likewise.
31695 * iconv/dummy-repertoire.c: Likewise.
31696 * iconv/iconv_charmap.c: Likewise.
31697 * iconv/skeleton.c: Likewise.
31698 * iconvdata/8bit-generic.c: Likewise.
31699 * iconvdata/cp737.h: Likewise.
31700 * iconvdata/cp775.h: Likewise.
31701 * iconvdata/ibm1008.h: Likewise.
31702 * iconvdata/ibm1025.h: Likewise.
31703 * iconvdata/ibm1046.h: Likewise.
31704 * iconvdata/ibm1097.h: Likewise.
31705 * iconvdata/ibm1112.h: Likewise.
31706 * iconvdata/ibm1122.h: Likewise.
31707 * iconvdata/ibm1123.h: Likewise.
31708 * iconvdata/ibm1124.h: Likewise.
31709 * iconvdata/ibm1129.h: Likewise.
31710 * iconvdata/ibm1130.h: Likewise.
31711 * iconvdata/ibm1132.h: Likewise.
31712 * iconvdata/ibm1133.h: Likewise.
31713 * iconvdata/ibm1137.h: Likewise.
31714 * iconvdata/ibm1140.h: Likewise.
31715 * iconvdata/ibm1141.h: Likewise.
31716 * iconvdata/ibm1142.h: Likewise.
31717 * iconvdata/ibm1143.h: Likewise.
31718 * iconvdata/ibm1144.h: Likewise.
31719 * iconvdata/ibm1145.h: Likewise.
31720 * iconvdata/ibm1146.h: Likewise.
31721 * iconvdata/ibm1147.h: Likewise.
31722 * iconvdata/ibm1148.h: Likewise.
31723 * iconvdata/ibm1149.h: Likewise.
31724 * iconvdata/ibm1153.h: Likewise.
31725 * iconvdata/ibm1154.h: Likewise.
31726 * iconvdata/ibm1155.h: Likewise.
31727 * iconvdata/ibm1156.h: Likewise.
31728 * iconvdata/ibm1157.h: Likewise.
31729 * iconvdata/ibm1158.h: Likewise.
31730 * iconvdata/ibm1160.h: Likewise.
31731 * iconvdata/ibm1161.h: Likewise.
31732 * iconvdata/ibm1162.h: Likewise.
31733 * iconvdata/ibm1163.h: Likewise.
31734 * iconvdata/ibm1164.h: Likewise.
31735 * iconvdata/ibm1166.h: Likewise.
31736 * iconvdata/ibm1167.h: Likewise.
31737 * iconvdata/ibm12712.h: Likewise.
31738 * iconvdata/ibm1390.h: Likewise.
31739 * iconvdata/ibm1399.h: Likewise.
31740 * iconvdata/ibm16804.h: Likewise.
31741 * iconvdata/ibm4517.h: Likewise.
31742 * iconvdata/ibm4899.h: Likewise.
31743 * iconvdata/ibm4909.h: Likewise.
31744 * iconvdata/ibm4971.h: Likewise.
31745 * iconvdata/ibm5347.h: Likewise.
31746 * iconvdata/ibm803.h: Likewise.
31747 * iconvdata/ibm856.h: Likewise.
31748 * iconvdata/ibm901.h: Likewise.
31749 * iconvdata/ibm902.h: Likewise.
31750 * iconvdata/ibm9030.h: Likewise.
31751 * iconvdata/ibm9066.h: Likewise.
31752 * iconvdata/ibm921.h: Likewise.
31753 * iconvdata/ibm922.h: Likewise.
31754 * iconvdata/ibm9448.h: Likewise.
31755 * iconvdata/isiri-3342.h: Likewise.
31756 * iconvdata/jis0201.h: Likewise.
31757 * include/link.h: Likewise.
31758 * include/netdb.h: Likewise.
31759 * inet/check_native.c: Likewise.
31760 * inet/check_pf.c: Likewise.
31761 * inet/getipv4sourcefilter.c: Likewise.
31762 * inet/getnameinfo.c: Likewise.
31763 * inet/getsourcefilter.c: Likewise.
31764 * inet/htonl.c: Likewise.
31765 * inet/setipv4sourcefilter.c: Likewise.
31766 * inet/setsourcefilter.c: Likewise.
31767 * inet/test-inet6_opt.c: Likewise.
31768 * inet/tst-network.c: Likewise.
31769 * locale/C-collate.c: Likewise.
31770 * locale/C-ctype.c: Likewise.
31771 * locale/C-time.c: Likewise.
31772 * locale/C-translit.h: Likewise.
31773 * locale/loadarchive.c: Likewise.
31774 * locale/programs/3level.h: Likewise.
31775 * locale/programs/charmap.c: Likewise.
31776 * locale/programs/charmap.h: Likewise.
31777 * locale/programs/ld-address.c: Likewise.
31778 * locale/programs/ld-collate.c: Likewise.
31779 * locale/programs/ld-ctype.c: Likewise.
31780 * locale/programs/ld-identification.c: Likewise.
31781 * locale/programs/ld-measurement.c: Likewise.
31782 * locale/programs/ld-messages.c: Likewise.
31783 * locale/programs/ld-monetary.c: Likewise.
31784 * locale/programs/ld-name.c: Likewise.
31785 * locale/programs/ld-numeric.c: Likewise.
31786 * locale/programs/ld-paper.c: Likewise.
31787 * locale/programs/ld-telephone.c: Likewise.
31788 * locale/programs/ld-time.c: Likewise.
31789 * locale/programs/linereader.c: Likewise.
31790 * locale/programs/locale.c: Likewise.
31791 * locale/programs/locarchive.c: Likewise.
31792 * locale/programs/locfile.h: Likewise.
31793 * locale/programs/repertoire.c: Likewise.
31794 * locale/programs/simple-hash.c: Likewise.
31795 * locale/programs/simple-hash.h: Likewise.
31796 * malloc/memusage.c: Likewise.
31797 * malloc/memusagestat.c: Likewise.
31798 * nis/nis_defaults.c: Likewise.
31799 * nis/nis_hash.c: Likewise.
31800 * nis/nis_print.c: Likewise.
31801 * nis/nis_xdr.c: Likewise.
31802 * nscd/connections.c: Likewise.
31803 * nscd/hstcache.c: Likewise.
31804 * nscd/nscd_gethst_r.c: Likewise.
31805 * nscd/nscd_getserv_r.c: Likewise.
31806 * nscd/nscd_helper.c: Likewise.
31807 * nscd/servicescache.c: Likewise.
31808 * nss/makedb.c: Likewise.
31809 * nss/nss_db/db-XXX.c: Likewise.
31810 * nss/nss_db/db-initgroups.c: Likewise.
31811 * nss/nss_db/db-netgrp.c: Likewise.
31812 * nss/nss_files/files-network.c: Likewise.
31813 * nss/nss_files/files-parse.c: Likewise.
31814 * posix/bug-regex5.c: Likewise.
31815 * posix/fnmatch_loop.c: Likewise.
31816 * posix/regcomp.c: Likewise.
31817 * posix/regexec.c: Likewise.
31818 * posix/tst-rfc3484-2.c: Likewise.
31819 * posix/tst-rfc3484-3.c: Likewise.
31820 * posix/tst-rfc3484.c: Likewise.
31821 * resolv/nss_dns/dns-canon.c: Likewise.
31822 * resolv/nss_dns/dns-network.c: Likewise.
31823 * resolv/res_init.c: Likewise.
31824 * resolv/res_mkquery.c: Likewise.
31825 * resolv/tst-aton.c: Likewise.
31826 * stdlib/cxa_atexit.c: Likewise.
31827 * stdlib/cxa_finalize.c: Likewise.
31828 * stdlib/gen-fpioconst.c: Likewise.
31829 * stdlib/strtol_l.c: Likewise.
31830 * string/tst-endian.c: Likewise.
31831 * sunrpc/auth_des.c: Likewise.
31832 * sunrpc/clnt_udp.c: Likewise.
31833 * sunrpc/rtime.c: Likewise.
31834 * sunrpc/svcauth_des.c: Likewise.
31835 * sunrpc/xdr.c: Likewise.
31836 * sunrpc/xdr_intXX_t.c: Likewise.
31837 * sunrpc/xdr_rec.c: Likewise.
31838 * sysdeps/generic/ldconfig.h: Likewise.
31839 * sysdeps/generic/ldsodefs.h: Likewise.
31840 * sysdeps/generic/memusage.h: Likewise.
31841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31842 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31843 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31847 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31851 * sysdeps/posix/getaddrinfo.c: Likewise.
31852 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31854 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31855 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31856 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31857 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31858 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31859 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31860 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31861 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31862 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31863 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31864 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31865 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31866 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31867 * sysdeps/x86_64/dl-tls.h: Likewise.
31868 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31869 * time/alt_digit.c: Likewise.
31870 * time/era.c: Likewise.
31871 * wcsmbs/tst-c16c32-1.c: Likewise.
31873 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31875 * math/libm-test.inc (struct test_sincos_data): New type.
31876 (RUN_TEST_LOOP_sincos): New macro.
31877 (sincos_test_data): New variable.
31878 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31880 2013-05-16 Richard Henderson <rth@redhat.com>
31882 * math/atest-exp2.c (LIMB64): New macro.
31883 (CONSTSZ): New macro.
31884 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31886 (print_mpn_fp): ... to function scope.
31887 (read_mpn_hex): Remove.
31888 (get_log2): Remove.
31889 (exp2_mpn): Use mp_log2.
31890 (main): Use mp_exp1.
31892 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31894 * math/libm-test.inc: Remove comment about not testing "inexact"
31896 (INEXACT_EXCEPTION): New macro.
31897 (NO_INEXACT_EXCEPTION): Likewise.
31898 (INVALID_EXCEPTION_OK): Update value.
31899 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31900 (OVERFLOW_EXCEPTION_OK): Likewise.
31901 (UNDERFLOW_EXCEPTION_OK): Likewise.
31902 (IGNORE_ZERO_INF_SIGN): Likewise.
31903 (ERRNO_UNCHANGED): Likewise.
31904 (ERRNO_EDOM): Likewise.
31905 (ERRNO_ERANGE): Likewise.
31906 (test_exceptions): Handle testing "inexact" exceptions.
31907 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31908 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31909 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31910 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31912 (rint_towardzero_test_data): Likewise.
31913 (rint_downward_test_data): Likewise.
31914 (rint_upward_test_data): Likewise.
31916 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31917 with OVERFLOW_EXCEPTION.
31918 (exp10_test_data): Likewise.
31919 (exp2_test_data): Likewise.
31920 (expm1_test_data): Likewise.
31921 (lgamma_test_data): Likewise.
31922 (pow_test_data): Likewise.
31923 (tgamma_test_data): Likewise.
31924 (yn_test_data): Remove duplicate test of overflow.
31926 * math/libm-test.inc (struct test_cc_c_data): New type.
31927 (RUN_TEST_LOOP_cc_c): New macro.
31928 (cpow_test_data): New variable.
31929 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31931 * math/libm-test.inc (struct test_f_L_data): New type.
31932 (RUN_TEST_LOOP_f_L): New macro.
31933 (llrint_test_data): New variable.
31934 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31935 (llrint_tonearest_test_data): New variable.
31936 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31937 (llrint_towardzero_test_data): New variable.
31938 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31939 (llrint_downward_test_data): New variable.
31940 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31941 (llrint_upward_test_data): New variable.
31942 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31943 (llround_test_data): New variable.
31944 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31946 2013-05-13 Peter Collingbourne <pcc@google.com>
31948 * math/atest-exp2.c (get_log2): Remove const attribute.
31950 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31952 * math/libm-test.inc (struct test_f_l_data): New type.
31953 (RUN_TEST_LOOP_f_l): New macro.
31954 (lrint_test_data): New variable.
31955 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31956 (lrint_tonearest_test_data): New variable.
31957 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31958 (lrint_towardzero_test_data): New variable.
31959 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31960 (lrint_downward_test_data): New variable.
31961 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31962 (lrint_upward_test_data): New variable.
31963 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31964 (lround_test_data): New variable.
31965 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31967 2013-05-15 Peter Collingbourne <pcc@google.com>
31969 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31970 (EXTRACT_WORDS64) Use where appropriate.
31971 (INSERT_WORDS64) Likewise.
31973 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31974 constraints with x constraints.
31975 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31977 * malloc/obstack.c (_obstack_compat): Add initializer.
31979 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31982 si_trapno and add si_addr_lsb to _sifields.sigfault.
31983 (si_trapno): Remove macro.
31984 (si_addr_lsb): Define new macro.
31985 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31987 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31989 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31990 instead of TEST_f_l.
31991 (llrint_test_tonearest): Likewise.
31992 (llrint_test_towardzero): Likewise.
31993 (llrint_test_downward): Likewise.
31994 (llrint_test_upward): Likewise.
31995 (llround_test): Likewise.
31997 * math/libm-test.inc (struct test_f_i_data): Add comment.
31998 (RUN_TEST_LOOP_f_b): New macro.
31999 (RUN_TEST_LOOP_f_b_tg): Likewise.
32000 (finite_test_data): New variable.
32001 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32002 (isfinite_test_data): New variable.
32003 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32004 (isinf_test_data): New variable.
32005 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32006 (isnan_test_data): New variable.
32007 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32008 (isnormal_test_data): New variable.
32009 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32010 (issignaling_test_data): New variable.
32011 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32012 (signbit_test_data): New variable.
32013 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32015 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32016 with INVALID_EXCEPTION.
32017 (acosh_test_data): Likewise.
32018 (asin_test_data): Likewise.
32019 (atanh_test_data): Likewise.
32020 (fmod_test_data): Likewise.
32021 (log_test_data): Likewise.
32022 (log10_test_data): Likewise.
32023 (log2_test_data): Likewise.
32024 (pow_test_data): Likewise.
32025 (sqrt_test_data): Likewise.
32026 (y0_test_data): Likewise.
32027 (y1_test_data): Likewise.
32028 (yn_test_data): Likewise.
32030 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32033 * math/libm-test.inc (struct test_ff_i_data): New type.
32034 (RUN_TEST_LOOP_ff_i_tg): New macro.
32035 (isgreater_test_data): New variable.
32036 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32037 (isgreaterequal_test_data): New variable.
32038 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32039 (isless_test_data): New variable.
32040 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32041 (islessequal_test_data): New variable.
32042 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32043 (islessgreater_test_data): New variable.
32044 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32045 (isunordered_test_data): New variable.
32046 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32048 2013-05-14 David S. Miller <davem@davemloft.net>
32050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32052 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32054 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32056 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32058 (struct test_f_i_data): Change type of max_ulp to int.
32060 * math/libm-test.inc (test_ffI_f1_data): New type.
32061 (RUN_TEST_LOOP_ffI_f1): New macro.
32062 (remquo_test_data): New variable.
32063 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32065 * setjmp/tst-setjmp-fp.c: New file.
32066 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32067 (link-libm): New variable.
32068 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32070 * math/libm-test.inc (struct test_f_i_data): New type.
32071 (RUN_TEST_LOOP_f_i): New macro.
32072 (RUN_TEST_LOOP_f_i_tg): Likewise.
32073 (fpclassify_test_data): New variable.
32074 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32075 (ilogb_test_data): New variable.
32076 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32078 * math/libm-test.inc (scalbln_test): Correct function name in END
32081 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32082 (RUN_TEST_LOOP_fI_f1): New macro.
32083 (frexp_test_data): New variable.
32084 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32086 * math/libm-test.inc (struct test_fF_f1_data): New type.
32087 (RUN_TEST_LOOP_fF_f1): New macro.
32088 (modf_test_data): New variable.
32089 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32091 * math/libm-test.inc (struct test_f_f1_data): New type.
32092 (RUN_TEST_LOOP_f_f1): New macro.
32093 (gamma_test_data): New variable.
32094 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32095 (lgamma_test_data): New variable.
32096 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32098 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32101 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32102 (main): Comment "tls" pseudo-hwcap.
32104 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32106 * math/libm-test.inc (struct test_fl_f_data): New type.
32107 (RUN_TEST_LOOP_fl_f): New variable.
32108 (scalbln_test_data): New variable.
32109 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32111 * math/libm-test.inc (struct test_fi_f_data): New type.
32112 (RUN_TEST_LOOP_fi_f): New macro.
32113 (ldexp_test_data): New variable.
32114 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32115 (scalbn_test_data): New variable.
32116 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32118 * math/libm-test.inc (struct test_c_f_data): New type.
32119 (RUN_TEST_LOOP_c_f): New macro.
32120 (cabs_test_data): New variable.
32121 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32122 (carg_test_data): New variable.
32123 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32124 (cimag_test_data): New variable.
32125 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32126 (creal_test_data): New variable.
32127 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32129 * math/libm-test.inc (struct test_if_f_data): New type.
32130 (RUN_TEST_LOOP_if_f): New macro.
32131 (jn_test_data): New variable.
32132 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32133 (yn_test_data): New variable.
32134 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32136 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32138 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32140 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32141 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32143 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32145 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32146 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32147 (bench-deps): Add bench-timing.h.
32148 * benchtests-bench-skeleton.c: Include bench-timing.h.
32149 (main): Use TIMING_* macros instead of clock_gettime.
32150 * benchtests/bench-timing.h: New file.
32153 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32154 Renamed from _LIB_VERSION.
32155 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32157 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32159 * math/libm-test.inc (struct test_fff_f_data): New type.
32160 (RUN_TEST_LOOP_fff_f): New macro.
32161 (fma_test_data): New variable.
32162 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32163 (fma_towardzero_test_data): New variable.
32164 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32165 (fma_downward_test_data): New variable.
32166 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32167 (fma_upward_test_data): New variable.
32168 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32170 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32171 (struct test_c_c_data): New type.
32172 (RUN_TEST_LOOP_c_c): New macro.
32173 (cacos_test_data): New variable.
32174 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32175 (cacosh_test_data): New variable.
32176 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32177 (casin_test_data): New variable.
32178 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32179 (casinh_test_data): New variable.
32180 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32181 (catan_test_data): New variable.
32182 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32183 (catanh_test_data): New variable.
32184 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32185 (ccos_test_data): New variable.
32186 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32187 (ccosh_test_data): New variable.
32188 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32189 (cexp_test_data): New variable.
32190 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32191 (clog_test_data): New variable.
32192 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32193 (clog10_test_data): New variable.
32194 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32195 (conj_test_data): New variable.
32196 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32197 (cproj_test_data): New variable.
32198 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32199 (csin_test_data): New variable.
32200 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32201 (csinh_test_data): New variable.
32202 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32203 (csqrt_test_data): New variable.
32204 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32205 (ctan_test_data): New variable.
32206 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32207 (ctan_tonearest_test_data): New variable.
32208 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32209 (ctan_towardzero_test_data): New variable.
32210 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32211 (ctan_downward_test_data): New variable.
32212 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32213 (ctan_upward_test_data): New variable.
32214 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32215 (ctanh_test_data): New variable.
32216 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32217 (ctanh_tonearest_test_data): New variable.
32218 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32219 (ctanh_towardzero_test_data): New variable.
32220 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32221 (ctanh_downward_test_data): New variable.
32222 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32223 (ctanh_upward_test_data): New variable.
32224 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32225 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32228 * math/libm-test.inc (struct test_ff_f_data): New type.
32229 (struct test_ff_f_data_nexttoward): Likewise.
32230 (RUN_TEST_LOOP_2_f): New macro.
32231 (RUN_TEST_LOOP_ff_f): Likewise.
32232 (atan2_test_data): New variable.
32233 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32234 (copysign_test_data): New variable.
32235 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32236 (fdim_test_data): New variable.
32237 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32238 (fmax_test_data): New variable.
32239 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32240 (fmin_test_data): New variable.
32241 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32242 (fmod_test_data): New variable.
32243 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32244 (hypot_test_data): New variable.
32245 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32246 (nextafter_test_data): New variable.
32247 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32248 (nexttoward_test_data): New variable.
32249 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32250 (pow_test_data): New variable.
32251 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32252 (pow_tonearest_test_data): New variable.
32253 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32254 (pow_towardzero_test_data): New variable.
32255 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32256 (pow_downward_test_data): New variable.
32257 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32258 (pow_upward_test_data): New variable.
32259 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32260 (remainder_test_data): New variable.
32261 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32262 (scalb_test_data): New variable.
32263 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32264 * sysdeps/i386/fpu/libm-test-ulps: Update.
32266 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32268 * math/libm-test.inc (fma_test): Use max_value instead of local
32270 (nextafter_test): Likewise.
32272 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32273 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32274 (acos_downward_test_data): New variable.
32275 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32276 (acos_upward_test_data): New variable.
32277 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32278 (acosh_test_data): New variable.
32279 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32280 (asin_test_data): New variable.
32281 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32282 (asin_tonearest_test_data): New variable.
32283 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32284 (asin_towardzero_test_data): New variable.
32285 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32286 (asin_downward_test_data): New variable.
32287 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32288 (asin_upward_test_data): New variable.
32289 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32290 (asinh_test_data): New variable.
32291 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32292 (atan_test_data): New variable.
32293 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32294 (atanh_test_data): New variable.
32295 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32296 (cbrt_test_data): New variable.
32297 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32298 (ceil_test_data): New variable.
32299 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32300 (cos_test_data): New variable.
32301 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32302 (cos_tonearest_test_data): New variable.
32303 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32304 (cos_towardzero_test_data): New variable.
32305 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32306 (cos_downward_test_data): New variable.
32307 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32308 (cos_upward_test_data): New variable.
32309 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32310 (cosh_test_data): New variable.
32311 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32312 (cosh_tonearest_test_data): New variable.
32313 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32314 (cosh_towardzero_test_data): New variable.
32315 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32316 (cosh_downward_test_data): New variable.
32317 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32318 (cosh_upward_test_data): New variable.
32319 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32320 (erf_test_data): New variable.
32321 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32322 (erfc_test_data): New variable.
32323 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32324 (exp_test_data): New variable.
32325 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32326 (exp_tonearest_test_data): New variable.
32327 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32328 (exp_towardzero_test_data): New variable.
32329 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32330 (exp_downward_test_data): New variable.
32331 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32332 (exp_upward_test_data): New variable.
32333 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32334 (exp10_test_data): New variable.
32335 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32336 (exp2_test_data): New variable.
32337 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32338 (expm1_test_data): New variable.
32339 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32340 (fabs_test_data): New variable.
32341 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32342 (floor_test_data): New variable.
32343 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32344 (j0_test_data): New variable.
32345 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32346 (j1_test_data): New variable.
32347 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32348 (log_test_data): New variable.
32349 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32350 (log10_test_data): New variable.
32351 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32352 (log1p_test_data): New variable.
32353 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32354 (log2_test_data): New variable.
32355 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32356 (logb_test_data): New variable.
32357 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32358 (logb_downward_test_data): New variable.
32359 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32360 (nearbyint_test_data): New variable.
32361 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32362 (rint_test_data): New variable.
32363 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32364 (rint_tonearest_test_data): New variable.
32365 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32366 (rint_towardzero_test_data): New variable.
32367 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32368 (rint_downward_test_data): New variable.
32369 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32370 (rint_upward_test_data): New variable.
32371 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32372 (round_test_data): New variable.
32373 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32374 (sin_test_data): New variable.
32375 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32376 (sin_tonearest_test_data): New variable.
32377 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32378 (sin_towardzero_test_data): New variable.
32379 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32380 (sin_downward_test_data): New variable.
32381 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32382 (sin_upward_test_data): New variable.
32383 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32384 (sinh_test_data): New variable.
32385 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32386 (sinh_tonearest_test_data): New variable.
32387 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32388 (sinh_towardzero_test_data): New variable.
32389 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32390 (sinh_downward_test_data): New variable.
32391 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32392 (sinh_upward_test_data): New variable.
32393 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32394 (sqrt_test_data): New variable.
32395 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32396 (tan_test_data): New variable.
32397 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32398 (tan_tonearest_test_data): New variable.
32399 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32400 (tan_towardzero_test_data): New variable.
32401 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32402 (tan_downward_test_data): New variable.
32403 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32404 (tan_upward_test_data): New variable.
32405 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32406 (tanh_test_data): New variable.
32407 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32408 (tgamma_test_data): New variable.
32409 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32410 (trunc_test_data): New variable.
32411 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32412 (y0_test_data): New variable.
32413 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32414 (y1_test_data): New variable.
32415 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32416 (significand_test_data): New variable.
32417 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32419 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32422 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32424 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32426 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32428 2013-05-10 Andreas Jaeger <aj@suse.de>
32431 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32432 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32434 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32436 * math/gen-libm-test.pl (adjust_arg): New function.
32437 (special_functions): Handle generating output in both functions
32439 (parse_args): Likewise.
32440 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32441 $in_func argument to parse_args.
32442 * math/libm-test.inc (struct test_f_f_data): New type.
32443 (IF_ROUND_INIT_): New macro.
32444 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32445 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32446 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32447 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32448 (ROUND_RESTORE_): Likewise.
32449 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32450 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32451 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32452 (ROUND_RESTORE_FE_UPWARD): Likewise.
32453 (RUN_TEST_LOOP_f_f): New macro.
32454 (acos_test_data): New variable.
32455 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32456 (acos_tonearest_test_data): New variable.
32457 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32459 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32461 * benchtests/bench-skeleton.c (startup): Fix coding style.
32463 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32466 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32467 negative infinity argument.
32468 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32469 negative infinity argument.
32470 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32471 negative infinity argument.
32472 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32475 2013-05-10 Florian Weimer <fweimer@redhat.com>
32477 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32478 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32479 * iconv/iconv_prog.c (main): Likewise.
32480 * locale/programs/charmap-dir.c (charmap_readdir)
32481 (fopen_uncompressed): Likewise.
32482 * locale/programs/locfile.c (siblings_uncached)
32483 (write_locale_data): Use lstat64 instead of lstat.
32484 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32487 2013-05-10 Andreas Jaeger <aj@suse.de>
32490 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32492 Include <locale.h>.
32494 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32496 * elf/dl-close.c (_dl_close_worker): Add comments.
32498 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32503 (__ieee754_rem_pio2l): Update comments.
32506 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32508 (__ieee754_rem_pio2l): Update comments.
32510 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32511 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32513 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32516 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32517 (M_PI_34_LOG10El): Likewise.
32518 (M_PI2_LOG10El): Likewise.
32519 (M_PI4_LOG10El): Likewise.
32520 (M_PI_LOG10El): Likewise.
32522 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32526 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32528 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32529 (MINUS_ZERO_INIT): Likewise.
32530 (PLUS_INFTY_INIT): Likewise.
32531 (MINUS_INFTY_INIT): Likewise.
32532 (QNAN_VALUE_INIT): Likewise.
32533 (MAX_VALUE_INIT): Likewise.
32534 (MIN_VALUE_INIT): Likewise.
32535 (MIN_SUBNORM_VALUE_INIT): Likewise.
32536 (plus_zero): Initialize with PLUS_ZERO_INIT.
32537 (minus_zero): Initialize with MINUS_ZERO_INIT.
32538 (plus_infty): Initialize with PLUS_INFTY_INIT.
32539 (minus_infty): Initialize with MINUS_INFTY_INIT.
32540 (qnan_value): Initialize with QNAN_VALUE_INIT.
32541 (max_value): Initialize with MAX_VALUE_INIT.
32542 (min_value): Initialize with MIN_VALUE_INIT.
32543 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32545 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32546 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32547 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32548 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32550 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32551 (RUN_TEST_2_f): Likewise.
32552 (RUN_TEST_ff_f): Likewise.
32553 (RUN_TEST_fi_f): Likewise.
32554 (RUN_TEST_fl_f): Likewise.
32555 (RUN_TEST_fff_f): Likewise.
32556 (RUN_TEST_c_f): Likewise.
32557 (RUN_TEST_f_f1): Likewise.
32558 (RUN_TEST_fF_f1): Likewise.
32559 (RUN_TEST_fI_f1): Likewise.
32560 (RUN_TEST_ffI_f1): Likewise.
32561 (RUN_TEST_c_c): Likewise.
32562 (RUN_TEST_cc_c): Likewise.
32563 (RUN_TEST_f_i): Likewise.
32564 (RUN_TEST_f_i_tg): Likewise.
32565 (RUN_TEST_ff_i_tg): Likewise.
32566 (RUN_TEST_f_b): Likewise.
32567 (RUN_TEST_f_b_tg): Likewise.
32568 (RUN_TEST_f_l): Likewise.
32569 (RUN_TEST_f_L): Likewise.
32570 (RUN_TEST_sincos): Likewise.
32571 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32572 whether to show exceptions. Do not include ");\n" in return
32574 (special_functions): Output call to RUN_TEST_sincos instead of
32575 check_float calls. Update calls to new_test.
32576 (parse_args): Output call to single RUN_TEST_* macro instead of
32577 check_* calls and other assignments. Update calls to new_test.
32583 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32584 input to result for tgamma overflow.
32585 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32586 (gamma_coeff): New variable.
32587 (NCOEFF): New macro.
32588 (gamma_positive): New function.
32589 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32590 underflow here. Use gamma_positive instead of exp (lgamma) for
32592 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32593 (gamma_coeff): New variable.
32594 (NCOEFF): New macro.
32595 (gammaf_positive): New function.
32596 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32597 underflow here. Use gamma_positive instead of exp (lgamma) for
32599 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32600 (gamma_coeff): New variable.
32601 (NCOEFF): New macro.
32602 (gammal_positive): New function.
32603 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32604 underflow here. Use gamma_positive instead of exp (lgamma) for
32606 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32607 (gamma_coeff): New variable.
32608 (NCOEFF): New macro.
32609 (gammal_positive): New function.
32610 (__ieee754_gammal_r): Handle positive infinity, overflow and
32611 underflow here. Handle NaN the same as positive infinity. Remove
32612 check x < 0xffffffff for negative integers. Use gamma_positive
32613 instead of exp (lgamma) for other arguments.
32614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32615 (gamma_coeff): New variable.
32616 (NCOEFF): New macro.
32617 (gammal_positive): New function.
32618 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32619 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32620 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32622 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32623 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32624 * sysdeps/generic/math_private.h (__gamma_productf): New
32626 (__gamma_product): Likewise.
32627 (__gamma_productl): Likewise.
32628 * math/Makefile (libm-calls): Add gamma_product.
32629 * math/libm-test.inc (tgamma_test): Add more tests.
32630 * sysdeps/i386/fpu/libm-test-ulps: Update.
32631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32633 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32635 * benchtests/bench-skeleton.c (main): Preheat CPU.
32637 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32639 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32641 2013-05-07 Roland McGrath <roland@hack.frob.com>
32643 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32644 and _dl_skip_args_internal.
32646 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32648 * manual/message.texi (Message Translation): Talk about users.
32649 Message to key mapping impacts design.
32651 2013-05-06 Roland McGrath <roland@hack.frob.com>
32653 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32655 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32657 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32658 * sysdeps/wordsize-64/glob64.c: ... here.
32660 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32661 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32664 * debug/getlogin_r_chk.c: Moved to ...
32665 * login/getlogin_r_chk.c: ... here.
32666 * debug/Makefile (routines): Move getlogin_r_chk to ...
32667 * login/Makefile (routines): ... here.
32668 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32669 * login/Versions (libc: GLIBC_2.4): ... here.
32671 * io/poll.c (__poll): Renamed from poll.
32672 Add libc_hidden_def.
32673 (poll): Define as weak alias.
32675 * debug/ptsname_r_chk.c: Moved to ...
32676 * login/ptsname_r_chk.c: ... here.
32677 * debug/Makefile (routines): Move ptsname_r_chk to ...
32678 * login/Makefile (routines): ... here.
32679 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32680 * login/Versions (libc: GLIBC_2.4): ... here.
32682 * posix/getlogin.c: Moved to ...
32683 * login/getlogin.c: ... here.
32684 * posix/getlogin_r.c: Moved to ...
32685 * login/getlogin_r.c: ... here.
32686 * posix/getlogin_r.c: Moved to ...
32687 * login/getlogin_r.c: ... here.
32688 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32689 * login/Makefile (routines): ... here.
32690 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32691 * login/Versions (libc: GLIBC_2.0): ... here.
32693 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32694 (setrlimit): Define as weak alias.
32696 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32697 Call __ names for open, ftruncate, and close.
32698 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32699 (truncate): Define as weak alias.
32701 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32703 * math/gen-libm-test.pl (parse_args): Initialize x before each
32704 test of frexp, modf and remquo.
32706 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32707 test signgam value.
32709 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32713 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32717 2013-05-06 Roland McGrath <roland@hack.frob.com>
32719 * elf/dl-writev.h: New file.
32720 * elf/dl-misc.c: Include it.
32721 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32722 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32724 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32726 * math/libm-test.inc (noXFails): Remove variable.
32727 (noXPasses): Likewise.
32728 (BUILD_COMPLEX_INT): Remove macro.
32729 (print_screen): Remove xfail argument.
32730 (print_screen_max_error): Likewise.
32731 (update_stats): Likewise.
32732 (print_max_error): Likewise. Update calls to other affected
32734 (print_complex_max_error): Likewise.
32735 (test_single_exception): Update calls to print_screen.
32736 (test_single_errno): Likewise.
32737 (check_float_internal): Remove xfail argument. Update calls to
32738 other affected functions.
32739 (check_float): Likewise.
32740 (check_complex): Likewise.
32741 (check_int): Likewise.
32742 (check_long): Likewise.
32743 (check_bool): Likewise.
32744 (check_longlong): Likewise.
32745 (main): Don't print noXFails and noXPasses.
32746 * math/gen-libm-test.pl (top level): Don't mention expected
32747 failure handling in comment.
32748 (new_test): Don't handle expected failures.
32749 (parse_args): Don't mention expected failure handling in comment.
32750 (generate_testfile): Don't handle expected failures.
32751 (parse_ulps): Likewise.
32752 (print_ulps_file): Likewise.
32753 (get_failure): Remove function.
32754 (output_test): Don't handle expected failures.
32755 * make/README.libm-test: Don't mention expected failure handling.
32757 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32758 (minus_zero): Likewise.
32759 (plus_infty): Likewise.
32760 (minus_infty): Likewise.
32761 (qnan_value): Likewise.
32762 (max_value): Likewise.
32763 (min_value): Likewise.
32764 (min_subnorm_value): Likewise.
32765 (initialize): Do not initialize those variables dynamically.
32767 2013-05-03 Roland McGrath <roland@hack.frob.com>
32769 * io/open.c (__open_2): Moved to ...
32770 * io/open_2.c: ... this new file.
32771 * io/open64.c (__open64_2): Moved to ...
32772 * io/open64_2.c: ... this new file.
32773 * io/openat.c (__openat_2): Moved to ...
32774 * io/openat_2.c: ... this new file.
32775 * io/openat64.c (__openat64_2): Moved to ...
32776 * io/openat64_2.c: ... this new file.
32777 * io/Makefile (routines): Add them.
32778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32779 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32780 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32781 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32782 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32783 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32784 (__openat64): Add hidden_ver.
32785 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32786 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32788 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32789 Separately conditionalize setting of GLRO(dl_sysinfo) so
32790 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32791 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32793 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32795 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32798 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32799 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32800 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32801 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32802 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32804 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32806 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32807 test signgam value.
32809 * math/libm-test.inc (hypot_test): Do not use
32810 IGNORE_ZERO_INF_SIGN.
32812 2013-05-03 Andreas Jaeger <aj@suse.de>
32814 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32816 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32817 (PF_MAX): Adjust for VSOCK change.
32819 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32823 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32826 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32827 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32828 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32830 2013-05-02 David S. Miller <davem@davemloft.net>
32832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32834 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32836 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32838 2013-05-01 Roland McGrath <roland@hack.frob.com>
32840 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32842 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32845 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32846 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32847 Use __attribute__ ((__gnu_inline__)).
32848 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32849 Don't use __attribute__ ((__gnu_inline__)).
32851 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32854 * math/s_catan.c (__catan): Handle small real or imaginary part of
32855 input specially to avoid spurious underflow.
32856 * math/s_catanf.c (__catanf): Likewise.
32857 * math/s_catanh.c (__catanh): Likewise.
32858 * math/s_catanhf.c (__catanhf): Likewise.
32859 * math/s_catanhl.c (__catanhl): Likewise.
32860 * math/s_catanl.c (__catanl): Likewise.
32861 * math/libm-test.inc (catan_test): Add more tests.
32862 (catanh_test): Likewise.
32863 * sysdeps/i386/fpu/libm-test-ulps: Update.
32864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32866 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32870 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32873 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32874 accurately for denominator in atan2.
32875 * math/s_catanf.c (__catanf): Likewise.
32876 * math/s_catanh.c (__catanh): Likewise.
32877 * math/s_catanhf.c (__catanhf): Likewise.
32878 * math/s_catanhl.c (__catanhl): Likewise.
32879 * math/s_catanl.c (__catanl): Likewise.
32880 * math/libm-test.inc (catan_test): Add more tests.
32881 (catanh_test): Likewise.
32882 * sysdeps/i386/fpu/libm-test-ulps: Update.
32883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32885 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32887 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32889 * benchtests/Makefile (bench): Remove slow benchmarks.
32890 * benchtests/atan-inputs: Add slow benchmark inputs.
32891 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32892 (BENCH_FUNC): Accept variant offset.
32894 * benchtests/bench-skeleton.c (main): Run benchmark for each
32896 * benchtests/cos-inputs: Add slow benchmark inputs.
32897 * benchtests/exp-inputs: Likewise.
32898 * benchtests/pow-inputs: Likewise.
32899 * benchtests/sin-inputs: Likewise.
32900 * benchtests/slowatan-inputs: Remove.
32901 * benchtests/slowatan.c: Remove.
32902 * benchtests/slowcos-inputs: Remove.
32903 * benchtests/slowcos.c: Remove.
32904 * benchtests/slowexp-inputs: Remove.
32905 * benchtests/slowexp.c: Remove.
32906 * benchtests/slowpow-inputs: Remove.
32907 * benchtests/slowpow.c: Remove.
32908 * benchtests/slowsin-inputs: Remove.
32909 * benchtests/slowsin.c: Remove.
32910 * benchtests/slowtan-inputs: Remove.
32911 * benchtests/slowtan.c: Remove.
32912 * benchtests/tan-inputs: Add slow benchmark inputs.
32913 * scripts/bench.pl: Parse comments and directives.
32915 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32917 ($(objpfx)bench-%.c): Remove *-ITER.
32918 * benchtests/bench-modf.c: Remove definition of ITER.
32919 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32920 (main): Loop for DURATION seconds instead of fixed number of
32922 * scripts/bench.pl: Don't expect iterations in parameters.
32924 2013-04-29 Roland McGrath <roland@hack.frob.com>
32926 * io/fchdir.c (__fchdir): Renamed from fchdir.
32927 (fchdir): Define as weak alias.
32929 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32931 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32932 (ERRNO_EDOM): Likewise.
32933 (ERRNO_ERANGE): Likewise.
32934 (noErrnoTests): New variable.
32935 (init_max_error): Set errno to 0.
32936 (test_single_errno): New function.
32937 (test_errno): Likewise.
32938 (check_float_internal): Call test_errno. Set errno to 0.
32939 (check_complex): Refer to errno tests in comment.
32940 (check_int): Call test_errno. Set errno to 0.
32941 (check_long): Likewise.
32942 (check_bool): Likewise.
32943 (check_longlong): Likewise.
32944 (cos_test): Use ERRNO_* flags for errno tests instead of
32946 (expm1_test): Likewise.
32947 (fmod_test): Likewise.
32948 (ilogb_test): Likewise.
32949 (lgamma_test): Likewise.
32950 (pow_test): Likewise.
32951 (remainder_test): Likewise.
32952 (sin_test): Likewise.
32953 (tan_test): Likewise.
32954 (yn_test): Likewise.
32955 (initialize): Set errno to 0.
32956 (main): Print number of errno tests.
32957 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32959 2013-04-29 Andreas Jaeger <aj@suse.de>
32962 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32966 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32967 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32971 * stdlib/random.c (__initstate): Return NULL if
32975 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32976 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32979 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32983 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32985 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32986 of individual tests.
32987 (casin_test): Likewise.
32988 (casinh_test): Likewise.
32990 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32993 * math/s_catan.c (__catan): Handle arguments with large real or
32994 imaginary part separately without squaring.
32995 * math/s_catanf.c (__catanf): Likewise.
32996 * math/s_catanh.c (__catanh): Likewise.
32997 * math/s_catanhf.c (__catanhf): Likewise.
32998 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33000 (__catanhl): Handle arguments with large real or imaginary part
33001 separately without squaring.
33002 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33004 (__catanl): Handle arguments with large real or imaginary part
33005 separately without squaring.
33006 * math/libm-test.inc (catan_test): Add more tests.
33007 (catanh_test): Likewise.
33008 * sysdeps/i386/fpu/libm-test-ulps: Update.
33009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33011 2013-04-27 Andreas Jaeger <aj@suse.de>
33014 * stdlib/stdlib.h: Update guards for qecvt.
33015 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33018 2013-04-27 Allan McRae <allan@archlinux.org>
33020 * sysdeps/i386/fpu/libm-test-ulps: Update.
33022 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33025 * math/s_catan.c: Include <float.h>.
33026 (__catan): Ensure underflow exception occurs for underflowed
33028 * math/s_catanf.c: Include <float.h>.
33029 (__catanf): Ensure underflow exception occurs for underflowed
33031 * math/s_catanh.c: Include <float.h>.
33032 (__catanh): Ensure underflow exception occurs for underflowed
33034 * math/s_catanhf.c: Include <float.h>.
33035 (__catanhf): Ensure underflow exception occurs for underflowed
33037 * math/s_catanhl.c: Include <float.h>.
33038 (__catanhl): Ensure underflow exception occurs for underflowed
33040 * math/s_catanl.c: Include <float.h>.
33041 (__catanl): Ensure underflow exception occurs for underflowed
33043 * math/libm-test.inc (catan_test): Add more tests.
33044 (catanh_test): Likewise.
33047 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33048 underflowed result.
33049 * math/s_ccoshf.c (__ccoshf): Likewise.
33050 * math/s_ccoshl.c (__ccoshl): Likewise.
33051 * math/s_csin.c (__csin): Likewise.
33052 * math/s_csinf.c (__csinf): Likewise.
33053 * math/s_csinh.c (__csinh): Likewise.
33054 * math/s_csinhf.c (__csinhf): Likewise.
33055 * math/s_csinhl.c (__csinhl): Likewise.
33056 * math/s_csinl.c (__csinl): Likewise.
33057 * math/libm-test.inc (ccos_test): Add more tests.
33058 (ccosh_test): Likewise.
33059 (csin_test): Likewise.
33060 (csinh_test): Likewise.
33062 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33064 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33065 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33066 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33067 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33068 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33069 powerpc/power5+/fpu folders.
33070 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33073 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33077 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33079 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33080 additions to variable.
33081 [$(config-machine) = x86_64] (modules-names): Likewise.
33082 ($(objpfx)tst-audit3): Remove dependency.
33083 ($(objpfx)tst-audit3.out): Likewise.
33084 ($(objpfx)tst-audit4): Likewise.
33085 ($(objpfx)tst-audit4.out): Likewise.
33086 ($(objpfx)tst-audit5): Likewise.
33087 ($(objpfx)tst-audit5.out): Likewise.
33088 ($(objpfx)tst-audit6): Likewise.
33089 ($(objpfx)tst-audit6.out): Likewise.
33090 ($(objpfx)tst-audit7): Likewise.
33091 ($(objpfx)tst-audit7.out): Likewise.
33092 (tst-audit3-ENV): Remove variable.
33093 (tst-audit4-ENV): Likewise.
33094 (tst-audit5-ENV): Likewise.
33095 (tst-audit6-ENV): Likewise.
33096 (tst-audit7-ENV): Likewise.
33097 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33098 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33099 addition to variable.
33100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33104 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33105 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33106 tst-audit3, tst-audit4 and tst-audit5.
33107 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33108 tst-audit6 and tst-audit7.
33109 [$(subdir) = elf] (modules-names): Add audit modules for those
33111 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33112 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33113 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33114 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33115 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33116 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33117 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33118 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33119 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33120 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33121 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33122 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33123 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33124 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33125 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33126 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33128 [$(subdir) = elf && $(config-cflags-avx) = yes]
33129 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33130 [$(subdir) = elf && $(config-cflags-avx) = yes]
33131 (CFLAGS-tst-auditmod4a.c): Likewise.
33132 [$(subdir) = elf && $(config-cflags-avx) = yes]
33133 (CFLAGS-tst-auditmod4b.c): Likewise.
33134 [$(subdir) = elf && $(config-cflags-avx) = yes]
33135 (CFLAGS-tst-auditmod6b.c): Likewise.
33136 [$(subdir) = elf && $(config-cflags-avx) = yes]
33137 (CFLAGS-tst-auditmod6c.c): Likewise.
33138 [$(subdir) = elf && $(config-cflags-avx) = yes]
33139 (CFLAGS-tst-auditmod7b.c): Likewise.
33140 * elf/tst-audit3.c: Move to ...
33141 * sysdeps/x86_64/tst-audit3.c: ... here.
33142 * elf/tst-audit4.c: Move to ...
33143 * sysdeps/x86_64/tst-audit4.c: ... here.
33144 * elf/tst-audit5.c: Move to ...
33145 * sysdeps/x86_64/tst-audit5.c: ... here.
33146 * elf/tst-audit6.c: Move to ...
33147 * sysdeps/x86_64/tst-audit6.c: ... here.
33148 * elf/tst-audit7.c: Move to ...
33149 * sysdeps/x86_64/tst-audit7.c: ... here.
33150 * elf/tst-auditmod3a.c: Move to ...
33151 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33152 * elf/tst-auditmod3b.c: Move to ...
33153 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33154 * elf/tst-auditmod4a.c: Move to ...
33155 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33156 * elf/tst-auditmod4b.c: Move to ...
33157 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33158 * elf/tst-auditmod5a.c: Move to ...
33159 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33160 * elf/tst-auditmod5b.c: Move to ...
33161 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33162 * elf/tst-auditmod6a.c: Move to ...
33163 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33164 * elf/tst-auditmod6b.c: Move to ...
33165 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33166 * elf/tst-auditmod6c.c: Move to ...
33167 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33168 * elf/tst-auditmod7a.c: Move to ...
33169 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33170 * elf/tst-auditmod7b.c: Move to ...
33171 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33173 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33176 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33177 define unconditionally.
33178 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33179 define unconditionally.
33180 (INT8_C, INT16_C, etc.): Likewise.
33182 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33184 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33185 __ehdr_start with hidden visibility.
33187 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33189 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33191 * math/libm-test.inc (cos_test): Use accurate hex constants.
33192 (sincost_test): Likewise.
33194 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33196 * math/libm-test.inc (catan_test): Add more tests.
33197 (catanh_test): Likewise.
33199 * math/s_catanf.c (__catanf): Use suffixed floating-point
33201 * math/s_catanhf.c (__catanhf): Likewise.
33202 * math/s_catanhl.c (__catanhl): Likewise.
33203 * math/s_catanl.c (__catanl): Likewise.
33206 * math/s_catan.c (__catan): Calculate imaginary part of result
33207 with log1p not log unless computing log of number close to 0.
33208 * math/s_catanf.c (__catanf): Likewise.
33209 * math/s_catanl.c (__catanl): Likewise.
33210 * math/s_catanh.c (__catanh): Calculate real part of result with
33211 log1p not log unless computing log of number close to 0.
33212 * math/s_catanhf.c (__catanhf): Likewise.
33213 * math/s_catanhl.c (__catanhl): Likewise.
33214 * math/libm-test.inc (catan_test): Add more tests.
33215 (catanh_test): Likewise.
33216 * sysdeps/i386/fpu/libm-test-ulps: Update.
33217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33219 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33221 * benchtests/Makefile: Mention files in which fast and slow
33222 paths of math functions are implemented.
33224 2013-04-23 Roland McGrath <roland@hack.frob.com>
33226 * sysdeps/posix/timespec_get.c: New file.
33228 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33230 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33232 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33234 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33235 powerpc/power5/fpu folders.
33236 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33237 * benchtests/Makefile: Add modf testcase.
33238 * benchtests/bench-modf.c: New file: Benchmark test for mo
33240 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33243 * time/Makefile (tests): Add tst-strptime-whitespace.
33244 * time/strptime_l.c (get_number): Use ISSPACE.
33245 (__strptime_internal): Likewise.
33246 * time/tst-strptime-whitespace.c: New test case.
33248 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33250 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33252 (_nss_files_init): Set it here.
33254 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33256 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33257 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33260 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33262 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33264 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33269 2013-04-21 David S. Miller <davem@davemloft.net>
33271 * po/ru.po: Update Russion translation from translation project.
33273 2013-04-17 Adam Conrad <adconrad@0c3.net>
33275 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33278 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33280 * configure.in: Remove i386 configure warning. Remove i386 case.
33281 * configure: Regenerate.
33282 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33283 Add example to error message.
33284 * sysdeps/i386/configure: Regenerate.
33286 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33288 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33290 * benchtests/cos-inputs: New file.
33291 * benchtests/slowcos-inputs: New file.
33292 * benchtests/slowcos.c: New file.
33293 * benchtests/slowtan-inputs: New file.
33294 * benchtests/slowtan.c: New file.
33295 * benchtests/tan-inputs: New file.
33297 2013-04-16 Roland McGrath <roland@hack.frob.com>
33299 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33302 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33304 * benchtests/Makefile: Include cppflags-iterator.mk to add
33305 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33307 * Makefile.in (bench-clean): New target.
33308 * benchtests/Makefile (bench-clean): Likewise.
33310 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33312 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33314 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33316 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33318 2013-04-15 Andreas Schwab <schwab@suse.de>
33320 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33321 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33322 * nscd/pwdcache.c (cache_addpw): Likewise.
33323 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33326 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33328 * benchtests/Makefile (bench): Write all output to
33329 bench-out.tmp together.
33331 2013-04-15 Andreas Schwab <schwab@suse.de>
33333 * nscd/nscd.c (main): Don't fork again after closing files.
33335 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33337 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33339 * benchtests/Rules (bench-deps): Collect dependencies into a
33340 single variable. Add Makefile to dependencies.
33341 ($(objpfx)bench-%.c): Depend on bench-deps.
33343 2013-04-12 Roland McGrath <roland@hack.frob.com>
33344 Xavier Roche <roche+kml2@exalead.com>
33347 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33348 just that it's a file descriptor.
33349 * manual/llio.texi (Synchronizing AIO Operations): Update description
33350 for EBADF error from aio_fsync.
33352 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33354 * Rules (bench): Move target definition...
33355 * benchtests/Makefile: ... here.
33357 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33359 * math/libm-test.inc (cos_test): Fix PI/2 test.
33360 (sincos_test): Likewise.
33361 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33362 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33364 2013-04-11 Andreas Schwab <schwab@suse.de>
33367 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33368 accept exponent character only when digits were seen.
33369 * stdio-common/Makefile (tests): Add bug26.
33370 * stdio-common/bug26.c: New file.
33373 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33376 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33378 * Makeconfig (rtld-prefix): Define built linker prefix.
33379 * Rules (run-bench): Use it.
33380 * math/Makefile (run-regen-ulps): Likewise.
33382 * Rules (bench): Remove eval.
33384 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33385 Roland McGrath <roland@hack.frob.com>
33386 Ondrej Bilka <neleai@seznam.cz>
33389 * time/getdate.c: Include ctype.h and alloca.h.
33390 (__getdate_r): Trim leading and trailing spaces of input.
33391 * time/tst-getdate.c (tests): Add tests with leading and
33394 2013-04-08 Roland McGrath <roland@hack.frob.com>
33397 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33398 when computing value.
33400 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33402 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33403 Use testrun.sh to run libm tests.
33406 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33408 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33411 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33413 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33415 * Makefile.in (regen-ulps): New target.
33416 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33417 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33418 [ifneq (no,$(PERL)] (regen-ulps): New target.
33419 [ifeq (no,$(PERL)] (regen-ulps): New target.
33420 * math/libm-test.inc (ulps_file_name): Define.
33421 (output_dir): New variable.
33422 (options): Add "output-dir" option.
33423 (parse_opt): Handle 'o' case.
33424 (main): If output_dir is non-NULL use it as a prefix
33426 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33428 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33430 [BZ #10060, #10062]
33431 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33432 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33433 fail configure if __sync_val_compare_and_swap is not inlined.
33434 * sysdeps/i386/configure: Regenerate.
33435 * configure.in: Build for i686 when configured for i386.
33436 * configure: Regenerate.
33437 * README: Remove i386 reference.
33439 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33441 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33444 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33446 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33447 (lmsnanval): New variables.
33448 (F): Add conversion tests.
33449 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33450 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33452 * stdio-common/tstdiomisc.c (F): Properly collect individual
33455 [BZ #14686, #15336]
33456 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33457 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33458 Instead, use input NaN values or generate a qNaN by arithmetic
33459 operation. Also fix bugs to comply with the standard.
33460 * math/libm-test.inc (remainder_test): Add more tests.
33462 [BZ #15335, #15342]
33463 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33465 input NaN values or generate a qNaN by arithmetic operation.
33467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33470 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33473 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33476 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33477 underflowed result.
33478 * math/s_cexpf.c (__cexpf): Likewise.
33479 * math/s_cexpl.c (__cexpl): Likewise.
33480 * math/libm-test.inc (cexp_test): Add more tests.
33482 2013-04-03 Andreas Schwab <schwab@suse.de>
33485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33486 order arrays from heap if bigger than alloca cutoff.
33488 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33490 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33491 (SNAN_TESTS_double): Refer to GCC PR56831.
33492 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33495 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33497 * Rules (bench): Move bench.out after the run is complete.
33499 * Rules (bench): Echo currently running benchmark.
33501 * benchtests/Makefile (bench): Add atan and slowatan.
33502 * benchtests/atan-inputs: New file.
33503 * benchtests/slowatan-inputs: New file.
33504 * benchtests/slowatan.c: New file.
33506 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33511 * sysdeps/unix/sysv/linux/kernel-features.h
33512 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33513 __ASSUME_XFS_RESTRICTED_CHOWN.
33514 * sysdeps/unix/sysv/linux/pathconf.c
33515 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33516 Save and restore errno.
33518 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33521 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33522 arguments using __kernel_casinh.
33523 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33524 arguments using __kernel_casinhf.
33525 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33526 arguments using __kernel_casinhl.
33527 * math/libm-test.inc (cacosh_test): Add more tests.
33528 * sysdeps/i386/fpu/libm-test-ulps: Update.
33529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33531 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33533 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33536 * bench/Makefile (bench): Add sin and slowsin.
33537 * benchtests/sin-inputs: New file.
33538 * benchtests/slowsin-inputs: New file.
33539 * benchtests/slowsin.c: New file.
33541 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33542 (bench): Add slowexp and slowpow.
33543 (exp-ITER): Increase iterations.
33544 (pow-ITER): Likewise.
33545 * benchtests/exp-inputs: Change input.
33546 * benchtests/pow-inputs: Likewise.
33547 * benchtests/slowexp-inputs: New file.
33548 * benchtests/slowexp.c: New file.
33549 * benchtests/slowpow-inputs: New file.
33550 * benchtests/slowpow.c: New file.
33552 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33554 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33556 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33557 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33558 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33559 * benchtests/Makefile: Add rint benchtest.
33560 * benchtests/rint-inputs: Input for rint benchtest.
33562 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33564 * Versions.def (libm): Add GLIBC_2.18.
33565 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33566 hidden libm prototypes.
33567 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33568 * math/Makefile (libm-calls): Add s_issignaling.
33569 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33570 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33571 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33573 * math/math.h [__USE_GNU] (issignaling): New macro.
33574 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33575 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33577 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33578 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33579 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33580 * manual/arith.texi (issignaling): New section.
33581 * manual/libm-err-tab.pl (@all_functions): Update comment.
33582 * math/gen-libm-test.pl (parse_args): Apply special handling for
33584 * math/libm-test.inc (print_float, issignaling_test): New
33586 (check_float_internal): Add issignaling checks.
33587 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33588 default definition.
33589 * sysdeps/powerpc/math-tests.h: New file.
33590 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33592 * math/test-snan.c (TEST_FUNC): Likewise.
33594 2013-03-30 David S. Miller <davem@davemloft.net>
33596 * po/de.po: Update from translation team.
33598 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33601 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33602 imaginary part less than 1.0 and real part less than 0.5
33604 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33605 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33606 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33607 (cacos_test): Add more tests.
33608 (casin_test): Likewise.
33609 (casinh_test): Likewise.
33610 * sysdeps/i386/fpu/libm-test-ulps: Update.
33611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33613 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33615 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33616 ONE with its value.
33618 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33619 (__pow_mp): Replace ONE and MONE with their values.
33620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33621 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33622 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33623 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33624 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33625 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33627 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33629 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33630 (__pow_mp): Replace ZERO and MZERO with their values.
33631 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33632 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33633 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33636 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33639 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33641 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33643 2013-03-28 Roland McGrath <roland@hack.frob.com>
33645 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33646 Declare with __attribute__ ((weak)).
33647 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33648 Call __call_tls_dtors only if it's not NULL.
33650 2013-03-28 Roland McGrath <roland@hack.frob.com>
33652 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33653 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33654 magic __ehdr_start linker symbol if it's defined.
33655 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33656 them up here if it was already done.
33658 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33659 (_dl_aux_init): Use const in cast when setting it.
33660 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33661 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33662 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33664 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33666 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33667 * csu/libc-tls.c: Nor here.
33668 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33670 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33671 (__libc_message): Never call vsyslog.
33673 2013-03-28 Alan Modra <amodra@gmail.com>
33675 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33677 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33680 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33687 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33690 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33691 Don't add gid passed as argument.
33693 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33695 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33698 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33699 imaginary part between 1.0 and 1.5 and real part less than 0.5
33701 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33702 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33703 * math/libm-test.inc (cacos_test): Add more tests.
33704 (casin_test): Likewise.
33705 (casinh_test): Likewise.
33706 * sysdeps/i386/fpu/libm-test-ulps: Update.
33707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33709 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33711 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33714 (denorm): Likewise.
33715 (__dbl_mp): Likewise.
33716 (add_magnitudes): Likewise.
33717 (sub_magnitudes): Likewise.
33725 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33727 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33728 (__dubcos): Likewise.
33729 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33730 (__ieee754_acos): Likewise.
33731 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33733 (__exp1): Likewise.
33734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33735 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33737 (my_log2): Likewise.
33738 (checkint): Likewise.
33739 * sysdeps/ieee754/dbl-64/e_remainder.c
33740 (__ieee754_remainder): Likewise.
33741 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33743 (bsloww): Likewise.
33744 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33746 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33747 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33748 MANTISSA_STORE_T to store computations on mantissa. Use
33749 macros for rounding and division.
33750 (denorm): Likewise.
33751 (__dbl_mp): Likewise.
33752 (add_magnitudes): Likewise.
33753 (sub_magnitudes): Likewise.
33756 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33757 powers of two in terms of TWOPOW macro.
33758 (mp_no): Make type of mantissa as MANTISSA_T.
33759 [!RADIXI]: Define RADIXI.
33760 [!TWO52]: Define TWO52.
33761 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33763 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33765 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33766 llroundl symbol when building for PPC32.
33768 2013-03-24 Mark H Weaver <mhw@netris.org>
33770 * manual/arith.texi (Normalization Functions): Fix prototypes for
33771 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33773 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33777 high value to check if expl overflow.
33778 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33779 to check for underflow and overflow.
33780 * math/libm-test.inc: Add exp test.
33782 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33785 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33788 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33790 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33793 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33795 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33796 wrap blocks consisting of several statements.
33798 * sysdeps/generic/math-tests.h: New file.
33799 * sysdeps/i386/fpu/math-tests.h: Likewise.
33800 * math/test-snan.c: Include it.
33801 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33803 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33807 (__ieee754_j0l): Do not improve calculations using cos of twice
33808 input for inputs above LDBL_MAX / 2.0L.
33809 (__ieee754_y0l): Likewise.
33810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33811 (__ieee754_j1l): Do not improve calculations using cos of twice
33812 input for inputs above LDBL_MAX / 2.0L.
33813 (__ieee754_y1l): Likewise.
33814 * math/libm-test.inc (j0_test): Add another test.
33815 (j1_test): Likewise.
33816 (y0_test): Likewise.
33817 (y1_test): Likewise.
33818 * sysdeps/i386/fpu/libm-test-ulps: Update.
33820 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33822 * Rules ($(objpfx)bench-%.c): Include code from a C source
33825 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33828 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33829 imaginary part 1.0 and real part less than 0.5 specially.
33830 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33831 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33832 * math/libm-test.inc (cacos_test): Add more tests.
33833 (casin_test): Likewise.
33834 (casinh_test): Likewise.
33835 * sysdeps/i386/fpu/libm-test-ulps: Update.
33836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33838 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33840 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33841 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33843 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33845 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33846 * config.make.in (config-cflags-sse4): Remove variable.
33847 (config-cflags-avx): Likewise.
33848 (config-cflags-sse2avx): Likewise.
33849 (config-cflags-novzeroupper): Likewise.
33850 (config-asflags-i686): Likewise.
33851 (have-mfma4): Likewise.
33852 (have-as-vis3): Likewise.
33854 * configure.in (MIG): Do not AC_SUBST.
33855 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33856 (libc_cv_cc_sse4): Do not AC_SUBST.
33857 (libc_cv_cc_avx): Likewise.
33858 (libc_cv_cc_sse2avx): Likewise.
33859 (libc_cv_cc_novzeroupper): Likewise.
33860 (libc_cv_cc_fma4): Likewise.
33861 (libc_cv_as_i686): Likewise.
33862 (libc_cv_sparc_as_vis3): Likewise.
33863 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33865 (config-asflags-i686): Likewise.
33866 (config-cflags-avx): Likewise.
33867 (config-cflags-sse2avx): Likewise.
33868 (have-mfma4): Likewise.
33869 (config-cflags-novzeroupper): Likewise.
33870 * sysdeps/mach/configure.in (MIG): Likewise.
33871 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33872 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33874 (config-cflags-avx): Likewise.
33875 (config-cflags-sse2avx): Likewise.
33876 (have-mfma4): Likewise.
33877 (config-cflags-novzeroupper): Likewise.
33878 * configure: Regenerated.
33879 * sysdeps/i386/configure: Likewise.
33880 * sysdeps/mach/configure: Likewise.
33881 * sysdeps/sparc/configure: Likewise.
33882 * sysdeps/x86_64/configure: Likewise.
33884 2013-03-20 Roland McGrath <roland@hack.frob.com>
33887 * locale/programs/localedef.c (options): Put N_ translation marker
33888 on argument names, not just descriptions.
33890 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33892 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33894 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33897 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33899 2013-03-19 Roland McGrath <roland@hack.frob.com>
33901 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33902 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33903 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33904 [!BEFORE_ABORT] (before_abort): New function.
33905 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33906 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33907 (writev_for_fatal): New function.
33908 (WRITEV_FOR_FATAL): New macro; call that.
33909 (backtrace_and_maps): New function.
33910 (BEFORE_ABORT): New macro; call that.
33911 (struct str_list): Type removed.
33912 (__libc_message, __libc_fatal): Functions removed.
33913 Include <sysdeps/posix/libc_fatal.c> instead.
33915 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33917 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33919 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33922 2013-03-19 Andreas Schwab <schwab@suse.de>
33924 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33925 * sysdeps/gnu/configure: Regenerate.
33927 * configure.in: Substitute libc_cv_rtlddir.
33928 * configure: Regenerate.
33929 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33930 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33931 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33932 * elf/Makefile (install-others, CFLAGS-interp.c)
33933 (ldso_install, common-ldd-rewrite): Likewise.
33934 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33935 $(inst_slibdir)/$(rtld-installed-name).
33936 * scripts/rellns-sh: Add -p option.
33937 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33940 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33942 * manual/nptl.texi: Renamed to ...
33943 * manual/threads.texi: ... this.
33944 * manual/Makefile (chapters): Update.
33946 2013-03-18 Roland McGrath <roland@hack.frob.com>
33949 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33950 on argument names, not just descriptions.
33951 * malloc/memusagestat.c (options): Likewise.
33952 * nss/getent.c (options): Likewise.
33954 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33957 * iconv/iconv_prog.c (options): Put N_ translation marker
33958 on argument names, not just descriptions.
33959 * iconv/iconvconfig.c (options): Likewise.
33961 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33963 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33964 implementation which is faster on all x86_64 architectures.
33965 Tested on AMD, Intel Nehalem, SNB, IVB.
33966 * sysdeps/x86_64/strnlen.S: Likewise.
33968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33969 Remove all multiarch strlen and strnlen versions.
33970 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33971 Remove strlen and strnlen related parts.
33973 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33974 Inline strlen part.
33975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33977 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33978 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33979 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33980 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33981 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33982 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33984 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33986 * manual/memory.texi (Malloc Tunable Parameters):
33987 Sort parameters alphabetically. Add comments for missing entries.
33989 2013-03-17 David S. Miller <davem@davemloft.net>
33991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33993 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33996 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33997 for arguments at most half maximum finite value.
33998 * math/libm-test.inc (j0_test): Add more tests.
33999 (j1_test): Likewise.
34000 (y0_test): Likewise.
34001 (y1_test): Likewise.
34002 * sysdeps/i386/fpu/libm-test-ulps: Update.
34003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34006 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34007 1 / x and functions P and Q for arguments above 0x1p256L.
34008 (__ieee754_y0l): Likewise.
34009 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34010 (__ieee754_y1l): Likewise.
34011 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34012 (j1_test): Likewise.
34013 (y0_test): Likewise.
34014 (y1_test): Likewise.
34016 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34018 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34021 2013-03-15 Roland McGrath <roland@hack.frob.com>
34023 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34024 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34025 zero since it's initialized to EXEC_PAGESIZE.
34027 * sysdeps/unix/sysv/linux/ldsodefs.h
34028 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34029 * sysdeps/generic/ldsodefs.h: ... here.
34031 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34033 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34035 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34037 * math/test-snan.c: Renamed from
34038 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34039 * math/Makefile (tests): Add test-snan.
34040 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34043 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34044 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34046 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34047 __builtin_nan family of functions.
34048 * math/libm-test.inc (initialize): Initialize qnan_value with
34049 __builtin_nan family of functions.
34050 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34052 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34054 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34055 storage class. Initialize qNaN_var and sNaN_var with
34056 __builtin_nan and __builtin_nans families of functions,
34059 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34060 (sqrt_test): Remove duplicate test with qNaN input.
34061 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34062 (round_test, signbit_test, significand_test): Note missing +/-Inf
34063 as well as qNaN tests.
34065 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34066 qNaN_var. Fix a few strings, too.
34067 * math/libm-test.inc (nan_value): Rename to qnan_value.
34068 * math/gen-libm-test.pl (%beautify): Adjust to that.
34069 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34070 * math/test-misc.c (main): Likewise.
34071 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34072 to __qnan_bytes, and __qnan_union, respectively.
34073 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34075 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34076 and lqnanval, respectively.
34077 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34078 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34079 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34080 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34082 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34083 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34086 * math/test-misc.c (main): Fix copy'n'pastos.
34087 * misc/tst-efgcvt.c (special): Likewise.
34089 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34090 Remove declarations.
34092 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34094 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34095 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34096 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34097 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34099 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34102 macro to return vdso values correctly in IFUNC implementations.
34103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34104 Optimization by using IFUNC.
34106 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34107 Richard Henderson <rth@redhat.com>
34108 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34110 * Makefile.in (bench): New target.
34111 * NEWS: Mention the benchmark framework.
34112 * Rules (bench): Likewise.
34113 (binaries-bench): Generate binaries for functions to
34115 * benchtests/Makefile: New makefile for benchmark tests.
34116 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34118 * benchtests/exp-inputs: New input file for EXP function.
34119 * benchtests/pow-inputs: New input file for POW function.
34120 * scripts/bench.pl: New script to generate source files for
34121 benchmark programs.
34123 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34125 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34127 computations on mantissa. Use macros for rounding and
34129 (denorm): Likewise.
34130 (__dbl_mp): Likewise.
34131 (add_magnitudes): Likewise.
34132 (sub_magnitudes): Likewise.
34135 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34136 powers of two in terms of TWOPOW macro.
34137 (mp_no): Make type of mantissa as MANTISSA_T.
34138 [!RADIXI]: Define RADIXI.
34139 [!TWO52]: Define TWO52.
34140 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34142 * manual/nptl.texi (cindex): Modify threads to pthreads.
34144 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34146 * sysdeps/x86_64/preconfigure: Regenerated.
34148 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34151 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34153 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34154 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34156 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34157 * math/libm-test.inc (j0_test): Do not allow one spurious
34158 underflow exception.
34159 (y1_test): Likewise.
34161 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34163 * manual/Makefile (chapters): Add nptl.
34164 * manual/debug.texi (Debugging Support): Add link to Threads
34166 * manual/nptl.texi: New file.
34168 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34170 2013-03-14 Petr Baudis <pasky@ucw.cz>
34172 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34173 for non-NULL pointer before the memory validity test. Pointed
34174 out by Holger Brunck <holger.brunck@keymile.com>.
34176 2013-03-13 Andreas Schwab <schwab@suse.de>
34178 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34181 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34183 * timezone/zic.c: Update from tzcode 2013b.
34185 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34187 * manual/install.texi (Configuring and compiling):
34188 Mention i686 and i586.
34189 * INSTALL: Regenerate.
34191 2013-03-12 Roland McGrath <roland@hack.frob.com>
34193 * sysdeps/init_array/elf-init.c: New file.
34195 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34196 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34198 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34199 __gmon_start__ as global, but as static with a .preinit_array pointer.
34200 * sysdeps/init_array/gmon-start.c: New file. Use that.
34201 * sysdeps/init_array/crti.S: New file, empty except for comments.
34202 * sysdeps/init_array/crtn.S: Likewise.
34204 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34206 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34209 Remove Prefer_SSE_for_memop.
34210 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34211 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34212 HAS_PREFER_SSE_FOR_MEMOP.
34213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34216 Remove bzero, memset ifunc support.
34217 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34218 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34219 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34220 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34222 2013-03-11 Andreas Schwab <schwab@suse.de>
34225 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34228 (GLIBC_2.16): Remove pthread_atfork.
34230 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34232 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34233 (ptestcases.h): Likewise.
34235 2013-03-08 Roland McGrath <roland@hack.frob.com>
34237 * Makeconfig ($(common-objpfx)config.status): Depend on
34238 sysdeps/*/preconfigure{,.in} too.
34240 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34242 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34243 (__free_hook): Use void * instead of __malloc_ptr_t.
34244 (__malloc_hook): Likewise.
34245 (__realloc_hook): Likewise.
34246 (__memalign_hook): Likewise.
34247 (__after_morecore_hook): Likewise.
34248 * malloc/arena.c (save_malloc_hook): Likewise.
34249 (save_free_hook): Likewise.
34250 * malloc/hooks.c (malloc_hook_ini): Likewise.
34251 (realloc_hook_ini): Likewise.
34252 (memalign_hook_ini): Likewise.
34253 * malloc/malloc.c (malloc_hook_ini): Likewise.
34254 (realloc_hook_ini): Likewise.
34255 (memalign_hook_ini): Likewise.
34256 (__free_hook): Likewise.
34257 (__malloc_hook): Likewise.
34258 (__realloc_hook): Likewise.
34259 (__memalign_hook): Likewise.
34260 (__libc_malloc): Likewise.
34261 (__libc_free): Likewise.
34262 (__libc_realloc): Likewise.
34263 (__libc_memalign): Likewise.
34264 (__libc_valloc): Likewise.
34265 (__libc_pvalloc): Likewise.
34266 (__libc_calloc): Likewise.
34267 (__posix_memalign): Likewise.
34268 * malloc/morecore.c (__sbrk): Likewise.
34269 (__default_morecore): Likewise.
34271 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34273 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34274 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34275 __malloc_ptrdiff_t.
34277 * malloc/malloc.h (__malloc_size_t): Remove macro.
34278 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34280 (old_memalign_hook): Likewise.
34281 (old_realloc_hook): Likewise.
34282 (struct hdr): Likewise.
34284 (mallochook): Likewise.
34285 (memalignhook): Likewise.
34286 (reallochook): Likewise.
34287 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34288 (tr_old_realloc_hook): Likewise.
34289 (tr_old_memalign_hook): Likewise.
34290 (tr_mallochook): Likewise.
34291 (tr_reallochook): Likewise.
34292 (tr_memalignhook): Likewise.
34294 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34297 default_ldbl_pack and using as default implementation.
34298 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34300 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34301 redundant definition.
34302 (ldbl_insert_mantissa): Likewise.
34303 (ldbl_canonicalize): Likewise.
34304 (ldbl_nearbyint): Likewise.
34305 (ldbl_pack): Rename to ldbl_pack_ppc.
34306 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34307 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34308 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34310 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34313 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34315 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34318 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34319 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34321 2013-03-07 Andreas Jaeger <aj@suse.de>
34323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34326 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34328 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34329 Include mpa.h and declare __MPEXP.
34330 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34331 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34332 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34333 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34334 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34335 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34336 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34338 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34339 (__slowpow): Use long double EXPL and LOGL functions to
34341 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34342 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34343 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34344 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34345 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34346 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34349 intermediate variable to calculate exponent.
34351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34355 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34356 [!NO__SQR]: Define __sqr.
34357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34358 and NO__SQR. Remove all code except __mul and __sqr. Include
34359 sysdeps/ieee754/dbl-64/mpa.c.
34360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34363 * posix/Makefile (tests): Add tst-pathconf.
34364 * posix/tst-pathconf.c: New test case.
34365 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34367 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34369 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34371 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34373 2013-03-06 Andreas Jaeger <aj@suse.de>
34375 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34376 definition via __MAP_ANONYMOUS.
34378 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34379 it's not part of Linux headers.
34381 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34382 (MAP_HUGE_MASK): Define.
34384 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34389 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34390 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34392 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34395 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34397 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34398 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34399 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34400 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34401 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34402 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34404 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34408 Handle f2fs and efivarfs.
34410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34413 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34414 (EFIVARFS_MAGIC): Add.
34415 (F2FS_LINK_MAX): Add.
34417 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34419 * stdio-common/vfprintf.c: Replace __builtin_expect with
34422 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34425 * sysdeps/generic/bp-sym.h: Remove file.
34426 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34427 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34428 <bp-sym.h> and <bp-asm.h>.
34429 (__longjmp): Don't use BP_SYM.
34430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34432 (memcpy): Don't use BP_SYM.
34433 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34434 <bp-sym.h> and <bp-asm.h>.
34435 (memcpy): Don't use BP_SYM.
34436 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34438 (memcpy): Don't use BP_SYM.
34439 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34441 (memset): Don't use BP_SYM.
34442 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34443 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34444 (__bzero): Don't use BP_SYM.
34445 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34446 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34448 <bp-sym.h> and <bp-asm.h>.
34449 (memcmp): Don't use BP_SYM. Remove comment about bounded
34451 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34452 <bp-sym.h> and <bp-asm.h>.
34453 (memcpy): Don't use BP_SYM.
34454 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34455 <bp-sym.h> and <bp-asm.h>.
34456 (memset): Don't use BP_SYM.
34457 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34458 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34459 (__bzero): Don't use BP_SYM.
34460 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34461 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34462 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34463 <bp-sym.h> and <bp-asm.h>.
34464 (strncmp): Don't use BP_SYM. Remove comment about bounded
34466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34467 <bp-sym.h> and <bp-asm.h>.
34468 (memcpy): Don't use BP_SYM.
34469 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34470 <bp-sym.h> and <bp-asm.h>.
34471 (memset): Don't use BP_SYM.
34472 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34473 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34474 (__bzero): Don't use BP_SYM.
34475 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34476 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34478 <bp-sym.h> and <bp-asm.h>.
34479 (__memchr): Don't use BP_SYM.
34480 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34481 <bp-sym.h> and <bp-asm.h>.
34482 (memcmp): Don't use BP_SYM. Remove comment about bounded
34484 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34485 <bp-sym.h> and <bp-asm.h>.
34486 (memcpy): Don't use BP_SYM.
34487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34488 <bp-sym.h> and <bp-asm.h>.
34489 (__mempcpy): Don't use BP_SYM.
34490 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34491 <bp-sym.h> and <bp-asm.h>.
34492 (__memrchr): Don't use BP_SYM.
34493 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34494 <bp-sym.h> and <bp-asm.h>.
34495 (memset): Don't use BP_SYM.
34496 (__bzero): Likewise.
34497 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34498 <bp-sym.h> and <bp-asm.h>.
34499 (__rawmemchr): Don't use BP_SYM.
34500 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34501 <bp-sym.h> and <bp-asm.h>.
34502 (__STRCMP): Don't use BP_SYM.
34503 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34504 <bp-sym.h> and <bp-asm.h>.
34505 (strchr): Don't use BP_SYM.
34506 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34507 <bp-sym.h> and <bp-asm.h>.
34508 (__strchrnul): Don't use BP_SYM.
34509 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34510 <bp-sym.h> and <bp-asm.h>.
34511 (strlen): Don't use BP_SYM.
34512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34513 <bp-sym.h> and <bp-asm.h>.
34514 (strncmp): Don't use BP_SYM. Remove comment about bounded
34516 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34517 <bp-sym.h> and <bp-asm.h>.
34518 (__strnlen): Don't use BP_SYM.
34519 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34520 <bp-sym.h> and <bp-asm.h>.
34521 (__GI__setjmp): Don't use BP_SYM.
34522 (_setjmp): Likewise.
34523 (__sigsetjmp): Likewise.
34524 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34525 (L(start_addresses)): Don't use BP_SYM.
34526 (_start): Likewise.
34527 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34529 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34530 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34531 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34532 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34533 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34535 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34536 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34537 about bounded pointers.
34538 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34539 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34540 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34542 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34543 about bounded pointers. Remove GKM FIXME comments.
34544 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34545 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34547 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34548 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34549 Remove GKM FIXME comments.
34550 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34551 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34552 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34554 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34555 about bounded pointers. Remove GKM FIXME comment.
34556 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34558 (strncmp): Don't use BP_SYM. Remove comment about bounded
34560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34561 <bp-sym.h> and <bp-asm.h>.
34562 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34564 <bp-sym.h> and <bp-asm.h>.
34565 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34568 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34570 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34573 2013-03-05 David S. Miller <davem@davemloft.net>
34575 * po/es.po: Update from translation team.
34577 2013-03-05 Andreas Jaeger <aj@suse.de>
34579 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34580 <bits/mman-linux.h>.
34581 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34583 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34584 <bits/mman-linux.h> to end of file.
34585 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34587 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34588 <bits/mman-linux.h> to end of file.
34589 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34592 <bits/mman-linux.h> to end of file.
34594 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34595 (MCL_CURRENT, MCL_FUTURE): Define here.
34597 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34602 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34604 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34606 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34607 fourth parameter needed for rt_sigprocmask syscall.
34608 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34609 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34610 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34611 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34612 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34613 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34615 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34618 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34619 comment about bounded pointers.
34620 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34621 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34623 2013-03-04 Andreas Jaeger <aj@suse.de>
34625 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34626 common definitions.
34628 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34629 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34630 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34631 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34633 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34635 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34638 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34639 __ieee754_sqrl instead of __sqrl.
34641 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34643 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34644 * sysdeps/powerpc/fpu_control.h: ... here.
34645 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34646 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34647 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34648 * sysdeps/powerpc/bits/mathinline.h: ... here.
34650 2013-03-01 Roland McGrath <roland@hack.frob.com>
34652 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34653 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34654 to just [NEED_DL_SYSINFO_DSO].
34655 * elf/dl-support.c: Likewise.
34656 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34657 * elf/rtld.c (dl_main): Likewise.
34658 * elf/setup-vdso.h (setup_vdso): Likewise.
34659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34660 * sysdeps/unix/sysv/linux/dl-sysdep.c
34661 (_dl_discover_osversion): Likewise.
34663 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34665 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34666 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34668 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34670 * NEWS: Mention libm performance improvements and non-x86 PI
34673 * csu/libc-start.c (__pthread_initialize_minimal): Change
34674 function arguments.
34675 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34677 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34680 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34682 <bp-sym.h> and <bp-asm.h>.
34683 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34684 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34686 (memcpy): Don't use BP_SYM.
34687 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34689 (__mpn_add_n): Don't use BP_SYM.
34690 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34691 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34693 (__mpn_addmul_1): Don't use BP_SYM.
34694 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34695 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34697 (_setjmp): Don't use BP_SYM.
34698 (__novmx_setjmp): Likewise.
34699 (__GI__setjmp): Likewise.
34700 (__vmx_setjmp): Likewise.
34701 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34703 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34704 (__bzero): Don't use BP_SYM.
34705 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34706 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34707 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34708 <bp-sym.h> and <bp-asm.h>.
34709 (memcpy): Don't use BP_SYM.
34710 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34711 <bp-sym.h> and <bp-asm.h>.
34712 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34713 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34714 <bp-sym.h> and <bp-asm.h>.
34715 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34716 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34718 (__mpn_lshift): Don't use BP_SYM.
34719 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34720 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34722 (memset): Don't use BP_SYM.
34723 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34724 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34725 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34727 (__mpn_mul_1): Don't use BP_SYM.
34728 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34730 <bp-sym.h> and <bp-asm.h>.
34731 (memcmp): Don't use BP_SYM.
34732 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34733 <bp-sym.h> and <bp-asm.h>.
34734 (memcpy): Don't use BP_SYM.
34735 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34736 <bp-sym.h> and <bp-asm.h>.
34737 (memset): Don't use BP_SYM.
34738 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34739 <bp-sym.h> and <bp-asm.h>.
34740 (strncmp): Don't use BP_SYM.
34741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34742 <bp-sym.h> and <bp-asm.h>.
34743 (memcpy): Don't use BP_SYM.
34744 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34745 <bp-sym.h> and <bp-asm.h>.
34746 (memset): Don't use BP_SYM.
34747 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34748 <bp-sym.h> and <bp-asm.h>.
34749 (__memchr): Don't use BP_SYM.
34750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34751 <bp-sym.h> and <bp-asm.h>.
34752 (memcmp): Don't use BP_SYM.
34753 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34754 <bp-sym.h> and <bp-asm.h>.
34755 (memcpy): Don't use BP_SYM.
34756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34757 <bp-sym.h> and <bp-asm.h>.
34758 (__mempcpy): Don't use BP_SYM.
34759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34760 <bp-sym.h> and <bp-asm.h>.
34761 (__memrchr): Don't use BP_SYM.
34762 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34763 <bp-sym.h> and <bp-asm.h>.
34764 (memset): Don't use BP_SYM.
34765 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34766 <bp-sym.h> and <bp-asm.h>.
34767 (__rawmemchr): Don't use BP_SYM.
34768 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34769 <bp-sym.h> and <bp-asm.h>.
34770 (__STRCMP): Don't use BP_SYM.
34771 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34772 <bp-sym.h> and <bp-asm.h>.
34773 (strchr): Don't use BP_SYM.
34774 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34775 <bp-sym.h> and <bp-asm.h>.
34776 (__strchrnul): Don't use BP_SYM.
34777 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34778 <bp-sym.h> and <bp-asm.h>.
34779 (strlen): Don't use BP_SYM.
34780 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34781 <bp-sym.h> and <bp-asm.h>.
34782 (strncmp): Don't use BP_SYM.
34783 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34784 <bp-sym.h> and <bp-asm.h>.
34785 (__strnlen): Don't use BP_SYM.
34786 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34788 (__mpn_rshift): Don't use BP_SYM.
34789 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34790 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34791 <bp-sym.h> and <bp-asm.h>.
34792 (__sigsetjmp): Don't use BP_SYM.
34793 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34794 (L(start_addresses)): Don't use BP_SYM.
34795 (_start): Likewise.
34796 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34798 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34799 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34800 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34801 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34803 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34804 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34805 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34806 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34808 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34810 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34811 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34813 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34815 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34816 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34817 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34819 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34821 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34823 (strncmp): Don't use BP_SYM,
34824 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34826 (__mpn_sub_n): Don't use BP_SYM.
34827 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34828 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34830 (__mpn_submul_1): Don't use BP_SYM.
34831 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34833 <bp-sym.h> and <bp-asm.h>.
34834 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34836 <bp-sym.h> and <bp-asm.h>.
34837 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34840 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34843 Use ZK to minimize writes to Z.
34844 (sub_magnitudes): Simplify code a bit.
34845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34846 Use ZK to minimize writes to Z.
34847 (sub_magnitudes): Simplify code a bit.
34849 2013-02-27 Roland McGrath <roland@hack.frob.com>
34851 * csu/gmon-start.c: Add special exception to license text.
34853 2013-02-27 Richard Henderson <rth@redhat.com>
34855 * scripts/config.guess: Update from config.git.
34856 * scripts/config.sub: Likewise.
34858 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34862 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34864 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34866 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34868 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34870 2013-02-26 Roland McGrath <roland@hack.frob.com>
34872 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34873 [$(build-shared = yes].
34875 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34877 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34878 (__mul): Reduce iterations for calculating mantissa.
34880 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34882 (__mpranred): Likewise.
34885 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34886 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34888 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34890 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34891 Define __attribute__.
34893 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34895 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34897 * posix/regex_internal.h (__attribute): Remove.
34898 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34899 (re_string_context_at): Likewise.
34900 (bitset_not): Use __attribute__ and mark function as possibly
34902 (bitset_merge): Likewise.
34903 (bitset_mask): Likewise.
34904 (re_string_char_size_at): Likewise.
34905 (re_string_wchar_at): Likewise.
34906 (re_string_elem_size_at): Likewise.
34908 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34910 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34914 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34918 (denorm): Likewise.
34919 (__dbl_mp): Likewise.
34920 (add_magnitudes): Likewise.
34921 (sub_magnitudes): Likewise.
34925 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34928 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34931 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34935 up changes with default code.
34936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34939 2013-02-24 Allan McRae <allan@archlinux.org>
34941 * manual/socket.texi (The Internet Namespace): Order menu items
34942 to match that in the file.
34944 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34945 node listing of the info page menu.
34947 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34950 * sysdeps/i386/bp-asm.h: Remove file.
34951 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34952 (PARMS): Do not use macros from bp-asm.h.
34956 (__mpn_add_n): Do not use BP_SYM
34957 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34959 (PARMS): Do not use macros from bp-asm.h.
34962 (__mpn_addmul_1): Do not use BP_SYM
34963 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34965 (PARMS): Do not use macros from bp-asm.h.
34966 (SIGMSK): Likewise.
34967 (_setjmp): Likewise. Do not use BP_SYM.
34968 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34970 (PARMS): Do not use macros from bp-asm.h.
34971 (SIGMSK): Likewise.
34972 (setjmp): Likewise. Do not use BP_SYM.
34973 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34975 (PARMS): Do not use macros from bp-asm.h.
34976 (__frexp): Do not use BP_SYM.
34978 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34980 (PARMS): Do not use macros from bp-asm.h.
34981 (__frexpf): Do not use BP_SYM.
34982 (frexpf): Likewise.
34983 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34985 (PARMS): Do not use macros from bp-asm.h.
34986 (__frexpl): Do not use BP_SYM.
34987 (frexpl): Likewise.
34988 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34990 (PARMS): Do not use macros from bp-asm.h.
34991 (__remquo): Do not use BP_SYM.
34992 (remquo): Likewise.
34993 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34995 (PARMS): Do not use macros from bp-asm.h.
34996 (__remquof): Do not use BP_SYM.
34997 (remquof): Likewise.
34998 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35000 (PARMS): Do not use macros from bp-asm.h.
35001 (__remquol): Do not use BP_SYM.
35002 (remquol): Likewise.
35003 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35005 (PARMS): Do not use macros from bp-asm.h.
35008 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35009 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35011 (PARMS): Do not use macros from bp-asm.h.
35012 (strlen): Do not use BP_SYM.
35013 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35015 (PARMS): Do not use macros from bp-asm.h.
35019 (__mpn_add_n): Do not use BP_SYM.
35020 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35022 (PARMS): Do not use macros from bp-asm.h.
35025 (__mpn_addmul_1): Do not use BP_SYM.
35026 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35029 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35031 (PARMS): Do not use macros from bp-asm.h.
35034 (__mpn_lshift): Do not use BP_SYM.
35035 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35037 (PARMS): Do not use macros from bp-asm.h.
35041 (memcpy): Likewise. Do not use BP_SYM.
35042 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35043 libc_hidden_def and weak_alias.
35044 (mempcpy): Do not use BP_SYM in weak_alias.
35045 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35047 (PARMS): Do not use macros from bp-asm.h.
35050 [!BZERO_P] (CHR): Likewise.
35051 (memset): Likewise. Do not use BP_SYM.
35052 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35054 (PARMS): Do not use macros from bp-asm.h.
35057 (__mpn_mul_1): Do not use BP_SYM.
35058 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35060 (PARMS): Do not use macros from bp-asm.h.
35063 (__mpn_rshift): Do not use BP_SYM.
35064 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35066 (PARMS): Do not use macros from bp-asm.h.
35069 (strchr): Likewise. Do not use BP_SYM.
35070 (index): Do not use BP_SYM in weak_alias.
35071 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35073 (PARMS): Do not use macros from bp-asm.h.
35076 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35077 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35079 (PARMS): Do not use macros from bp-asm.h.
35080 (strlen): Do not use BP_SYM.
35081 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35083 (PARMS): Do not use macros from bp-asm.h.
35087 (__mpn_sub_n): Do not use BP_SYM.
35088 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35090 (PARMS): Do not use macros from bp-asm.h.
35093 (__mpn_submul_1): Do not use BP_SYM.
35094 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35096 (PARMS): Do not use macros from bp-asm.h.
35100 (__mpn_add_n): Do not use BP_SYM.
35101 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35104 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35106 (PARMS): Do not use macros from bp-asm.h.
35109 (memcmp): Do not use BP_SYM.
35110 (bcmp): Do not use BP_SYM in weak_alias.
35111 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35113 (PARMS): Do not use macros from bp-asm.h.
35117 (memcpy): Likewise. Do not use BP_SYM.
35118 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35120 (PARMS): Do not use macros from bp-asm.h.
35124 (memmove): Likewise. Do not use BP_SYM.
35125 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35127 (PARMS): Do not use macros from bp-asm.h.
35131 (__mempcpy): Likewise. Do not use BP_SYM.
35132 (mempcpy): Do not use BP_SYM in weak_alias.
35133 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35135 (PARMS): Do not use macros from bp-asm.h.
35138 [!BZERO_P] (CHR): Likewise.
35139 (memset): Likewise. Do not use BP_SYM.
35140 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35142 (PARMS): Do not use macros from bp-asm.h.
35144 (strcmp): Do not use BP_SYM.
35145 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35147 (PARMS): Do not use macros from bp-asm.h.
35150 [USE_AS_STRTOK_R] (SAVE): Likewise.
35151 (FUNCTION): Likewise. Do not use BP_SYM.
35152 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35154 (strtok_r): Likewise.
35155 (__GI___strtok_r): Likewise.
35156 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35157 (PARMS): Do not use macros from bp-asm.h.
35160 (__mpn_lshift): Do not use BP_SYM.
35161 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35162 (PARMS): Do not use macros from bp-asm.h.
35165 (__memchr): Do not use BP_SYM.
35166 (memchr): Do not use BP_SYM in weak_alias.
35167 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35168 (PARMS): Do not use macros from bp-asm.h.
35171 (memcmp): Do not use BP_SYM.
35172 (bcmp): Do not use BP_SYM in weak_alias.
35173 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35174 (PARMS): Do not use macros from bp-asm.h.
35177 (__mpn_mul_1): Do not use BP_SYM.
35178 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35180 (PARMS): Do not use macros from bp-asm.h.
35183 (__rawmemchr): Do not use BP_SYM.
35184 (rawmemchr): Do not use BP_SYM in weak_alias.
35185 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35186 (PARMS): Do not use macros from bp-asm.h.
35189 (__mpn_rshift): Do not use BP_SYM.
35190 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35191 (PARMS): Do not use macros from bp-asm.h.
35192 (SIGMSK): Likewise.
35193 (__sigsetjmp): Likewise. Do not use BP_SYM.
35194 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35195 (_start): Do not use BP_SYM.
35196 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35197 (PARMS): Do not use macros from bp-asm.h.
35200 (__stpcpy): Likewise. Do not use BP_SYM.
35201 (stpcpy): Do not use BP_SYM in weak_alias.
35202 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35204 (PARMS): Do not use macros from bp-asm.h.
35208 (__stpncpy): Likewise. Do not use BP_SYM.
35209 (stpncpy): Do not use BP_SYM in weak_alias.
35210 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35211 (PARMS): Do not use macros from bp-asm.h.
35214 (strchr): Likewise. Do not use BP_SYM.
35215 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35217 (PARMS): Do not use macros from bp-asm.h.
35220 (__strchrnul): Likewise. Do not use BP_SYM.
35221 (strchrnul): Do not use BP_SYM in weak_alias.
35222 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35224 (PARMS): Do not use macros from bp-asm.h.
35226 (strcspn): Do not use BP_SYM.
35227 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35229 (PARMS): Do not use macros from bp-asm.h.
35232 (strpbrk): Likewise. Do not use BP_SYM.
35233 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35235 (PARMS): Do not use macros from bp-asm.h.
35238 (strrchr): Likewise. Do not use BP_SYM.
35239 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35240 (PARMS): Do not use macros from bp-asm.h.
35242 (strspn): Do not use BP_SYM.
35243 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35244 (PARMS): Do not use macros from bp-asm.h.
35248 (FUNCTION): Likewise. Do not use BP_SYM.
35249 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35251 (strtok_r): Likewise.
35252 (__GI___strtok_r): Likewise.
35253 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35254 (PARMS): Do not use macros from bp-asm.h.
35258 (__mpn_sub_n): Do not use BP_SYM.
35259 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35261 (PARMS): Do not use macros from bp-asm.h.
35264 (__mpn_submul_1): Do not use BP_SYM.
35265 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35267 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35269 (PARMS): Do not use macros from bp-asm.h.
35274 (__clone): Do not use BP_SYM.
35275 (clone): Do not use BP_SYM in weak_alias.
35276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35278 (PARMS): Do not use macros from bp-asm.h.
35280 (__mmap64): Do not use BP_SYM.
35281 (mmap64): Do not use BP_SYM in weak_alias.
35282 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35283 <bp-sym.h> and <bp-asm.h>.
35284 (PARMS): Do not use macros from bp-asm.h.
35285 (__posix_fadvise64_l64): Do not use BP_SYM.
35286 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35287 (PARMS): Do not use macros from bp-asm.h.
35289 (semtimedop): Do not use BP_SYM.
35290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35293 2013-02-21 Allan McRae <allan@archlinux.org>
35295 * manual/message.texi (Charset conversion in gettext):
35296 Move @end statement to beginning of line.
35298 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35305 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35306 (denorm): Likewise.
35307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35310 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35312 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35313 tail-call to the resolved function if pltexit isn't needed.
35315 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35318 or Y being zero as being unlikely.
35319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35322 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35324 * manual/nss.texi (System Databases and Name Service Switch):
35325 Remove frobnicate @pxref.
35327 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35329 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35330 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35332 2013-02-20 Petr Machata <pmachata@redhat.com>
35334 * elf/elf.h (R_ARM_TARGET1): New macro.
35335 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35336 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35337 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35338 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35339 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35340 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35341 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35342 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35343 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35344 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35345 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35346 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35347 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35348 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35349 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35350 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35351 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35352 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35353 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35354 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35355 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35356 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35357 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35358 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35359 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35360 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35361 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35362 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35363 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35364 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35365 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35366 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35367 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35368 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35369 (R_ARM_THM_GOT_BREL12): Likewise.
35370 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35371 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35372 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35373 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35374 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35375 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35376 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35377 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35378 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35380 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35382 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35383 __attribute_used__ to __attribute__ ((unused)).
35385 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35387 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35390 comment formatting.
35391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35393 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35396 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35398 (ENTER): Remove both macro definitions.
35400 (CHECK_BOUNDS_LOW): Likewise.
35401 (CHECK_BOUNDS_HIGH): Likewise.
35402 (CHECK_BOUNDS_BOTH): Likewise.
35403 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35404 (RETURN_BOUNDED_POINTER): Likewise.
35405 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35406 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35407 (POP_ERRNO_LOCATION_RETURN): Likewise.
35408 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35409 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35410 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35412 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35413 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35414 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35415 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35416 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35417 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35418 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35419 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35420 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35421 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35422 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35423 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35424 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35425 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35427 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35428 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35430 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35431 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35432 * sysdeps/i386/i586/memset.S (memset): Likewise.
35433 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35434 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35435 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35437 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35438 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35439 Change uses of L(2) to L(out).
35440 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35441 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35442 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35443 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35444 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35446 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35447 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35449 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35450 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35451 (RETURN): Do not use macro LEAVE.
35452 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35453 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35454 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35455 * sysdeps/i386/i686/memset.S (memset): Likewise.
35456 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35457 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35458 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35459 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35461 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35462 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35463 L(1_2) and L(1_3) into L(1).
35464 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35465 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35466 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35467 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35468 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35469 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35470 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35471 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35472 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35474 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35475 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35476 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35477 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35478 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35479 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35480 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35481 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35482 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35483 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35484 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35485 * sysdeps/i386/strspn.S (strspn): Likewise.
35486 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35488 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35489 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35490 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35491 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35492 L(1_3) into L(1_1).
35493 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35494 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35495 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35497 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35499 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35501 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35504 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35506 * math/atest-exp.c (exp_mpn): Remove ROUND.
35507 * math/atest-exp2.c (exp_mpn): Likewise.
35508 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35510 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35511 * stdlib/tst-tls-atexit-lib.c: Likewise.
35512 * stdlib/tst-tls-atexit.c: Likewise.
35514 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35516 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35517 and __attribute_alloc_size__.
35519 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35521 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35522 __attribute_alloc_size__.
35523 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35524 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35526 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35528 * include/programs/xmalloc.h: New file.
35529 * catgets/gencat.c: Include it.
35530 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35531 * elf/pldd.c: Likewise.
35532 * iconv/iconv_charmap.c: Likewise.
35533 * iconv/iconvconfig.c: Likewise.
35534 * iconv/strtab.c: Likewise.
35535 * locale/programs/locale.c: Likewise.
35536 * locale/programs/localedef.h: Likewise.
35537 * locale/programs/simple-hash.c: Likewise.
35538 * nscd/nscd.h: Likewise.
35539 * nss/makedb.c: Likewise.
35540 * sysdeps/generic/ldconfig.h: Likewise.
35542 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35544 * Versions.def: Add GLIBC_2.18.
35545 * include/link.h (struct link_map): New member l_tls_dtor_count.
35546 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35547 (__call_tls_dtors): Likewise.
35548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35549 __cxa_thread_atexit_impl.
35550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35566 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35567 (tests): Add test case tst-tls-atexit.
35568 (modules-names): Add shared library for tst-tls-atexit.
35569 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35570 (GLIBC_PRIVATE): Add __call_tls_dtors.
35571 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35573 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35574 * stdlib/tst-tls-atexit.c: New test case.
35575 * stdlib/tst-tls-atexit-lib.c: New test case.
35577 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35579 * elf/Versions (ld): Add _dl_find_dso_for_object.
35580 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35581 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35582 (dl_open_worker): Use _dl_find_dso_for_object.
35583 * elf/dl-sym.c (do_sym): Likewise.
35584 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35586 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35588 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35589 Syntactic changes only.
35590 (_dl_runtime_profile): Do a tail-call to the resolved function.
35592 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35595 * sysdeps/x86_64/bp-asm.h: Remove file.
35596 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35597 <bp-sym.h> and <bp-asm.h>.
35598 (__clone): Do not use BP_SYM.
35599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35600 <bp-sym.h> and <bp-asm.h>.
35601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35602 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35604 (_setjmp): Do not use BP_SYM.
35605 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35607 (setjmp): Do not use BP_SYM.
35608 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35610 (mempcpy): Do not use BP_SYM in weak_alias.
35611 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35613 (strchr): Do not use BP_SYM.
35614 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35616 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35617 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35618 (_start): Do not use BP_SYM.
35619 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35621 (strcat): Do not use BP_SYM.
35622 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35624 (STRCMP): Do not use BP_SYM.
35625 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35627 (STRCPY): Do not use BP_SYM.
35628 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35630 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35632 (FUNCTION): Do not use BP_SYM.
35633 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35635 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35637 2013-02-17 Andreas Jaeger <aj@suse.de>
35639 * time/Versions: Sort entries.
35640 * string/Versions: Likewise.
35641 * resolv/Versions: Likewise.
35642 * posix/Versions: Likewise.
35643 * iconv/Versions: Likewise.
35644 * elf/Versions: Likewise.
35645 * wcsmbs/Versions: Likewise.
35647 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35649 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35650 loop termination condition.
35652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35653 variable to calculate EZ.
35656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35657 the lower precision input.
35659 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35662 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35663 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35664 (run-via-rtld-prefix): Do not handle %-bp tests.
35665 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35666 (all-object-suffixes): Remove .ob.
35667 (bppfx): Remove variable.
35668 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35669 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35670 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35671 [$(build-bounded) = yes] (libtype.ob): Likewise.
35672 * Makerules (elide-routines.ob): Remove variable.
35673 (do-tests-clean): Do not handle *-bp.out.
35674 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35675 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35676 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35677 (tests): Do not include $(tests-bp.out).
35678 (xtests): Do not include $(xtests-bp.out).
35679 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35680 [$(build-bounded) = yes] ($(addprefix
35681 $(objpfx),$(binaries-bounded))): Remove rule.
35682 ($(objpfx)%-bp.out): Remove rule.
35683 * config.make.in (build-bounded): Remove variable.
35684 * crypt/Makefile [$(build-bounded) = yes]
35685 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35686 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35687 append to variable.
35688 [$(build-bounded) = yes] (install-lib): Likewise.
35689 [$(build-bounded) = yes] (generated): Likewise.
35690 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35692 * intl/Makefile [$(build-bounded) = yes]
35693 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35694 * math/Makefile [$(build-bounded) = yes]
35695 ($(tests:%=$(objpfx)%-bp): Likewise.
35696 * misc/Makefile [$(build-bounded) = yes]
35697 ($(objpfx)tst-tsearch-bp): Likewise.
35698 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35699 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35701 * string/Makefile (o-objects.ob): Remove variable.
35702 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35703 (CFLAGS-.ob): Remove variable.
35704 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35705 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35706 both definitions of variable.
35707 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35708 (ASFLAGS-.ob): Remove variable.
35710 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35713 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35714 Remove __BOUNDED_POINTERS__ from condition.
35715 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35716 * string/bits/string2.h [!__NO_STRING_INLINES &&
35717 !__BOUNDED_POINTERS__]: Likewise.
35718 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35720 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35721 Remove conditional code.
35722 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35723 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35724 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35728 * csu/libc-start.c: Do not include <bp-sym.h>.
35729 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35730 * elf/dl-open.c: Do not include <bp-sym.h>.
35731 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35732 * math/fegetenv.c: Do not include <bp-sym.h>.
35733 (fegetenv): Do not use BP_SYM in versioned symbols.
35734 * nptl/sysdeps/pthread/bits/libc-lockP.h
35735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35738 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35740 (__pthread_mutex_destroy): Likewise.
35741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35742 (__pthread_mutex_lock): Likewise.
35743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35744 (__pthread_mutex_trylock): Likewise.
35745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35746 (__pthread_mutex_unlock): Likewise.
35747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35748 (__pthread_mutexattr_init): Likewise.
35749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35750 (__pthread_mutexattr_destroy): Likewise.
35751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35752 (__pthread_mutexattr_settype): Likewise.
35753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35754 (__pthread_rwlock_init): Likewise.
35755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35756 (__pthread_rwlock_destroy): Likewise.
35757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35758 (__pthread_rwlock_rdlock): Likewise.
35759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35760 (__pthread_rwlock_tryrdlock): Likewise.
35761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35762 (__pthread_rwlock_wrlock): Likewise.
35763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35764 (__pthread_rwlock_trywrlock): Likewise.
35765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35766 (__pthread_rwlock_unlock): Likewise.
35767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35768 (__pthread_key_create): Likewise.
35769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35770 (__pthread_setspecific): Likewise.
35771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35772 (__pthread_getspecific): Likewise.
35773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35776 (_pthread_cleanup_push_defer): Likewise.
35777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35778 (_pthread_cleanup_pop_restore): Likewise.
35779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35780 (pthread_setcancelstate): Likewise.
35781 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35783 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35784 (memchr): Do not use BP_SYM in weak_alias.
35785 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35786 (fegetenv): Do not use BP_SYM in versioned symbols.
35787 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35788 (fesetenv): Do not use BP_SYM in versioned symbols.
35789 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35790 (feupdateenv): Do not use BP_SYM in versioned symbols.
35791 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35792 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35793 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35794 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35795 (open64): Do not use BP_SYM in weak_alias.
35796 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35797 (fegetenv): Do not use BP_SYM in versioned symbols.
35798 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35799 (fesetenv): Do not use BP_SYM in versioned symbols.
35800 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35801 (feupdateenv): Do not use BP_SYM in versioned symbols.
35802 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35803 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35804 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35805 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35806 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35807 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35810 (__libc_start_main): Do not use BP_SYM.
35812 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35815 redundant return line.
35817 (denorm): Likewise.
35818 (dbl_mp): Likewise.
35819 (sub_magnitudes): Likewise.
35825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35827 (denorm): Likewise.
35828 (dbl_mp): Likewise.
35829 (sub_magnitudes): Likewise.
35836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35839 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35842 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35843 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35845 of __mul for squares.
35846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35850 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35851 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35853 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35856 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35858 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35859 prototype or function definition. Rename ubp_* variables and
35860 parameters. Remove argv definitions conditional on
35861 [__BOUNDED_POINTERS__].
35862 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35863 * elf/dl-runtime.c (_dl_fixup): Likewise.
35864 * include/set-hooks.h (RUN_HOOK): Likewise.
35865 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35867 * string/strcpy.c (strcpy): Do not use __unbounded.
35868 * sysdeps/generic/frame.h (struct layout): Likewise.
35869 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35870 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35871 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35872 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35873 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35874 (__backtrace): Likewise.
35875 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35877 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35878 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35879 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35881 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35882 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35883 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35884 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35885 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35886 Do not use __unbounded.
35887 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35888 Rename __unboundedrlimits parameter to rlimits in prototype.
35889 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35890 Do not use __unbounded.
35891 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35892 not use __ptrvalue.
35893 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35894 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35895 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35896 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35897 __ptrvalue or __unbounded.
35898 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35899 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35901 (__new_msgctl): Do not use __ptrvalue.
35902 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35904 (__libc_msgrcv): Do not use __ptrvalue.
35905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35906 startup_info): Do not use __unbounded.
35907 (__libc_start_main): Likewise. Rename ubp_* variables and
35908 parameters. Remove argv definitions conditional on
35909 [__BOUNDED_POINTERS__].
35910 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35912 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35916 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35918 (__new_shmctl): Do not use __ptrvalue.
35919 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35920 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35922 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35924 (__libc_sigaction): Likewise.
35925 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35926 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35928 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35930 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35932 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35934 * string/mempcpy.c: Implement by calling memcpy.
35936 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35943 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35944 values in the mantissa.
35946 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35947 minimize writes to Z.
35948 (sub_magnitudes): Simplify code a bit.
35950 2013-02-12 Roland McGrath <roland@hack.frob.com>
35952 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35953 from the message. The linker prefixes all warnings with that already.
35955 2013-02-12 Andreas Schwab <schwab@suse.de>
35958 * posix/regexec.c (extend_buffers): Add parameter min_len.
35959 (check_matching): Pass minimum needed length.
35960 (clean_state_log_if_needed): Likewise.
35961 (get_subexp): Likewise.
35962 * posix/Makefile (tests): Add bug-regex34.
35963 (bug-regex34-ENV): Define.
35964 * posix/bug-regex34.c: New file.
35967 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35968 elements compare against the byte sequence of it, not its name.
35969 * posix/Makefile (tests): Add bug-regex35.
35970 (bug-regex35-ENV): Define.
35971 * posix/bug-regex35.c: New file.
35973 2013-02-11 Tom de Vries <tom@codesourcery.com>
35975 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35977 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35978 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35979 (CHECK_EOL): Add undef.
35981 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35983 * bits/stdlib-bsearch.h: New file.
35984 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35985 * stdlib/stdlib.h: Likewise.
35987 2013-02-11 Roland McGrath <roland@hack.frob.com>
35989 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35990 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35992 * manual/search.texi (Array Search Function): Add missing const in
35994 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35995 declaration to use rlim_t.
35996 (Basic Scheduling Functions): Remove erroneous const from
35997 sched_getparam prototype. Remove erroneous * from
35998 sched_get_priority_max and sched_get_priority_min prototypes.
35999 (Resource Usage): Fix summary @comment on vtimes to refer to
36000 sys/vtimes.h rather than vtimes.h.
36001 Add missing *s in vtimes prototype.
36002 (Limits on Resources): Fix ulimit prototype to return long int.
36003 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36004 prototypes to use long int rather than double.
36005 (BSD Random): Fix initstate and setstate to use char *, not void *.
36006 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36007 prototype to make second argument 'struct aiocb64 *const[]'.
36008 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36009 (Status of AIO Operations): Remove erroneous const in aio_return and
36010 aio_return64 prototypes.
36011 (Synchronizing I/O): Fix sync prototype to return void.
36012 * manual/startup.texi (Suboptions): Remove an erroneous const in
36013 getsubopt prototype.
36014 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36015 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36016 use size_t rather than int.
36017 (Scanning All Users): Likewise for getpwent_r.
36018 (Setting Groups): Add missing const to setgroups prototype.
36019 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36020 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36021 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36022 'const void *' rather than 'const char *'.
36023 (Host Address Functions): Likewise for inet_ntop.
36024 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36025 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36026 ssize_t for return value.
36027 (Sending Data): Likewise for send, sendto, sendmsg.
36028 (Socket Option Functions): Add a missing const in setsockopt prototype.
36029 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36030 use wchar_t for the argument.
36031 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36032 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36034 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36035 double/float/long double for second argument.
36036 Fix return types of significand, significandf, significandl.
36037 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36038 argument in fchmod prototype.
36039 (File Owner): Use uid_t and gid_t in fchown prototype.
36040 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36041 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36042 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36043 use 'const struct dirent **' as argument types to CMP function pointer
36045 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36046 (File Times): Fix summary magic @comment for struct utimbuf and utime
36047 to refer to utime.h, not time.h.
36048 * manual/string.texi (Argz Functions): Add missing const in
36049 argz_extract and argz_next prototypes.
36050 (Finding Tokens in a String): Likewise for basename.
36051 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36052 (Copying and Concatenation): Fix typo in wmemmove prototype.
36053 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36054 (Signal Stack): Remove erroneous const in sigstack prototype.
36055 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36057 (Simple Calendar Time): Likewise for stime.
36058 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36060 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36061 say sys/sysctl.h instead.
36062 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36063 and vsyslog prototypes.
36065 2013-02-11 Tom de Vries <tom@codesourcery.com>
36067 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36070 2013-02-11 Roland McGrath <roland@hack.frob.com>
36072 * misc/sys/mman.h: Fix typo in mremap comment.
36074 2013-02-08 Roland McGrath <roland@hack.frob.com>
36076 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36077 the '\0' terminator.
36079 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36082 * debug/segfault.c: Don't include <bp-checks.h>.
36083 * sysdeps/generic/bp-checks.h: Remove file.
36084 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36085 (__GETDENTS): Don't use CHECK_N.
36086 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36087 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36088 (__getgroups): Don't use CHECK_N.
36089 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36090 (setgroups): Don't use CHECK_N.
36091 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36092 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36093 (__libc_msgrcv): Don't use CHECK_N.
36094 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36095 (__libc_msgsnd): Don't use CHECK_N.
36096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36098 (__libc_pread): Don't use CHECK_N.
36099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36100 include <bp-checks.h>.
36101 (__libc_pread64): Don't use CHECK_N.
36102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36103 include <bp-checks.h>.
36104 (__libc_pwrite): Don't use CHECK_N.
36105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36106 include <bp-checks.h>.
36107 (__libc_pwrite64): Don't use CHECK_N.
36108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36110 (__libc_pread): Don't use CHECK_N.
36111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36112 include <bp-checks.h>.
36113 (__libc_pread64): Don't use CHECK_N.
36114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36115 include <bp-checks.h>.
36116 (__libc_pwrite): Don't use CHECK_N.
36117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36118 include <bp-checks.h>.
36119 (__libc_pwrite64): Don't use CHECK_N.
36120 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36121 (do_pread): Don't use CHECK_N.
36122 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36123 (do_pread64): Don't use CHECK_N.
36124 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36125 (do_pwrite): Don't use CHECK_N.
36126 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36127 (do_pwrite64): Don't use CHECK_N.
36128 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36129 (__libc_readv): Don't use CHECK_N.
36130 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36131 (semop): Don't use CHECK_N.
36132 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36134 (semtimedop): Don't use CHECK_N.
36135 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36136 (__libc_pread): Don't use CHECK_N.
36137 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36139 (__libc_pread64): Don't use CHECK_N.
36140 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36142 (__libc_pwrite): Don't use CHECK_N.
36143 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36145 (__libc_pwrite64): Don't use CHECK_N.
36146 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36148 (__libc_msgrcv): Don't use CHECK_N.
36149 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36150 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36151 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36152 (__libc_writev): Don't use CHECK_N.
36154 2013-02-08 Roland McGrath <roland@hack.frob.com>
36156 * string/strcpy.c: Removed unused variable.
36158 * Makeconfig (+sysdep-includes): Define with := rather than =.
36159 Use an existing include/ subdir of each sysdeps dir before it.
36161 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36163 * nscd/connection.c (register_traced_file): Comment function.
36164 [HAVE_INOTIFY] (union __inev): Define.
36165 [HAVE_INOTIFY] (inotify_check_files): New function.
36166 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36167 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36169 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36171 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36173 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36174 loaded if not already and that a failure is permanent.
36176 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36179 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36180 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36182 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36185 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36186 (CHECK_1_NULL_OK): Likewise.
36187 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36188 (__fxstat): Do not use CHECK_1.
36189 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36191 (___fxstat64): Do not use CHECK_1.
36192 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36194 (__fxstatat): Do not use CHECK_1.
36195 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36197 (__fxstatat64): Do not use CHECK_1.
36198 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36200 (__fxstat): Do not use CHECK_1.
36201 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36203 (__fxstatat): Do not use CHECK_1.
36204 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36206 (__getresgid): Do not use CHECK_1.
36207 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36209 (__getresuid): Do not use CHECK_1.
36210 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36212 (__lxstat): Do not use CHECK_1.
36213 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36215 (__old_msgctl): Do not use CHECK_1.
36216 (__new_msgctl): Likewise.
36217 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36219 (__new_setrlimit): Do not use CHECK_1.
36220 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36222 (__old_shmctl): Do not use CHECK_1.
36223 (__new_shmctl): Likewise.
36224 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36226 (__xstat): Do not use CHECK_1.
36227 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36228 (__lxstat): Do not use CHECK_1.
36229 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36231 (___lxstat64): Do not use CHECK_1.
36232 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36233 (__old_msgctl): Do not use CHECK_1.
36234 (__new_msgctl): Likewise.
36235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36237 (__gettimeofday): Do not use CHECK_1.
36238 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36239 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36240 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36242 (__gettimeofday): Do not use CHECK_1.
36243 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36244 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36245 (__new_shmctl): Do not use CHECK_1.
36246 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36248 (do_sigtimedwait): Do not use CHECK_1.
36249 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36251 (do_sigwaitinfo): Do not use CHECK_1.
36252 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36254 (msgctl): Do not use CHECK_1.
36255 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36257 (shmctl): Do not use CHECK_1.
36258 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36259 (ustat): Do not use CHECK_1.
36260 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36262 (__fxstat): Do not use CHECK_1.
36263 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36265 (__fxstatat): Do not use CHECK_1.
36266 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36268 (__lxstat): Do not use CHECK_1.
36269 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36271 (__xstat): Do not use CHECK_1.
36272 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36273 (__xstat): Do not use CHECK_1.
36274 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36275 (___xstat64): Do not use CHECK_1.
36278 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36280 (CHECK_BOUNDS_HIGH): Likewise.
36281 * string/strcpy.c: Do not include <bp-checks.h>.
36282 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36284 2013-02-07 Roland McGrath <roland@hack.frob.com>
36286 * nscd/nscd-client.h (__nscd_drop_map_ref):
36287 Add __attribute__ ((unused)).
36288 * nis/nss-nisplus.h (niserr2nss): Likewise.
36290 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36291 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36293 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36294 Remove inline keyword.
36295 * include/rounding-mode.h (round_away): Likewise.
36296 * libio/wfileops.c (adjust_wide_data): Likewise.
36297 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36298 (__m128i_strloadu_tolower): Likewise.
36299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36300 (__m128i_strloadu_tolower): Likewise.
36301 * time/mktime.c (ydhms_diff): Likewise.
36302 * locale/elem-hash.h (elem_hash): Likewise.
36303 * locale/setlocale.c (setdata): Likewise.
36304 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36305 (re_string_wchar_at): Likewise.
36306 (bitset_not, bitset_merge, bitset_mask): Likewise.
36307 [!(__GNUC__ > 3)] (inline): Remove macro.
36308 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36309 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36310 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36311 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36312 * string/memcmp.c (memcmp_bytes): Likewise.
36313 * locale/programs/locarchive.c (compute_hashval): Likewise.
36314 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36315 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36316 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36317 * nss/getent.c (print_rpc, print_protocols): Likewise.
36318 (print_passwd, print_group, print_aliases): Likewise.
36319 * nis/nss-nisplus.h (niserr2nss): Likewise.
36320 * nscd/connections.c (restart_p): Likewise.
36321 Change return type to bool.
36323 2013-02-05 Roland McGrath <roland@hack.frob.com>
36325 * Makeconfig (all-Depend-files): Add existing
36326 $(sorted-subdirs:=/Depend) files.
36327 (all-subdirs): Remove nss.
36328 * sysdeps/unix/inet/Subdirs: Add it here instead.
36329 * hesiod/Depend: New file.
36331 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36332 instead of calling alloca.
36334 * io/lseek.c (__lseek): Rename to __libc_lseek.
36335 Define __lseek as an alias.
36337 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36339 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36341 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36342 else clause and remove check for non-standard endianness.
36344 2013-02-04 David S. Miller <davem@davemloft.net>
36346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36348 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36351 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36352 (__ubp_memchr): Remove prototype.
36353 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36354 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36355 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36356 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36357 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36359 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36360 (__ubp_memchr): Likewise.
36361 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36362 (__ubp_memchr): Likewise.
36363 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36364 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36365 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36366 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36368 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36369 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36370 (__getcwd): Do not use CHECK_STRING.
36371 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36373 (__real_chown): Do not use CHECK_STRING.
36374 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36376 (fchownat): Do not use CHECK_STRING.
36377 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36379 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36381 (__lchown): Do not use CHECK_STRING.
36382 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36383 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36384 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36385 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36387 include <bp-checks.h>.
36388 (truncate64): Do not use CHECK_STRING.
36389 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36391 (__real_chown): Do not use CHECK_STRING.
36392 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36394 (__lchown): Do not use CHECK_STRING.
36395 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36397 (__chown): Do not use CHECK_STRING.
36398 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36400 (truncate64): Do not use CHECK_STRING.
36401 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36403 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36404 (__xmknod): Do not use CHECK_STRING.
36405 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36407 (__xmknodat): Do not use CHECK_STRING.
36408 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36409 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36411 2013-02-04 Andreas Schwab <schwab@suse.de>
36414 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36415 * include/netdb.h: Likewise for h_errno.
36416 * elf/tst-stackguard1.c: Include <tls.h>.
36418 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36420 * elf/link.h (struct link_map): Extend the l_addr comment.
36421 * include/link.h (struct link_map): Likewise.
36423 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36426 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36427 (BOUNDED_1): Remove macro.
36428 * debug/backtrace.c: Don't include <bp-checks.h>.
36429 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36430 (__backtrace): Likewise.
36431 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36433 (__backtrace): Don't use BOUNDED_1.
36434 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36436 (__backtrace): Don't use BOUNDED_1.
36437 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36438 (__backtrace): Don't use BOUNDED_1.
36439 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36440 (shmat): Don't use BOUNDED_N.
36442 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36445 * sysdeps/generic/bp-start.h: Remove file.
36446 * csu/libc-start.c: Don't include <bp-start.h>.
36447 (LIBC_START_MAIN): Set up __environ directly instead of using
36448 INIT_ARGV_and_ENVIRON.
36449 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36453 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36455 (CHECK_FCNTL): Likewise.
36456 (CHECK_N_PAGES): Likewise.
36459 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36461 (CHECK_SIGSET_NULL_OK): Likewise.
36462 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36464 (sigpending): Don't use CHECK_SIGSET.
36465 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36467 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36468 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36470 (do_sigsuspend): Don't use CHECK_SIGSET.
36471 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36473 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36474 (do_sigwait): Don't use CHECK_SIGSET.
36475 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36477 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36478 include <bp-checks.h>.
36479 (sigpending): Don't use CHECK_SIGSET.
36480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36481 include <bp-checks.h>.
36482 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36483 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36485 (sigpending): Don't use CHECK_SIGSET.
36486 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36488 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36491 * sysdeps/generic/bp-semctl.h: Remove file.
36492 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36493 <bp-checks.h> and <bp-semctl.h>.
36494 (__old_semctl): Don't use CHECK_SEMCTL.
36495 (__new_semctl): Likewise.
36496 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36498 (__old_semctl): Don't use CHECK_SEMCTL.
36499 (__new_semctl): Likewise.
36500 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36501 <bp-checks.h> and <bp-semctl.h>.
36502 (__old_semctl): Don't use CHECK_SEMCTL.
36503 (__new_semctl): Likewise.
36504 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36505 <bp-checks.h> and <bp-semctl.h>.
36506 (semctl): Don't use CHECK_SEMCTL.
36509 * Makerules (elide-bp-thunks): Remove variable.
36510 (elide-routines.oS): Don't use $(elide-bp-thunks).
36511 (elide-routines.os): Likewise.
36512 (elide-routines.o): Likewise.
36513 (elide-routines.op): Likewise.
36514 (elide-routines.og): Likewise.
36515 (objects): Don't use $(bp-thunks).
36516 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36518 (common-generated): Do not add s-proto-bp.d.
36519 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36522 Do not generate makefile rules for bounded-pointer thunks.
36523 * sysdeps/generic/bp-thunks.h: Remove file.
36524 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36525 * sysdeps/unix/s-proto-bp.S: Likewise.
36528 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36529 parts of result separately when argument is not close to line from
36530 -i to i and one part of argument is small.
36531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36533 * math/libm-test.inc (cacos_test): Add more tests.
36534 (casin_test): Likewise.
36535 (casinh_test): Likewise.
36536 * sysdeps/i386/fpu/libm-test-ulps: Update.
36537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36539 2013-01-31 David S. Miller <davem@davemloft.net>
36541 * po/de.po: Update from translation team.
36543 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36545 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36547 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36549 * configure.in (_AC_PROG_CC_C89): New definition.
36550 * configure: Regenerate.
36552 * configure.in (AC_PROG_CPP): New definition.
36553 * configure: Regenerate.
36555 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36557 * debug/tst-backtrace.h: New file.
36558 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36559 (ret): Remove variable.
36561 (FAIL): Remove macro.
36562 (NO_INLINE): Likewise.
36563 (fn1): Use match function instead of strstr.
36564 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36565 (ret): Remove variable.
36567 (FAIL): Remove macro.
36568 (NO_INLINE): Likewise.
36569 (fn): Use match function instead of strstr.
36570 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36571 (ret): Remove variable.
36573 (FAIL): Remove macro.
36574 (NO_INLINE): Likewise.
36575 (handle_signal): Use match function instead of strstr.
36576 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36577 (ret): Remove variable.
36579 (FAIL): Remove macro.
36580 (NO_INLINE): Likewise.
36581 (handle_signal): Use match function instead of strstr.
36583 2013-01-23 Roland McGrath <roland@hack.frob.com>
36585 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36587 2013-01-23 David S. Miller <davem@davemloft.net>
36589 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36590 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36591 argument of CAS if possible.
36592 * sysdeps/sparc/sparc64/bits/atomic.h
36593 (__arch_compare_and_exchange_val_32_acq): Likewise.
36594 (__arch_compare_and_exchange_val_64_acq): Likewise.
36596 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36598 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36599 * sysdeps/posix/ulimit.c: ... this.
36600 Include <limits.h>.
36601 * sysdeps/unix/bsd/ulimit.c: Remove file.
36603 2013-01-23 Adam Conrad <adconrad@0c3.net>
36605 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36606 (LDFLAGS-tst-array5): Likewise.
36608 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36611 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36612 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36613 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36614 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36616 2013-01-21 David S. Miller <davem@davemloft.net>
36618 * sysdeps/sparc/backtrace.c: New file.
36619 * sysdeps/sparc/sparc32/backtrace.h: New file.
36620 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36621 * sysdeps/sparc/sparc64/backtrace.h: New file.
36622 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36623 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36626 2013-01-21 Andreas Schwab <schwab@suse.de>
36629 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36632 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36638 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36639 Mark Mitchell <mark@codesourcery.com>
36640 Tom de Vries <tom@codesourcery.com>
36641 Paul Pluzhnikov <ppluzhnikov@google.com>
36643 * debug/tst-backtrace2.c: New file.
36644 * debug/tst-backtrace3.c: Likewise.
36645 * debug/tst-backtrace4.c: Likewise.
36646 * debug/tst-backtrace5.c: Likewise.
36647 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36648 (CFLAGS-tst-backtrace3.c): Likewise.
36649 (CFLAGS-tst-backtrace4.c): Likewise.
36650 (CFLAGS-tst-backtrace5.c): Likewise.
36651 (LDFLAGS-tst-backtrace2): Likewise.
36652 (LDFLAGS-tst-backtrace3): Likewise.
36653 (LDFLAGS-tst-backtrace4): Likewise.
36654 (LDFLAGS-tst-backtrace5): Likewise.
36655 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36656 tst-backtrace4 and tst-backtrace5.
36658 2013-01-18 Anton Blanchard <anton@samba.org>
36659 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36661 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36662 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36663 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36664 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36666 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36667 "+r" and remove output regs list as redundant. Add explicit inline
36668 asm to specify register of return val to work around compiler codegen
36669 bug. Remove (int) cast on return value. Add return type parameter to
36670 use in macro so that this macro does not truncate return value for
36672 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36673 pass to INTERNAL_VSYSCALL_NCS.
36674 (INLINE_VSYSCALL): Add 'long int' as return type to
36675 INTERNAL_VSYSCALL_NCS macro invocation.
36676 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36677 INTERNAL_VSYSCALL_NCS macro invocation.
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36680 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36683 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36684 Fix application of SIMD FP exception mask.
36686 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36687 mp_no from a power of two.
36688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36689 __mpexp_twomm1. Use __pow_mp.
36691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36694 2013-01-17 David S. Miller <davem@davemloft.net>
36696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36698 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36701 * include/complex.h: Condition contents on [!_COMPLEX_H].
36702 (__kernel_casinhf): New prototype.
36703 (__kernel_casinh): Likewise.
36704 (__kernel_casinhl): Likewise.
36705 * math/Makefile (libm_calls): Add k_casinh.
36706 * math/k_casinh.c: New file.
36707 * math/k_casinhf.c: Likewise.
36708 * math/k_casinhl.c: Likewise.
36709 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36710 finite nonzero arguments.
36711 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36712 finite nonzero arguments.
36713 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36714 finite nonzero arguments.
36715 * math/s_casinh.c: Do not include <float.h>.
36716 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36717 * math/s_casinhf.c: Do not include <float.h>.
36718 (__casinhf): Move code for finite nonzero arguments to
36720 * math/s_casinhl.c: Do not include <float.h>.
36721 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36723 (__casinhl): Move code for finite nonzero arguments to
36725 * math/libm-test.inc (cacos_test): Add more tests.
36726 * sysdeps/i386/fpu/libm-test-ulps: Update.
36727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36729 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36731 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36732 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36733 [!HAVE_MREMAP]: Remove [defined linux] case.
36734 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36736 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36738 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36740 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36742 * elf/elf.h (R_386_SIZE32): New relocation.
36743 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36745 (elf_machine_rela): Likewise.
36746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36747 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36749 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36751 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36752 (FP_FAST_FMA): Do not define.
36753 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36754 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36755 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36756 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36757 !_SOFT_FLOAT]: Likewise.
36758 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36759 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36761 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36762 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36764 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36765 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36766 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36769 2013-01-16 Andreas Schwab <schwab@suse.de>
36772 * include/stdlib.h (__mktemp): Add declaration.
36773 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36774 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36776 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36778 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36780 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36781 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36782 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36784 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36785 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36787 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36789 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36790 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36791 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36793 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36794 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36796 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36798 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36800 2013-01-15 David S. Miller <davem@davemloft.net>
36802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36803 trunc{,f} to libm-sysdep_routes.
36804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36815 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36817 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36818 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36819 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36822 nearbyint{,f} to libm-sysdep_routes.
36823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36843 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36844 libc_feholdexcept and libc_fesetenv.
36846 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36848 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36850 2013-01-14 David S. Miller <davem@davemloft.net>
36852 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36853 (SPARC_ASM_VIS2_IFUNC): Likewise.
36854 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36856 use of 'siam' instruction.
36857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36890 routines to libm-sysdep_routines.
36891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36894 fdim/fdimf to libm-sysdep_routines.
36895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36903 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36904 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36905 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36906 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36908 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36911 to optimize copies.
36913 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36918 local variable MPTWO.
36919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36922 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36924 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36927 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36929 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36931 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36933 * manual/pattern.texi (glob_t): Document gl_flags.
36934 (glob64_t): Likewise.
36936 2013-01-11 David S. Miller <davem@davemloft.net>
36938 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36939 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36940 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36941 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36942 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36943 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36944 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36945 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36946 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36947 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36948 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36949 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36950 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36952 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36953 sparc V9 rather than using V8 code.
36954 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36955 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36957 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36959 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36962 2013-01-11 Roland McGrath <roland@hack.frob.com>
36964 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36965 not in the main loop.
36966 * configure: Regenerated.
36968 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36970 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36971 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36973 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36974 [!__GLIBC_HAVE_LONG_LONG] case.
36975 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36976 condition to just #else.
36977 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36978 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36979 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36980 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36982 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36983 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36984 #elif condition to just #else.
36985 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36986 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36987 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36988 #elif condition to just #else.
36990 2013-01-11 Steve Ellcey <sellcey@mips.com>
36992 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36993 (EF_MIPS_ARCH_64): Fix value.
36994 (EF_MIPS_ARCH_32R2): New.
36995 (EF_MIPS_ARCH_64R2): New.
36997 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36999 * Makeconfig (+link-pie-before-libc): New.
37000 (+link-pie-after-libc): Likewise.
37001 (+link-pie-tests): Likewise.
37002 (+link-pie): Rewritten.
37003 (link-before-libc): Remove $(config-LDFLAGS).
37004 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37005 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37006 (config-LDFLAGS): Renamed to ...
37007 (rtld-LDFLAGS): This.
37008 (rtld-tests-LDFLAGS): New macro.
37009 (link-libc-rpath-link): Likewise.
37010 (link-libc-tests-rpath-link): Likewise.
37011 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37012 (link-libc): Prepand $(link-libc-rpath-link).
37013 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37014 (test-program-prefix): New macro.
37015 (test-via-rtld-prefix): Likewise.
37016 (test-program-cmd): Likewise.
37017 (host-test-program-cmd): Likewise.
37018 * Makefile ($(common-objpfx)testrun.sh): Replace
37019 $(run-program-prefix) with $(test-program-prefix).
37020 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37022 ($(common-objpfx)shlib.lds): Likewise.
37023 (build-module-helper): Likewise.
37024 ($(common-objpfx)format.lds): Likewise.
37025 * Rules (binaries-pie-tests): New.
37026 (binaries-pie-notests): Likewise.
37027 (binaries-pie): Rewritten.
37028 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37029 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37030 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37031 (make-test-out): Replace $(host-built-program-cmd) with
37032 $(host-test-program-cmd).
37033 * config.make.in (build-hardcoded-path-in-tests): New variable.
37034 * configure.in (--enable-hardcoded-path-in-tests): New configure
37036 (hardcoded_path_in_tests): New AC_SUBST.
37037 * configure: Regenerated.
37038 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37039 $(built-program-cmd) with $(test-program-cmd).
37040 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37041 (test_program_cmd): This.
37042 * elf/Makefile ($(objpfx)order.out): Run test with
37043 $(test-program-prefix).
37044 ($(objpfx)order2.out): Likewise.
37045 ($(objpfx)tst-initorder.out): Likewise.
37046 ($(objpfx)tst-initorder2.out): Likewise.
37047 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37048 $(test-program-cmd).
37049 ($(objpfx)tst-array1-static.out): Likewise.
37050 ($(objpfx)tst-array2.out): Likewise.
37051 ($(objpfx)tst-array3.out): Likewise.
37052 ($(objpfx)tst-array4.out): Likewise.
37053 ($(objpfx)tst-array5.out): Likewise.
37054 ($(objpfx)tst-array5-static.out): Likewise.
37055 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37056 $(test-program-cmd).
37057 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37058 $(run-program-prefix) with $(test-program-prefix).
37059 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37060 (test_program_prefix): This.
37061 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37062 $(run-program-prefix) with $(test-program-prefix).
37063 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37064 (test_program_prefix): This.
37065 * iconvdata/tst-tables.sh: Likewise.
37066 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37067 $(run-program-prefix) with $(test-program-prefix).
37068 ($(objpfx)tst-translit.out): Likewise.
37069 ($(objpfx)tst-gettext2.out): Likewise.
37070 ($(objpfx)tst-gettext4.out): Likewise.
37071 ($(objpfx)tst-gettext6.out): Likewise.
37072 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37073 (test_program_prefix): This.
37074 * intl/tst-gettext2.sh: Likewise.
37075 * intl/tst-gettext4.sh Likewise.
37076 * intl/tst-gettext6.sh: Likewise.
37077 * intl/tst-translit.sh: Likewise.
37078 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37079 with $(test-program-cmd).
37080 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37081 $(run-program-prefix) with $(test-program-prefix).
37082 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37083 (test_program_prefix): This.
37084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37085 $(run-program-prefix) with $(test-program-prefix).
37086 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37087 (test_program_prefix): This.
37088 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37089 * posix/Makefile ($(objpfx)globtest.out): Replace
37090 $(run-via-rtld-prefix) and $(test-wrapper) with
37091 $(test-program-prefix) and $(test-via-rtld-prefix).
37092 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37093 $(test-program-prefix).
37094 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37095 $(host-test-program-cmd).
37096 (tst-spawn-ARGS): Likewise.
37097 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37098 $(test-program-prefix).
37099 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37100 (test_via_rtld_prefix): This.
37101 (test_wrapper): Renamed to ...
37102 (test_program_prefix): This.
37103 (run_program_prefix): Replaced by test_program_prefix.
37104 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37105 (test_program_prefix): This.
37106 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37107 with $(host-test-program-cmd).
37108 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37109 $(run-program-prefix) with $(test-program-prefix).
37110 ($(objpfx)tst-printf.out): Likewise.
37111 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37112 $(test-program-cmd).
37113 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37114 (test_program_prefix): This.
37115 * stdio-common/tst-unbputc.sh: Likewise.
37116 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37117 $(run-program-prefix) with $(test-program-prefix).
37118 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37119 (test_program_prefix): This.
37120 * string/Makefile ($(objpfx)tst-svc.out): Replace
37121 $(built-program-cmd) with $(test-program-cmd).
37123 2013-01-11 Andreas Jaeger <aj@suse.de>
37126 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37127 value. Sync with Linux 3.7.
37129 2013-01-10 David S. Miller <davem@davemloft.net>
37131 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37132 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37133 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37135 2013-01-10 Roland McGrath <roland@hack.frob.com>
37137 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37139 * configure: Regenerated.
37141 2013-01-10 David S. Miller <davem@davemloft.net>
37143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37144 sparc V9 rather than using V8 code.
37145 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37146 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37148 2013-01-10 Roland McGrath <roland@hack.frob.com>
37150 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37151 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37152 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37153 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37154 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37155 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37156 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37157 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37158 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37159 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37160 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37161 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37162 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37163 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37164 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37165 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37166 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37167 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37168 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37169 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37170 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37171 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37172 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37173 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37174 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37175 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37176 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37178 2013-01-10 David S. Miller <davem@davemloft.net>
37180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37182 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37184 * posix/Makefile (tests-static): New variable.
37185 (tests): Add $(tests-static).
37186 (tst-exec-static-ARGS): New variable.
37187 (tst-spawn-static-ARGS): Likewise.
37188 * posix/tst-exec-static.c: New file.
37189 * posix/tst-spawn-static.c: Likewise.
37190 * posix/tst-exec.c: Support run directly.
37191 * posix/tst-spawn.c: Likewise.
37193 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37195 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37197 * math/bits/mathcalls.h (llrint): Likewise.
37198 (llround): Likewise.
37199 * stdlib/stdlib.h (struct drand48_data): Likewise.
37200 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37201 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37202 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37204 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37206 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37207 (elf_greg_t): Likewise.
37208 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37209 (__jmp_buf): Likewise.
37210 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37212 (llrint): Likewise, for all definitions.
37213 (llrintl): Likewise.
37215 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37216 Remove [__GNUC__] condition.
37217 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37218 condition to just [__USE_ISOC99].
37219 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37221 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37224 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37225 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37227 (_POSIX_V6_ILP32_OFF32): Likewise.
37228 (_XBS5_ILP32_OFF32): Likewise.
37229 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37230 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37232 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37234 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37237 doubles __mpexp_twomm1. Adjust usage.
37238 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37241 2013-01-10 Andreas Schwab <schwab@suse.de>
37244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37245 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37247 2013-01-09 David S. Miller <davem@davemloft.net>
37250 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37251 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37252 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37253 (TCP_FASTOPEN): Define.
37254 (tcp_repair_opt): New structure.
37255 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37257 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37258 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37259 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37260 (tcp_cookie_transactions): New structure.
37262 2013-01-09 Anton Blanchard <anton@samba.org>
37264 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37265 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37266 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37269 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37271 * include/features.h (__USE_ANSI): Remove.
37273 2013-01-09 Roland McGrath <roland@hack.frob.com>
37275 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37277 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37279 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37281 * sysdeps/s390/fpu/libm-test-ulps: Update.
37283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37285 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37289 (denorm): Likewise.
37290 (__mp_dbl): Likewise.
37291 (__dbl_mp): Likewise.
37292 (add_magnitudes): Likewise.
37293 (sub_magnitudes): Likewise.
37299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37303 (denorm): Likewise.
37304 (__mp_dbl): Likewise.
37305 (__dbl_mp): Likewise.
37306 (add_magnitudes): Likewise.
37307 (sub_magnitudes): Likewise.
37313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37317 (denorm): Likewise.
37318 (__mp_dbl): Likewise.
37319 (__dbl_mp): Likewise.
37320 (add_magnitudes): Likewise.
37321 (sub_magnitudes): Likewise.
37328 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37330 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37331 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37332 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37333 2 && __USE_EXTERN_INLINES]: Likewise.
37335 2013-01-08 Andreas Jaeger <aj@suse.de>
37338 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37340 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37343 2013-01-07 Anton Blanchard <anton@samba.org>
37345 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37346 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37347 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37348 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37349 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37350 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37351 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37352 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37359 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37361 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37363 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37365 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37366 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37368 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37369 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37372 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37374 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37375 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37378 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37379 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37380 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37381 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37382 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37383 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37384 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37387 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37389 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37391 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37392 (__MALLOC_PMT): Likewise.
37393 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37394 [__GNUC__], only on [_LIBC].
37395 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37396 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37397 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37398 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37399 forward declaration.
37400 (realloc_hook_ini): Likewise.
37401 (memalign_hook_ini): Likewise.
37402 (__libc_memalign): Do not use __MALLOC_PMT in variable
37404 (__libc_valloc): Likewise.
37405 (__libc_pvalloc): Likewise.
37406 (__libc_calloc): Likewise.
37407 (__posix_memalign): Likewise.
37410 * math/s_casinh.c: Include <float.h>.
37411 (__casinh): Do not do computation with squaring and square root
37412 for large arguments.
37413 * math/s_casinhf.c: Include <float.h>.
37414 (__casinhf): Do not do computation with squaring and square root
37415 for large arguments.
37416 * math/s_casinhl.c: Include <float.h>.
37417 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37418 (__casinhl): Do not do computation with squaring and square root
37419 for large arguments.
37420 * math/libm-test.inc (casin_test): Add more tests.
37421 (casinh_test): Likewise.
37422 * sysdeps/i386/fpu/libm-test-ulps: Update.
37423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37425 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37428 (__x86_64_raw_data_cache_size): Likewise.
37429 (__x86_64_data_cache_size_half): Likewise.
37430 (__x86_64_raw_data_cache_size_half): Likewise.
37431 (__x86_64_shared_cache_size): Likewise.
37432 (__x86_64_raw_shared_cache_size): Likewise.
37433 (__x86_64_shared_cache_size_half): Likewise.
37434 (__x86_64_raw_shared_cache_size_half): Likewise.
37435 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37437 (__x86_data_cache_size): This.
37438 (__x86_64_raw_data_cache_size): Renamed to ...
37439 (__x86_raw_data_cache_size): This.
37440 (__x86_64_data_cache_size_half): Renamed to ...
37441 (__x86_data_cache_size_half): This.
37442 (__x86_64_raw_data_cache_size_half): Renamed to ...
37443 (__x86_raw_data_cache_size_half): This.
37444 (__x86_64_shared_cache_size): Renamed to ...
37445 (__x86_shared_cache_size): This.
37446 (__x86_64_raw_shared_cache_size): Renamed to ...
37447 (__x86_raw_shared_cache_size): This.
37448 (__x86_64_shared_cache_size_half): Renamed to ...
37449 (__x86_shared_cache_size_half): This.
37450 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37451 (__x86_raw_shared_cache_size_half): This.
37452 * sysdeps/x86_64/memcpy.S: Updated.
37453 * sysdeps/x86_64/memset.S: Likewise.
37454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37458 2013-01-04 David S. Miller <davem@davemloft.net>
37460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37462 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37464 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37465 1 to avoid redefinition warning.
37466 (__USE_GNU): Don't define.
37467 (init_signaling_nan): Protoize.
37469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37471 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37473 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37475 (__cpymn): Likewise.
37476 (norm): Remove commented code.
37477 (denorm): Likewise.
37478 (__mp_dbl): Likewise.
37480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37481 (__cpymn): Likewise.
37482 (norm): Remove commented code.
37483 (denorm): Likewise.
37484 (__mp_dbl): Likewise.
37487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37488 mp_no value for 1.0 and 2.0.
37489 (norm): Use RADIXI instead of radixi.d.
37490 (denorm): Likewise.
37491 (__mul): Use 0.0 instead of zero.d.
37492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37493 mp_no value for 1.0 and 2.0.
37494 (norm): Use RADIXI instead of radixi.d.
37495 (denorm): Likewise.
37496 (__mul): Use 0.0 instead of zero.d.
37498 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37501 * math/s_casinh.c (__casinh): Reduce finite argument to first
37502 quadrant then set signs of results at the end.
37503 * math/s_casinhf.c (__casinhf): Likewise.
37504 * math/s_casinhl.c (__casinhl): Likewise.
37505 * math/libm-test.inc (casin_test): Add more tests.
37506 (casinh_test): Likewise.
37507 * sysdeps/i386/fpu/libm-test-ulps: Update.
37508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37510 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37512 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37514 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37516 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37518 (denorm): Likewise.
37519 (__mp_dbl): Likewise.
37522 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37523 and adjust the header comment.
37525 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37526 variable name from declaration.
37528 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37531 Initialize COMMON_CPUID_INDEX_7 element.
37532 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37533 (CPUID_RTM): Likewise.
37534 (HAS_RTM): Likewise.
37535 (COMMON_CPUID_INDEX_7): New enum.
37537 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37540 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37541 size is zero, record memory as freed.
37543 2013-01-03 Andreas Jaeger <aj@suse.de>
37545 * po/ia.po: Add new Interlingua translation.
37547 2012-01-03 Allan McRae <allan@archlinux.org>
37549 * locale/programs/localedef.c: Fix description of '--posix' flag.
37551 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37553 * NEWS: Update dates in second copyright notice.
37554 * README: Update copyright dates in example.
37555 * manual/libc.texinfo: Update copyright dates.
37556 * scripts/test-installation.pl: Update copyright date in --version
37559 * hurd/ctty-input.c: Fix copyright notice formatting.
37560 * hurd/ctty-output.c: Likewise.
37561 * hurd/dtable.c: Likewise.
37562 * hurd/hurd-raise.c: Likewise.
37563 * hurd/hurdprio.c: Likewise.
37564 * hurd/msgportdemux.c: Likewise.
37565 * misc/sys/file.h: Likewise.
37566 * misc/sys/ioctl.h: Likewise.
37567 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37568 * sysdeps/mach/hurd/chdir.c: Likewise.
37569 * sysdeps/mach/hurd/fchdir.c: Likewise.
37570 * sysdeps/mach/hurd/rename.c: Likewise.
37571 * sysdeps/mach/hurd/rmdir.c: Likewise.
37572 * sysdeps/mach/hurd/seekdir.c: Likewise.
37573 * sysdeps/mach/hurd/setsid.c: Likewise.
37574 * sysdeps/posix/wait3.c: Likewise.
37576 * All files with FSF copyright notices: Update copyright dates
37577 using scripts/update-copyrights.
37578 * intl/plural.c: Regenerated.
37579 * locale/programs/charmap-kw.h: Likewise.
37580 * locale/programs/locfile-kw.h: Likewise.
37582 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37588 calculation loop and add branch prediction.
37590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37591 check access beyond bounds of m1np.
37593 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37595 (__inv): Remove local variable MPTWO to use the global
37597 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37600 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37601 MP3HALFS static const.
37603 2013-01-01 David S. Miller <davem@davemloft.net>
37605 * po/ca.po: Update from translation team.
37607 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37609 * scripts/update-copyrights: New file.
37610 * Makeconfig: Reformat copyright notice.
37611 * ctype/ctype.h: Likewise.
37612 * debug/swprintf_chk.c: Likewise.
37613 * elf/dl-cache.c: Likewise.
37614 * elf/dl-debug.c: Likewise.
37615 * elf/dl-object.c: Likewise.
37616 * grp/initgroups.c: Likewise.
37617 * hurd/Makefile: Likewise.
37618 * hurd/hurd/signal.h: Likewise.
37619 * hurd/hurdfault.c: Likewise.
37620 * hurd/hurdioctl.c: Likewise.
37621 * hurd/hurdlookup.c: Likewise.
37622 * hurd/intr-msg.c: Likewise.
37623 * iconv/gconv_open.c: Likewise.
37624 * libio/swprintf.c: Likewise.
37625 * locale/lc-ctype.c: Likewise.
37626 * locale/nl_langinfo.c: Likewise.
37627 * mach/Machrules: Likewise.
37628 * mach/Makefile: Likewise.
37629 * malloc/obstack.h: Likewise.
37630 * manual/Makefile: Likewise.
37631 * manual/tsort.awk: Likewise.
37632 * misc/bits/stab.def: Likewise.
37633 * nis/nis_print_group_entry.c: Likewise.
37634 * nis/nis_table.c: Likewise.
37635 * nis/nss_compat/compat-pwd.c: Likewise.
37636 * nis/nss_compat/compat-spwd.c: Likewise.
37637 * po/Makefile: Likewise.
37638 * posix/fnmatch.c: Likewise.
37639 * posix/regex.h: Likewise.
37640 * resolv/Makefile: Likewise.
37641 * resolv/nss_dns/dns-network.c: Likewise.
37642 * resolv/res_hconf.c: Likewise.
37643 * scripts/gen-sorted.awk: Likewise.
37644 * soft-fp/soft-fp.h: Likewise.
37645 * stdio-common/printf.h: Likewise.
37646 * stdlib/monetary.h: Likewise.
37647 * stdlib/random.c: Likewise.
37648 * stdlib/random_r.c: Likewise.
37649 * sysdeps/generic/Makefile: Likewise.
37650 * sysdeps/gnu/Makefile: Likewise.
37651 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37679 * sysdeps/mach/hurd/errnos.awk: Likewise.
37680 * sysdeps/mach/hurd/fork.c: Likewise.
37681 * sysdeps/mach/hurd/getcwd.c: Likewise.
37682 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37683 * sysdeps/mach/hurd/mmap.c: Likewise.
37684 * sysdeps/mach/hurd/utimes.c: Likewise.
37685 * sysdeps/mach/hurd/xmknod.c: Likewise.
37686 * sysdeps/posix/profil.c: Likewise.
37687 * sysdeps/posix/readdir_r.c: Likewise.
37688 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37689 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37690 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37691 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37695 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37697 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37698 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37699 * sysdeps/pthread/lio_listio.c: Likewise.
37700 * sysdeps/sparc/dl-procinfo.h: Likewise.
37701 * sysdeps/unix/i386/sysdep.S: Likewise.
37702 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37703 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37704 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37705 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37707 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37708 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37709 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37710 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37711 * sysdeps/wordsize-32/divdi3.c: Likewise.
37712 * time/sys/time.h: Likewise.
37713 * wcsmbs/Makefile: Likewise.
37715 2013-01-01 David S. Miller <davem@davemloft.net>
37717 * po/fr.po: Update from translation team.
37719 * catgets/gencat.c: Update copyright year.
37720 * csu/version.c: Likewise.
37721 * debug/catchsegv.sh: Likewise.
37722 * debug/pcprofiledump.c: Likewise.
37723 * debug/xtrace.sh: Likewise.
37724 * elf/ldconfig.c: Likewise.
37725 * elf/ldd.bash.in: Likewise.
37726 * elf/pldd.c: Likewise.
37727 * elf/sotruss.ksh: Likewise.
37728 * elf/sprof.c: Likewise.
37729 * iconv/iconv_prog.c: Likewise.
37730 * iconv/iconvconfig.c: Likewise.
37731 * locale/programs/locale.c: Likewise.
37732 * locale/programs/localedef.c: Likewise.
37733 * login/programs/pt_chown.c: Likewise.
37734 * malloc/memusage.sh: Likewise.
37735 * malloc/memusagestat.c: Likewise.
37736 * malloc/mtrace.pl: Likewise.
37737 * nscd/nscd.c: Likewise.
37738 * nss/getent.c: Likewise.
37739 * nss/makedb.c: Likewise.
37740 * posix/getconf.c: Likewise.
37742 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37744 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37747 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37749 * math/bits/mathcalls.h (modf): Use __nonnull.
37751 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37753 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37754 (split): Use macro CN instead of the bare value.
37755 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37758 instead of the bare value.
37759 (power1): Likewise.
37761 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37765 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37767 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37769 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37771 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37772 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37774 2012-12-28 Andreas Jaeger <aj@suse.de>
37776 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
37777 values are from Linux 3.7.
37779 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37780 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37782 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37784 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37787 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37789 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37790 variables with preprocessor constants.
37791 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37793 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37795 2012-12-27 Bruno Haible <bruno@clisp.org>
37798 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37801 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37804 and use variable directly.
37805 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37807 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37809 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37810 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37814 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37815 include directive. Remove local variable MPONE.
37816 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37820 2012-12-25 David S. Miller <davem@davemloft.net>
37822 * version.h (RELEASE): Set to "development".
37823 (VERSION): Set to "2.17.90".
37824 * NEWS: Add 2.18 section.
37826 2012-12-21 David S. Miller <davem@davemloft.net>
37828 * po/hr.po: Update from translation team.
37830 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37832 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37834 2012-12-19 Steve Ellcey <sellcey@mips.com>
37836 * NEWS: Mention new memcpy for MIPS.
37838 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37840 * manual/contrib.texi (Contributors): Spelling correction.
37842 2012-12-15 David S. Miller <davem@davemloft.net>
37844 * po/ru.po: Update from translation team.
37846 2012-12-13 David S. Miller <davem@davemloft.net>
37848 * NEWS: Mention IFUNC testsuite enhancements.
37850 * po/pl.po: Update from translation team.
37851 * po/bg.po: Likewise.
37853 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37854 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37856 2012-12-11 David S. Miller <davem@davemloft.net>
37858 * po/sv.po: Update from translation team.
37860 * po/vi.po: Update from translation team.
37862 * po/cs.po: Update from translation team.
37864 * po/de.po: Update from translation team.
37865 * po/eo.po: Likewise.
37866 * po/nl.po: Likewise.
37868 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37871 * manual/argp.texi (Argp Helper Functions): Move node to follow
37872 Argp Parsing State.
37875 * manual/conf.texi (Limits on File System Capacity): Mention if
37876 terminating null is included in the max size.
37878 2012-12-10 Andreas Jaeger <aj@suse.de>
37880 * po/cs.po: Update from translation team.
37882 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37884 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37885 void pointer and cast to uintptr_t.
37886 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37888 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37889 * sysdeps/s390/s390-64/memset.S: Likewise.
37891 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37894 * menual/message.texi (Message Translation): Fix typos.
37895 (Helper programs for gettext): Likewise.
37897 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37900 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37903 2012-12-07 David S. Miller <davem@davemloft.net>
37905 * po/libc.pot: Update.
37907 2012-12-07 Richard Henderson <rth@redhat.com>
37910 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37911 normal/normal case to before the switch.
37912 (_FP_DIV): Likewise.
37914 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37915 Mike Frysinger <vapier@gentoo.org>
37917 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37918 check for __NR_fadvise64_64.
37920 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37922 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37923 0, not just to plain "0" as a statement.
37924 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37927 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37929 * NEWS: Use sourceware.org in Bugzilla URL.
37931 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37934 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37936 * stdio-common/tst-put-error.c (do_test): Add newline to the
37937 padded test to ensure flush.
37939 2012-12-05 Jeff Law <law@redhat.com>
37941 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37943 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37945 * README: Don't refer to ports add-on as distributed separately.
37946 Mention AArch64 in list of systems supported in the ports add-on.
37948 * LICENSES: Add more non-FSF copyright and license notices.
37950 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37953 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37955 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37956 10000 as width of padded output.
37958 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37960 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37963 variable LX with __attribute__ ((unused)).
37964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37966 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37969 with __attribute__ ((unused)).
37971 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37973 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37975 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37977 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37978 (CFLAGS-nldbl-acos.c): New variable.
37979 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37980 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37981 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37982 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37983 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37984 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37985 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37986 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37987 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37988 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37989 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37990 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37991 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37992 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37993 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37994 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37995 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37996 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37997 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37998 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37999 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38000 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38001 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38002 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38003 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38004 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38005 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38006 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38007 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38008 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38009 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38010 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38011 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38012 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38013 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38014 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38015 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38016 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38017 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38018 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38019 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38020 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38021 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38022 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38023 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38024 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38025 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38026 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38027 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38028 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38029 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38030 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38031 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38032 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38033 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38034 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38035 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38036 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38037 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38038 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38039 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38040 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38041 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38042 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38043 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38044 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38045 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38046 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38047 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38048 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38049 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38050 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38051 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38052 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38053 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38054 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38055 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38056 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38057 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38058 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38059 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38060 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38061 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38062 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38063 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38064 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38065 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38066 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38067 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38068 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38069 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38070 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38071 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38072 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38073 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38074 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38075 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38078 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38082 whole low double instead of just low 47 bits when splitting values
38085 2012-12-03 Allan McRae <allan@archlinux.org>
38087 * manual/stdio.texi (Predefined Printf Handlers): Remove
38088 @hsep and @vsep usage.
38090 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38092 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38093 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38095 2012-12-03 Jeff Law <law@redhat.com>
38097 * time/sys/time.h (settimeofday): Do not mark TV argument
38100 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38102 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38103 when currently writing and seek to current position when not.
38104 * libio/Makefile (tests): Remove bug-fclose1.
38105 * libio/bug-fclose1.c: Delete.
38107 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38109 * manual/arith.texi (feenableexcept): Fix typo.
38110 (fedisableexcept): Likewise.
38112 2012-11-30 Roland McGrath <roland@hack.frob.com>
38114 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38115 second, differently-typed declaration, rather than a cast.
38117 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38119 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38120 * include/rpc/svc.h: ... here.
38122 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38125 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38126 depending n and resplen2 to catch cases where answer
38129 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38131 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38132 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38134 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38136 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38138 2012-11-29 Roland McGrath <roland@hack.frob.com>
38140 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38142 2012-11-28 Jeff Law <law@redhat.com>
38145 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38146 dataset_temporary. Track alloca usage into alloca_used.
38147 If dataset is large allocate and release it via malloc/free.
38149 2012-06-04 Florian Weimer <fweimer@redhat.com>
38152 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38154 2012-11-28 David S. Miller <davem@davemloft.net>
38156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38158 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38161 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38162 of pi/2 rounded to nearest to 64 bits.
38163 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38164 nearest to 64 bits.
38165 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38168 2012-11-28 Jeff Law <law@redhat.com>
38169 Martin Osvald <mosvald@redhat.com>
38172 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38173 * sunrpc/svc.c: Include time.h.
38174 (__svc_accept_failed): New function.
38175 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38176 any reason other than EINTR, call __svc_accept_failed.
38177 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38178 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38180 2012-11-28 Andreas Schwab <schwab@suse.de>
38182 * scripts/abilist.awk: Also handle indirect functions in .opd
38185 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38188 * sysdeps/x86/fpu/powl_helper.c: New file.
38189 * sysdeps/x86/fpu/Makefile: Likewise.
38190 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38192 (__ieee754_powl): Use __powl_helper for finite arguments except
38193 integer exponents below 8.
38194 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38196 (__ieee754_powl): Use __powl_helper for finite arguments except
38197 integer exponents below 8.
38198 * math/libm-test.inc (pow_test): Add more tests and enable some
38199 previously disabled tests.
38200 * sysdeps/i386/fpu/libm-test-ulps: Update.
38201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38203 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38204 Carlos O'Donell <carlos_odonell@mentor.com>
38206 * nss/makedb.c (is_prime): Assert that input is odd and greater
38207 than 4. Note that fact in a comment too.
38208 (next_prime): Add 4 to input.
38210 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38213 * libio/Makefile (tests): Add test case tst-fwrite-error.
38214 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38215 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38216 * libio/tst-fwrite-error.c: New test case.
38218 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38220 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38221 before casting to void *.
38222 * include/libc-internal.h (__pointer_type): New macro.
38223 (__integer_if_pointer_type_sub): Likewise.
38224 (__integer_if_pointer_type): Likewise.
38225 (cast_to_integer): Likewise.
38226 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38227 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38228 before casting to atomic64_t.
38229 (atomic_exchange_acq): Likewise.
38230 (__arch_exchange_and_add_body): Likewise.
38231 (__arch_add_body): Likewise.
38232 (atomic_add_negative): Likewise.
38233 (atomic_add_zero): Likewise.
38235 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38237 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38238 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38239 (add_fdes): Likewise.
38240 (linear_search_fdes): Likewise.
38241 (binary_search_unencoded_fdes): Likewise.
38243 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38245 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38247 2012-11-24 Adam Conrad <adconrad@0c3.net>
38249 * configure.in: Autodetect C++ header directories.
38250 * configure: Regenerated.
38252 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38254 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38256 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38260 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38262 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38263 LDBL_MANT_DIG == 106]: Disable some tests.
38264 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38266 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38271 input for small inputs. Return +/- pi/2 for large inputs.
38272 * math/libm-test.inc (atan_test): Add more tests.
38274 * sysdeps/generic/unwind-dw2-fde-glibc.c
38275 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38276 __attribute__ ((unused)).
38279 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38280 x * y if x and y are nonzero and z is zero.
38283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38284 nonzero exponents with absolute value below 0x1p-117 to +/-
38288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38289 up arguments below 2**-450, not just those below 2**-500.
38290 * math/libm-test.inc (hypot_test): Add another test.
38293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38294 Return a+b for ratio over 2**120, not 2**60.
38295 * math/libm-test.inc (hypot_test): Add another test.
38297 * math/libm-test.inc (clog_test): Use
38298 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38299 (clog10_test): Likewise.
38302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38304 2012-11-22 Andreas Schwab <schwab@suse.de>
38306 * sysdeps/i386/fpu/libm-test-ulps: Update.
38308 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38310 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38311 printf output with newline.
38313 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38316 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38317 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38318 -z nodlopen, -z initfirst and -z execstack support.
38319 * configure: Regenerated.
38321 * elf/elf.h (DF_1_NODIRECT): New macro.
38322 (DF_1_IGNMULDEF): Likewise.
38323 (DF_1_NOKSYMS): Likewise.
38324 (DF_1_NOHDR): Likewise.
38325 (DF_1_EDITED): Likewise.
38326 (DF_1_NORELOC): Likewise.
38327 (DF_1_SYMINTPOSE): Likewise.
38328 (DF_1_GLOBAUDIT): Likewise.
38329 (DF_1_SINGLETON): Likewise.
38330 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38331 DT_1_SUPPORTED_MASK bits.
38332 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38334 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38336 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38338 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38340 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38344 (sendmmsg): Move declarations...
38345 * socket/sys/socket.h: ... here.
38346 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38347 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38349 * socket/recvmmsg.c: ... this new file.
38350 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38351 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38352 definition of __sendmmsg hidden.
38353 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38354 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38355 Move ENOSYS stub into and include it from...
38356 * socket/sendmmsg.c: ... this new file.
38357 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38358 (sysdep_routines): Move recvmmsg and sendmmsg...
38359 * socket/Makefile (routines): ... here.
38360 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38361 (GLIBC_PRIVATE): Add __sendmmsg.
38362 * include/sys/socket.h (__sendmmsg): Add declarations.
38363 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38366 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38369 variable I1 with __attribute__ ((unused)).
38370 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38372 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38374 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38375 DUMMY variables with __attribute__ ((unused)).
38377 * bits/byteswap.h: Include <bits/types.h>.
38378 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38380 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38382 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38383 string_t. Do not manually set errno.
38384 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38385 length with __strnlen. Make sure to both set errno and return it on
38388 2012-11-19 David S. Miller <davem@davemloft.net>
38390 With help from Joseph Myers.
38391 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38392 very large arguments properly.
38393 * math/libm-test.inc (atan_test): New tests.
38394 (atan2_test): New tests.
38395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38398 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38401 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38404 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38405 [POSIX] (EADDRNOTAVAIL): Likewise.
38406 [POSIX] (EAFNOSUPPORT): Likewise.
38407 [POSIX] (EALREADY): Likewise.
38408 [POSIX] (ECONNABORTED): Likewise.
38409 [POSIX] (ECONNREFUSED): Likewise.
38410 [POSIX] (ECONNRESET): Likewise.
38411 [POSIX] (EDESTADDRREQ): Likewise.
38412 [POSIX] (EDQUOT): Likewise.
38413 [POSIX] (EHOSTUNREACH): Likewise.
38414 [POSIX] (EIDRM): Likewise.
38415 [POSIX] (EISCONN): Likewise.
38416 [POSIX] (ELOOP): Likewise.
38417 [POSIX] (EMULTIHOP): Likewise.
38418 [POSIX] (ENETDOWN): Likewise.
38419 [POSIX] (ENETUNREACH): Likewise.
38420 [POSIX] (ENOBUFS): Likewise.
38421 [POSIX] (ENODATA): Likewise.
38422 [POSIX] (ENOLINK): Likewise.
38423 [POSIX] (ENOMSG): Likewise.
38424 [POSIX] (ENOPROTOOPT): Likewise.
38425 [POSIX] (ENOSR): Likewise.
38426 [POSIX] (ENOSTR): Likewise.
38427 [POSIX] (ENOTCONN): Likewise.
38428 [POSIX] (ENOTSOCK): Likewise.
38429 [POSIX] (EOPNOTSUPP): Likewise.
38430 [POSIX] (EOVERFLOW): Likewise.
38431 [POSIX] (EPROTO): Likewise.
38432 [POSIX] (EPROTONOSUPPORT): Likewise.
38433 [POSIX] (EPROTOTYPE): Likewise.
38434 [POSIX] (ESTALE): Likewise.
38435 [POSIX] (ETIME): Likewise.
38436 [POSIX] (ETXTBSY): Likewise.
38437 [POSIX] (EWOULDBLOCK): Likewise.
38438 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38439 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38440 [POSIX] (SEEK_CUR): Likewise.
38441 [POSIX] (SEEK_END): Likewise.
38442 [POSIX || UNIX98] (mode_t): Do not require.
38443 [POSIX] (off_t): Likewise.
38444 [POSIX] (pid_t): Likewise.
38445 [POSIX] (sys/stat.h): Do not allow header.
38446 [POSIX] (unistd.h): Likewise.
38447 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38448 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38449 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38450 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38452 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38453 sigevent): Specify elements.
38454 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38456 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38457 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38459 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38460 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38461 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38462 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38463 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38464 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38465 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38466 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38467 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38468 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38469 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38470 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38471 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38472 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38474 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38476 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38478 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38480 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38481 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38483 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38484 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38485 Specify lower bound on value.
38486 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38487 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38488 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38489 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38490 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38491 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38492 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38493 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38495 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38497 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38498 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38499 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38500 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38501 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38502 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38503 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38504 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38505 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38506 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38507 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38508 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38509 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38510 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38511 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38512 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38514 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38516 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38517 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38518 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38519 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38520 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38521 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38523 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38524 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38525 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38526 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38527 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38528 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38529 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38531 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38533 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38534 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38535 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38536 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38537 specify as optional.
38538 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38539 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38540 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38542 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38543 [XPG3] (NL_LANGMAX): Likewise.
38544 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38545 [POSIX || XPG3] (NL_NMAX): Likewise.
38546 [POSIX || XPG3] (NL_SETMAX): Likewise.
38547 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38548 [XPG3] (NZERO): Likewise.
38549 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38550 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38551 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38552 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38553 (REG_ERANGE): Expect.
38554 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38556 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38557 Use (void) in prototype.
38558 [POSIX] (*_t): Allow.
38559 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38560 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38561 (WRDE_BADVAL): Expect.
38563 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38565 [XPG3 || XPG4] (O_RSYNC): Likewise.
38566 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38568 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38569 [XPG3 || XPG4] (sigqueue): Likewise.
38570 [XPG3 || XPG4] (sigtimedwait): Likewise.
38571 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38572 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38573 [XPG3 || XPG4] (vsnprintf): Likewise.
38574 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38576 [XPG3 || XPG4] (blksize_t): Likewise.
38577 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38579 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38580 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38581 [XPG3 || XPG4] (struct itimerspec): Likewise.
38582 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38583 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38584 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38585 [XPG3 || XPG4] (clockid_t): Likewise.
38586 [XPG3 || XPG4] (timer_t): Likewise.
38587 [XPG3 || XPG4] (clock_getres): Likewise.
38588 [XPG3 || XPG4] (clock_gettime): Likewise.
38589 [XPG3 || XPG4] (clock_settime): Likewise.
38590 [XPG3 || XPG4] (nanosleep): Likewise.
38591 [XPG3 || XPG4] (timer_create): Likewise.
38592 [XPG3 || XPG4] (timer_delete): Likewise.
38593 [XPG3 || XPG4] (timer_gettime): Likewise.
38594 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38595 [XPG3 || XPG4] (timer_settime): Likewise.
38596 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38597 [XPG3 || XPG4] (getlogin_r): Likewise.
38598 [XPG3 || XPG4] (pread): Likewise.
38599 [XPG3 || XPG4] (pthread_atfork): Likewise.
38600 [XPG3 || XPG4] (pwrite): Likewise.
38603 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38606 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38608 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38609 finalizing MALLSTREAM.
38611 * sysdeps/mach/hurd/syncfs.c: New file.
38613 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38617 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38618 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38619 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38620 (_nss_dns_gethostbyname4_r): Likewise.
38621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38622 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38624 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38627 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38629 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38631 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38632 * elf/cache.c (print_entry): Print ",AArch64" for
38635 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38636 * elf/cache.c (print_entry): Print ",hard-float" for
38639 2012-11-18 David S. Miller <davem@davemloft.net>
38641 With help from Joseph Myers.
38642 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38644 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38646 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38647 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38649 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38650 * math/libm-test.inc (y0_test): New tests.
38651 (y1_test): New tests.
38652 * sysdeps/i386/fpu/libm-test-ulps: Update.
38653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38656 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38658 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38660 * configure: Regenerated.
38662 2012-11-17 David S. Miller <davem@davemloft.net>
38665 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38666 nonzero exponents with absolute value below 0x1p-128 to +/-
38669 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38671 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38673 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38675 * posix/getconf-speclist.c: New file.
38676 * posix/posix-envs.def: Likewise.
38677 * posix/confstr.c (START_ENV_GROUP): New macro.
38678 (END_ENV_GROUP): Likewise.
38679 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38680 (KNOWN_PRESENT_ENV_STRING): Likewise.
38681 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38682 (UNKNOWN_ENVIRONMENT): Likewise.
38683 (confstr): Include posix-envs.def instead of handling
38684 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38685 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38686 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38687 (END_ENV_GROUP): Likewise.
38688 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38689 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38690 (UNKNOWN_ENVIRONMENT): Likewise.
38691 (__sysconf): Include posix-envs.def instead of handling associated
38692 cases directly here.
38693 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38694 preprocessing getconf-speclist.c rather than running getconf or
38695 generating empty file.
38697 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38699 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38701 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38704 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38706 2012-11-16 David S. Miller <davem@davemloft.net>
38708 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38709 smaller than LDBL_EPSILON/2.0L, just return xm1.
38711 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38713 * elf/tst-array1.c (init): Set constructor priority to 1000.
38714 (fini): Set destructor priority to 1000.
38715 * elf/tst-array2dep.c: Likewise.
38717 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38720 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38721 (_IO_new_file_xsputn): Also return EOF if none of the input
38722 data was written when overflow failed.
38723 * libio/iopadn.c (_IO_padn): Likewise.
38724 * libio/iowpadn.c (_IO_wpadn): Likewise.
38725 * stdio-common/tst-put-error.c: Add copyright notice.
38726 (do_test): Add case for printing padded string.
38727 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38728 _IO_padn returned error.
38729 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38730 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38733 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38735 * libio/libioP.h: Add comment note that the references to C++
38736 bits are now obsolete.
38738 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38740 * math/libm-test.inc (check_complex): Use asprintf.
38742 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38744 * debug/pcprofiledump.c (print_version): Update copyright year.
38745 * malloc/memusagestat.c (print_version): Likewise.
38747 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38750 * elf/Makefile (tests): Add tst-audit8.
38751 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38752 ($(objpfx)tst-audit8.out): New target.
38753 (tst-audit8-ENV): New variable.
38754 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38755 audit if l_reloc_result is NULL.
38756 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38757 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38758 * elf/tst-audit8.c: New file.
38760 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38762 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38763 * misc/Makefile (CFLAGS-select.c): Define.
38764 * posix/Makefile (CFLAGS-pause.c): Define.
38766 2012-11-13 David S. Miller <davem@davemloft.net>
38768 * crypt/Makefile: Move test targets after toplevel Rules
38769 inclusion. Grab any necessary sysdep routines when linking.
38770 * crypt/md5.c (md5_process_block): Remove define, we will always
38771 name it __md5_process_block.
38772 (md5_finish_ctx): Update md5_process_block call.
38773 (md5_stream): Likewise.
38774 (md5_process_bytes): Likewise.
38775 (md5_process_block): Rename to __md5_process_block and move to ...
38776 * crypt/md5-block.c: ... here.
38777 * crypt/sha256.c (sha256_process_block): Move to ...
38778 * crypt/sha256-block.c: ... here.
38779 * crypt/sha512.c (sha512_process_block): Move to ...
38780 * crypt/sha512-block.c: ... here.
38781 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38783 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38784 * sysdeps/sparc/sparc64/multiarch/Makefile
38785 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38787 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38790 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38791 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38792 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38793 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38794 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38795 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38796 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38797 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38798 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38801 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38803 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38805 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38807 * timezone/tzselect.ksh: Update from tzcode git revision
38808 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38809 * timezone/zdump.c: Likewise.
38810 * timezone/zic.c: Likewise.
38811 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38812 in TZVERSION setting, not $(PKGVERSION).
38813 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38814 REPORT_BUGS_TO settings.
38817 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38820 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38822 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38823 detection to immediately after _FP_ROUND().
38824 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38827 2012-11-11 David S. Miller <davem@davemloft.net>
38829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38831 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38832 __close rather than their public counterparts.
38834 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38836 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38838 [UNIX98] (sem_timedwait): Do not expect.
38839 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38840 [XPG4 || UNIX98] (sockatmark): Do not expect.
38841 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38842 (clock_getcpuclockid): Do not expect.
38843 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38844 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38846 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38847 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38848 [UNIX98] (vwscanf): Likewise.
38849 [UNIX98] (vswscanf): Likewise.
38851 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38853 * timezone/version.h: Remove file.
38854 * timezone/README: Do not refer to version.h.
38855 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38856 $(objpfx)version.h.
38857 ($(objpfx)zdump.o): Likewise.
38858 ($(objpfx)version.h): New target.
38860 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38862 * timezone/README: Don't mention modification to tzselect.ksh.
38863 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38864 work on unmodified tzselect.ksh. Substitute version numbers in
38867 * Makefile (format-me): Remove.
38868 (INSTALL): Adjust indentation. Use commands directly instead of
38869 using $(format-me).
38871 * aclocal.m4 (ACX_PKGVERSION): New macro.
38872 (ACX_BUGURL): Likewise.
38873 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38874 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38875 (REPORT_BUGS_TO): Likewise.
38876 * configure: Regenerated.
38877 * config.h.in (PKGVERSION): New macro.
38878 (REPORT_BUGS_TO): Likewise.
38879 * config.make.in (PKGVERSION): New variable.
38880 (PKGVERSION_TEXI): Likewise.
38881 (REPORT_BUGS_TO): Likewise.
38882 (REPORT_BUGS_TEXI): Likewise.
38883 * Makefile (format-me): Use -I$(common-objpfx)manual.
38884 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38885 ($(common-objpfx)manual/%): New target.
38886 (manual/%): Remove target.
38887 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38888 (print_version): Use PKGVERSION.
38889 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38890 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38891 and REPORT_BUGS_TO.
38892 ($(objpfx)xtrace): Likewise.
38893 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38894 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38895 (print_version): Use PKGVERSION.
38896 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38897 (do_version): Use PKGVERSION.
38898 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38900 (common-ldd-rewrite): Likewise.
38901 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38902 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38903 (print_version): Use PKGVERSION.
38904 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38905 * elf/pldd.c (argp_program_bug_address): Remove variable.
38906 (more_help): New function.
38907 (argp): Use more_help.
38908 (print_version): Use PKGVERSION.
38909 * elf/sln.c (main): Use PKGVERSION.
38910 (usage): Use REPORT_BUGS_TO.
38911 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38912 (top level): Use PKGVERSION.
38913 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38914 (print_version): Use PKGVERSION.
38915 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38916 (print_version): Use PKGVERSION.
38917 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38918 (print_version): Use PKGVERSION.
38919 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38920 (print_version): Use PKGVERSION.
38921 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38922 (print_version): Use PKGVERSION.
38923 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38924 (print_version): Use PKGVERSION.
38925 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38927 ($(objpfx)memusage): Likewise.
38928 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38929 (do_version): Use PKGVERSION.
38930 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38931 (print_version): Use PKGVERSION.
38932 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38933 ($PKGVERSION): New variable.
38934 ($REPORT_BUGS_TO): Likewise.
38935 (usage): Use $REPORT_BUGS_TO.
38936 (top level): Use $PKGVERSION.
38937 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38938 ($(objpfx)pkgvers.texi): New rule.
38939 ($(objpfx)stamp-pkgvers): Likewise.
38940 * manual/install.texi: Include pkgvers.texi.
38941 (--with-pkgversion): Document new configure option.
38942 (--with-bugurl): Likewise.
38943 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38944 than necessarily for this particular distribution. Use
38945 REPORT_BUGS_TO for where to report bugs.
38946 * INSTALL: Regenerated.
38947 * manual/libc.texinfo: Include pkgvers.texi.
38948 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38949 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38950 (print_version): Use PKGVERSION.
38951 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38952 (print_version): Use PKGVERSION.
38953 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38954 (print_version): Use PKGVERSION.
38955 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38956 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38958 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38959 (print_version): Use PKGVERSION.
38960 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38961 (print_version): Use PKGVERSION.
38962 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38965 * timezone/checktab.awk: Update from tzcode 2012i.
38966 * timezone/ialloc.c: Likewise.
38967 * timezone/private.h: Likewise.
38968 * timezone/scheck.c: Likewise.
38969 * timezone/tzfile.h: Likewise.
38970 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38971 (TZVERSION): Hardcode tzcode version number.
38972 * timezone/zdump.c: Update from tzcode 2012i.
38973 * timezone/zic.c: Likewise.
38974 * timezone/version.h: New file.
38975 * timezone/README: Describe version.h. Update upstream location.
38978 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38979 (mktemp): Enable declaration.
38980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38997 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38998 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38999 for copies of such integer values.
39000 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39001 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39003 2012-11-09 Andreas Jaeger <aj@suse.de>
39005 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39006 definitions and declarations that are provided by
39007 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39009 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39011 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39012 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39013 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39016 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39018 * elf/elf.h: Update comment before AArch64 relocations.
39020 2012-11-07 David S. Miller <davem@davemloft.net>
39022 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39023 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39024 (__start_context): Declare.
39025 (__makecontext_ret): Delete.
39026 (__makecontext): Hook up __start_context instead of
39028 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39029 (sysdep_routines): Add __start_context when in stdlib.
39031 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39033 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39034 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39035 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39037 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39038 (READELF): New variable. Use it instead of hardcoded "readelf".
39040 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39042 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39043 * sysdeps/x86/Makefile: Here.
39044 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39045 * sysdeps/x86/tst-xmmymm.sh: This.
39047 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39049 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39051 [UNIX98] (pthread_barrier_t): Do not expect.
39052 [UNIX98] (pthread_barrierattr_t): Likewise.
39053 [UNIX98] (pthread_spinlock_t): Likewise.
39054 [UNIX98] (pthread_barrier_destroy): Likewise.
39055 [UNIX98] (pthread_barrier_init): Likewise.
39056 [UNIX98] (pthread_barrier_wait): Likewise.
39057 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39058 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39059 [UNIX98] (pthread_barrierattr_init): Likewise.
39060 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39061 [UNIX98] (pthread_getcpuclockid): Likewise.
39062 [UNIX98] (pthread_mutex_timedlock): Likewise.
39063 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39064 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39065 [UNIX98] (pthread_sigmask): Likewise.
39066 [UNIX98] (pthread_spin_destroy): Likewise.
39067 [UNIX98] (pthread_spin_init): Likewise.
39068 [UNIX98] (pthread_spin_lock): Likewise.
39069 [UNIX98] (pthread_spin_trylock): Likewise.
39070 [UNIX98] (pthread_spin_unlock): Likewise.
39071 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39073 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39074 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39075 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39076 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39077 [XPG3 || XPG4] (pthread_key_t): Likewise.
39078 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39079 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39080 [XPG3 || XPG4] (pthread_once_t): Likewise.
39081 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39082 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39083 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39084 [XPG3 || XPG4] (pthread_t): Likewise.
39086 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39088 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39090 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39091 Change function return type to int.
39093 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39094 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39095 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39096 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39097 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39098 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39099 [!POSIX] (posix_madvise): Likewise.
39100 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39102 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39103 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39104 (mode_t): Likewise.
39105 (posix_mem_offset): Likewise.
39106 (posix_typed_mem_get_info): Likewise.
39107 (posix_typed_mem_open): Likewise.
39109 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39110 Change condition to [XOPEN2K8].
39112 * conform/conformtest.pl: Preprocess allow-header data with -x c
39113 instead of from stdin.
39114 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39115 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39116 [C99-based standards] (cerfc): Likewise.
39117 [C99-based standards] (cexp2): Likewise.
39118 [C99-based standards] (cexpm1): Likewise.
39119 [C99-based standards] (clog10): Likewise.
39120 [C99-based standards] (clog1p): Likewise.
39121 [C99-based standards] (clog2): Likewise.
39122 [C99-based standards] (clgamma): Likewise.
39123 [C99-based standards] (ctgamma): Likewise.
39124 [C99-based standards] (cerff): Likewise.
39125 [C99-based standards] (cerfcf): Likewise.
39126 [C99-based standards] (cexp2f): Likewise.
39127 [C99-based standards] (cexpm1f): Likewise.
39128 [C99-based standards] (clog10f): Likewise.
39129 [C99-based standards] (clog1pf): Likewise.
39130 [C99-based standards] (clog2f): Likewise.
39131 [C99-based standards] (clgammaf): Likewise.
39132 [C99-based standards] (ctgammaf): Likewise.
39133 [C99-based standards] (cerfl): Likewise.
39134 [C99-based standards] (cerfcl): Likewise.
39135 [C99-based standards] (cexp2l): Likewise.
39136 [C99-based standards] (cexpm1l): Likewise.
39137 [C99-based standards] (clog10l): Likewise.
39138 [C99-based standards] (clog1pl): Likewise.
39139 [C99-based standards] (clog2l): Likewise.
39140 [C99-based standards] (clgammal): Likewise.
39141 [C99-based standards] (ctgammal): Likewise.
39142 * conform/data/inttypes.h-data [C99-based standards]: Include
39143 stdint.h-data. Remove all expectations for stdint.h contents.
39144 [C99-based standards] (PRI*): Do not allow.
39145 [C99-based standards] (SCN*): Likewise.
39146 [C99-based standards] (*_t): Likewise.
39147 [C99-based-standards] (PRId8): Expect macro.
39148 [C99-based-standards] (PRIi8): Likewise.
39149 [C99-based-standards] (PRIo8): Likewise.
39150 [C99-based-standards] (PRIu8): Likewise.
39151 [C99-based-standards] (PRIx8): Likewise.
39152 [C99-based-standards] (PRIX8): Likewise.
39153 [C99-based-standards] (SCNd8): Likewise.
39154 [C99-based-standards] (SCNi8): Likewise.
39155 [C99-based-standards] (SCNo8): Likewise.
39156 [C99-based-standards] (SCNu8): Likewise.
39157 [C99-based-standards] (SCNx8): Likewise.
39158 [C99-based-standards] (PRIdLEAST8): Likewise.
39159 [C99-based-standards] (PRIiLEAST8): Likewise.
39160 [C99-based-standards] (PRIoLEAST8): Likewise.
39161 [C99-based-standards] (PRIuLEAST8): Likewise.
39162 [C99-based-standards] (PRIxLEAST8): Likewise.
39163 [C99-based-standards] (PRIXLEAST8): Likewise.
39164 [C99-based-standards] (SCNdLEAST8): Likewise.
39165 [C99-based-standards] (SCNiLEAST8): Likewise.
39166 [C99-based-standards] (SCNoLEAST8): Likewise.
39167 [C99-based-standards] (SCNuLEAST8): Likewise.
39168 [C99-based-standards] (SCNxLEAST8): Likewise.
39169 [C99-based-standards] (PRIdFAST8): Likewise.
39170 [C99-based-standards] (PRIiFAST8): Likewise.
39171 [C99-based-standards] (PRIoFAST8): Likewise.
39172 [C99-based-standards] (PRIuFAST8): Likewise.
39173 [C99-based-standards] (PRIxFAST8): Likewise.
39174 [C99-based-standards] (PRIXFAST8): Likewise.
39175 [C99-based-standards] (SCNdFAST8): Likewise.
39176 [C99-based-standards] (SCNiFAST8): Likewise.
39177 [C99-based-standards] (SCNoFAST8): Likewise.
39178 [C99-based-standards] (SCNuFAST8): Likewise.
39179 [C99-based-standards] (SCNxFAST8): Likewise.
39180 [C99-based-standards] (PRId16): Likewise.
39181 [C99-based-standards] (PRIi16): Likewise.
39182 [C99-based-standards] (PRIo16): Likewise.
39183 [C99-based-standards] (PRIu16): Likewise.
39184 [C99-based-standards] (PRIx16): Likewise.
39185 [C99-based-standards] (PRIX16): Likewise.
39186 [C99-based-standards] (SCNd16): Likewise.
39187 [C99-based-standards] (SCNi16): Likewise.
39188 [C99-based-standards] (SCNo16): Likewise.
39189 [C99-based-standards] (SCNu16): Likewise.
39190 [C99-based-standards] (SCNx16): Likewise.
39191 [C99-based-standards] (PRIdLEAST16): Likewise.
39192 [C99-based-standards] (PRIiLEAST16): Likewise.
39193 [C99-based-standards] (PRIoLEAST16): Likewise.
39194 [C99-based-standards] (PRIuLEAST16): Likewise.
39195 [C99-based-standards] (PRIxLEAST16): Likewise.
39196 [C99-based-standards] (PRIXLEAST16): Likewise.
39197 [C99-based-standards] (SCNdLEAST16): Likewise.
39198 [C99-based-standards] (SCNiLEAST16): Likewise.
39199 [C99-based-standards] (SCNoLEAST16): Likewise.
39200 [C99-based-standards] (SCNuLEAST16): Likewise.
39201 [C99-based-standards] (SCNxLEAST16): Likewise.
39202 [C99-based-standards] (PRIdFAST16): Likewise.
39203 [C99-based-standards] (PRIiFAST16): Likewise.
39204 [C99-based-standards] (PRIoFAST16): Likewise.
39205 [C99-based-standards] (PRIuFAST16): Likewise.
39206 [C99-based-standards] (PRIxFAST16): Likewise.
39207 [C99-based-standards] (PRIXFAST16): Likewise.
39208 [C99-based-standards] (SCNdFAST16): Likewise.
39209 [C99-based-standards] (SCNiFAST16): Likewise.
39210 [C99-based-standards] (SCNoFAST16): Likewise.
39211 [C99-based-standards] (SCNuFAST16): Likewise.
39212 [C99-based-standards] (SCNxFAST16): Likewise.
39213 [C99-based-standards] (PRId32): Likewise.
39214 [C99-based-standards] (PRIi32): Likewise.
39215 [C99-based-standards] (PRIo32): Likewise.
39216 [C99-based-standards] (PRIu32): Likewise.
39217 [C99-based-standards] (PRIx32): Likewise.
39218 [C99-based-standards] (PRIX32): Likewise.
39219 [C99-based-standards] (SCNd32): Likewise.
39220 [C99-based-standards] (SCNi32): Likewise.
39221 [C99-based-standards] (SCNo32): Likewise.
39222 [C99-based-standards] (SCNu32): Likewise.
39223 [C99-based-standards] (SCNx32): Likewise.
39224 [C99-based-standards] (PRIdLEAST32): Likewise.
39225 [C99-based-standards] (PRIiLEAST32): Likewise.
39226 [C99-based-standards] (PRIoLEAST32): Likewise.
39227 [C99-based-standards] (PRIuLEAST32): Likewise.
39228 [C99-based-standards] (PRIxLEAST32): Likewise.
39229 [C99-based-standards] (PRIXLEAST32): Likewise.
39230 [C99-based-standards] (SCNdLEAST32): Likewise.
39231 [C99-based-standards] (SCNiLEAST32): Likewise.
39232 [C99-based-standards] (SCNoLEAST32): Likewise.
39233 [C99-based-standards] (SCNuLEAST32): Likewise.
39234 [C99-based-standards] (SCNxLEAST32): Likewise.
39235 [C99-based-standards] (PRIdFAST32): Likewise.
39236 [C99-based-standards] (PRIiFAST32): Likewise.
39237 [C99-based-standards] (PRIoFAST32): Likewise.
39238 [C99-based-standards] (PRIuFAST32): Likewise.
39239 [C99-based-standards] (PRIxFAST32): Likewise.
39240 [C99-based-standards] (PRIXFAST32): Likewise.
39241 [C99-based-standards] (SCNdFAST32): Likewise.
39242 [C99-based-standards] (SCNiFAST32): Likewise.
39243 [C99-based-standards] (SCNoFAST32): Likewise.
39244 [C99-based-standards] (SCNuFAST32): Likewise.
39245 [C99-based-standards] (SCNxFAST32): Likewise.
39246 [C99-based-standards] (PRId64): Likewise.
39247 [C99-based-standards] (PRIi64): Likewise.
39248 [C99-based-standards] (PRIo64): Likewise.
39249 [C99-based-standards] (PRIu64): Likewise.
39250 [C99-based-standards] (PRIx64): Likewise.
39251 [C99-based-standards] (PRIX64): Likewise.
39252 [C99-based-standards] (SCNd64): Likewise.
39253 [C99-based-standards] (SCNi64): Likewise.
39254 [C99-based-standards] (SCNo64): Likewise.
39255 [C99-based-standards] (SCNu64): Likewise.
39256 [C99-based-standards] (SCNx64): Likewise.
39257 [C99-based-standards] (PRIdLEAST64): Likewise.
39258 [C99-based-standards] (PRIiLEAST64): Likewise.
39259 [C99-based-standards] (PRIoLEAST64): Likewise.
39260 [C99-based-standards] (PRIuLEAST64): Likewise.
39261 [C99-based-standards] (PRIxLEAST64): Likewise.
39262 [C99-based-standards] (PRIXLEAST64): Likewise.
39263 [C99-based-standards] (SCNdLEAST64): Likewise.
39264 [C99-based-standards] (SCNiLEAST64): Likewise.
39265 [C99-based-standards] (SCNoLEAST64): Likewise.
39266 [C99-based-standards] (SCNuLEAST64): Likewise.
39267 [C99-based-standards] (SCNxLEAST64): Likewise.
39268 [C99-based-standards] (PRIdFAST64): Likewise.
39269 [C99-based-standards] (PRIiFAST64): Likewise.
39270 [C99-based-standards] (PRIoFAST64): Likewise.
39271 [C99-based-standards] (PRIuFAST64): Likewise.
39272 [C99-based-standards] (PRIxFAST64): Likewise.
39273 [C99-based-standards] (PRIXFAST64): Likewise.
39274 [C99-based-standards] (SCNdFAST64): Likewise.
39275 [C99-based-standards] (SCNiFAST64): Likewise.
39276 [C99-based-standards] (SCNoFAST64): Likewise.
39277 [C99-based-standards] (SCNuFAST64): Likewise.
39278 [C99-based-standards] (SCNxFAST64): Likewise.
39279 [C99-based-standards] (PRIdMAX): Likewise.
39280 [C99-based-standards] (PRIiMAX): Likewise.
39281 [C99-based-standards] (PRIoMAX): Likewise.
39282 [C99-based-standards] (PRIuMAX): Likewise.
39283 [C99-based-standards] (PRIxMAX): Likewise.
39284 [C99-based-standards] (PRIXMAX): Likewise.
39285 [C99-based-standards] (SCNdMAX): Likewise.
39286 [C99-based-standards] (SCNiMAX): Likewise.
39287 [C99-based-standards] (SCNoMAX): Likewise.
39288 [C99-based-standards] (SCNuMAX): Likewise.
39289 [C99-based-standards] (SCNxMAX): Likewise.
39290 [C99-based-standards] (PRIdPTR): Likewise.
39291 [C99-based-standards] (PRIiPTR): Likewise.
39292 [C99-based-standards] (PRIoPTR): Likewise.
39293 [C99-based-standards] (PRIuPTR): Likewise.
39294 [C99-based-standards] (PRIxPTR): Likewise.
39295 [C99-based-standards] (PRIXPTR): Likewise.
39296 [C99-based-standards] (SCNdPTR): Likewise.
39297 [C99-based-standards] (SCNiPTR): Likewise.
39298 [C99-based-standards] (SCNoPTR): Likewise.
39299 [C99-based-standards] (SCNuPTR): Likewise.
39300 [C99-based-standards] (SCNxPTR): Likewise.
39301 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39303 * conform/data/stdint.h-data: Update comments to clarify
39305 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39307 [C99-based standards] (INT8_MAX): Likewise.
39308 [C99-based standards] (INT16_MIN): Likewise.
39309 [C99-based standards] (INT16_MAX): Likewise.
39310 [C99-based standards] (INT32_MIN): Likewise.
39311 [C99-based standards] (INT32_MAX): Likewise.
39312 [C99-based standards] (INT64_MIN): Likewise.
39313 [C99-based standards] (INT64_MAX): Likewise.
39314 [C99-based standards] (UINT8_MAX): Likewise.
39315 [C99-based standards] (UINT16_MAX): Likewise.
39316 [C99-based standards] (UINT32_MAX): Likewise.
39317 [C99-based standards] (UINT64_MAX): Likewise.
39318 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39319 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39320 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39321 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39322 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39323 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39324 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39325 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39326 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39327 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39328 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39329 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39330 [C99-based standards] (INT_FAST8_MIN): Likewise.
39331 [C99-based standards] (INT_FAST8_MAX): Likewise.
39332 [C99-based standards] (INT_FAST16_MIN): Likewise.
39333 [C99-based standards] (INT_FAST16_MAX): Likewise.
39334 [C99-based standards] (INT_FAST32_MIN): Likewise.
39335 [C99-based standards] (INT_FAST32_MAX): Likewise.
39336 [C99-based standards] (INT_FAST64_MIN): Likewise.
39337 [C99-based standards] (INT_FAST64_MAX): Likewise.
39338 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39339 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39340 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39341 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39342 [C99-based standards] (INTPTR_MIN): Likewise.
39343 [C99-based standards] (INTPTR_MAX): Likewise.
39344 [C99-based standards] (UINTPTR_MAX): Likewise.
39345 [C99-based standards] (INTMAX_MIN): Likewise.
39346 [C99-based standards] (INTMAX_MAX): Likewise.
39347 [C99-based standards] (UINTMAX_MAX): Likewise.
39348 [C99-based standards] (PTRDIFF_MIN): Likewise.
39349 [C99-based standards] (PTRDIFF_MAX): Likewise.
39350 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39351 [C99-based standards] (SIZE_MAX): Likewise.
39352 [C99-based standards] (WCHAR_MAX): Likewise.
39353 [C99-based standards] (WINT_MAX): Likewise.
39354 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39355 constraint on value.
39356 [C99-based standards] (WCHAR_MIN): Likewise.
39357 [C99-based standards] (WINT_MIN): Likewise.
39358 [C99-based standards] (*_t): Allow.
39359 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39360 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39361 Include math.h-data and complex.h-data. Remove all expectations
39362 of math.h and complex.h contents.
39363 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39365 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39366 (struct tm): Expect tag.
39367 [C99-based-standards] (wcstof): Expect function.
39368 [C99-based-standards] (wcstold): Likewise.
39369 [C99-based-standards] (wcstoll): Likewise.
39370 [C99-based-standards] (wcstoull): Likewise.
39371 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39372 macro-int-constant. Specify type.
39373 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39374 constraint on value.
39375 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39377 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39379 [ISO C standards]: Do not allow headers.
39380 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39381 wcs[abcdefghijklmnopqrstuvwxyz]*.
39382 [ISO C standards] (*_t): Do not allow.
39383 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39385 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39386 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39388 [ISO C standards]: Do not allow headers.
39389 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39390 is[abcdefghijklmnopqrstuvwxyz]*.
39391 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39392 to[abcdefghijklmnopqrstuvwxyz]*.
39393 [ISO C standards] (*_t): Do not allow.
39394 * conform/data/stdalign.h-data: New file.
39395 * conform/data/stdbool.h-data: Likewise.
39396 * conform/data/stdnoreturn.h-data: Likewise.
39398 2012-11-07 Roland McGrath <roland@hack.frob.com>
39401 * manual/filesys.texi (Directory Entries): Typo fix.
39402 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39404 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39406 * elf/elf.h (EM_AARCH64): New macro.
39407 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39408 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39409 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39410 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39411 (R_AARCH64_TLSDESC): Likewise.
39412 (NT_ARM_TLS): Likewise.
39413 (NT_ARM_HW_BREAK): Likewise.
39414 (NT_ARM_HW_WATCH): Likewise.
39416 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39419 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39420 (__ieee754_powl): Saturate nonzero exponents with absolute value
39421 below 0x1p-79 to +/- 0x1p-79.
39422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39423 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39424 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39425 nonzero exponents with absolute value below 0x1p-32 to +/-
39427 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39428 (__ieee754_powl): Saturate nonzero exponents with absolute value
39429 below 0x1p-79 to +/- 0x1p-79.
39430 * math/libm-test.inc (pow_test): Add more tests.
39432 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39434 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39435 _dl_s390_cap_flags with kernel. Increase string length.
39436 (_dl_s390_platforms): Add z196 and zEC12.
39438 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39440 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39441 Change XOPEN21K to XOPEN2K.
39443 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39445 * string/memmove.c: Use memcpy when possible.
39447 2012-11-06 Andreas Jaeger <aj@suse.de>
39449 * po/eo.po: Update from translation team.
39451 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39455 exponent and small x and y exponents, scale x or y up. Increase
39456 by 2 the exponent used in scaling up.
39457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39459 * math/libm-test.inc (fma_test): Add more tests.
39460 (fma_test_towardzero): Likewise.
39461 (fma_test_downward): Likewise.
39462 (fma_test_upward): Likewise.
39464 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39467 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39471 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39472 namespace for names of struct fields.
39473 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39475 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39476 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39478 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39481 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39483 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39485 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39489 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39492 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39496 definitely overflow as x * y not x * y + z.
39497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39499 * math/libm-test.inc (fma_test): Add more tests.
39500 (fma_test_towardzero): Likewise.
39501 (fma_test_downward): Likewise.
39502 (fma_test_upward): Likewise.
39504 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39508 * include/stub-tag.h: Remove file.
39509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39511 * manual/maint.texi (Porting): Don't reference it.
39512 * Makerules ($(objpfx)stubs): Likewise.
39513 * dirent/closedir.c: Don't include <stub-tag.h>.
39514 * dirent/dirfd.c: Likewise.
39515 * dirent/fdopendir.c: Likewise.
39516 * dirent/getdents.c: Likewise.
39517 * dirent/getdents64.c: Likewise.
39518 * dirent/opendir.c: Likewise.
39519 * dirent/readdir.c: Likewise.
39520 * dirent/readdir64.c: Likewise.
39521 * dirent/readdir64_r.c: Likewise.
39522 * dirent/readdir_r.c: Likewise.
39523 * dirent/rewinddir.c: Likewise.
39524 * dirent/seekdir.c: Likewise.
39525 * dirent/telldir.c: Likewise.
39526 * gmon/profil.c: Likewise.
39527 * grp/setgroups.c: Likewise.
39528 * inet/if_index.c: Likewise.
39529 * io/access.c: Likewise.
39530 * io/chdir.c: Likewise.
39531 * io/chmod.c: Likewise.
39532 * io/chown.c: Likewise.
39533 * io/close.c: Likewise.
39534 * io/dup.c: Likewise.
39535 * io/dup2.c: Likewise.
39536 * io/dup3.c: Likewise.
39537 * io/euidaccess.c: Likewise.
39538 * io/faccessat.c: Likewise.
39539 * io/fchdir.c: Likewise.
39540 * io/fchmod.c: Likewise.
39541 * io/fchmodat.c: Likewise.
39542 * io/fchown.c: Likewise.
39543 * io/fchownat.c: Likewise.
39544 * io/fcntl.c: Likewise.
39545 * io/flock.c: Likewise.
39546 * io/fstatfs.c: Likewise.
39547 * io/fstatfs64.c: Likewise.
39548 * io/fstatvfs.c: Likewise.
39549 * io/fstatvfs64.c: Likewise.
39550 * io/futimens.c: Likewise.
39551 * io/fxstat.c: Likewise.
39552 * io/fxstat64.c: Likewise.
39553 * io/fxstatat.c: Likewise.
39554 * io/fxstatat64.c: Likewise.
39555 * io/getcwd.c: Likewise.
39556 * io/isatty.c: Likewise.
39557 * io/lchmod.c: Likewise.
39558 * io/lchown.c: Likewise.
39559 * io/link.c: Likewise.
39560 * io/linkat.c: Likewise.
39561 * io/lseek.c: Likewise.
39562 * io/lseek64.c: Likewise.
39563 * io/lxstat64.c: Likewise.
39564 * io/mkdir.c: Likewise.
39565 * io/mkdirat.c: Likewise.
39566 * io/mkfifo.c: Likewise.
39567 * io/mkfifoat.c: Likewise.
39568 * io/open.c: Likewise.
39569 * io/open64.c: Likewise.
39570 * io/openat.c: Likewise.
39571 * io/openat64.c: Likewise.
39572 * io/pipe.c: Likewise.
39573 * io/pipe2.c: Likewise.
39574 * io/poll.c: Likewise.
39575 * io/posix_fadvise.c: Likewise.
39576 * io/posix_fadvise64.c: Likewise.
39577 * io/posix_fallocate.c: Likewise.
39578 * io/posix_fallocate64.c: Likewise.
39579 * io/read.c: Likewise.
39580 * io/readlink.c: Likewise.
39581 * io/readlinkat.c: Likewise.
39582 * io/rmdir.c: Likewise.
39583 * io/sendfile.c: Likewise.
39584 * io/sendfile64.c: Likewise.
39585 * io/statfs.c: Likewise.
39586 * io/statfs64.c: Likewise.
39587 * io/statvfs.c: Likewise.
39588 * io/statvfs64.c: Likewise.
39589 * io/symlink.c: Likewise.
39590 * io/symlinkat.c: Likewise.
39591 * io/ttyname.c: Likewise.
39592 * io/ttyname_r.c: Likewise.
39593 * io/umask.c: Likewise.
39594 * io/unlink.c: Likewise.
39595 * io/unlinkat.c: Likewise.
39596 * io/utime.c: Likewise.
39597 * io/utimensat.c: Likewise.
39598 * io/write.c: Likewise.
39599 * io/xmknod.c: Likewise.
39600 * io/xmknodat.c: Likewise.
39601 * io/xstat.c: Likewise.
39602 * io/xstat64.c: Likewise.
39603 * login/getpt.c: Likewise.
39604 * login/grantpt.c: Likewise.
39605 * login/unlockpt.c: Likewise.
39606 * math/e_acoshl.c: Likewise.
39607 * math/e_acosl.c: Likewise.
39608 * math/e_asinl.c: Likewise.
39609 * math/e_atan2l.c: Likewise.
39610 * math/e_atanhl.c: Likewise.
39611 * math/e_coshl.c: Likewise.
39612 * math/e_expl.c: Likewise.
39613 * math/e_fmodl.c: Likewise.
39614 * math/e_gammal_r.c: Likewise.
39615 * math/e_hypotl.c: Likewise.
39616 * math/e_j0l.c: Likewise.
39617 * math/e_j1l.c: Likewise.
39618 * math/e_jnl.c: Likewise.
39619 * math/e_lgammal_r.c: Likewise.
39620 * math/e_log10l.c: Likewise.
39621 * math/e_log2l.c: Likewise.
39622 * math/e_logl.c: Likewise.
39623 * math/e_powl.c: Likewise.
39624 * math/e_rem_pio2l.c: Likewise.
39625 * math/e_sinhl.c: Likewise.
39626 * math/e_sqrtl.c: Likewise.
39627 * math/fclrexcpt.c: Likewise.
39628 * math/fedisblxcpt.c: Likewise.
39629 * math/feenablxcpt.c: Likewise.
39630 * math/fegetenv.c: Likewise.
39631 * math/fegetexcept.c: Likewise.
39632 * math/fegetround.c: Likewise.
39633 * math/feholdexcpt.c: Likewise.
39634 * math/fesetenv.c: Likewise.
39635 * math/fesetround.c: Likewise.
39636 * math/feupdateenv.c: Likewise.
39637 * math/fgetexcptflg.c: Likewise.
39638 * math/fraiseexcpt.c: Likewise.
39639 * math/fsetexcptflg.c: Likewise.
39640 * math/ftestexcept.c: Likewise.
39641 * math/k_cosl.c: Likewise.
39642 * math/k_rem_pio2l.c: Likewise.
39643 * math/k_sinl.c: Likewise.
39644 * math/k_tanl.c: Likewise.
39645 * math/s_asinhl.c: Likewise.
39646 * math/s_atanl.c: Likewise.
39647 * math/s_cbrtl.c: Likewise.
39648 * math/s_erfl.c: Likewise.
39649 * math/s_expm1l.c: Likewise.
39650 * math/s_log1pl.c: Likewise.
39651 * math/s_tanhl.c: Likewise.
39652 * misc/acct.c: Likewise.
39653 * misc/brk.c: Likewise.
39654 * misc/chflags.c: Likewise.
39655 * misc/chroot.c: Likewise.
39656 * misc/fchflags.c: Likewise.
39657 * misc/fgetxattr.c: Likewise.
39658 * misc/flistxattr.c: Likewise.
39659 * misc/fremovexattr.c: Likewise.
39660 * misc/fsetxattr.c: Likewise.
39661 * misc/fsync.c: Likewise.
39662 * misc/ftruncate.c: Likewise.
39663 * misc/futimes.c: Likewise.
39664 * misc/futimesat.c: Likewise.
39665 * misc/getdomain.c: Likewise.
39666 * misc/getdtsz.c: Likewise.
39667 * misc/gethostid.c: Likewise.
39668 * misc/gethostname.c: Likewise.
39669 * misc/getloadavg.c: Likewise.
39670 * misc/getpagesize.c: Likewise.
39671 * misc/getsysstats.c: Likewise.
39672 * misc/getxattr.c: Likewise.
39673 * misc/gtty.c: Likewise.
39674 * misc/ioctl.c: Likewise.
39675 * misc/lgetxattr.c: Likewise.
39676 * misc/listxattr.c: Likewise.
39677 * misc/llistxattr.c: Likewise.
39678 * misc/lremovexattr.c: Likewise.
39679 * misc/lsetxattr.c: Likewise.
39680 * misc/lutimes.c: Likewise.
39681 * misc/madvise.c: Likewise.
39682 * misc/mincore.c: Likewise.
39683 * misc/mlock.c: Likewise.
39684 * misc/mlockall.c: Likewise.
39685 * misc/mmap.c: Likewise.
39686 * misc/mprotect.c: Likewise.
39687 * misc/msync.c: Likewise.
39688 * misc/munlock.c: Likewise.
39689 * misc/munlockall.c: Likewise.
39690 * misc/munmap.c: Likewise.
39691 * misc/preadv.c: Likewise.
39692 * misc/preadv64.c: Likewise.
39693 * misc/ptrace.c: Likewise.
39694 * misc/pwritev.c: Likewise.
39695 * misc/pwritev64.c: Likewise.
39696 * misc/readv.c: Likewise.
39697 * misc/reboot.c: Likewise.
39698 * misc/remap_file_pages.c: Likewise.
39699 * misc/removexattr.c: Likewise.
39700 * misc/revoke.c: Likewise.
39701 * misc/select.c: Likewise.
39702 * misc/setdomain.c: Likewise.
39703 * misc/setegid.c: Likewise.
39704 * misc/seteuid.c: Likewise.
39705 * misc/sethostid.c: Likewise.
39706 * misc/sethostname.c: Likewise.
39707 * misc/setregid.c: Likewise.
39708 * misc/setreuid.c: Likewise.
39709 * misc/setxattr.c: Likewise.
39710 * misc/sstk.c: Likewise.
39711 * misc/stty.c: Likewise.
39712 * misc/swapoff.c: Likewise.
39713 * misc/swapon.c: Likewise.
39714 * misc/sync.c: Likewise.
39715 * misc/syncfs.c: Likewise.
39716 * misc/syscall.c: Likewise.
39717 * misc/truncate.c: Likewise.
39718 * misc/ualarm.c: Likewise.
39719 * misc/usleep.c: Likewise.
39720 * misc/ustat.c: Likewise.
39721 * misc/utimes.c: Likewise.
39722 * misc/vhangup.c: Likewise.
39723 * misc/writev.c: Likewise.
39724 * posix/_exit.c: Likewise.
39725 * posix/alarm.c: Likewise.
39726 * posix/execve.c: Likewise.
39727 * posix/fexecve.c: Likewise.
39728 * posix/fork.c: Likewise.
39729 * posix/fpathconf.c: Likewise.
39730 * posix/getaddrinfo.c: Likewise.
39731 * posix/getegid.c: Likewise.
39732 * posix/geteuid.c: Likewise.
39733 * posix/getgid.c: Likewise.
39734 * posix/getgroups.c: Likewise.
39735 * posix/getlogin.c: Likewise.
39736 * posix/getlogin_r.c: Likewise.
39737 * posix/getpgid.c: Likewise.
39738 * posix/getpid.c: Likewise.
39739 * posix/getppid.c: Likewise.
39740 * posix/getresgid.c: Likewise.
39741 * posix/getresuid.c: Likewise.
39742 * posix/getsid.c: Likewise.
39743 * posix/getuid.c: Likewise.
39744 * posix/glob64.c: Likewise.
39745 * posix/nanosleep.c: Likewise.
39746 * posix/pathconf.c: Likewise.
39747 * posix/pause.c: Likewise.
39748 * posix/posix_madvise.c: Likewise.
39749 * posix/pread.c: Likewise.
39750 * posix/pread64.c: Likewise.
39751 * posix/pwrite.c: Likewise.
39752 * posix/pwrite64.c: Likewise.
39753 * posix/sched_getaffinity.c: Likewise.
39754 * posix/sched_getp.c: Likewise.
39755 * posix/sched_gets.c: Likewise.
39756 * posix/sched_primax.c: Likewise.
39757 * posix/sched_primin.c: Likewise.
39758 * posix/sched_rr_gi.c: Likewise.
39759 * posix/sched_setaffinity.c: Likewise.
39760 * posix/sched_setp.c: Likewise.
39761 * posix/sched_sets.c: Likewise.
39762 * posix/sched_yield.c: Likewise.
39763 * posix/setgid.c: Likewise.
39764 * posix/setlogin.c: Likewise.
39765 * posix/setpgid.c: Likewise.
39766 * posix/setresgid.c: Likewise.
39767 * posix/setresuid.c: Likewise.
39768 * posix/setsid.c: Likewise.
39769 * posix/setuid.c: Likewise.
39770 * posix/sleep.c: Likewise.
39771 * posix/spawni.c: Likewise.
39772 * posix/sysconf.c: Likewise.
39773 * posix/times.c: Likewise.
39774 * posix/wait.c: Likewise.
39775 * posix/wait3.c: Likewise.
39776 * posix/wait4.c: Likewise.
39777 * posix/waitpid.c: Likewise.
39778 * resolv/gai_sigqueue.c: Likewise.
39779 * resource/getpriority.c: Likewise.
39780 * resource/getrlimit.c: Likewise.
39781 * resource/getrusage.c: Likewise.
39782 * resource/nice.c: Likewise.
39783 * resource/setpriority.c: Likewise.
39784 * resource/setrlimit.c: Likewise.
39785 * resource/ulimit.c: Likewise.
39786 * rt/aio_cancel.c: Likewise.
39787 * rt/aio_fsync.c: Likewise.
39788 * rt/aio_read.c: Likewise.
39789 * rt/aio_sigqueue.c: Likewise.
39790 * rt/aio_suspend.c: Likewise.
39791 * rt/aio_write.c: Likewise.
39792 * rt/clock_getres.c: Likewise.
39793 * rt/clock_gettime.c: Likewise.
39794 * rt/clock_nanosleep.c: Likewise.
39795 * rt/clock_settime.c: Likewise.
39796 * rt/lio_listio.c: Likewise.
39797 * rt/mq_close.c: Likewise.
39798 * rt/mq_getattr.c: Likewise.
39799 * rt/mq_notify.c: Likewise.
39800 * rt/mq_open.c: Likewise.
39801 * rt/mq_receive.c: Likewise.
39802 * rt/mq_send.c: Likewise.
39803 * rt/mq_setattr.c: Likewise.
39804 * rt/mq_timedreceive.c: Likewise.
39805 * rt/mq_timedsend.c: Likewise.
39806 * rt/mq_unlink.c: Likewise.
39807 * rt/shm_open.c: Likewise.
39808 * rt/shm_unlink.c: Likewise.
39809 * rt/timer_create.c: Likewise.
39810 * rt/timer_delete.c: Likewise.
39811 * rt/timer_getoverr.c: Likewise.
39812 * rt/timer_gettime.c: Likewise.
39813 * rt/timer_settime.c: Likewise.
39814 * setjmp/__longjmp.c: Likewise.
39815 * setjmp/setjmp.c: Likewise.
39816 * signal/kill.c: Likewise.
39817 * signal/killpg.c: Likewise.
39818 * signal/raise.c: Likewise.
39819 * signal/sigaction.c: Likewise.
39820 * signal/sigaltstack.c: Likewise.
39821 * signal/sigblock.c: Likewise.
39822 * signal/sigignore.c: Likewise.
39823 * signal/sigintr.c: Likewise.
39824 * signal/signal.c: Likewise.
39825 * signal/sigpause.c: Likewise.
39826 * signal/sigpending.c: Likewise.
39827 * signal/sigqueue.c: Likewise.
39828 * signal/sigreturn.c: Likewise.
39829 * signal/sigset.c: Likewise.
39830 * signal/sigsetmask.c: Likewise.
39831 * signal/sigstack.c: Likewise.
39832 * signal/sigsuspend.c: Likewise.
39833 * signal/sigtimedwait.c: Likewise.
39834 * signal/sigvec.c: Likewise.
39835 * signal/sigwait.c: Likewise.
39836 * signal/sigwaitinfo.c: Likewise.
39837 * signal/sysv_signal.c: Likewise.
39838 * socket/accept.c: Likewise.
39839 * socket/accept4.c: Likewise.
39840 * socket/bind.c: Likewise.
39841 * socket/connect.c: Likewise.
39842 * socket/getpeername.c: Likewise.
39843 * socket/getsockname.c: Likewise.
39844 * socket/getsockopt.c: Likewise.
39845 * socket/isfdtype.c: Likewise.
39846 * socket/listen.c: Likewise.
39847 * socket/recv.c: Likewise.
39848 * socket/recvfrom.c: Likewise.
39849 * socket/recvmsg.c: Likewise.
39850 * socket/send.c: Likewise.
39851 * socket/sendmsg.c: Likewise.
39852 * socket/sendto.c: Likewise.
39853 * socket/setsockopt.c: Likewise.
39854 * socket/shutdown.c: Likewise.
39855 * socket/sockatmark.c: Likewise.
39856 * socket/socket.c: Likewise.
39857 * socket/socketpair.c: Likewise.
39858 * stdio-common/ctermid.c: Likewise.
39859 * stdio-common/cuserid.c: Likewise.
39860 * stdio-common/remove.c: Likewise.
39861 * stdio-common/rename.c: Likewise.
39862 * stdio-common/renameat.c: Likewise.
39863 * stdio-common/tempname.c: Likewise.
39864 * stdlib/getcontext.c: Likewise.
39865 * stdlib/makecontext.c: Likewise.
39866 * stdlib/setcontext.c: Likewise.
39867 * stdlib/swapcontext.c: Likewise.
39868 * stdlib/system.c: Likewise.
39869 * streams/fattach.c: Likewise.
39870 * streams/fdetach.c: Likewise.
39871 * streams/getmsg.c: Likewise.
39872 * streams/getpmsg.c: Likewise.
39873 * streams/putmsg.c: Likewise.
39874 * streams/putpmsg.c: Likewise.
39875 * sysdeps/unix/bsd/getpt.c: Likewise.
39876 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39877 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39878 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39881 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39882 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39883 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39884 * sysvipc/msgctl.c: Likewise.
39885 * sysvipc/msgget.c: Likewise.
39886 * sysvipc/msgrcv.c: Likewise.
39887 * sysvipc/msgsnd.c: Likewise.
39888 * sysvipc/semctl.c: Likewise.
39889 * sysvipc/semget.c: Likewise.
39890 * sysvipc/semop.c: Likewise.
39891 * sysvipc/semtimedop.c: Likewise.
39892 * sysvipc/shmat.c: Likewise.
39893 * sysvipc/shmctl.c: Likewise.
39894 * sysvipc/shmdt.c: Likewise.
39895 * sysvipc/shmget.c: Likewise.
39896 * termios/tcdrain.c: Likewise.
39897 * termios/tcflow.c: Likewise.
39898 * termios/tcflush.c: Likewise.
39899 * termios/tcgetattr.c: Likewise.
39900 * termios/tcgetpgrp.c: Likewise.
39901 * termios/tcsendbrk.c: Likewise.
39902 * termios/tcsetattr.c: Likewise.
39903 * termios/tcsetpgrp.c: Likewise.
39904 * time/adjtime.c: Likewise.
39905 * time/clock.c: Likewise.
39906 * time/getitimer.c: Likewise.
39907 * time/gettimeofday.c: Likewise.
39908 * time/setitimer.c: Likewise.
39909 * time/settimeofday.c: Likewise.
39910 * time/stime.c: Likewise.
39911 * time/time.c: Likewise.
39913 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39915 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39918 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39920 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39922 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39926 FE_TONEAREST before applying Dekker multiplication and Knuth
39927 addition. Clear inexact exceptions and check for exact zero
39928 results afterwards.
39929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39930 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39932 * math/libm-test.inc (fma_test): Add more tests.
39933 (fma_test_towardzero): Likewise.
39934 (fma_test_downward): Likewise.
39935 (fma_test_upward): Likewise.
39936 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39938 (libc_fesetround): New macro.
39939 (libc_fesetroundf): Likewise.
39940 (libc_fesetroundl): Likewise.
39941 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39943 (libc_fesetround_387): Likewise.
39944 (libc_fesetroundf): New macro.
39945 (libc_fesetround): Likewise.
39946 (libc_fesetroundl): Likewise.
39947 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39949 (libc_fesetroundf): New macro.
39950 (libc_fesetround): Likewise.
39951 (libc_fesetroundl): Likewise.
39952 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39953 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39954 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39956 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39957 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39959 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39960 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39962 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39966 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39967 integer constant usable in #if and use that to give value to enum
39969 (FE_DIVBYZERO): Likewise.
39970 (FE_UNDERFLOW): Likewise.
39971 (FE_OVERFLOW): Likewise.
39972 (FE_INVALID): Likewise.
39973 (FE_INVALID_SNAN): Likewise.
39974 (FE_INVALID_ISI): Likewise.
39975 (FE_INVALID_IDI): Likewise.
39976 (FE_INVALID_ZDZ): Likewise.
39977 (FE_INVALID_IMZ): Likewise.
39978 (FE_INVALID_COMPARE): Likewise.
39979 (FE_INVALID_SOFTWARE): Likewise.
39980 (FE_INVALID_SQRT): Likewise.
39981 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39982 (FE_TONEAREST): Likewise.
39983 (FE_TOWARDZERO): Likewise.
39984 (FE_UPWARD): Likewise.
39985 (FE_DOWNWARD): Likewise.
39986 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39987 (FE_DIVBYZERO): Likewise.
39988 (FE_OVERFLOW): Likewise.
39989 (FE_UNDERFLOW): Likewise.
39990 (FE_INEXACT): Likewise.
39991 (FE_TONEAREST): Likewise.
39992 (FE_DOWNWARD): Likewise.
39993 (FE_UPWARD): Likewise.
39994 (FE_TOWARDZERO): Likewise.
39995 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39996 (FE_UNDERFLOW): Likewise.
39997 (FE_OVERFLOW): Likewise.
39998 (FE_DIVBYZERO): Likewise.
39999 (FE_INVALID): Likewise.
40000 (FE_TONEAREST): Likewise.
40001 (FE_TOWARDZERO): Likewise.
40002 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40003 (FE_OVERFLOW): Likewise.
40004 (FE_UNDERFLOW): Likewise.
40005 (FE_DIVBYZERO): Likewise.
40006 (FE_INEXACT): Likewise.
40007 (FE_TONEAREST): Likewise.
40008 (FE_TOWARDZERO): Likewise.
40009 (FE_UPWARD): Likewise.
40010 (FE_DOWNWARD): Likewise.
40011 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40012 (FE_DIVBYZERO): Likewise.
40013 (FE_OVERFLOW): Likewise.
40014 (FE_UNDERFLOW): Likewise.
40015 (FE_INEXACT): Likewise.
40016 (FE_TONEAREST): Likewise.
40017 (FE_DOWNWARD): Likewise.
40018 (FE_UPWARD): Likewise.
40019 (FE_TOWARDZERO): Likewise.
40021 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40023 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40025 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40027 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40028 commands. Quote $PWD.
40029 (blacklist_exports): Don't use remove_newlines. Replace "declare
40031 (remove_newlines): Remove.
40033 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40035 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40036 * stdlib/stdlib.h (atof): Moved to ...
40037 * include/bits/stdlib-float.h: Here. New file.
40038 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40039 * stdlib/bits/stdlib-float.h: New file.
40040 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40045 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40047 * conform/conformtest.pl (@headers): Add fenv.h.
40048 * conform/data/fenv.h-data: New file.
40049 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40050 include of <math/fenv.h>.
40052 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40053 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40054 && !UNIX98]. Enables tests for XOPEN2K8.
40055 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40056 POSIX2008]: Likewise.
40058 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40059 (struct rusage): Do not expect type or its members.
40062 * math/math.h (FP_NAN): Define macro to integer constant usable in
40063 #if and use that to give value to enum constant.
40064 (FP_INFINITE): Likewise.
40065 (FP_ZERO): Likewise.
40066 (FP_SUBNORMAL): Likewise.
40067 (FP_NORMAL): Likewise.
40069 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40071 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40072 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40075 2012-11-02 Roland McGrath <roland@hack.frob.com>
40077 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40078 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40079 autoconf-time if not.
40080 * configure.in: Remove AC_PREREQ.
40082 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40084 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40085 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40086 of the internal implementation.
40088 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40090 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40091 except include of <misc/sys/syslog.h>.
40093 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40096 function returns with a NULL context exit with zero.
40098 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40100 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40102 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40104 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40105 (run_program_cmd): This.
40106 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40107 (tst_langinfo): New variable. Use it.
40109 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40111 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40112 floating point opcodes.
40114 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40116 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40119 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40121 * sysdeps/mach/hurd/powerpc: Remove directory.
40122 * sysdeps/mach/powerpc: Likewise.
40124 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40126 * scripts/check-local-headers.sh: Ignore c++ headers.
40128 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40130 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40131 __libc_cleanup_region_start argument.
40133 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40138 x * y using scaling, not as x * y + z.
40139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40141 * math/libm-test.inc (fma_test): Add more tests.
40142 (fma_test_towardzero): Likewise.
40143 (fma_test_downward): Likewise.
40144 (fma_test_upward): Likewise.
40146 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40148 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40150 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40152 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40155 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40157 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40159 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40166 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40169 Fix the order of the list for glibc 2.17.
40170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40173 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40177 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40180 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40181 for low part of x being zero before using __atanl (y).
40182 * math/libm-test.inc (atan2_test): Add another test.
40184 * manual/install.texi (Configuring and compiling): Document
40185 general use of test-wrapper and test-wrapper-env.
40186 * INSTALL: Regenerated.
40188 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40189 (__fma): Do not extract and scale down low bits on after-rounding
40190 systems when result rounded to normal precision would have normal
40192 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40193 (__fmal): Do not extract and scale down low bits on after-rounding
40194 systems when result rounded to normal precision would have normal
40196 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40197 (__fmal): Do not extract and scale down low bits on after-rounding
40198 systems when result rounded to normal precision would have normal
40200 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40202 (fma_test): Add more tests.
40203 (fma_test_towardzero): Likewise.
40204 (fma_test_downward): Likewise.
40205 (fma_test_upward): Likewise.
40207 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40209 * sysdeps/i386/tininess.h: Renamed to ...
40210 * sysdeps/x86/tininess.h: This.
40211 * sysdeps/x86_64/tininess.h: Removed.
40213 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40215 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40216 input. Use $(build-program-cmd).
40217 ($(objpfx)tst-array1-static.out): Likewise.
40218 ($(objpfx)tst-array2.out): Likewise.
40219 ($(objpfx)tst-array3.out): Likewise.
40220 ($(objpfx)tst-array4.out): Likewise.
40221 ($(objpfx)tst-array5.out): Likewise.
40222 ($(objpfx)tst-array5-static.out): Likewise.
40224 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40226 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40229 * nss/nsswitch.h (nss_interface_function): Provide new
40230 macro for use with NSS functions.
40231 * grp/initgroups.c: Use new macro.
40232 * nss/getXXbyYY.c: Likewise.
40233 * nss/getXXbyYY_r.c: Likewise.
40234 * nss/getXXent.c: Likewise.
40235 * nss/getXXent_r.c: Likewise.
40236 * sysdeps/posix/getaddrinfo.c: Likewise.
40238 2012-10-30 Andreas Jaeger <aj@suse.de>
40240 * po/ru.po: Update Russion translation from translation project.
40242 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40247 result and shift together with sticky bit instead of replicating
40248 round-to-nearest rounding.
40249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40251 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40252 missing underflow exceptions.
40253 (fma_test_towardzero): Add more tests.
40254 (fma_test_downward): Likewise.
40255 (fma_test_upward): Likewise.
40258 * sysdeps/generic/tininess.h: New file.
40259 * sysdeps/i386/tininess.h: Likewise.
40260 * sysdeps/sh/tininess.h: Likewise.
40261 * sysdeps/x86_64/tininess.h: Likewise.
40262 * stdlib/tst-strtod-underflow.c: Likewise.
40263 * stdlib/tst-tininess.c: Likewise.
40264 * stdlib/strtod_l.c: Include <tininess.h>.
40265 (round_and_return): Do not set errno for exact underflow cases.
40266 Force an underflow exception when setting errno for underflow.
40267 Determine underflow based on rounding to normal precision if
40268 TININESS_AFTER_ROUNDING.
40269 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40270 ERANGE for exact underflow cases.
40271 * stdlib/Makefile (tests): Add tst-tininess and
40272 tst-strtod-underflow.
40273 ($(objpfx)tst-tininess): Use $(link-libm).
40274 ($(objpfx)tst-strtod-underflow): Likewise.
40276 2012-10-30 Andreas Jaeger <aj@suse.de>
40279 * elf/Makefile (tests): Remove conditional for have-initfini-array
40280 since this is now always required and the variable does not exist
40282 (tests-static): Likewise.
40283 (modules-names): Likewise.
40285 * po/eo.po: Add Esperanto translation from translation project.
40287 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40288 merged with constructor/destructor.
40289 (init_array): Likewise.
40290 * elf/tst-array2dep.c (fini_array): Likewise.
40291 (init_array): Likewise.
40293 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40295 * manual/message.texi: Delete @cartouche tags.
40297 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40299 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40301 * sysdeps/mach/hurd/fsync.c: Likewise.
40303 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40304 [_POSIX_REALTIME_SIGNALS]: Change condition to
40305 [_POSIX_REALTIME_SIGNALS > 0].
40307 2012-10-27 Andreas Jaeger <aj@suse.de>
40309 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40310 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40312 [__WORDSIZE != 64]: Likewise.
40314 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40316 * iconvdata/tst-table.sh: Remove ${SHELL}.
40317 * iconvdata/tst-tables.sh: Likewise.
40319 2012-10-25 David S. Miller <davem@davemloft.net>
40321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40322 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40328 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40329 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40332 2012-10-25 Roland McGrath <roland@hack.frob.com>
40334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40335 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40338 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40339 Jim Blandy <jimb@codesourcery.com>
40341 * scripts/cross-test-ssh.sh: New file.
40342 * manual/install.texi (Configuring and compiling): Document use of
40344 * INSTALL: Regenerated.
40346 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40348 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40351 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40353 * Makeconfig (run-program-prefix): Fix comment.
40355 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40356 Jim Blandy <jimb@codesourcery.com>
40358 * Makeconfig (test-wrapper): New variable,
40359 (test-wrapper-env): Likewise.
40360 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40361 (run-built-tests): Define to yes.
40362 (run-program-prefix): Use $(test-wrapper).
40363 (built-program-cmd): Likewise.
40364 * Rules (make-test-out): Use $(test-wrapper-env) and
40365 $(host-built-program-cmd).
40366 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40367 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40369 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40370 $(test-wrapper-env) to tst-rtld-load-self.sh.
40371 ($(objpfx)order2.out): Use $(test-wrapper).
40372 ($(objpfx)tst-initorder.out): Likewise.
40373 ($(objpfx)tst-initorder2.out): Likewise.
40374 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40375 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40376 (test_wrapper_env): New variable. Use it to run ld.so.
40377 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40378 Use it to run ld.so.
40379 (test_wrapper_env): Likewise.
40380 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40381 $(test-wrapper) to run-iconv-test.sh.
40382 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40383 (ICONV): Use $test_wrapper.
40384 * posix/Makefile ($(objpfx)globtest.out): Pass
40385 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40386 globtest.sh, not $(run-program-prefix).
40387 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40388 (test_wrapper): Likewise.
40389 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40390 set together with run_via_rtld_prefix.
40391 (run_program_prefix): Define in terms of test_wrapper and
40392 run_via_rtld_prefix.
40394 2012-10-24 Roland McGrath <roland@hack.frob.com>
40396 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40397 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40401 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40402 Declare __clock_getres, __clock_gettime, __clock_settime,
40403 __clock_nanosleep, and __clock_getcpuclockid.
40404 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40405 Remove librt_hidden_def (clock_gettime).
40406 * sysdeps/unix/clock_gettime.c: Likewise.
40407 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40409 * rt/clock_getres.c: Define __clock_getres as an alias.
40410 * sysdeps/posix/clock_getres.c: Likewise.
40411 * rt/clock_settime.c: Define __clock_settime as an alias.
40412 * sysdeps/unix/clock_settime.c: Likewise.
40413 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40414 * sysdeps/unix/clock_nanosleep.c: Likewise.
40415 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40416 * rt/clock-compat.c: New file.
40417 * rt/Makefile (librt-routines): Add clock-compat and move
40418 $(clock-routines) to ...
40419 (routines): ... here, new variable.
40420 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40421 Don't add get_clockfreq here.
40422 * rt/Versions (libc: GLIBC_2.17): New version set.
40423 Add clock_* symbols here.
40424 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40426 (GLIBC_2.17): Add clock_* symbols.
40427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40438 * NEWS: Mention the move.
40440 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40441 Use __open, __read, __close rather than their public counterparts.
40442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40443 (__get_clockfreq_via_cpuinfo): Likewise.
40444 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40445 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40447 * config.h.in (HAVE_IFUNC): New #undef.
40448 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40450 * configure: Regenerated.
40452 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40454 * configure.in: Move READELF check to start of file.
40455 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40456 libc_cv_asm_gnu_indirect_function in the process.
40457 * configure: Regenerated.
40459 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40461 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40462 send the output to /dev/null.
40463 (libc_cv_cc_with_libunwind): Likewise.
40464 (libc_cv_as_noexecstack): Likewise.
40465 * configure: Regenerate.
40467 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40469 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40471 * posix/globtest.sh (TMPDIR): Do not set.
40472 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40473 (testout): Likewise.
40475 2012-10-24 Andreas Jaeger <aj@suse.de>
40477 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40478 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40479 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40480 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40481 posix_fadvise64, posix_fallocate64.
40483 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40484 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40485 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40487 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40489 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40492 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40493 <bits/fcntl-linux.h>.
40494 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40497 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40498 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40499 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40500 [__WORDSIZE != 64]: Likewise.
40502 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40504 * Makeconfig (run-built-tests): New variable.
40505 * Rules [$(cross-compiling) = yes]: Change condition to
40506 [$(run-built-tests) = no].
40507 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40508 to [$(run-built-tests) = yes].
40509 * elf/Makefile [$(cross-compiling) = no]: Likewise
40510 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40511 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40512 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40513 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40514 * io/Makefile [$(cross-compiling) = no]: Likewise.
40515 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40516 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40517 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40518 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40519 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40520 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40521 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40522 * string/Makefile [$(cross-compiling) = no]: Likewise.
40524 * posix/Makefile ($(objpfx)globtest.out): Pass
40525 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40526 $(rtld-installed-name).
40527 * posix/globtest.sh (elf_objpfx): Remove variable.
40528 (rtld_installed_name): Likewise.
40529 (library_path): Likewise.
40530 (run_program_prefix): New variable. Use for running globtest
40533 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40534 Joseph Myers <joseph@codesourcery.com>
40536 * Makeconfig (host-built-program-cmd): New variable.
40537 * elf/Makefile (tst-stackguard1-ARGS): Use
40538 $(host-built-program-cmd).
40539 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40540 (tst-spawn-ARGS): Likewise.
40541 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40543 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40544 Jim Blandy <jimb@codesourcery.com>
40546 * Makeconfig (run-via-rtld-prefix): New variable.
40547 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40548 (built-program-cmd): Likewise.
40550 2012-10-22 Andreas Jaeger <aj@suse.de>
40552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40553 __O_RSYNC if it exists, otherwise to O_SYNC.
40555 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40556 Joseph Myers <joseph@codesourcery.com>
40558 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40560 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40562 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40565 2012-10-22 Andreas Jaeger <aj@suse.de>
40567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40572 bits/fcntl-linux.h.
40574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40575 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40582 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40583 Joseph Myers <joseph@codesourcery.com>
40585 * config.make.in (NM): New variable.
40587 2012-10-21 Andreas Jaeger <aj@suse.de>
40589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40590 definitions and declarations that are provided by
40591 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40593 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40596 * elf/Makefile (tests-static): Add tst-leaks1-static.
40597 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40598 ($(objpfx)tst-leaks1-static): New rule.
40599 ($(objpfx)tst-leaks1-static-mem): Likewise.
40600 (tst-leaks1-static-ENV): New macro.
40601 * elf/dl-open.c (dl_open_worker): Check the main application
40602 only if SHARED is defined.
40603 * elf/tst-leaks1-static.c: New file.
40605 2012-10-20 Andreas Jaeger <aj@suse.de>
40607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40608 generic values for Linux.
40609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40610 and declarations that are provided by <bits/fcntl-linux.h> and
40611 include <bits/fcntl-linux.h>.
40612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40615 2012-10-20 Roland McGrath <roland@hack.frob.com>
40617 * io/fcntl.h: Move include of <bits/types.h> to the top and
40618 include it unconditionally.
40620 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40622 * wcsmbs/Makefile (tests-ifunc): New variable.
40623 (tests): Add $(tests-ifunc).
40624 * wcsmbs/test-wcschr-ifunc.c: New file.
40625 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40626 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40627 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40628 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40629 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40631 * string/Makefile (tests-ifunc): New variable.
40632 (tests): Add $(tests-ifunc).
40633 * string/test-memccpy.c (TEST_NAME): New macro.
40634 * string/test-memchr.c (TEST_NAME): Likewise.
40635 * string/test-memcmp.c (TEST_NAME): Likewise.
40636 * string/test-memcpy.c (TEST_NAME): Likewise.
40637 * string/test-memmem.c (TEST_NAME): Likewise.
40638 * string/test-memmove.c (TEST_NAME): Likewise.
40639 * string/test-memset.c (TEST_NAME): Likewise.
40640 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40641 * string/test-stpcpy.c (TEST_NAME): Likewise.
40642 * string/test-stpncpy.c (TEST_NAME): Likewise.
40643 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40644 * string/test-strcasestr.c (TEST_NAME): Likewise.
40645 * string/test-strcat.c (TEST_NAME): Likewise.
40646 * string/test-strchr.c (TEST_NAME): Likewise.
40647 * string/test-strcmp.c(TEST_NAME): Likewise.
40648 * string/test-strcpy.c (TEST_NAME): Likewise.
40649 * string/test-strcspn.c (TEST_NAME): Likewise.
40650 * string/test-strlen.c (TEST_NAME): Likewise.
40651 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40652 * string/test-strncmp.c (TEST_NAME): Likewise.
40653 * string/test-strncpy.c (TEST_NAME): Likewise.
40654 * string/test-strnlen.c (TEST_NAME): Likewise.
40655 * string/test-strpbrk.c (TEST_NAME): Likewise.
40656 * string/test-strrchr.c (TEST_NAME): Likewise.
40657 * string/test-strspn.c (TEST_NAME): Likewise.
40658 * string/test-strstr.c (TEST_NAME): Likewise.
40659 * string/test-bcopy-ifunc.c: New file.
40660 * string/test-bzero-ifunc.c: Likewise.
40661 * string/test-memccpy-ifunc.c: Likewise.
40662 * string/test-memchr-ifunc.c: Likewise.
40663 * string/test-memcmp-ifunc.c: Likewise.
40664 * string/test-memcpy-ifunc.c: Likewise.
40665 * string/test-memmem-ifunc.c: Likewise.
40666 * string/test-memmove-ifunc.c: Likewise.
40667 * string/test-mempcpy-ifunc.c: Likewise.
40668 * string/test-memset-ifunc.c: Likewise.
40669 * string/test-rawmemchr-ifunc.c: Likewise.
40670 * string/test-stpcpy-ifunc.c: Likewise.
40671 * string/test-stpncpy-ifunc.c: Likewise.
40672 * string/test-strcasecmp-ifunc.c: Likewise.
40673 * string/test-strcasestr-ifunc.c: Likewise.
40674 * string/test-strcat-ifunc.c: Likewise.
40675 * string/test-strchr-ifunc.c: Likewise.
40676 * string/test-strchrnul-ifunc.c: Likewise.
40677 * string/test-strcmp-ifunc.c: Likewise.
40678 * string/test-strcpy-ifunc.c: Likewise.
40679 * string/test-strcspn-ifunc.c: Likewise.
40680 * string/test-strlen-ifunc.c: Likewise.
40681 * string/test-strncasecmp-ifunc.c: Likewise.
40682 * string/test-strncat-ifunc.c: Likewise.
40683 * string/test-strncmp-ifunc.c: Likewise.
40684 * string/test-strncpy-ifunc.c: Likewise.
40685 * string/test-strnlen-ifunc.c: Likewise.
40686 * string/test-strpbrk-ifunc.c: Likewise.
40687 * string/test-strrchr-ifunc.c: Likewise.
40688 * string/test-strspn-ifunc.c: Likewise.
40689 * string/test-strstr-ifunc.c: Likewise.
40691 * debug/Makefile (tests-ifunc): New variable.
40692 (tests): Add $(tests-ifunc).
40693 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40694 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40695 * debug/test-stpcpy_chk-ifunc.c: New file.
40696 * debug/test-strcpy_chk-ifunc.c: Likewise.
40698 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40701 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40702 header is not read in.
40704 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40706 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40707 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40708 directly. Pass built executable to script as
40709 $(built-program-cmd).
40710 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40711 $testprogram without using LD_LIBRARY_PATH and $ldso.
40713 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40714 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40715 $(rtld-installed-name).
40716 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40717 (rtld_installed_name): Likewise.
40718 (library_path): Likewise.
40719 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40720 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40721 $(run-program-prefix) to tst-tables.sh.
40722 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40723 it to run tst-table-from and tst-table-to.
40724 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40725 Pass it to tst-table.sh.
40726 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40727 $(run-program-prefix) to tst-gettext.sh.
40728 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40730 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40732 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40733 to run tst-gettext.
40734 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40735 to run tst-gettext2.
40736 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40737 to run tst-translit.
40738 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40739 $(run-program-prefix) to tst-mtrace.sh.
40740 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40742 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40743 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40744 $(rtld-installed-name).
40745 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40746 (rtld_installed_name): Likewise.
40747 (run_program_prefix): New variable. Use it to run wordexp-test.
40749 * Makeconfig (ARCH): Remove all definitions.
40750 (machine): Likewise.
40751 [ARCH]: Remove conditional code.
40752 [!objdir]: Give error.
40753 [!objdir] (objpfx): Remove.
40754 [!objdir] (common-objpfx): Likewise.
40755 [!objdir] (common-objdir): Likewise.
40756 * configure.in (config_makefile): Remove. Hardcode Makefile in
40757 AC_CONFIG_FILES call.
40758 * configure: Regenerated.
40761 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40763 (testout): Likewise.
40765 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40766 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40767 $(rtld-installed-name).
40768 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40769 (rtld_installed_name): Likwise.
40770 (runit): Remove function.
40771 (run_getconf): New variable, Use it for running getconf binary.
40773 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
40776 * string/test-memmem.c (check_result): New function.
40777 (do_one_test): Use it.
40778 (check1): New function.
40779 (test_main): Use it.
40781 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40783 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40785 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40787 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40788 (_G_LSEEK64): Likewise.
40789 (_G_MMAP64): Likewise.
40790 (_G_FSTAT64): Likewise.
40791 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40792 (_G_LSEEK64): Likewise.
40793 (_G_MMAP64): Likewise.
40794 (_G_FSTAT64): Likewise.
40795 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40796 unconditional. Call __mmap64 directly.
40797 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40798 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40799 __lseek64 directly.
40800 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40801 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40803 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40804 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40805 __lseek64 directly.
40806 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40807 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40808 __lseek64 directly.
40809 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40810 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40811 __lseek64 directly.
40812 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40813 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40814 __fxstat64 directly.
40815 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40816 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40818 (freopen64) [!_G_OPEN64]: Remove conditional code.
40819 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40821 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40822 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40824 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40825 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40827 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40828 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40830 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40831 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40833 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40834 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40836 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40837 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40839 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40841 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40844 * manual/memory.texi (Malloc Tunable Parameters): Add note
40845 about free list pointers overwriting some perturb bytes.
40846 Wording suggested by Roland McGrath.
40848 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40850 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40851 (lgamma_test): Likewise.
40852 (tgamma_test): Likewise.
40854 2012-10-16 Florian Weimer <fweimer@redhat.com>
40857 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40858 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40860 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40862 * NEWS: Mention BZ #14716.
40863 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40864 when removing AVAILABLE1_USES_J macro.
40866 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40868 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40869 (__bswap_64): __uint64_t for unsigned 64-bit int.
40871 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40873 * include/string.h (memmem): Declare libc hidden alias.
40874 * string/memmem.c (memmem): Define libc hidden alias.
40875 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40876 __read, __close instead of open, read, close.
40878 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40881 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40883 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40884 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40885 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40887 (__rawmemchr_sse2): Likewise.
40888 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40889 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40890 (__strchr_sse2): Likewise.
40891 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40892 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40893 (__strcasecmp_sse2): Likewise.
40894 (__strncasecmp_sse2): Likewise.
40895 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40896 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40897 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40898 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40899 (__strrchr_sse2): Likewise.
40900 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40902 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40903 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40904 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40905 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40906 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40908 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40909 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40910 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40911 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40912 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40913 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40914 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40915 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40916 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40918 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40919 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40920 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40921 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40922 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40923 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40924 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40925 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40926 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40928 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40929 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40930 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40931 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40933 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40935 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40936 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40937 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40938 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40940 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40942 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40943 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40944 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40945 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40960 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40961 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40964 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40965 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40966 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40972 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40973 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40974 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40975 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40977 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40980 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40987 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40989 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40990 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40991 * include/ifunc-impl-list.h: New file.
40992 * misc/ifunc-impl-list.c: Likewise.
40993 * misc/Makefile (routines): Add ifunc-impl-list.
40994 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40995 * string/test-string.h: Include <ifunc-impl-list.h>.
40996 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40997 TEST_NAME]: New variables.
40998 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41000 (test_init): Call __libc_ifunc_impl_list to initialize
41001 func_list if TEST_IFUNC and TEST_NAME are defined.
41003 * string/Makefile (strop-tests): Add bcopy and bzero.
41004 * string/test-bcopy.c: New file.
41005 * string/test-bzero.c: Likewise.
41006 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41008 * string/test-memset.c: Support bzero test if TEST_BZERO is
41010 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41012 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41014 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41017 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41019 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41020 * configure: Regenerated.
41022 * Makeconfig (+link-static-before-libc): Don't include
41023 $(link-static-libc).
41025 * libio/libio.h (_IO_pos_t): Remove.
41027 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41029 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41032 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41034 * crypt/crypt-entry.c: Include fips-private.h.
41035 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41036 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41037 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41038 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41040 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41042 * crypt/crypt-private.h: Include stdbool.h.
41043 (_ufc_setup_salt_r): Return bool.
41044 * crypt/crypt-entry.c: Include errno.h.
41045 (__crypt_r): Return NULL with EINVAL for bad salt.
41046 * crypt/crypt_util.c (bad_for_salt): New.
41047 (_ufc_setup_salt_r): Check that salt is long enough and within
41048 the specified alphabet.
41049 * crypt/badsalttest.c: New file.
41050 * crypt/Makefile (tests): Add it.
41051 ($(objpfx)badsalttest): New.
41053 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41055 * NEWS: Add entry for BZ #14602.
41057 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41059 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41061 * math/libm-test.inc: Update comment listing what functions and
41063 (isgreater_test): New function.
41064 (isgreaterequal_test): Likewise.
41065 (isless_test): Likewise.
41066 (islessequal_test): Likewise.
41067 (islessgreater_test): Likewise.
41068 (isunordered_test): Likewise.
41069 (main): Call the new functions.
41071 2012-10-09 Roland McGrath <roland@hack.frob.com>
41073 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41074 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41075 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41076 * sysdeps/i386/configure: Regenerated.
41077 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41078 * sysdeps/mach/configure: Regenerated.
41079 * sysdeps/mach/hurd/configure: Regenerated.
41080 * sysdeps/powerpc/configure: Regenerated.
41081 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41082 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41083 * sysdeps/s390/s390-32/configure: Regenerated.
41084 * sysdeps/s390/s390-64/configure: Regenerated.
41085 * sysdeps/sh/configure: Regenerated.
41086 * sysdeps/sparc/configure: Regenerated.
41087 * sysdeps/unix/sysv/linux/configure: Regenerated.
41088 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41089 * sysdeps/x86_64/configure: Regenerated.
41091 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41092 defined. Don't check if MAP is NULL.
41094 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41096 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41097 (_G_stat64): Likewise.
41098 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41099 (_G_stat64): Likewise.
41100 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41101 instead of struct _G_stat64.
41102 * libio/fileops.c (mmap_remap_check): Likewise.
41103 (decide_maybe_mmap): Likewise.
41104 (_IO_new_file_seekoff): Likewise.
41105 (_IO_file_stat): Likewise.
41106 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41108 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41109 instead of struct _G_stat64.
41110 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41112 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41115 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41117 (CHECK_EOL): New macro.
41118 (two_way_short_needle): Check beginning of haystack for EOL. Use
41120 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41121 Replace with CHECK_EOL.
41122 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41123 Replace with CHECK_EOL.
41125 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41127 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41129 * math/libm-test.inc: Update comment listing what functions and
41131 (finite_test): New function.
41132 (isinf_test): Likewise.
41133 (isnan_test): Likewise.
41134 (fpclassify_test): Test subnormal input.
41135 (isfinite_test): Likewise.
41136 (isnormal_test): Likewise.
41137 (main): Call the new functions.
41139 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41142 * Makerules (%.dynsym): Force C locale when running
41143 $(OBJDUMP) --dynamic-syms.
41145 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41147 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41150 2012-10-06 David S. Miller <davem@davemloft.net>
41152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41153 upper 32-bits of the length value in %o2 since we use branch-on-register
41154 tests which consider the entire 64-bit register.
41156 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41158 * string/test-strstr.c (check2): Add a test for page boundary.
41160 2012-10-05 David S. Miller <davem@davemloft.net>
41162 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41163 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41165 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41167 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41168 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41169 and bzero when HWCAP_SPARC_CRYPTO is present.
41171 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41174 * string/test-strstr.c (check2): New function.
41175 (test_main): Call check2.
41177 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41179 * string/bug-strcasestr1.c (do_test): Moved to ...
41180 * string/test-strcasestr.c (check1): Here. New function.
41181 (do_one_test): Break out result checking code into ...
41182 (check_result): This. New function.
41183 (do_one_test): Call check_result.
41184 (test_main): Call check1.
41185 * string/bug-strchr1.c (do_test): Moved to ...
41186 * string/test-strchr.c (check1): Here. New function.
41187 (do_one_test): Break out result checking code into ...
41188 (check_result): This. New function.
41189 (do_one_test): Call check_result.
41190 (test_main): Call check1.
41191 * string/bug-strstr1.c (main): Moved to ...
41192 * string/test-strstr.c (check1): Here. New function.
41193 (do_one_test): Break out result checking code into ...
41194 (check_result): This. New function.
41195 (do_one_test): Call check_result.
41196 (test_main): Call check1.
41197 * string/bug-strcasestr1.c: Removed.
41198 * string/bug-strchr1.c: Likewise.
41199 * string/bug-strstr1.c: Likewise.
41201 * elf/Makefile (dl-routines): Add hwcaps.
41202 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41203 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41204 (_dl_important_hwcaps): Moved to ...
41205 * elf/dl-hwcaps.c: Here. New file.
41206 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41209 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41210 if IS_IN_rtld isn't defined.
41212 * elf/dl-support.c (_dl_sysinfo_map): New.
41213 Include "get-dynamic-info.h" and "setup-vdso.h".
41214 (_dl_non_dynamic_init): Call setup_vdso.
41215 * elf/dynamic-link.h: Don't include <assert.h>.
41216 (elf_get_dynamic_info): Moved to ...
41217 * elf/get-dynamic-info.h: Here. New file.
41218 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41219 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41220 * elf/setup-vdso.h: Here. New file.
41221 * elf/rtld.c: Include "setup-vdso.h".
41222 (dl_main): Call setup_vdso.
41224 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41226 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41227 creal in comment listing functions tested. List finite, isinf,
41228 isnan, isless, islessequal, isgreater, isgreaterequal,
41229 islessgreater, isunordered, lgamma_r and pow10 as functions and
41230 macros not tested. Mention which functions not tested are aliases
41231 for other functions. Fix typo. Note that signs of NaNs are not
41234 * scripts/config.guess: Update from config.git.
41235 * scripts/config.sub: Likewise.
41237 2012-10-04 Roland McGrath <roland@hack.frob.com>
41239 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41240 * misc/madvise.c (madvise): Renamed to __madvise.
41241 Make madvise a weak alias.
41242 * include/sys/mman.h: Declare __madvise.
41243 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41244 * sysdeps/unix/syscalls.list
41245 (madvise): Make __madvise the strong name, and madvise a weak alias.
41246 * sysdeps/unix/sysv/linux/syscalls.list
41247 (madvise, mmap): Remove redundant entries.
41248 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41249 * malloc/malloc.c (mtrim): Likewise.
41250 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41252 2012-10-03 Roland McGrath <roland@hack.frob.com>
41254 * sysdeps/mach/hurd/dl-cache.c: File removed.
41255 * config.h.in (USE_LDCONFIG): New #undef.
41256 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41257 * configure: Regenerated.
41258 * elf/Makefile (dl-routines): Add dl-cache only under
41259 [$(use-ldconfig) = yes].
41260 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41261 cache on [USE_LDCONFIG].
41262 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41264 * elf/rtld.c (dl_main): Likewise.
41266 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41268 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41269 _SC_LEVEL4_CACHE_LINESIZE.
41271 2012-10-03 Roland McGrath <roland@hack.frob.com>
41273 * sysdeps/unix/bsd/confstr.h: File removed.
41275 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41277 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41280 2012-10-02 Roland McGrath <roland@hack.frob.com>
41282 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41283 Make 'mapoff' field ElfW(Off) rather than off_t.
41285 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41287 * nscd/Makefile: Remove nscd-cflags and all its users.
41288 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41289 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41292 * malloc.c (malloc_printerr): Clarify error message.
41294 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41298 Set bit_FMA_Usable if FMA is supported.
41299 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41301 (bit_FMA4_Usable): Updated.
41302 (index_FMA_Usable): New macro.
41303 (CPUID_FMA): Likewise
41304 (HAS_FMA): Defined with bit_FMA_Usable.
41306 2012-10-01 Roland McGrath <roland@hack.frob.com>
41308 * bits/types.h (__swblk_t): Type removed.
41309 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41310 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41312 (__SWBLK_T_TYPE): Likewise.
41313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41314 (__SWBLK_T_TYPE): Likewise.
41315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41316 (__SWBLK_T_TYPE): Likewise.
41317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41318 (__SWBLK_T_TYPE): Likewise.
41320 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41321 Honza Horak <hhorak@redhat.com>
41323 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41324 (xdr_mapname): Use YPMAXMAP as maxsize.
41325 (xdr_peername): Use YPMAXPEER as maxsize.
41326 (xdr_keydat): Use YPAXRECORD as maxsize.
41327 (xdr_valdat): Use YPMAXRECORD as maxsize.
41329 2012-10-01 Roland McGrath <roland@hack.frob.com>
41331 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41333 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41334 * csu/init-first.c: ... here.
41335 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41336 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41337 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41338 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41339 * sysdeps/i386/init-first.c: File removed.
41340 * sysdeps/sh/init-first.c: File removed.
41342 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41346 if x * y might underflow to zero and z is zero.
41347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41349 * math/libm-test.inc (min_subnorm_value): New variable.
41350 (fma_test): Add more tests.
41351 (fma_test_towardzero): Likewise.
41352 (fma_test_downward): Likewise
41353 (fma_test_upward): Likewise.
41354 (initialize): Set min_subnorm_value.
41356 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41361 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41362 mode for addition resulting in exact zero.
41363 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41366 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41368 * math/libm-test.inc (fma_test): Add more tests.
41369 (fma_test_towardzero): New function.
41370 (fma_test_downward): Likewise.
41371 (fma_test_upward): Likewise.
41372 (main): Call the new functions.
41374 2012-09-28 David S. Miller <davem@davemloft.net>
41376 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41378 2012-09-28 Roland McGrath <roland@hack.frob.com>
41380 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41381 instead of SIGALRM.
41383 * sysdeps/gnu/_G_config.h: Moved to ...
41384 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41385 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41386 * sysdeps/generic/_G_config.h: ... here.
41388 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41390 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41392 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41393 Conditionalize target on [libnss_test1.so-version].
41395 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41397 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41398 (elfobjdir): Move out of conditionals.
41400 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41401 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41402 (__nss_lookup_function): Conditionalize label remove_from_tree on
41403 [!DO_STATIC_NSS || SHARED], matching its only use.
41405 2012-09-28 David S. Miller <davem@davemloft.net>
41407 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41410 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41414 when HWCAP_SPARC_CRYPTO is present.
41416 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41418 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41420 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41423 * stdio-common/vfprintf.c (process_string_arg): Revert
41426 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41428 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41430 * stdio-common/tst-sprintf.c: Include <locale.h>
41431 (main): Test sprintf's handling of incomplete multibyte
41434 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41436 * elf/dl-runtime.c (VERSYMIDX): Removed.
41437 * elf/dl-version.c (VERSYMIDX): Likewise.
41438 * elf/do-rel.h (VERSYMIDX): Likewise.
41439 (VALIDX): Likewise.
41440 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41441 * elf/rtld.c (VALIDX): Likewise.
41442 (ADDRIDX): Likewise.
41443 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41444 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41445 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41446 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41447 (VALIDX): Likewise.
41448 (ADDRIDX): Likewise.
41450 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41452 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41454 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41457 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41459 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41460 addresses are in the same scope as 192.0.2/24.
41461 * posix/gai.conf: Document new scope table defaults.
41463 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41466 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41467 for ftell. Compute offsets from write pointers instead.
41468 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41470 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41473 * libio/Makefile (tests): New test case tst-fseek.
41474 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41475 combination works in wide mode.
41476 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41477 state when the external buffer state changes.
41479 2012-09-27 David S. Miller <davem@davemloft.net>
41482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41483 pass reloc->r_addend in as the 'high' argument to
41484 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41488 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41490 * rt/tst-aio2.c: Include <pthread.h>.
41491 * rt/tst-aio3.c: Likewise.
41493 2012-09-27 Steve Ellcey <sellcey@mips.com>
41495 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41497 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41499 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41500 contents on [SHARED].
41502 2012-09-26 Marek Polacek <polacek@redhat.com>
41506 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41507 for C++ and GCC <4.3 as well as for non GCC compilers.
41509 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41513 2012-09-25 Roland McGrath <roland@hack.frob.com>
41515 * Makefile.in (all, install): Declare with .PHONY.
41516 Reported by Michael Hope <michael.hope@linaro.org>.
41518 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41520 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41521 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41523 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41525 (sydep_routines): Add the new and the internal functions.
41526 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41527 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41529 (GLIBC_2.17): Add the new function.
41530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41531 (GLIBC_2.17): Likewise.
41532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41533 (GLIBC_2.17): Likewise.
41534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41535 (GLIBC_2.17): Likewise.
41536 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41538 2012-09-25 Alan Modra <amodra@gmail.com>
41540 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41541 Add release barrier before setting once_control to say
41542 initialisation is done. Add hints on lwarx. Use macro in
41544 (clear_once_control): Add release barrier.
41546 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41549 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41551 * math/s_clog10.c (__clog10): Likewise.
41552 * math/s_clog10f.c (__clog10f): Likewise.
41553 * math/s_clog10l.c (__clog10l): Likewise.
41554 * math/s_clogf.c (__clogf): Likewise.
41555 * math/s_clogl.c (__clogl): Likewise.
41556 * math/Makefile (libm-calls): Add x2y2m1.
41557 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41558 (__x2y2m1): Likewise.
41559 (__x2y2m1l): Likewise.
41560 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41561 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41562 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41564 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41565 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41566 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41567 * sysdeps/i386/fpu/libm-test-ulps: Update.
41568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41571 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41572 int as type of variable DEPTH.
41573 (glob): Use size_t instead of int as type of variables NEWCOUNT
41576 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41578 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41579 Add s_sincosf-sse2.
41580 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41581 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41582 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41583 macros for using routine as __sincosf_ia32.
41584 Use macro for function declaration and weak_alias.
41585 * sysdeps/i386/fpu/libm-test-ulps: Update.
41587 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41590 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41591 subnormal argument.
41592 * math/s_cexpf.c (__cexpf): Likewise.
41593 * math/s_csinf.c (__csinf): Likewise.
41594 * math/s_csinhf.c (__csinhf): Likewise.
41595 * math/s_ctanf.c (__ctanf): Likewise.
41596 * math/s_ctanhf.c (__ctanhf): Likewise.
41597 * math/s_ccosh.c (__ccoshf): Likewise.
41598 * math/s_cexp.c (__cexpl): Likewise.
41599 * math/s_csin.c (__csin): Likewise.
41600 * math/s_csinh.c (__csinh): Likewise.
41601 * math/s_ctan.c (__ctan): Likewise.
41602 * math/s_ctanh.c (ctanh): Likewise.
41603 * math/s_ccoshl.c (__ccoshl): Likewise.
41604 * math/s_cexpl.c (__cexpl): Likewise.
41605 * math/s_csinl.c (__csinl): Likewise.
41606 * math/s_csinhl.c (__csinhl): Likewise.
41607 * math/s_ctanl.c (__ctanl): Likewise.
41608 * math/s_ctanhl.c (__ctanhl): Likewise.
41610 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41612 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41613 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41614 (_IO_off_t): Define to __off_t, not _G_off_t.
41615 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41616 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41617 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41618 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41619 type of __dummy and __dummy2 fields.
41620 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41621 (_G_ssize_t): Likewise.
41622 (_G_off_t): Likewise.
41623 (_G_pid_t): Likewise.
41624 (_G_uid_t): Likewise.
41625 (_G_wchar_t): Likewise.
41626 (_G_wint_t): Likewise.
41627 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41628 (_G_ssize_t): Likewise.
41629 (_G_off_t): Likewise.
41630 (_G_pid_t): Likewise.
41631 (_G_uid_t): Likewise.
41632 (_G_wchar_t): Likewise.
41633 (_G_wint_t): Likewise.
41634 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41635 (_G_ssize_t): Likewise.
41636 (_G_off_t): Likewise.
41637 (_G_pid_t): Likewise.
41638 (_G_uid_t): Likewise.
41639 (_G_wchar_t): Likewise.
41640 (_G_wint_t): Likewise.
41642 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41644 * malloc/arena.c: Include malloc-sysdep.h.
41645 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41646 is sufficient to shrink the heap or an unmap is needed.
41647 * sysdeps/generic/malloc-sysdep.h: New file. Define
41648 new function check_may_shrink_heap.
41649 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41650 new function check_may_shrink_heap.
41652 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41654 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41657 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41659 * catgets/test-gencat.sh: Add "set -e".
41660 * elf/tst-pathopt.sh: Likewise.
41661 * grp/tst_fgetgrent.sh: Likewise.
41662 * iconvdata/run-iconv-test.sh: Likewise.
41663 * intl/tst-gettext.sh: Likewise.
41664 * intl/tst-gettext2.sh: Likewise.
41665 * intl/tst-gettext4.sh: Likewise.
41666 * intl/tst-gettext6.sh: Likewise.
41667 * intl/tst-translit.sh: Likewise.
41668 * io/ftwtest-sh: Likewise.
41669 * libio/test-freopen.sh: Likewise.
41670 * malloc/tst-mtrace.sh: Likewise.
41671 * posix/globtest.sh: Likewise.
41672 * posix/tst-getconf.sh: Likewise.
41673 * posix/wordexp-tst.sh: Likewise.
41674 * stdio-common/tst-printf.sh: Likewise.
41675 * stdio-common/tst-unbputc.sh: Likewise.
41676 * stdlib/tst-fmtmsg.sh: Likewise.
41677 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41678 * catgets/Makefile: Do not specify -e option when running
41679 testsuite shell scripts.
41680 * elf/Makefile: Likewise.
41681 * grp/Makefile: Likewise.
41682 * iconvdata/Makefile: Likewise.
41683 * intl/Makefile: Likewise.
41684 * io/Makefile: Likewise.
41685 * libio/Makefile: Likewise.
41686 * malloc/Makefile: Likewise.
41687 * posix/Makefile: Likewise.
41688 * stdio-common/Makefile: Likewise.
41689 * stdlib/Makefile: Likewise.
41690 * sysdeps/x86_64/Makefile: Likewise.
41692 * io/ftwtest-sh: Add copyright header.
41693 * posix/globtest.sh: Likewise.
41694 * posix/tst-getconf.sh: Likewise.
41695 * posix/wordexp-tst.sh: Likewise.
41696 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41698 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41701 * Makeconfig (+link): Defined as $(+link-static) if
41702 $(build-shared) isn't yes.
41703 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41705 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41707 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41710 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41711 new chunk size with MALLOC_ALIGN_MASK.
41713 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41716 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41718 (__printf_fphex): Determine rounding using get_rounding_mode and
41720 * stdio-common/tst-printf-round.c (struct hex_test): New
41722 (hex_tests): New variable.
41723 (test_hex_in_one_mode): New function.
41724 (do_test): Also run tests for hex float output.
41726 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41728 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41729 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41730 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41731 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41732 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41733 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41734 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41735 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41737 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41739 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41740 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41741 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41742 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41744 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41747 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41749 * elf/tst-rtld-load-self.sh: New test.
41750 * elf/Makefile: Run it.
41752 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41754 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41755 (tst-writev-ENV): Remove.
41756 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41758 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41760 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41762 2012-09-17 Joseph Myers <joseph@codesourcery.com>
41764 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41766 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41768 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41769 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41770 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41773 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
41776 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41777 * config.make.in (have-cpp-asm-debuginfo): Removed.
41778 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41779 * configure: Regenerated.
41781 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41784 * stdio-common/printf_fp.c: Include <stdbool.h> and
41786 (___printf_fp): Determine rounding using get_rounding_mode and
41788 * stdio-common/tst-printf-round.c: New file.
41789 * stdio-common/Makefile (tests): Add tst-printf-round.
41790 (link-libm): New variable.
41791 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41793 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41796 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41797 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41799 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41802 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41804 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41805 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41806 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41807 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41809 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41812 * include/rounding-mode.h: New file.
41813 * sysdeps/generic/get-rounding-mode.h: Likewise.
41814 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41815 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41816 (MAX_VALUE): New macro.
41817 (MIN_VALUE): Likewise.
41818 (overflow_value): New function.
41819 (underflow_value): Likewise.
41820 (round_and_return): Use overflow_value and underflow_value to
41821 determine return values in overflow and underflow cases. Use
41822 round_away to determine rounding depending on rounding mode.
41823 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41824 determine return values in overflow and underflow cases.
41825 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41826 (struct test_results): New structure.
41827 (struct test): Use struct test_results to store expected results
41828 for all rounding modes.
41829 (TEST): Include expected results for all rounding modes.
41830 (test_in_one_mode): New function.
41831 (do_test): Use test_in_one_mode to compute and check results.
41832 Check results for all rounding modes.
41833 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41836 2012-12-09 Allan McRae <allan@archlinux.org>
41838 * sysdeps/i386/fpu/libm-test-ulps: Update
41840 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41842 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41843 (_G_int32_t): Likewise.
41844 (_G_uint16_t): Likewise.
41845 (_G_uint32_t): Likewise.
41846 (_G_HAVE_BOOL): Likewise.
41847 (_G_HAVE_ATEXIT): Likewise.
41848 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41849 (_G_HAVE_IO_FILE_OPEN): Likewise.
41850 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41851 (_G_int32_t): Likewise.
41852 (_G_uint16_t): Likewise.
41853 (_G_uint32_t): Likewise.
41854 (_G_HAVE_BOOL): Likewise.
41855 (_G_HAVE_ATEXIT): Likewise.
41856 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41857 (_G_HAVE_IO_FILE_OPEN): Likewise.
41858 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41859 (_G_int32_t): Likewise.
41860 (_G_uint16_t): Likewise.
41861 (_G_uint32_t): Likewise.
41862 (_G_HAVE_BOOL): Likewise.
41863 (_G_HAVE_ATEXIT): Likewise.
41864 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41865 (_G_HAVE_IO_FILE_OPEN): Likewise.
41867 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41869 * csu/libc-tls.c: Update copyright years.
41871 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41873 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41874 [!_G_USING_THUNKS]: Remove conditional code.
41875 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41876 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41878 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41879 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41880 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41881 (_G_VTABLE_LABEL_PREFIX): Likewise.
41882 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41883 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41884 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41885 (_G_VTABLE_LABEL_PREFIX): Likewise.
41886 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41887 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41888 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41889 (_G_VTABLE_LABEL_PREFIX): Likewise.
41890 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41892 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41894 * libio/Makefile: Include ../Makeconfig before tests.
41895 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41896 only if $(build-shared) is yes.
41898 * iconv/gconv_db.c: Update copyright years.
41900 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41902 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41903 unwind info if defined PIC. Fix special cases description.
41904 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41906 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41908 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41910 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41912 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41914 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41917 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41918 (LDLIBS-tst-chk4): This.
41919 (LDFLAGS-tst-chk5): Renamed to ...
41920 (LDLIBS-tst-chk5): This.
41921 (LDFLAGS-tst-chk6): Renamed to ...
41922 (LDLIBS-tst-chk6): This.
41923 (LDFLAGS-tst-lfschk4): Renamed to ...
41924 (LDLIBS-tst-lfschk4): This.
41925 (LDFLAGS-tst-lfschk5): Renamed to ...
41926 (LDLIBS-tst-lfschk5): This.
41927 (LDFLAGS-tst-lfschk6): Renamed to ...
41928 (LDLIBS-tst-lfschk6): This.
41930 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41931 on $(common-objpfx)soversions.mk.
41933 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41936 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41939 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41941 * malloc/arena.c (arena_get_retry): New function that gets
41942 another arena for the caller to try its request on.
41943 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41944 current arena cannot fulfill the request.
41945 (__libc_memalign): Likewise.
41946 (__libc_memalign): Likewise.
41947 (__libc_pvalloc): Likewise.
41948 (__libc_calloc): Likewise.
41950 2012-09-05 John Tobey <john.tobey@gmail.com>
41953 * manual/arith.texi (Operations on Complex): Fix description
41954 of carg branch cut.
41956 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41959 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41963 * manual/memory.texi (Memory): Make order of menu items match
41966 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41968 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41969 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41970 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41972 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41974 * csu/libc-tls.c (static_dtv): Renamed to ...
41975 (_dl_static_dtv): This. Make it global.
41976 (_dl_initial_dtv): Removed.
41977 (__libc_setup_tls): Updated.
41978 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41979 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41982 2012-09-06 Petr Machata <pmachata@redhat.com>
41984 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41985 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41986 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41987 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41989 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41992 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41993 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41996 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41999 * Makeconfig (link-static-before-libc): Replace $(+prector)
42001 (link-static-after-libc): Replace $(+postctor) with
42003 (link-bounded): Replace $(+prector)/$(+postctor) with
42004 $(+prectorT)/$(+postctorT).
42005 (+prectorT): New macro.
42006 (+postctorT): Likewise.
42008 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42010 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42011 (round_str): Handle values above the maximum for IBM long double
42013 * stdlib/tst-strtod-round.c (tests): Regenerated.
42015 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42017 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42019 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42020 zarch_nohighgprs around the zarch optimized routines.
42021 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42022 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42026 2012-09-05 David S. Miller <davem@davemloft.net>
42028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42030 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42031 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42032 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42033 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42036 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42038 * malloc/arena.c: Fold copyright years.
42039 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42041 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42043 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42045 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42047 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42049 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42051 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42052 change internal state upon failure.
42054 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42056 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42057 * malloc/memusage.c (mmap): Likewise.
42058 (mmap64, mremap): Likewise. Adjust name in comment.
42060 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42062 * libio/fileops.c: Fix typos in comments.
42063 * libio/oldfileops.c: Likewise.
42064 * libio/wfileops.c: Likewise.
42066 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42069 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42070 (tst-malloc-usable-ENV): Set environment for test case.
42071 * malloc/hooks.c (malloc_check_get_size): New function to get
42073 * malloc/malloc.c (musable): Use malloc_check_get_size.
42074 * malloc/tst-malloc-usable.c: New test case.
42076 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42078 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42080 2012-09-05 Allan McRae <allan@archlinux.org>
42083 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42084 determine header location.
42085 * configure: Regenerated.
42087 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42089 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42091 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42092 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42094 (test): Regenerate.
42096 2012-09-04 David S. Miller <davem@davemloft.net>
42098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42102 2012-09-04 Florian Weimer <fweimer@redhat.com>
42104 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42107 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42109 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42112 * libio/iogetdelim.c: Include <limits.h>.
42113 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42114 + len + 1 would overflow.
42116 2012-09-03 Andreas Jaeger <aj@suse.de>
42118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42119 * sysdeps/i386/fpu/libm-test-ulps: Update.
42121 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42123 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42124 Add s_sinf-sse2, s_conf-sse2.
42126 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42127 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42128 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42129 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42131 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42132 for using routine as __sinf_ia32.
42133 Use macro for function declaration and weak_alias.
42134 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42135 for using routine as __cosf_ia32.
42136 Use macro for function declaration and weak_alias.
42138 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42139 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42141 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42142 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42145 * math/libm-test.inc (cos_test): Add more test cases.
42146 (sin_test): Likewise.
42147 (sincos_test): Likewise.
42149 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42152 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42154 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42156 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42159 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42160 first element of the GOT.
42161 (elf_machine_load_address): Return the difference between
42162 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42164 2012-09-01 Allan McRae <allan@archlinux.org>
42167 * configure.in (AWK): Require gawk version 3.0 or later.
42168 * configure: Regenerated.
42170 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42172 * sysdeps/unix/sysv/linux/kernel-features.h
42173 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42175 [__NR_clock_getres]: Make code unconditional.
42176 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42177 (clock_getcpuclockid): Remove code left unreachable by removal of
42179 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42180 code unconditional.
42181 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42183 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42184 Make code unconditional.
42185 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42186 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42187 * sysdeps/unix/sysv/linux/clock_settime.c
42188 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42190 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42193 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42196 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42197 scripts/test-installation.pl.
42199 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42200 and $ld_so_version if it is set.
42202 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42206 failure if reading from procfs failed.
42207 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42209 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42211 * sysdeps/unix/sysv/linux/kernel-features.h
42212 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42213 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42214 Remove conditional code.
42215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42216 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42217 Remove conditional code.
42218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42219 * sysdeps/unix/sysv/linux/i386/fxstat.c
42220 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42222 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42223 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42225 * sysdeps/unix/sysv/linux/i386/lxstat.c
42226 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42228 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42229 Remove conditional code.
42230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42231 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42232 Remove conditional code.
42233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42234 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42235 <kernel-features.h>.
42236 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42238 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42239 Remove conditional code.
42240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42241 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42242 Remove conditional.
42244 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42247 * NEWS: Add fixed bug number.
42249 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42252 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42253 underflowing exponent in case of negative sign.
42254 * stdlib/tst-strtod-round-data: Add more tests.
42255 * stdlib/tst-strtod-round.c (tests): Regenerated.
42258 * stdlib/strtod_l.c (NDIG): Remove.
42259 (HEXNDIG): Likewise.
42260 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42261 smallest representable value.
42262 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42263 lie within an exact representation of 1/2 ulp of the result.
42264 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42266 (TENS_P9_IDX): Define unconditionally.
42267 (TENS_P9_SIZE): Likewise.
42268 (TENS_P10_IDX): Likewise.
42269 (TENS_P10_SIZE): Likewise.
42270 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42271 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42272 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42273 entries for 10^2^13 and 10^2^14.
42274 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42275 (TENS_P13_IDX): Define.
42276 (TENS_P13_SIZE): Likewise.
42277 (TENS_P14_IDX): Likewise.
42278 (TENS_P14_SIZE): Likewise.
42279 (_fpioconst_pow10): Change array size to
42280 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42282 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42283 1024]: Add entries for 10^2^13 and 10^2^14.
42284 [LAST_POW10 > _LAST_POW10]: Remove #error.
42285 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42286 (_fpioconst_pow10): Change array size to
42287 FPIOCONST_POW10_ARRAY_SIZE.
42288 * stdlib/gen-fpioconst.c: New file.
42289 * stdlib/gen-tst-strtod-round.c: Likewise.
42290 * stdlib/tst-strtod-round-data: Likewise.
42291 * stdlib/tst-strtod-round.c: Likewise.
42292 * stdlib/Makefile (tests): Add tst-strtod-round.
42295 * stdlib/strtod_l.c: Include <stdint.h>.
42296 (NDEBUG): Do not define.
42297 (round_and_return): Change EXPONENT parameter to type intmax_t.
42298 Rearrange calculations to avoid internal overflow possibilities.
42299 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42300 Rearrange calculations to avoid internal overflow possibilities.
42301 Assert that number fits inside MPNSIZE limbs.
42302 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42303 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42304 calculations and add assertions to avoid internal overflow
42305 possibilities. Add casts to avoid signed/unsigned operations.
42306 * stdlib/tst-strtod-overflow.c: New file.
42307 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42309 2012-08-25 Marek Polacek <polacek@redhat.com>
42311 * time/time.h: Fix some typos in comments.
42313 2012-08-23 Roland McGrath <roland@hack.frob.com>
42315 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42316 * posix/tst-rfc3484-2.c: Likewise.
42317 * posix/tst-rfc3484-3.c: Likewise.
42319 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42321 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42322 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42324 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42326 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42327 #include of fxstatat64.c.
42329 2012-08-22 Roland McGrath <roland@hack.frob.com>
42331 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42332 * shadow/getspent_r.c: Likewise.
42333 * shadow/getspnam.c: Likewise.
42334 * shadow/getspnam_r.c: Likewise.
42335 * gshadow/getsgent.c: Likewise.
42336 * gshadow/getsgent_r.c: Likewise.
42337 * gshadow/getsgnam.c: Likewise.
42338 * gshadow/getsgnam_r.c: Likewise.
42339 * inet/getnetbyad.c: Likewise.
42340 * inet/getnetbyad_r.c: Likewise.
42341 * inet/getnetbynm.c: Likewise.
42342 * inet/getnetbynm_r.c: Likewise.
42343 * inet/getnetent.c: Likewise.
42344 * inet/getnetent_r.c: Likewise.
42345 * inet/getproto.c: Likewise.
42346 * inet/getproto_r.c: Likewise.
42347 * inet/getprtent.c: Likewise.
42348 * inet/getprtent_r.c: Likewise.
42349 * inet/getprtname.c: Likewise.
42350 * inet/getprtname_r.c: Likewise.
42351 * inet/getrpcbyname.c: Likewise.
42352 * inet/getrpcbyname_r.c: Likewise.
42353 * inet/getrpcbynumber.c: Likewise.
42354 * inet/getrpcbynumber_r.c: Likewise.
42355 * inet/getrpcent.c: Likewise.
42356 * inet/getrpcent_r.c: Likewise.
42357 * inet/getaliasent.c: Likewise.
42358 * inet/getaliasent_r.c: Likewise.
42359 * inet/getaliasname.c: Likewise.
42360 * inet/getaliasname_r.c: Likewise.
42361 * nscd/getgrgid_r.c: Likewise.
42362 * nscd/getgrnam_r.c: Likewise.
42363 * nscd/gethstbyad_r.c: Likewise.
42364 * nscd/gethstbynm3_r.c: Likewise.
42365 * nscd/getpwnam_r.c: Likewise.
42366 * nscd/getpwuid_r.c: Likewise.
42367 * nscd/getsrvbynm_r.c: Likewise.
42368 * nscd/getsrvbypt_r.c: Likewise.
42369 * nscd/gai.c: Likewise.
42371 * configure.in (build_nscd): New substituted variable, set
42372 by --disable-build-nscd and defaults to $use_nscd.
42373 * configure: Regenerated.
42374 * config.make.in (build-nscd): New substituted variable.
42375 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42376 Change conditional to require [$(build-nscd) = yes] as well.
42377 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42380 * configure.in (use_nscd): New substituted variable, set by
42381 --disable-nscd. If enabled, define USE_NSCD.
42382 * configure: Regenerated.
42383 * config.h.in: Add USE_NSCD.
42384 * config.make.in (use-nscd): New substituted variable.
42385 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42386 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42387 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42388 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42389 (CFLAGS-getgrnam_r.c): Likewise.
42390 (CFLAGS-initgroups.c): Likewise.
42391 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42392 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42394 * inet/getnetgrent_r.c
42395 (nscd_setnetgrent): New function, broken out of ...
42396 (setnetgrent): ... here. Call it.
42397 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42398 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42399 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42400 * nscd/Makefile (routines, aux): Move definitions after include of
42401 Makeconfig. Conditionalize on [$(use-nscd) != no].
42402 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42403 Conditionalize on [USE_NSCD].
42404 (is_nscd, nscd_init_cb): Likewise.
42405 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42406 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42407 * nss/nss_db/db-init.c: Likewise.
42408 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42410 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42411 (make_request): Use it.
42412 (cache_valid_p): New function.
42413 (__check_pf): Use it.
42414 * NEWS: Add item for --disable-nscd.
42416 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42418 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42419 to support sed >= 4.2.1-20-ga9bf076.
42420 * configure: Regenerated.
42422 2012-08-22 Roland McGrath <roland@hack.frob.com>
42424 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42425 Conditionalize whole body on [IREL].
42427 2012-08-22 Jeff Law <law@redhat.com>
42430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42431 if the family is PF_UNSPEC.
42433 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42435 * Makerules (lib-version): Rename from V.
42436 (install-lib-nosubdir): Change V to lib-version.
42438 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42441 * powerpc32/power6/wcschr.c: New file.
42442 * powerpc32/power6/wcscpy.c: New file.
42443 * powerpc32/power6/wcsrchr.c: New file.
42444 * powerpc64/power6/wcschr.c: New file.
42445 * powerpc64/power6/wcscpy.c: New file.
42446 * powerpc64/power6/wcsrchr.c: New file.
42448 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42450 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42451 (two_way_short_needle): Use it.
42452 * string/strstr.c (AVAILABLE1_USES_J): Define.
42453 * string/strcasestr.c: Likewise.
42455 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42457 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42460 * NEWS: Add an entry.
42461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42462 define their defaults.
42463 (two_way_short_needle): Detect end-of-string on-the-fly.
42464 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42465 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42466 * string/bug-strcasestr1.c: New test.
42467 * string/Makefile: Run it.
42469 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42472 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42473 the first character.
42475 2012-08-21 Roland McGrath <roland@hack.frob.com>
42477 * csu/elf-init.c (__libc_csu_irel): Function removed.
42478 * csu/libc-start.c (apply_irel): New function.
42479 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42481 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42483 * sysdeps/unix/sysv/linux/kernel-features.h
42484 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42485 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42486 <kernel-features.h>.
42487 [__NR_fadvise64_64]: Make code unconditional.
42488 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42489 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42490 !__NR_fadvise64_64)]: Likewise.
42491 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42492 !__NR_fadvise64_64))]: Likewise.
42493 [__NR_fadvise64]: Make code unconditional.
42494 [!__NR_fadvise64]: Remove conditional code.
42495 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42496 <kernel-features.h>.
42497 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42499 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42502 not include <kernel-features.h>.
42503 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42505 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42508 include <kernel-features.h>.
42509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42514 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42516 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42517 slight instruction rearrangements per scrollpipe analysis.
42518 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42520 2012-08-20 Roland McGrath <roland@hack.frob.com>
42522 * manual/syslog.texi (syslog; vsyslog, closelog):
42523 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42524 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42526 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42527 DSOCAPS to match condition on defining it.
42529 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42531 * sysdeps/unix/sysv/linux/kernel-features.h
42532 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42534 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42535 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42537 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42538 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42540 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42541 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42543 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42544 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42546 * sysdeps/unix/sysv/linux/kernel-features.h
42547 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42548 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42550 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42551 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42552 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42553 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42554 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42555 Make code unconditional.
42556 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42557 (__mmap64) [!__NR_mmap2]: Likewise.
42558 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42559 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42560 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42561 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42562 [__NR_mmap2]: Make code unconditional.
42563 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42564 (__mmap64) [!__NR_mmap2]: Likewise.
42566 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42568 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42570 2012-08-18 Andreas Jaeger <aj@suse.de>
42572 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42574 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42576 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42577 * include/unistd.h (__have_sock_cloexec): Likewise.
42578 (__have_pipe2): Likewise.
42579 (__have_dup3): Likewise.
42581 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42584 * include/unistd.h (__have_pipe2): Change define into an extern int.
42585 (__have_dup3): Likewise.
42586 * socket/have_sock_cloexec.c: Include fcntl.h.
42587 (__have_pipe2): New variable.
42588 (__have_dup3): Likewise.
42590 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42592 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42594 2012-08-17 Marek Polacek <polacek@redhat.com>
42596 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42597 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42599 2012-08-17 Roland McGrath <roland@hack.frob.com>
42601 * configure.in: Add AC_SUBST for sysheaders.
42602 * configure: Regenerated.
42603 * config.make.in (sysheaders): New substituted variable.
42605 * sysdeps/unix/mkfifo.c: Moved ...
42606 * sysdeps/posix/mkfifo.c: ... here.
42607 * sysdeps/unix/mkfifoat.c: Moved ...
42608 * sysdeps/posix/mkfifoat.c: ... here.
42610 * sysdeps/unix/utime.c: Moved ...
42611 * sysdeps/posix/utime.c: ... here.
42613 * sysdeps/unix/time.c: Moved ...
42614 * sysdeps/posix/time.c: ... here.
42615 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42616 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42618 * sysdeps/unix/nice.c: Moved ...
42619 * sysdeps/posix/nice.c: ... here.
42621 * sysdeps/unix/alarm.c: Moved ...
42622 * sysdeps/posix/alarm.c: ... here.
42624 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42626 2012-08-17 Jeff Law <law@redhat.com>
42628 * intl/Makefile (codeset_mo): New variable.
42629 ($(codeset_mo)): New target.
42630 (tst-codeset.out): Depend on that. Remove explicit rule.
42631 (tst-gettext3.out, tst-gettext5.out): Likewise.
42632 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42633 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42634 * intl/tst-codeset.sh: Remove.
42635 * intl/tst-gettext3.sh: Likewise.
42636 * intl/tst-gettext5.sh: Likewise.
42638 2012-08-17 Roland McGrath <roland@hack.frob.com>
42640 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42641 * sysdeps/unix/syscalls.list: ... here.
42643 * sysdeps/posix/getaddrinfo.c
42644 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42645 (gaiconf_init, gaiconf_reload): Use them.
42646 [!_STATBUF_ST_NSEC]
42647 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42648 Define using time_t rather than struct timespec.
42650 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42651 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42653 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42655 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42656 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42659 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42660 __libc_cleanup_push argument.
42662 * bits/param.h: New file.
42663 * misc/sys/param.h: New file.
42664 * include/sys/param.h: New file.
42665 * misc/Makefile (headers): Add bits/param.h.
42666 * sysdeps/generic/sys/param.h: File removed.
42667 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42668 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42669 * sysdeps/mach/hurd/bits/param.h: New file.
42670 * sysdeps/mach/hurd/sys/param.h: File removed.
42672 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42675 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42677 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42678 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42681 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42682 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42683 rather than -D_IO_MTSAFE_IO conditionally.
42684 * stdio-common/Makefile (CPPFLAGS): Likewise.
42685 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42686 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42687 Use $(libio-mtsafe).
42688 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42689 of -D_IO_MTSAFE_IO.
42690 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42691 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42692 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42693 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42694 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42695 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42696 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42697 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42698 (CFLAGS-fread_u_chk.c): Likewise.
42699 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42700 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42701 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42702 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42703 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42704 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42705 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42706 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42707 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42709 * libio/Makefile: Test [$(libc-reentrant) = yes]
42710 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42713 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42714 * sysdeps/pthread/configure: File removed.
42715 * sysdeps/pthread/Makeconfig: New file.
42716 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42717 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42719 2012-08-16 Gary Benson <gbenson@redhat.com>
42721 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42722 unmapping the first object in a namespace.
42724 2012-08-16 Roland McGrath <roland@hack.frob.com>
42726 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42727 (__internal_setnetgrent): ... this. Add internal_function to
42728 definition. Add libc_hidden_def.
42729 (setnetgrent): Update caller.
42730 (internal_endnetgrent): Renamed to ...
42731 (__internal_endnetgrent): ... this. Add internal_function to
42732 definition. Add libc_hidden_def.
42733 (endnetgrent): Update caller.
42734 (internal_getnetgrent_r): Renamed to ...
42735 (__internal_getnetgrent_r): ... this. Add internal_function to
42736 definition. Add libc_hidden_def.
42737 (__getnetgrent_r): Update caller.
42738 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42740 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42742 * stdlib/longlong.h: Update from GCC.
42744 2012-08-16 Roland McGrath <roland@hack.frob.com>
42746 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42747 on _QL, which is set by umul_ppmm but never used.
42748 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42749 variables, which are set by GMP macros but never used.
42750 * stdio-common/_itowa.c (_itowa): Likewise.
42751 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42752 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42754 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42756 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42757 struct La_sh_regs is not constant.
42758 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42759 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42760 and struct La_sparc64_regs are not constant.
42762 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42764 * sysdeps/unix/sysv/linux/kernel-features.h
42765 (__ASSUME_POSIX_TIMERS): Remove.
42766 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42768 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42769 Make code unconditional.
42770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42771 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42772 Make code unconditional.
42773 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42774 * sysdeps/unix/sysv/linux/clock_nanosleep.c
42775 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42777 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42778 Make code unconditional.
42779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42780 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42781 (__libc_missing_posix_timers): Remove.
42783 2012-08-15 Roland McGrath <roland@hack.frob.com>
42785 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42786 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42788 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42790 * elf/dl-sym.c: Include <stdlib.h>.
42792 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42793 constants, which avoids warnings in 32-bit builds.
42795 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42796 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42798 * misc/lseek.c: File moved to ...
42799 * io/lseek.c: ... here.
42801 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42803 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42804 shifting LEN more than 31 bits at once.
42806 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42809 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42810 segmentation fault for a case of two empty input strings.
42811 * string/test-strncasecmp.c (check1): Renamed to...
42812 (bz12205): ...this.
42813 (bz14195): Add new testcase for two empty input strings and N > 0.
42814 (test_main): Call new testcase, adapt for renamed function.
42816 2012-08-15 Andreas Jaeger <aj@suse.de>
42819 * crypt/md5test2.c: New test, based on test supplied by Serge
42820 Belyshev <belyshev@depni.sinp.msu.ru>.
42821 * crypt/Makefile (xtests): Add md5test-giant..
42822 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42824 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42827 * crypt/md5.c (md5_process_block): Don't assume the buffer
42828 length is less than 2**32.
42829 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42830 length is less than 2**64.
42832 2012-08-15 Roland McGrath <roland@hack.frob.com>
42834 * string/str-two-way.h: Include <sys/param.h>.
42835 (MAX): Macro removed.
42837 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42838 Move #define and #undef of memmove to just before and after
42839 including <string.h>.
42841 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42842 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42843 and after including <string.h>. Move declarations of
42844 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42845 to before #include "string/memmove.c".
42847 * include/dirent.h: Declare __getdirentries.
42849 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42850 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42852 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42854 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42855 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42856 * sysdeps/i386/configure: Regenerated.
42857 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42858 STABS_CURRENT_FILE, and STABS_FUN.
42859 (END): Remove call to STABS_FUN_END.
42860 (STABS_CURRENT_FILE1): Delete.
42861 (STABS_CURRENT_FILE): Likewise.
42862 (STABS_FUN): Likewise.
42863 (STABS_FUN_END): Likewise.
42864 (STABS_FUN2): Likewise.
42865 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42866 * sysdeps/x86_64/configure: Regenerated.
42868 2012-08-14 Roland McGrath <roland@hack.frob.com>
42870 * elf/dl-open.c: Include <atomic.h>.
42871 * elf/dl-lookup.c: Likewise.
42873 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42875 * sysdeps/unix/sysv/linux/kernel-features.h
42876 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42877 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42879 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42881 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42882 condition on __ASSUME_CLONE_THREAD_FLAGS.
42884 2012-08-14 Andreas Jaeger <aj@suse.de>
42886 * sysdeps/i386/fpu/libm-test-ulps: Update.
42888 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42890 * include/atomic.h (atomic_exchange_and_add): Split into ...
42891 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42894 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42898 2012-08-13 Jeff Law <law@redhat.com>
42900 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42901 null byte in the output string.
42903 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42905 * sysdeps/unix/sysv/linux/kernel-features.h
42906 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42907 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42908 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42910 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42911 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42912 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42914 2012-08-09 Jeff Law <law@redhat.com>
42917 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42918 When avoid_arena is set, don't retry in the that arena. Pick the
42919 next one, whatever it might be.
42920 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42921 (arena_lock): Pass in new parameter to arena_get2.
42922 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42924 (__libc_malloc): Unify retrying after main arena failure with
42925 __libc_memalign version.
42926 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42928 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42931 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42932 to __redirect_strstr.
42933 (__strstr_sse42): Use typeof __redirect_strstr.
42934 (__strstr_ia32): Likewise.
42935 (__libc_strstr): New prototype.
42936 (strstr): Renamed to ...
42937 (__libc_strstr): This.
42938 (strstr): New strong alias of __libc_strstr.
42939 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42940 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42943 (__libc_time): New prototype.
42944 (time_ifunc): Replace time with __libc_time.
42945 (time): New strong alias and hidden definition of __libc_time.
42946 (__GI_time): Remove strong alias.
42947 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42948 Include <stddef.h>.
42949 (memmove): Redefined to __redirect_memmove.
42950 (__memmove_sse2): Use typeof __redirect_memmove.
42951 (__memmove_ssse3): Likewise.
42952 (__memmove_ssse3_back): Likewise.
42953 (__libc_memmove): New prototype.
42954 (memmove): Renamed to ...
42955 (__libc_memmove): This.
42956 (memmove): New strong alias of __libc_memmove.
42958 2012-08-08 Mark Salter <msalter@redhat.com>
42961 (R_MN10300_TLS_GD): Define.
42962 (R_MN10300_TLS_LD): Likewise.
42963 (R_MN10300_TLS_LDO): Likewise.
42964 (R_MN10300_TLS_GOTIE): Likewise.
42965 (R_MN10300_TLS_IE): Likewise.
42966 (R_MN10300_TLS_LE): Likewise.
42967 (R_MN10300_TLS_DTPMOD): Likewise.
42968 (R_MN10300_TLS_DTPOFF): Likewise.
42969 (R_MN10300_TLS_TPOFF): Likewise.
42970 (R_MN10300_SYM_DIFF): Likewise.
42971 (R_MN10300_ALIGN): Likewise.
42972 (R_MN10300_NUM): Update.
42974 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42979 2012-08-08 Roland McGrath <roland@hack.frob.com>
42981 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42983 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42984 sysdeps/unix -> sysdeps/posix move.
42985 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42987 2012-08-07 Allan McRae <allan@archlinux.org>
42990 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42991 (SUNOS_CPP): Likewise.
42992 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42994 (open_input): Call CPP using execvp.
42996 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42998 * sysdeps/unix/sysv/linux/kernel-features.h
42999 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43000 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43001 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43002 (__ASSUME_WAITID_SYSCALL): Likewise.
43003 * sysdeps/unix/sysv/linux/dl-execstack.c
43004 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43005 code unconditional.
43006 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43009 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43010 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43012 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43014 [__ASSUME_WAITID_SYSCALL]: Likewise.
43015 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43017 2012-08-07 Roland McGrath <roland@hack.frob.com>
43019 * sysdeps/unix/closedir.c: Renamed to ...
43020 * sysdeps/posix/closedir.c: ... here.
43021 * sysdeps/unix/dirfd.c: Renamed to ...
43022 * sysdeps/posix/dirfd.c: ... here.
43023 * sysdeps/unix/dirstream.h: Renamed to ...
43024 * sysdeps/posix/dirstream.h: ... here.
43025 * sysdeps/unix/fdopendir.c: Renamed to ...
43026 * sysdeps/posix/fdopendir.c: ... here.
43027 * sysdeps/unix/opendir.c: Renamed to ...
43028 * sysdeps/posix/opendir.c: ... here.
43029 * sysdeps/unix/readdir.c: Renamed to ...
43030 * sysdeps/posix/readdir.c: ... here.
43031 * sysdeps/unix/readdir_r.c: Renamed to ...
43032 * sysdeps/posix/readdir_r.c: ... here.
43033 * sysdeps/unix/rewinddir.c: Renamed to ...
43034 * sysdeps/posix/rewinddir.c: ... here.
43035 * sysdeps/unix/seekdir.c: Renamed to ...
43036 * sysdeps/posix/seekdir.c: ... here.
43037 * sysdeps/unix/telldir.c: Renamed to ...
43038 * sysdeps/posix/telldir.c: ... here.
43039 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43040 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43041 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43042 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43044 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43045 * bits/fcntl.h: ... here.
43047 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43049 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43050 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43051 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43052 (struct flock): Move l_start, l_len to the beginning.
43053 Use __pid_t for l_pid.
43054 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43055 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43056 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43057 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43058 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43059 [__USE_LARGEFILE64] (struct flock64): New type.
43060 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43062 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43063 * bits/dirent.h: ... here.
43065 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43066 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43068 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43071 Change from 2.6.0 to 2.6.16.
43072 * sysdeps/unix/sysv/linux/configure: Regenerated.
43073 * sysdeps/unix/sysv/linux/kernel-features.h
43074 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43075 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43077 (__ASSUME_UTIMES): Likewise.
43078 (__ASSUME_CLONE_STOPPED): Remove.
43079 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43080 architectures, not kernel version.
43081 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43082 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43083 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43084 (__ASSUME_WAITID_SYSCALL): Likewise.
43085 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43086 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43087 * README: State 2.6.16 as minimum Linux kernel version. Do not
43088 refer to older versions.
43090 2012-08-06 Roland McGrath <roland@hack.frob.com>
43092 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43093 Define alphasort64 as an alias.
43094 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43095 Define versionsort64 as an alias.
43096 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43097 Define scandir64 as an alias.
43098 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43099 Define scandirat64 as an alias.
43100 * dirent/alphasort64.c (alphasort64):
43101 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43102 * dirent/versionsort64.c: Likewise.
43103 * dirent/scandir64.c: Likewise.
43104 * dirent/scandirat64.c: Likewise.
43105 * sysdeps/wordsize-64/alphasort.c: File removed.
43106 * sysdeps/wordsize-64/alphasort64.c: File removed.
43107 * sysdeps/wordsize-64/scandir.c: File removed.
43108 * sysdeps/wordsize-64/scandir64.c: File removed.
43109 * sysdeps/wordsize-64/scandirat.c: File removed.
43110 * sysdeps/wordsize-64/scandirat64.c: File removed.
43111 * sysdeps/wordsize-64/versionsort.c: File removed.
43112 * sysdeps/wordsize-64/versionsort64.c: File removed.
43113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43122 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43124 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43126 [defined __arch64__ || defined __sparcv9]
43127 (__INO_T_MATCHES_INO64_T): New macro.
43128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43129 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43130 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43131 * sysdeps/unix/sysv/linux/bits/dirent.h
43132 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43133 (_DIRENT_MATCHES_DIRENT64): New macro.
43135 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43136 Define lockf64 as an alias.
43137 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43138 Define fseeko64 as an alias.
43139 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43140 Define ftello64 as an alias.
43141 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43142 Define _IO_fgetpos64 and fgetpos64 as aliases.
43143 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43144 Define _IO_fsetpos64 and fsetpos64 as aliases.
43145 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43146 Conditionalize body on this.
43147 * libio/fseeko64.c: Likewise.
43148 * libio/ftello64.c: Likewise.
43149 * libio/iofgetpos64.c: Likewise.
43150 * libio/iofsetpos64.c: Likewise.
43151 * sysdeps/wordsize-64/lockf.c: File removed.
43152 * sysdeps/wordsize-64/lockf64.c: File removed.
43153 * sysdeps/wordsize-64/fseeko.c: File removed.
43154 * sysdeps/wordsize-64/fseeko64.c: File removed.
43155 * sysdeps/wordsize-64/ftello.c: File removed.
43156 * sysdeps/wordsize-64/ftello64.c: File removed.
43157 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43158 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43159 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43160 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43167 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43170 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43172 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43174 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43176 [defined __arch64__ || defined __sparcv9]
43177 (__OFF_T_MATCHES_OFF64_T): New macro.
43178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43179 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43181 (__OFF_T_MATCHES_OFF64_T): New macro.
43183 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43185 * stdlib/secure-getenv.c (__secure_getenv): Replace
43186 GLIBC_2_16 with GLIBC_2_17.
43188 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43193 2012-08-03 David S. Miller <davem@davemloft.net>
43195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43197 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43201 (__ASSUME_CORRECT_SI_PID): Likewise.
43202 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43203 (__ASSUME_TMPFS_NAME): Likewise.
43204 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43205 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43206 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43207 (HAVE_AUX_SECURE): Make definition unconditional.
43208 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43209 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43211 2012-08-03 Roland McGrath <roland@hack.frob.com>
43213 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43214 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43215 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43216 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43217 __eloop_threshold instead of SYMLOOP_MAX.
43219 * sysdeps/generic/eloop-threshold.h: New file.
43220 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43222 * elf/chroot_canon.c (chroot_canon): Likewise.
43224 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43228 Change to 2.6.0 everywhere.
43229 * sysdeps/unix/sysv/linux/configure: Regenerated.
43230 * sysdeps/unix/sysv/linux/kernel-features.h
43231 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43232 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43234 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43235 (__ASSUME_FUTEX_REQUEUE): Remove.
43236 (__ASSUME_STATFS64): Define unconditionally.
43237 (__ASSUME_AT_SECURE): Likewise.
43238 (__ASSUME_CORRECT_SI_PID): Likewise.
43239 (__ASSUME_TGKILL): Define without depending on kernel version for
43241 (__ASSUME_UTIMES): Likewise.
43242 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43244 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43245 (__ASSUME_TMPFS_NAME): Likewise.
43246 * README: Update reference to Linux kernel versions.
43248 2012-08-02 Marek Polacek <polacek@redhat.com>
43251 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43252 libc_cv_asm_type_prefix with %.
43253 * configure: Regenerated.
43254 * include/libc-symbols.h: Remove comment about
43255 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43256 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43257 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43258 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43259 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43260 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43261 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43262 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43263 * elf/tst-unique2mod1.c: Likewise.
43264 * elf/tst-unique1mod2.c: Likewise.
43265 * elf/tst-unique1mod1.c: Likewise.
43266 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43267 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43268 Replace ASM_TYPE_DIRECTIVE with .type.
43269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43270 * sysdeps/i386/sysdep.h: Likewise.
43271 * sysdeps/x86_64/sysdep.h: Likewise.
43272 * sysdeps/sh/sysdep.h: Likewise.
43273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43274 Do not define ASM_TYPE_DIRECTIVE.
43275 * sysdeps/powerpc/sysdep.h: Likewise.
43276 * sysdeps/powerpc/powerpc32/sysdep.h:
43277 Replace ASM_TYPE_DIRECTIVE with .type.
43278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43279 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43280 * sysdeps/i386/fpu/e_powf.S: Likewise.
43281 * sysdeps/i386/fpu/e_expl.S: Likewise.
43282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43284 * sysdeps/i386/fpu/e_pow.S: Likewise.
43285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43289 * sysdeps/i386/fpu/e_log2.S: Likewise.
43290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43292 * sysdeps/i386/fpu/e_powl.S: Likewise.
43293 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43294 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43295 * sysdeps/i386/fpu/e_logl.S: Likewise.
43296 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43297 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43298 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43299 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43300 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43301 * sysdeps/i386/fpu/e_log.S: Likewise.
43302 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43303 * sysdeps/i386/fpu/e_logf.S: Likewise.
43304 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43305 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43306 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43307 * sysdeps/i386/fpu/e_log10.S: Likewise.
43308 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43309 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43310 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43311 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43312 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43314 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43315 * sysdeps/i386/i686/strtok.S: Likewise.
43316 * sysdeps/i386/i386-mcount.S: Likewise.
43317 * sysdeps/i386/strtok.S: Likewise.
43318 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43319 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43321 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43322 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43323 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43324 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43325 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43326 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43327 * sysdeps/x86_64/_mcount.S: Likewise.
43328 * sysdeps/x86_64/strtok.S: Likewise.
43329 * sysdeps/sh/_mcount.S: Likewise.
43331 2012-08-01 Roland McGrath <roland@hack.frob.com>
43333 * libio/iofopen.c: Include <fcntl.h>.
43334 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43335 (_IO_fopen64, fopen64): Define as aliases.
43336 * libio/iofopen64.c: Include <fcntl.h>.
43337 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43338 Conditionalize body on this.
43339 * sysdeps/wordsize-64/iofopen.c: File removed.
43340 * sysdeps/wordsize-64/iofopen64.c: File removed.
43342 2012-08-01 Marek Polacek <polacek@redhat.com>
43344 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43345 Use dlfcn directly instead of a variable.
43346 (binfmt-subdir): Do not define.
43349 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43352 Remove all definitions.
43353 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43354 <kernel-features.h>.
43355 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43356 (miss_F_GETOWN_EX): Remove all definitions.
43357 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43359 [!__ASSUME_FCNTL64]: Remove conditional code.
43360 [__ASSUME_FCNTL64]: Make code unconditional.
43361 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43362 <kernel-features.h>.
43363 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43364 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43365 (lockf64) [__NR_fcntl64]: Make code unconditional.
43366 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43368 * sysdeps/unix/sysv/linux/kernel-features.h
43369 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43370 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43371 Make code unconditional.
43372 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43373 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43375 [__NR_vfork]: Make code unconditional.
43376 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43377 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43379 [__NR_vfork]: Make code unconditional.
43380 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43381 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43383 2012-08-01 Roland McGrath <roland@hack.frob.com>
43385 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43386 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43388 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43389 Define mkstemp64 as an alias.
43390 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43391 Define mkstemps64 as an alias.
43392 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43393 Define mkostemp64 as an alias.
43394 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43395 Define mkostemps64 as an alias.
43396 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43397 Conditionalize body on this.
43398 * misc/mkostemp64.c: Likewise.
43399 * misc/mkostemps64.c: Likewise.
43400 * misc/mkstemps64.c: Likewise.
43401 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43402 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43403 * sysdeps/wordsize-64/mkostemp.c: File removed.
43404 * sysdeps/wordsize-64/mkstemp.c: File removed.
43405 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43407 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43411 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43413 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43414 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43416 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43417 compat_symbol macros from <shlib-compat.h> rather than the underlying
43418 default_symbol_version and symbol_version macros, so that DEFAULT
43419 lines in shlib-versions are respected.
43420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43422 2012-08-01 Florian Weimer <fweimer@redhat.com>
43424 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43425 Declare with warn_unused_result.
43426 (setgid, setregid, setegid, setresgid): Likewise.
43427 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43429 * WUR-REPORT: Remove set*id functions.
43431 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43433 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43435 2012-07-31 Roland McGrath <roland@hack.frob.com>
43438 * include/sys/socket.h (__libc_accept, __libc_accept4):
43439 Add attribute_hidden.
43440 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43442 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43444 * inet/getnetgrent_r.c (setup): Likewise.
43446 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43448 2012-07-31 David S. Miller <davem@davemloft.net>
43450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43452 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43455 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43456 value between 1.0 and 2.0 and smaller part has absolute value less
43458 * math/s_clog10.c (__clog10): Likewise.
43459 * math/s_clog10f.c (__clog10f): Likewise.
43460 * math/s_clog10l.c (__clog10l): Likewise.
43461 * math/s_clogf.c (__clogf): Likewise.
43462 * math/s_clogl.c (__clogl): Likewise.
43463 * math/libm-test.inc (clog_test): Add more tests.
43464 (clog10_test): Likewise.
43465 * sysdeps/i386/fpu/libm-test-ulps: Update.
43466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43468 2012-07-31 Florian Weimer <fweimer@redhat.com>
43470 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43471 Exit with zero in case no suitable GID is found, and write a
43472 message to standard error.
43474 2012-07-30 Roland McGrath <roland@hack.frob.com>
43476 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43478 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43479 (MAXPATHLEN): Removed.
43480 (NOGROUP, NODEV): New macros.
43481 (setbit, clrbit, isset, isclr): New macros.
43482 (howmany, roundup, powerof2): New macros.
43483 (DEV_BSIZE): New macro.
43485 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43486 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43488 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43489 definition on [!__NO_LONG_DOUBLE_MATH].
43491 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43492 PTR_MANGLE and PTR_DEMANGLE.
43494 * socket/accept4.c (accept4): Rename to __libc_accept4.
43495 Define accept4 as a weak alias.
43497 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43498 on [_DIRENT_HAVE_D_TYPE].
43499 * io/ftw.c (ftw_dir): Likewise.
43501 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43503 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43505 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43506 Use the BSD numbers rather than the arbitrary ones we had.
43507 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43508 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43509 (SIGXCPU, SIGXFSZ): New macros.
43512 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43513 initializer on [_LIBC_REENTRANT].
43515 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43516 definitions inside [_POSIX_MAPPED_FILES].
43518 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43520 * dirent/opendir.c: Include <fcntl.h>.
43522 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43523 (__libc_getspecific): Likewise.
43524 (__libc_key_create): Likewise.
43526 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43527 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43528 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43529 (tmpfile64): Define as alias.
43530 * sysdeps/wordsize-64/tmpfile.c: File removed.
43531 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43532 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43533 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43535 * stdio-common/vfscanf.c: Include <stdbool.h>.
43536 * nss/makedb.c: Likewise.
43537 * stdio-common/_i18n_number.h: Likewise.
43538 * argp/argp-help.c: Likewise.
43539 * posix/wordexp.c: Likewise.
43540 * sysdeps/posix/spawni.c: Likewise.
43541 * nss/nss_files/files-initgroups.c: Likewise.
43542 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43543 * nss/nss_files/files-initgroups.c: Likewise.
43544 * nss/nss_db/db-netgrp.c: Likewise.
43545 * nss/nss_db/db-initgroups.c: Likewise.
43546 * io/fchmodat.c: Include <sys/stat.h>.
43548 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43549 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43551 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43554 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43555 Add multiple inclusion protection.
43557 2012-07-27 David S. Miller <davem@davemloft.net>
43559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43561 2012-07-27 Gary Benson <gbenson@redhat.com>
43564 * elf/rtld.c: Include <stap-probe.h>.
43565 (dl_main): Added static probes "init_start" and "init_complete".
43566 * elf/dl-load.c: Include <stap-probe.h>.
43567 (lose): Take new parameter "nsid".
43568 Added static probe "map_failed".
43569 (_dl_map_object_from_fd): Pass namespace id to lose.
43570 Added static probe "map_start".
43571 (open_verify): Pass namespace id to lose.
43572 * elf/dl-open.c: Include <stap-probe.h>.
43573 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43574 and "reloc_complete".
43575 * elf/dl-close.c: Include <stap-probe.h>.
43576 (_dl_close_worker): Added static probes "unmap_start" and
43578 * elf/rtld-debugger-interface.txt: New file documenting the above.
43580 2012-07-26 Roland McGrath <roland@hack.frob.com>
43582 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43583 rather than a string variable.
43584 * sunrpc/rpc_main.c (h_output): Likewise.
43585 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43587 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43589 * inet/check_native.c: New file.
43591 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43594 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43595 if larger part has absolute value 1.0.
43596 * math/s_clog10.c (__clog10): Likewise.
43597 * math/s_clog10f.c (__clog10f): Likewise.
43598 * math/s_clog10l.c (__clog10l): Likewise.
43599 * math/s_clogf.c (__clogf): Likewise.
43600 * math/s_clogl.c (__clogl): Likewise.
43601 * math/libm-test.inc (clog_test): Add more tests.
43602 (clog10_test): Likewise.
43603 * sysdeps/i386/fpu/libm-test-ulps: Update.
43604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43606 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43607 (pltexit): Likewise.
43608 (La_regs): Likewise.
43609 (La_retval): Likewise.
43610 (int_retval): Likewise.
43611 Update #error for removed macros to refer only to definitions in
43613 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43615 (pltexit): Likewise.
43616 (La_regs): Likewise.
43617 (La_retval): Likewise.
43618 (int_retval): Likewise.
43619 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43621 (pltexit): Likewise.
43622 (La_regs): Likewise.
43623 (La_retval): Likewise.
43624 (int_retval): Likewise.
43625 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43627 (pltexit): Likewise.
43628 (La_regs): Likewise.
43629 (La_retval): Likewise.
43630 (int_retval): Likewise.
43631 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43633 (pltexit): Likewise.
43634 (La_regs): Likewise.
43635 (La_retval): Likewise.
43636 (int_retval): Likewise.
43637 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43639 (pltexit): Likewise.
43640 (La_regs): Likewise.
43641 (La_retval): Likewise.
43642 (int_retval): Likewise.
43643 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43645 (pltexit): Likewise.
43646 (La_regs): Likewise.
43647 (La_retval): Likewise.
43648 (int_retval): Likewise.
43649 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43650 macro definitions in tst-audit.h.
43651 * sysdeps/i386/tst-audit.h: New file.
43652 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43653 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43654 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43655 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43656 * sysdeps/sh/tst-audit.h: Likewise.
43657 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43658 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43659 * sysdeps/x86_64/tst-audit.h: Likewise.
43661 2012-07-26 Andreas Jaeger <aj@suse.de>
43663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43666 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43667 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43668 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43670 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43671 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43672 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43674 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43677 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43679 (si_call_addr, si_syscall, si_arch): Define new macro.
43680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43682 (si_call_addr, si_syscall, si_arch): Define new marcro.
43683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43685 (si_call_addr, si_syscall, si_arch): Define new macro.
43686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43688 (si_call_addr, si_syscall, si_arch): Define new macro.
43690 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43693 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43694 Change to 2.4.21 where previously 2.4.1.
43695 * sysdeps/unix/sysv/linux/configure: Regenerated.
43696 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43697 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43698 Linux kernel version.
43699 (__ASSUME_STD_AUXV): Remove.
43700 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43702 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43703 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43704 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43705 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43706 (__ASSUME_NETLINK_SUPPORT): Likewise.
43707 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43708 (__no_netlink_support): Remove conditional definition.
43709 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43711 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43712 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43713 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43714 (if_nameindex_ioctl): Remove.
43715 (if_nameindex_netlink): Do not handle __no_netlink_support.
43716 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43718 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43719 Remove conditional code.
43720 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43722 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43724 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43725 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43726 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43728 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43729 [!__ASSUME_STD_AUXV]: Remove conditional code.
43730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43731 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43732 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43734 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43735 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43737 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43739 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43740 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43742 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43744 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43747 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43750 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43751 code unconditional.
43752 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43754 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43756 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43759 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43761 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43764 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43765 code unconditional.
43766 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43768 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43770 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43773 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43774 code unconditional.
43775 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43777 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43779 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43782 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43784 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43785 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43786 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43787 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43788 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43789 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43790 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43791 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43792 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43793 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43794 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43795 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43796 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43797 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43799 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43800 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43802 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43804 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43805 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43808 2012-07-25 Florian Weimer <fweimer@redhat.com>
43810 * Versions.def: Add GLIBC_2.17.
43811 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43812 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43813 Introduce __libc_secure_getenv.
43814 * stdlib/Versions (2.17): Add secure_getenv
43815 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43816 * stdlib/secure-getenv.c: Rename __secure_getenv to
43817 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43818 symbol __secure_getenv for GLIBC_2.0.
43819 * stdlib/tst-secure-getenv.c: New.
43820 * stdlib/Makefile (tests): Add testcase.
43821 * manual/startup.texi (Environment Access): Document
43823 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43824 __libc_secure_getenv.
43825 * inet/ruserpass.c (ruserpass): Likewise.
43826 * malloc/mtrace.c (mtrace): Likewise.
43827 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43828 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43829 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43830 * sysdeps/posix/tempname.c: Likewise. Evaluate
43831 HAVE_SECURE_GETENV.
43832 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43833 __secure_getenv to __libc_secure_getenv.
43834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43847 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43849 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43850 (struct La_i86_retval): Likewise.
43851 (struct La_x86_64_regs): Likewise.
43852 (struct La_x86_64_retval): Likewise.
43853 (struct La_x32_regs): Likewise.
43854 (struct La_x32_retval): Likewise.
43855 (struct La_ppc32_regs): Likewise.
43856 (struct La_ppc32_retval): Likewise.
43857 (struct La_ppc64_regs): Likewise.
43858 (struct La_ppc64_retval): Likewise.
43859 (struct La_sh_regs): Likewise.
43860 (struct La_sh_retval): Likewise.
43861 (struct La_s390_32_regs): Likewise.
43862 (struct La_s390_32_retval): Likewise.
43863 (struct La_s390_64_regs): Likewise.
43864 (struct La_s390_64_retval): Likewise.
43865 (struct La_sparc32_regs): Likewise.
43866 (struct La_sparc32_retval): Likewise.
43867 (struct La_sparc64_regs): Likewise.
43868 (struct La_sparc64_retval): Likewise.
43869 (struct audit_ifaces): Remove architecture-specific pltenter and
43871 * sysdeps/i386/ldsodefs.h: New file.
43872 * sysdeps/powerpc/ldsodefs.h: Likewise.
43873 * sysdeps/s390/ldsodefs.h: Likewise.
43874 * sysdeps/sh/ldsodefs.h: Likewise.
43875 * sysdeps/sparc/ldsodefs.h: Likewise.
43876 * sysdeps/x86_64/ldsodefs.h: Likewise.
43878 2012-07-25 Marek Polacek <polacek@redhat.com>
43881 * math/libm-test.inc (yn_test): Add another test.
43882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43883 to ERANGE when the result is +-Inf.
43884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43885 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43886 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43887 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43889 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43891 * conform/data/time.h-data (NULL): Use macro-constant. Require
43893 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43895 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43897 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43899 * configure.in <sysdeps resolving>: Correct printing
43901 * configure: Regenerate.
43903 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43905 * math/w_ilogb.c: Include <limits.h>.
43906 * math/w_ilogbl.c: Likewise.
43908 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43910 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43911 va_copy. Document allowing for unavailable va_copy only as
43912 pre-C99 compatibility.
43913 * manual/string.texi (Copying and Concatenation): Use va_copy
43914 instead of __va_copy in concat example.
43916 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43918 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43919 (__sendto): Use create_address_port. Initialize APORT and deallocate
43922 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43923 with O_NOLINK passed to __file_name_lookup.
43925 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43926 with O_NOLINK passed to __file_name_lookup.
43928 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43929 negative N or less than NGIDS.
43931 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43932 type to string_t. Set ERANGE as errno and return it if NAME is not big
43933 enough. Use memcpy instead of strncpy.
43935 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43937 * elf/Makefile (check-data): Remove.
43938 (localplt.data): New vpath directive.
43939 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43940 instead of $(check-data).
43941 * scripts/data/localplt-generic.data: Move to ...
43942 * sysdeps/generic/localplt.data: ... here.
43943 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43944 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43945 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43948 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43951 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43954 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43957 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43960 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43964 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43966 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43967 PPC32 and PPC64 files.
43968 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43969 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43971 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43973 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43974 __makecontext_ret to ...
43975 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43976 ... here and call exit if uc_link is NULL. New file.
43977 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43978 __makecontext_ret.S.
43979 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43980 __makecontext_ret to ...
43981 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43982 ... here and call exit if uc_link is NULL. New file.
43983 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43984 __makecontext_ret.S.
43986 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43988 * elf/elf.h (R_390_IRELATIVE): New definition.
43989 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43990 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43991 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43992 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43993 (elf_machine_lazy_rel): Likewise.
43994 * sysdeps/s390/dl-irel.h: New file.
43995 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43996 * sysdeps/s390/s390-64/memset.S: New asm code.
43997 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43998 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44000 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44001 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44002 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44004 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44005 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44006 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44007 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44008 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44009 * sysdeps/s390/s390-32/memset.S: New asm code.
44010 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44012 2012-07-17 Marek Polacek <polacek@redhat.com>
44015 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44016 * sysdeps/s390/s390-64/configure.in: Likewise.
44017 * sysdeps/sparc/configure.in: Likewise.
44018 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44019 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44020 * sysdeps/i386/configure.in: Likewise.
44021 * sysdeps/x86_64/configure.in: Likewise.
44022 * sysdeps/sh/configure.in: Likewise.
44023 * sysdeps/s390/s390-32/configure: Regenerated.
44024 * sysdeps/s390/s390-64/configure: Likewise.
44025 * sysdeps/x86_64/configure: Likewise.
44026 * sysdeps/sh/configure: Likewise.
44027 * sysdeps/powerpc/powerpc64/configure: Likewise.
44028 * sysdeps/powerpc/powerpc32/configure: Likewise.
44029 * sysdeps/sparc/configure: Likwise.
44030 * sysdeps/i386/configure: Likewise.
44032 * elf/dl-open.c: Comment fixes.
44034 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44036 * Makefile [CXX] (check-data): Remove.
44037 [CXX] (c++-types.data): New vpath directive.
44038 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44039 vpath. Do not allow for C++ type data being missing.
44040 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44041 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44042 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44043 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44044 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44045 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44046 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44049 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44052 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44055 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44058 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44061 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44064 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44067 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44070 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44071 definitions to architecture-specific files.
44072 (TLS_IE): Likewise.
44073 (TLS_LD): Likewise.
44074 (TLS_GD): Likewise.
44075 * sysdeps/i386/tls-macros.h: New file.
44076 * sysdeps/powerpc/tls-macros.h: Likewise.
44077 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44078 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44079 * sysdeps/sh/tls-macros.h: Likewise.
44080 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44081 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44082 * sysdeps/x86_64/tls-macros.h: Likewise.
44084 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44087 zero value for regular exit case.
44089 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44090 (__start_context): Preserve zero value for regular exit case.
44092 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44093 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44095 * manual/setjmp.texi (setcontext): Clarify normal process
44096 termination when uc_link is the null pointer.
44097 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44100 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44102 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44103 preprocessor. Test for each exception mask separately.
44105 2012-07-16 Andreas Jaeger <aj@suse.de>
44107 * po/ru.po: Update from translation team.
44109 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44111 * conform/data/string.h-data (NULL): Use macro-constant. Require
44113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44114 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44115 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44116 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44119 2012-07-13 Andreas Jaeger <aj@suse.de>
44121 * po/fr.po: Update from translation team.
44123 2012-07-12 Marek Polacek <polacek@redhat.com>
44126 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44127 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44130 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44134 Change to 2.4.1 where previously 2.4.0.
44135 * sysdeps/unix/sysv/linux/configure: Regenerated.
44136 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44137 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44139 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44140 (__ASSUME_AT_CLKTCK): Remove.
44141 (__ASSUME_AT_PAGESIZE): Likewise.
44142 (__ASSUME_AT_XID): Likewise.
44143 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44144 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44145 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44147 (HAVE_AUX_PAGESIZE): Likewise.
44148 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44149 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44150 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44152 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44156 the temporary buffer used to invoke __gethostbyname2_r,
44157 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44158 host_data / struct gaih_addrtuple.
44159 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44160 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44161 header file nss/nsswitch.h.
44162 * nss/nsswitch.h (global scope): Add definition of implementation
44163 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44164 resolv/nss_dns/dns-host.c).
44166 2012-07-11 Andreas Jaeger <aj@suse.de>
44168 * po/fr.po: Update from translation team.
44170 * po/sv.po: Update from translation team
44171 * po/fr.po: Another update from translation team.
44173 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44175 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44176 for subnormals or multiply small sinh result by itself.
44177 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44180 2012-07-11 David S. Miller <davem@davemloft.net>
44182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44184 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44187 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44188 (INTERNAL_MARK): Shift it here.
44190 2012-07-10 Marek Polacek <polacek@redhat.com>
44193 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44194 libc_cv_asm_global_directive with .globl.
44195 * configure: Regenerated.
44196 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44198 * sysdeps/i386/configure: Regenerated.
44199 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44201 * sysdeps/x86_64/configure: Regenerated.
44202 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44203 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44204 * elf/tst-unique2mod2.c: Likewise.
44205 * elf/tst-unique2mod1.c: Likewise.
44206 * elf/tst-unique1mod2.c: Likewise.
44207 * elf/tst-unique1mod1.c: Likewise.
44208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44209 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44211 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44212 * sysdeps/mach/sysdep.h: Likewise.
44213 * sysdeps/i386/sysdep.h: Likewise.
44214 * sysdeps/i386/i386-mcount.S: Likewise.
44215 * sysdeps/x86_64/_mcount.S: Likewise.
44216 * sysdeps/x86_64/sysdep.h: Likewise.
44217 * sysdeps/sh/_mcount.S: Likewise.
44218 * sysdeps/sh/sysdep.h: Likewise.
44219 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44220 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44221 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44222 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44223 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44224 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44225 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44226 * locale/localeinfo.h: Likewise.
44227 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44228 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44230 2012-07-09 Roland McGrath <roland@hack.frob.com>
44233 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44235 * manual/message.texi (The Uniforum approach): Likewise.
44236 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44237 (glibc iconv Implementation): Likewise.
44239 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44242 * math/s_clog.c (__clog): Avoid scaling a value down where that
44243 could result in underflow.
44244 * math/s_clog10.c (__clog10): Likewise.
44245 * math/s_clog10f.c (__clog10f): Likewise.
44246 * math/s_clog10l.c (__clog10l): Likewise.
44247 * math/s_clogf.c (__clogf): Likewise.
44248 * math/s_clogl.c (__clogl): Likewise.
44249 * math/libm-test.inc (clog_test): Add more tests.
44250 (clog10_test): Likewise.
44251 * sysdeps/i386/fpu/libm-test-ulps: Update.
44252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44254 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44257 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44258 by 7 not 8 to examine high bit of fractional part.
44261 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44262 for call to __mcount_internal.
44263 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44264 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44265 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44267 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44270 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44271 approximation for values within 0x1p-13f of an odd multiple of
44273 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44274 exception. Add more tests.
44275 * sysdeps/i386/fpu/libm-test-ulps: Update.
44278 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44279 inputs and return -1 for them. Do not check for +Inf in case not
44280 reachable for +Inf.
44281 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44282 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44283 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44284 and return -1 for them. Do not check for +Inf in case not
44285 reachable for +Inf.
44286 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44288 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44289 and return -1 for them. Do not check for +Inf in case not
44290 reachable for +Inf.
44291 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44292 spurious underflow.
44293 * sysdeps/i386/fpu/libm-test-ulps: Update.
44294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44296 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44298 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44300 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44304 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44305 could result in spurious underflow. Scale down values above
44306 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44307 * math/s_csqrtf.c (__csqrtf): Likewise.
44308 * math/s_csqrtl.c (__csqrtl): Likewise.
44309 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44310 spurious underflow.
44311 * sysdeps/i386/fpu/libm-test-ulps: Update.
44312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44314 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44316 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44318 * catgets/xopen-msg.awk: New file.
44319 * catgets/xopen-msg.sed: Removed.
44321 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44323 * intl/po2test.awk: New file.
44324 * intl/po2test.sed: Removed.
44326 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44329 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44330 or multiply small sinh result by itself.
44331 * math/s_ctanf.c (__ctanf): Likewise.
44332 * math/s_ctanh.c (__ctanh): Likewise.
44333 * math/s_ctanhf.c (__ctanhf): Likewise.
44334 * math/s_ctanhl.c (__ctanhl): Likewise.
44335 * math/s_ctanl.c (__ctanl): Likewise.
44336 * math/libm-test.inc (ctan_test_tonearest): New function.
44337 (ctan_test_towardzero): Likewise.
44338 (ctan_test_downward): Likewise.
44339 (ctan_test_upward): Likewise.
44340 (ctanh_test_tonearest): Likewise.
44341 (ctanh_test_towardzero): Likewise.
44342 (ctanh_test_downward): Likewise.
44343 (ctanh_test_upward): Likewise.
44344 (main): Call these new functions.
44345 * sysdeps/i386/fpu/libm-test-ulps: Update.
44346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44348 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44350 * .gitignore: Delete /ports entry.
44352 2012-07-03 Andreas Jaeger <aj@suse.de>
44354 * po/bg.po: Update from translation team.
44355 * po/cs.po: Likewise.
44356 * po/de.po: Likewise.
44357 * po/hr.po: Likewise.
44358 * po/nl.pl: Likewise.
44359 * po/pl.po: Likewise.
44360 * po/vi.po: Likewise.
44362 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44364 * Makeconfig [!+link] (+link-before-libc): New variable.
44365 [!+link] (+link-after-libc): Likewise.
44366 [!+link] (+link-tests): Likewise.
44367 [!+link] (+link): Define in terms of $(+link-before-libc) and
44368 $(+link-after-libc).
44369 [!+link-static] (+link-static-before-libc): New variable.
44370 [!+link-static] (+link-static-after-libc): Likewise.
44371 [!+link-static] (+link-static-tests): Likewise.
44372 [!+link-static] (+link-static): Define in terms of
44373 $(+link-static-before-libc) and $(+link-static-after-libc).
44374 [build-shared] (link-libc-before-gnulib): New variable.
44375 [build-shared] (link-libc-tests): Likewise.
44376 [build-shared] (link-libc): Define in terms of
44377 $(link-libc-before-gnulib).
44378 [!build-shared] (link-libc-tests): New variable.
44379 (link-libc-static-tests): New variable.
44380 [!gnulib] (gnulib-arch): New variable.
44381 [!gnulib] (gnulib-tests): Likewise.
44382 [!gnulib] (static-gnulib-arch): Likewise.
44383 [!gnulib] (static-gnulib-tests): Likewise.
44384 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44385 Define with "=" instead of ":=".
44386 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44387 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44388 * Rules (binaries-all-notests): New variable.
44389 (binaries-all-tests): Likewise.
44390 (binaries-static-notests): Likewise.
44391 (binaries-static-tests): Likewise.
44392 (binaries-all): Define using $(binaries-all-notests) and
44393 $(binaries-all-tests).
44394 (binaries-static): Define using $(binaries-static-notests) and
44395 $(binaries-static-tests).
44396 (binaries-shared-tests): New variable.
44397 (binaries-shared-notests): Likewise.
44398 (binaries-shared): Remove variable.
44399 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44400 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44401 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44402 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44403 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44404 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44405 * elf/Makefile (sln-modules): New variable.
44406 (extra-objs): Add $(sln-modules:=.o).
44407 (ldconfig-modules): Add static-stubs.
44408 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44409 * elf/static-stubs.c: New file.
44412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44413 by 7 not 8 to examine high bit of fractional part. Use volatile
44414 variables when splitting into final array of floats if
44415 __FLT_EVAL_METHOD__ != 0.
44416 * math/libm-test.inc (cos_test): Add another test.
44417 (sin_test): Likewise.
44418 * sysdeps/i386/fpu/libm-test-ulps: Update.
44421 * math/libm-test.inc (cosh_test): Add more tests.
44423 * version.h (RELEASE): Set to "development".
44424 (VERSION): Set to "2.16.90".
44426 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44428 * NEWS: Update copyright. Remove last-updated date.
44429 Mention math library bug fixes and timezone data changes.
44430 * README: Mention GNU/Hurd, x32, and HPPA support status.
44432 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44434 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44436 2012-06-27 Andreas Jaeger <aj@suse.de>
44438 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44440 2012-06-25 Andreas Jaeger <aj@suse.de>
44442 * sysdeps/s390/fpu/libm-test-ulps: Update.
44444 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44445 Thomas Schwinge <thomas@codesourcery.com>
44447 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44448 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44452 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44454 * sysdeps/mach/start.c: Remove file.
44455 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44456 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44457 * sysdeps/sh/init-first.c: Likewise.
44459 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44460 registers for frame unwinding purposes, add CFI directives.
44461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44462 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44463 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44466 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44467 __fortify_fail returning.
44468 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44470 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44471 sysdeps/sh/____longjmp_chk.S.
44472 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44473 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44474 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44475 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44477 * sysdeps/sh/abort-instr.h: New file.
44478 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44479 process in case exit returns.
44481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44482 initialize the GOT register before use.
44484 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44485 calculation of ARGC > 4.
44487 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44488 meaningful names to some local labels.
44490 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44491 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44493 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44494 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44495 (__arch_compare_and_exchange_val_16_acq): Likewise.
44496 (__arch_compare_and_exchange_val_32_acq): Likewise.
44497 (atomic_exchange_and_add): Fix gUSA sequence.
44498 (atomic_add): Likewise.
44499 (atomic_add_negative): Likewise.
44500 (atomic_add_zero): Likewise.
44501 (atomic_bit_test_set): Likewise.
44503 2012-06-22 Andreas Schwab <schwab@redhat.com>
44506 * include/link.h (struct link_map): Add l_free_initfini.
44507 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44509 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44510 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44511 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44514 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44516 * configure.in: Use AC_LANG_SOURCE.
44517 * configure: Regenerate.
44519 2012-06-22 Roland McGrath <roland@hack.frob.com>
44521 * configure.in (libc_cv_localstatedir): New substituted variable.
44522 * configure: Regenerated.
44523 * config.make.in (localstatedir): New variable, substituted from
44524 libc_cv_localstatedir.
44525 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44526 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44527 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44528 * sysdeps/gnu/configure: Regenerated.
44530 2012-06-21 Jeff Law <law@redhat.com>
44533 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44534 free. Simplify list management for _LIBC case.
44536 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44540 Clear sign bit of 64-bit integer value before comparing against
44543 * sysdeps/mach/configure: Regenerated.
44545 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44548 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44550 2012-06-21 Jeff Law <law@redhat.com>
44553 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44554 uint16_t for elements in the "seen" array to avoid char overflows.
44555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44556 * elf/dl-open.c (dl_open_worker): Likewise.
44558 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44560 * scripts/list-sources.sh: Scan PORTS for translations.
44561 * po/libc.pot: Regenerated.
44563 2012-06-21 Andreas Jaeger <aj@suse.de>
44566 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44568 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44569 * bits/byteswap-16.h (__bswap_16): Likewise.
44570 * bits/byteswap.h (__bswap_constant_16): Likewise.
44572 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44575 * sysdeps/i386/fpu_control.h: Removed.
44576 * sysdeps/x86_64/fpu_control.h: Moved to ...
44577 * sysdeps/x86/fpu_control.h: Here.
44579 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44580 (_FPU_SETCW): Likewise.
44582 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44585 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44586 * sysdeps/x86/fpu/bits/mathinline.h: This.
44587 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44591 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44592 functions if __x86_64__ is defined.
44594 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44596 * string/endian.h: Add !__ASSEMBLER__ condition for including
44597 conversion interfaces.
44599 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44603 of ABS(x) in calculating zero to negative powers other than odd
44605 * math/libm-test.inc (pow_test): Add more tests.
44607 2012-06-15 Andreas Jaeger <aj@suse.de>
44609 * manual/contrib.texi (Contributors): Update entry of Liubov
44610 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44613 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44615 * string/string.h: Add __wur to GNU version of strerror_r.
44617 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44620 * string/Makefile (tests): Add tst-strtok_r.
44621 * string/tst-strtok_r.c: New file.
44622 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44623 RAX_LP/RDX_LP on SAVE_PTR.
44625 2012-06-14 Roland McGrath <roland@hack.frob.com>
44627 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44629 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44631 * libm_test.inc (csqrt_test): Allow more spurious underflow
44633 (j0_test): Likewise.
44634 (j1_test): Likewise.
44635 (y0_test): Likewise.
44636 (y1_test): Likewise.
44638 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44640 * po/Makefile (libc.pot): Use UTF-8 charset.
44642 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44645 Suppress sign-conversion warning from FD_SET.
44646 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44647 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44648 not unsigned long int.
44649 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44651 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44655 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44656 __extern_always_inline instead of __extern_inline.
44657 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44658 (__signbit): Likewise.
44659 (__signbitl): Support C++ namespace.
44660 (lrintf): New inline function.
44662 (llrintf): Likewise.
44663 (llrint): Likewise.
44673 (floorf): Likewise.
44674 (nearbyint): Likewise.
44675 (nearbyintf): Likewise.
44677 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44679 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44680 non-default versions.
44682 2012-06-11 Roland McGrath <roland@hack.frob.com>
44685 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44687 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44689 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44690 (FE_UPWARD, FE_DOWNWARD): Don't define.
44691 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44694 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44696 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44697 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44699 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44701 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44703 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44704 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44706 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44709 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44710 * sysdeps/i386/fpu/Implies: New file.
44711 * sysdeps/x86_64/fpu/Implies: Likewise.
44712 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44713 * sysdeps/x86/fpu/bits/fenv.h: This.
44715 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44718 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44721 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44722 character 0xffff that matches the last element of the
44725 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44727 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44730 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44733 values higher than 25.6283.
44735 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44738 subnormal exponent extraction and add some __builtin_expect.
44739 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44740 Fix for subnormal mantissa calculation.
44742 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44744 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44745 cpu2 is -1 and errno is not ENOSYS.
44747 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44750 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44751 * sysdeps/x86/bits/string.h: This.
44752 * sysdeps/x86_64/bits/string.h: Removed.
44754 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44755 if not compiling for x86-64, but compiling for >= i486.
44757 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44758 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44760 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44761 New macro from Linux kernel 3.4.0.
44762 (FP_XSTATE_MAGIC2): Likewise.
44763 (FP_XSTATE_MAGIC2_SIZE): Likewise.
44764 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44765 (struct _fpx_sw_bytes): New struct.
44766 (struct _xsave_hdr): Likewise.
44767 (struct _ymmh_state): Likewise.
44768 (struct _xstate): Likewise.
44770 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44771 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44773 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44775 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44777 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44779 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44780 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44781 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44782 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44784 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44787 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44788 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44789 (sysdep_headers): Include sys/platform/ppc.h.
44790 * sysdeps/powerpc/test-gettimebase.c: Test for
44791 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44792 * manual/Makefile (appendices): Include platform.texi.
44793 * manual/contrib.texi (Contributors): Update @node pointers.
44794 * manual/maint.texi (Maintenance): Likewise.
44795 (Platform): New node.
44796 * manual/platform.texi: New file. Document the new features.
44798 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44799 Jakub Jelinek <jakub@redhat.com>
44802 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44803 where __builtin_expect is unavailable.
44805 2012-06-03 David S. Miller <davem@davemloft.net>
44807 * stdlib/longlong.h: Updated from GCC.
44809 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44812 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44813 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44816 (GLIBC_2.16): Likewise.
44818 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44820 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44822 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44825 (default-abi): New variable.
44826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44827 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44829 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44831 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44833 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44836 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44837 definition. Document in comment.
44839 2012-06-01 David S. Miller <davem@davemloft.net>
44841 * stdlib/longlong.h: Updated from GCC.
44843 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44846 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44847 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44848 sys/debugreg.h sys/io.h here.
44849 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44850 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44852 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44853 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44854 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44855 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44856 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44857 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44860 Define only if __x86_64__ is defined.
44862 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44865 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44866 Use int64_t for variable i.
44867 * math/libm-test.inc (fmod_test): Add more tests.
44869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44870 z computation is not scheduled after fetestexcept.
44871 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44872 Use math_force_eval instead of asm to ensure calculation scheduled
44873 before exception test.
44874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44875 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44877 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44880 computation is not scheduled after fetestexcept.
44882 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44885 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44886 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44888 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44890 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44891 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44893 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44898 (__WCHAR_MIN): Support __WORDSIZE == 64.
44899 (__WCHAR_MAX): Likewise.
44901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44906 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44909 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44910 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44912 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44913 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44916 Defined to 1 if __x86_64__ isn't defined.
44917 (_STAT_VER_LINUX_OLD): New.
44918 (st_atime): Remove duplicate.
44919 (st_mtime): Likewise.
44920 (st_ctime): Likewise.
44922 2012-05-31 David S. Miller <davem@davemloft.net>
44924 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44927 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44929 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44933 * elf/dl-reloc.c: Include <_itoa.h>.
44934 (_dl_reloc_bad_type): Remove use of INTUSE.
44935 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44936 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44937 * stdio-common/psiginfo.c (psiginfo): Likewise.
44938 * stdio-common/psignal.c (psignal): Likewise.
44939 * string/strsignal.c (strsignal): Likewise.
44940 * include/signal.h (_sys_siglist): Declare hidden proto.
44941 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44942 INTVARDEF with libc_hidden_data_def.
44943 * stdio-common/itoa-udigits.c: Likewise.
44944 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44945 (_itoa_lower_digits_internal): Remove declaration.
44946 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44947 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44948 (_sys_sigabbrev_internal): Remove aliases.
44949 (_sys_siglist): Define hidden alias.
44951 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44956 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44959 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44960 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44962 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44963 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44964 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44965 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44967 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44969 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44971 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44973 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44983 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44985 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44986 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44989 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44990 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44992 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44993 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44995 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44996 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44998 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45002 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45003 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45005 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45007 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45008 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45009 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45011 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45013 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45015 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45017 * math/math.h (M_El): Use two more decimal places.
45018 (M_LOG2El): Likewise.
45019 (M_LOG10El): Likewise.
45020 (M_LN2l): Likewise.
45021 (M_LN10l): Likewise.
45023 (M_PI_2l): Likewise.
45024 (M_PI_4l): Likewise.
45025 (M_1_PIl): Likewise.
45026 (M_2_PIl): Likewise.
45027 (M_2_SQRTPIl): Likewise.
45028 (M_SQRT2l): Likewise.
45029 (M_SQRT1_2l): Likewise.
45031 2012-05-31 David S. Miller <davem@davemloft.net>
45033 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45034 values between float registers.
45035 * sysdeps/sparc/sparc64/memset.S: Likewise.
45036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45038 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45040 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45041 -D_FORTIFY_SOURCE=1.
45042 (CPPFLAGS-tst-longjmp_chk.c): Define.
45043 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45044 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45045 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45046 CFLAGS-tst-wchar-h.c.
45048 2012-05-31 Marek Polacek <polacek@redhat.com>
45051 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45052 __endmntent_internal): Remove declaration.
45053 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45054 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45055 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45057 2012-05-30 David S. Miller <davem@davemloft.net>
45059 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45060 (___Q_simulate_exceptions): Use real FP ops rather than writing
45062 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45065 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45068 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45069 * sysdeps/x86/bits/xtitypes.h: This.
45071 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45072 * sysdeps/x86/bits/wordsize.h: This.
45074 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45075 * sysdeps/x86/bits/huge_vall.h: This.
45077 * sysdeps/i386/bits/select.h: Removed.
45078 * sysdeps/x86_64/bits/select.h: Renamed to ...
45079 * sysdeps/x86/bits/select.h: This.
45081 * sysdeps/i386/bits/setjmp.h: Removed.
45082 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45083 * sysdeps/x86/bits/setjmp.h: This.
45085 * sysdeps/i386/bits/mathdef.h: Removed.
45086 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45087 * sysdeps/x86/bits/mathdef.h: This.
45089 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45092 * include/sys/socket.h (__connect_internal)
45093 (__libc_sa_len_internal): Remove declaration.
45094 (__connect, __libc_sa_len): Declare hidden_proto.
45095 (SA_LEN): Remove use of INTUSE.
45096 * socket/connect.c: Add libc_hidden_def.
45097 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45098 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45099 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45101 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45102 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45103 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45104 of adding _internal alias.
45106 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45109 * sysdeps/i386/bits/link.h: Removed.
45110 * sysdeps/i386/bits/linkmap.h: Likewise.
45111 * sysdeps/x86_64/bits/link.h: Renamed to ...
45112 * sysdeps/x86/bits/link.h: This.
45113 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45114 * sysdeps/x86/bits/linkmap.h: This.
45116 * sysdeps/i386/bits/endian.h: Removed.
45117 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45118 * sysdeps/x86/bits/endian.h: This.
45120 * sysdeps/i386/bits/byteswap.h: Removed.
45121 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45122 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45123 * sysdeps/x86/bits/byteswap.h: This.
45124 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45125 * sysdeps/x86/bits/byteswap-16.h: This.
45126 * sysdeps/i386/Implies: Add x86.
45127 * sysdeps/x86_64/Implies: Likewise.
45129 2012-05-30 David S. Miller <davem@davemloft.net>
45131 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45132 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45133 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45134 (FP_TRAPPING_EXCEPTIONS): Define.
45135 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45136 (FP_TRAPPING_EXCEPTIONS): Define.
45137 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45138 subnormals only when inexact has been signalled or underflow
45139 exceptions are enabled.
45140 (_FP_PACK_CANONICAL): Likewise.
45142 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45146 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45148 2012-05-30 Richard Henderson <rth@twiddle.net>
45150 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45151 with #ifndef NOT_IN_libc.
45153 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45154 marked to avoid plt entry.
45156 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45159 * Makeconfig (default-abi): New macro.
45160 (abi-includes): Likewise.
45161 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45162 $(abi-$(default-abi)-lib-soname) for soname if defined.
45163 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45165 * Makefile (installed-stubs): Likewise.
45166 * include/stubs-biarch.h: Removed.
45167 * scripts/lib-names.awk: Only handle one library at a time.
45168 * scripts/soversions.awk: Remove WORDSIZE support.
45169 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45171 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45173 (syscall-list-default-condition): Likewise.
45174 (syscall-list-default-condition): Likewise.
45175 (syscall-list-includes): Likewise.
45176 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45177 syscall-list-* with abi-*. Handle undefined abi-variants.
45178 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45179 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45180 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45181 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45182 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45183 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45185 (syscall-list-32-options): Likewise.
45186 (syscall-list-32-condition): Likewise.
45187 (syscall-list-64-options): Likewise.
45188 (syscall-list-64-condition): Likewise.
45189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45191 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45194 (abi-64-ld-soname): New macro.
45195 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45196 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45199 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45200 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45202 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45204 * sysdeps/unix/sysv/linux/kernel-features.h
45205 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45206 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45207 include <kernel-features.h>.
45208 [!__NR_ftruncate64]: Remove conditional code.
45209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45210 [__NR_ftruncate64]: Make code unconditional.
45211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45212 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45213 include <kernel-features.h>.
45214 [!__NR_ftruncate64]: Remove conditional code.
45215 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45216 [__NR_ftruncate64]: Make code unconditional.
45217 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45219 include <kernel-features.h>.
45220 [!__NR_ftruncate64]: Remove conditional code.
45221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45222 [__NR_ftruncate64]: Make code unconditional.
45223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45225 include <kernel-features.h>.
45226 [!__NR_ftruncate64]: Remove conditional code.
45227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45228 [__NR_ftruncate64]: Make code unconditional.
45229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45231 * configure.in (libc_cv_fpie): Weaken to a compile test using
45232 LIBC_TRY_CC_OPTION.
45233 * configure: Regenerated.
45235 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45250 2012-05-27 David S. Miller <davem@davemloft.net>
45252 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45254 (__Q_simulate_exceptions): Return void. Change to simulate
45255 exceptions by writing into the %fsr.
45256 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45257 (__Qp_handle_exceptions): Likewise.
45259 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45260 __Qp_handle_exceptions.
45261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45262 __Qp_handle_exceptions.
45263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45264 as unused and give dummy FP_RND_NEAREST initializer.
45265 (FP_INHIBIT_RESULTS): Define.
45266 (___Q_simulate_exceptions): Update declaration.
45267 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45270 as unused and give dummy FP_RND_NEAREST initializer.
45271 (__Qp_handle_exceptions): Update declaration.
45272 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45275 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45277 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45278 the temporary FPU control word.
45279 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45280 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45281 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45282 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45284 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45285 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45286 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45287 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45288 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45291 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45293 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45296 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45298 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45299 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45300 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45301 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45303 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45304 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45307 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45309 * po/h.po: Update from translation team.
45311 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45313 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45315 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45316 handling of denormals.
45317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45318 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45319 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45320 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45326 2012-05-26 Marek Polacek <polacek@redhat.com>
45329 * math/libm-test.inc (fma_test): Don't always expect underflow
45332 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45335 * elf/tst-execstack.c: Include stackinfo.h.
45336 (do_test): Adjust test case to ensure that pthread_getattr_np
45337 behaviour remains the same after marking stack executable.
45339 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45341 * sysdeps/unix/sysv/linux/kernel-features.h
45342 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45343 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45345 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45346 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45347 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45349 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45350 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45352 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45354 * configure.in: Define the default includes to being none.
45355 * configure: Regenerated.
45357 2012-05-25 Roland McGrath <roland@hack.frob.com>
45359 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45360 * sysdeps/x86_64/setjmp.S: Likewise.
45361 * sysdeps/i386/bsd-setjmp.S: Likewise.
45362 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45363 * sysdeps/i386/setjmp.S: Likewise.
45364 * sysdeps/i386/__longjmp.S: Likewise.
45365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45368 * include/stap-probe.h: New file.
45369 * configure.in: Handle --enable-systemtap.
45370 * configure: Regenerated.
45371 * config.h.in (USE_STAP_PROBE): New #undef.
45372 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45373 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45374 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45376 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45380 to 2.4.0 where earlier.
45381 * sysdeps/unix/sysv/linux/configure: Regenerated.
45382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45383 <kernel-features.h>.
45384 [__ASSUME_32BITUIDS]: Make code unconditional.
45385 [!__ASSUME_32BITUIDS]: Remove conditional code.
45386 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45387 <kernel-features.h>.
45388 [__ASSUME_32BITUIDS]: Make code unconditional.
45389 [!__ASSUME_32BITUIDS]: Remove conditional code.
45390 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45391 [__ASSUME_32BITUIDS]: Make code unconditional.
45392 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45393 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45394 <kernel-features.h>.
45395 [__ASSUME_32BITUIDS]: Make code unconditional.
45396 [!__ASSUME_32BITUIDS]: Remove conditional code.
45397 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45398 <kernel-features.h>.
45399 [__ASSUME_32BITUIDS]: Make code unconditional.
45400 [!__ASSUME_32BITUIDS]: Remove conditional code.
45401 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45402 <kernel-features.h>.
45403 [__ASSUME_32BITUIDS]: Make code unconditional.
45404 [!__ASSUME_32BITUIDS]: Remove conditional code.
45405 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45406 <kernel-features.h>.
45407 [__ASSUME_32BITUIDS]: Make code unconditional.
45408 [!__ASSUME_32BITUIDS]: Remove conditional code.
45409 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45410 <kernel-features.h>.
45411 [__ASSUME_32BITUIDS]: Make code unconditional.
45412 [!__ASSUME_32BITUIDS]: Remove conditional code.
45413 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45414 <kernel-features.h>.
45415 [__ASSUME_32BITUIDS]: Make code unconditional.
45416 [!__ASSUME_32BITUIDS]: Remove conditional code.
45417 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45418 <kernel-features.h>.
45419 [__ASSUME_32BITUIDS]: Make code unconditional.
45420 [!__ASSUME_32BITUIDS]: Remove conditional code.
45421 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45422 <kernel-features.h>.
45423 [__ASSUME_32BITUIDS]: Make code unconditional.
45424 [!__ASSUME_32BITUIDS]: Remove conditional code.
45425 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45426 <kernel-features.h>.
45427 [__ASSUME_32BITUIDS]: Make code unconditional.
45428 [!__ASSUME_32BITUIDS]: Remove conditional code.
45429 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45430 <kernel-features.h>.
45431 [__ASSUME_32BITUIDS]: Make code unconditional.
45432 [!__ASSUME_32BITUIDS]: Remove conditional code.
45433 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45434 <kernel-features.h>.
45435 [__NR_setresgid] (__setresgid): Do not declare.
45436 [__ASSUME_32BITUIDS]: Make code unconditional.
45437 [!__ASSUME_32BITUIDS]: Remove conditional code.
45438 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45439 <kernel-features.h>.
45440 [__NR_setresuid] (__setresuid): Do not declare.
45441 [__ASSUME_32BITUIDS]: Make code unconditional.
45442 [!__ASSUME_32BITUIDS]: Remove conditional code.
45443 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45444 <kernel-features.h>.
45445 [__ASSUME_32BITUIDS]: Make code unconditional.
45446 [!__ASSUME_32BITUIDS]: Remove conditional code.
45447 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45448 <kernel-features.h>.
45449 [__ASSUME_32BITUIDS]: Make code unconditional.
45450 [!__ASSUME_32BITUIDS]: Remove conditional code.
45451 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45452 <kernel-features.h>.
45453 [__ASSUME_32BITUIDS]: Make code unconditional.
45454 [!__ASSUME_32BITUIDS]: Remove conditional code.
45455 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45456 <kernel-features.h>.
45457 [__ASSUME_32BITUIDS]: Make code unconditional.
45458 [!__ASSUME_32BITUIDS]: Remove conditional code.
45459 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45460 <kernel-features.h>.
45461 [__ASSUME_32BITUIDS]: Make code unconditional.
45462 [!__ASSUME_32BITUIDS]: Remove conditional code.
45463 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45464 <kernel-features.h>.
45465 [__ASSUME_32BITUIDS]: Make code unconditional.
45466 [!__ASSUME_32BITUIDS]: Remove conditional code.
45467 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45468 <kernel-features.h>.
45469 [__ASSUME_32BITUIDS]: Make code unconditional.
45470 [!__ASSUME_32BITUIDS]: Remove conditional code.
45471 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45472 <kernel-features.h>.
45473 [__ASSUME_32BITUIDS]: Make code unconditional.
45474 [!__ASSUME_32BITUIDS]: Remove conditional code.
45475 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45476 <kernel-features.h>.
45477 [__ASSUME_32BITUIDS]: Make code unconditional.
45478 [!__ASSUME_32BITUIDS]: Remove conditional code.
45479 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45480 <kernel-features.h>.
45481 [__ASSUME_32BITUIDS]: Make code unconditional.
45482 [!__ASSUME_32BITUIDS]: Remove conditional code.
45483 * sysdeps/unix/sysv/linux/kernel-features.h
45484 (__ASSUME_SETRESUID_SYSCALL): Remove.
45485 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45486 (__ASSUME_32BITUIDS): Likewise.
45487 (__ASSUME_LDT_WORKS): Likewise.
45488 (__ASSUME_O_DIRECTORY): Likewise.
45489 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45490 architecture but not kernel version.
45491 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45492 (__ASSUME_MMAP2_SYSCALL): Likewise.
45493 (__ASSUME_STAT64_SYSCALL): Likewise.
45494 (__ASSUME_IPC64): Likewise.
45495 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45496 <kernel-features.h>.
45497 [__ASSUME_32BITUIDS]: Make code unconditional.
45498 [!__ASSUME_32BITUIDS]: Remove conditional code.
45499 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45500 <kernel-features.h>.
45501 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45502 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45503 132096]: Remove conditional code.
45504 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45506 <kernel-features.h>.
45507 [__ASSUME_32BITUIDS]: Make code unconditional.
45508 [!__ASSUME_32BITUIDS]: Remove conditional code.
45509 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45510 <kernel-features.h>.
45511 [__ASSUME_32BITUIDS]: Make code unconditional.
45512 [!__ASSUME_32BITUIDS]: Remove conditional code.
45513 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45514 <kernel-features.h>.
45515 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45517 (__setresgid): Do not declare.
45518 [__ASSUME_32BITUIDS]: Make code unconditional.
45519 [!__ASSUME_32BITUIDS]: Remove conditional code.
45520 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45521 <kernel-features.h>.
45522 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45524 (__setresuid): Do not declare.
45525 [__ASSUME_32BITUIDS]: Make code unconditional.
45526 [!__ASSUME_32BITUIDS]: Remove conditional code.
45527 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45528 <kernel-features.h>.
45529 [__ASSUME_32BITUIDS]: Make code unconditional.
45530 [!__ASSUME_32BITUIDS]: Remove conditional code.
45531 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45532 <kernel-features.h>.
45533 [__ASSUME_32BITUIDS]: Make code unconditional.
45534 [!__ASSUME_32BITUIDS]: Remove conditional code.
45536 2012-05-25 Richard Henderson <rth@twiddle.net>
45538 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45539 dl_hwcap to ifunc resolver.
45540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45542 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45543 dl_hwcap to ifunc resolver.
45544 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45546 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45549 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45550 for |x| <= 2**-26, not 2**-57.
45551 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45554 2012-05-24 Jeff Law <law@redhat.com>
45556 * stdio-common/Makefile (tests): Add bug25.
45557 * stdio-common/bug25.c: New test.
45559 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45562 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45563 multiple of MALLOC_ALIGNMENT in size.
45564 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45566 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45568 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45570 (FILENAME_MAX): Use macro-int-constant.
45571 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45572 (_IOFBF): Use macro-int-constant.
45573 (_IOLBF): Likewise.
45574 (_IONBF): Likewise.
45575 (SEEK_CUR): Likewise.
45576 (SEEK_END): Likewise.
45577 (SEEK_SET): Likewise.
45578 (TMP_MAX): Likewise.
45579 (EOF): Use macro-int-constant. Require < 0.
45580 (NULL): Use macro-constant. Require == 0.
45581 (stdin): Require type to be FILE *.
45582 (stdout): Likewise.
45583 (stderr): Likewise.
45584 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45585 macro-int-constant.
45586 (EXIT_SUCCESS): Likewise.
45587 (NULL): Use macro-constant. Require == 0.
45588 (RAND_MAX): Use macro-int-constant.
45589 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45590 [C99-based standards] (strtof): Require function.
45591 [C99-based standards] (strtold): Likewise.
45592 [C99-based standards] (strtoll): Likewise.
45593 [C99-based standards] (strtoull): Likewise.
45594 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45595 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45596 [ISO || ISO99 || ISO11] (math.h): Likewise.
45597 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45598 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45601 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45604 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45605 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45606 * intl/dgettext.c (DCGETTEXT): Likewise.
45607 * intl/gettext.c (DCGETTEXT): Likewise.
45608 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45609 * posix/regex_internal.h (gettext): Likewise.
45610 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45611 Remove declaration.
45612 * include/argz.h (__argz_count_internal)
45613 (__argz_stringify_internal): Remove declaration.
45614 (__argz_count, __argz_stringify): Declare hidden proto.
45615 * intl/dcgettext.c: Remove use of INTDEF.
45616 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45617 * string/argz-stringify.c: Likewise.
45618 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45619 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45620 Declare hidden proto.
45621 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45622 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45623 Declare hidden proto.
45624 * include/stdio.h (__asprintf_internal): Don't declare.
45625 (__asprintf): Don't define as macro. Declare hidden proto.
45626 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45627 (__fsetlocking): Declare hidden proto.
45628 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45629 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45631 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45632 (_IO_setlinebuf): Remove use of INTUSE.
45633 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45634 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45635 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45636 Remove declaration.
45637 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45638 (_IO_do_flush): Remove use of INTUSE.
45639 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45640 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45641 (_IO_adjust_column, _IO_least_wmarker)
45642 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45643 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45644 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45645 (_IO_default_doallocate, _IO_wdefault_doallocate)
45646 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45647 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45648 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45649 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45650 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45651 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45652 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45653 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45654 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45655 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45656 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45657 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45658 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45660 (_IO_flush_all_internal, _IO_adjust_column_internal)
45661 (_IO_default_uflow_internal, _IO_default_finish_internal)
45662 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45663 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45664 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45665 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45666 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45667 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45668 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45669 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45670 (_IO_file_close_internal, _IO_file_close_it_internal)
45671 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45672 (_IO_file_init_internal, _IO_file_attach_internal)
45673 (_IO_file_fopen_internal, _IO_file_read_internal)
45674 (_IO_file_sync_internal, _IO_file_seek_internal)
45675 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45676 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45677 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45678 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45679 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45680 (_IO_list_all_internal, _IO_link_in_internal)
45681 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45682 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45683 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45684 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45685 (_IO_do_write_internal, _IO_padn_internal)
45686 (_IO_getline_info_internal, _IO_getline_internal)
45687 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45688 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45689 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45690 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45691 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45692 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45693 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45694 with libc_hidden_ver, remove use of INTUSE.
45695 * libio/genops.c: Likewise.
45696 * libio/freopen.c: Likewise.
45697 * libio/freopen64.c: Likewise.
45698 * libio/iofclose.c: Likewise.
45699 * libio/iofdopen.c: Likewise.
45700 * libio/iofflush.c: Likewise.
45701 * libio/iofflush_u.c: Likewise.
45702 * libio/iofgets.c: Likewise.
45703 * libio/iofgets_u.c: Likewise.
45704 * libio/iofopen.c: Likewise.
45705 * libio/iofopncook.c: Likewise.
45706 * libio/iofread.c: Likewise.
45707 * libio/iofread_u.c: Likewise.
45708 * libio/ioftell.c: Likewise.
45709 * libio/iofwrite.c: Likewise.
45710 * libio/iogetline.c: Likewise.
45711 * libio/iogets.c: Likewise.
45712 * libio/iogetwline.c: Likewise.
45713 * libio/iopadn.c: Likewise.
45714 * libio/iopopen.c: Likewise.
45715 * libio/ioseekoff.c: Likewise.
45716 * libio/ioseekpos.c: Likewise.
45717 * libio/iosetbuffer.c: Likewise.
45718 * libio/iosetvbuf.c: Likewise.
45719 * libio/ioungetc.c: Likewise.
45720 * libio/ioungetwc.c: Likewise.
45721 * libio/iovdprintf.c: Likewise.
45722 * libio/iovsprintf.c: Likewise.
45723 * libio/iovsscanf.c: Likewise.
45724 * libio/memstream.c: Likewise.
45725 * libio/obprintf.c: Likewise.
45726 * libio/oldfileops.c: Likewise.
45727 * libio/oldiofclose.c: Likewise.
45728 * libio/oldiofdopen.c: Likewise.
45729 * libio/oldiofopen.c: Likewise.
45730 * libio/oldiopopen.c: Likewise.
45731 * libio/oldstdfiles.c: Likewise.
45732 * libio/putc.c: Likewise.
45733 * libio/setbuf.c: Likewise.
45734 * libio/setlinebuf.c: Likewise.
45735 * libio/stdfiles.c: Likewise.
45736 * libio/strops.c: Likewise.
45737 * libio/vasprintf.c: Likewise.
45738 * libio/vscanf.c: Likewise.
45739 * libio/vsnprintf.c: Likewise.
45740 * libio/vswprintf.c: Likewise.
45741 * libio/wfiledoalloc.c: Likewise.
45742 * libio/wfileops.c: Likewise.
45743 * libio/wgenops.c: Likewise.
45744 * libio/wmemstream.c: Likewise.
45745 * libio/wstrops.c: Likewise.
45746 * libio/__fpurge.c: Likewise.
45747 * libio/__fsetlocking.c: Likewise.
45748 * assert/assert.c: Likewise.
45749 * debug/fgets_chk.c: Likewise.
45750 * debug/fgets_u_chk.c: Likewise.
45751 * debug/fread_chk.c: Likewise.
45752 * debug/fread_u_chk.c: Likewise.
45753 * debug/gets_chk.c: Likewise.
45754 * debug/obprintf_chk.c: Likewise.
45755 * debug/vasprintf_chk.c: Likewise.
45756 * debug/vdprintf_chk.c: Likewise.
45757 * debug/vsnprintf_chk.c: Likewise.
45758 * debug/vsprintf_chk.c: Likewise.
45759 * malloc/mtrace.c: Likewise.
45760 * misc/error.c: Likewise.
45761 * misc/syslog.c: Likewise.
45762 * stdio-common/asprintf.c: Likewise.
45763 * stdio-common/fxprintf.c: Likewise.
45764 * stdio-common/getw.c: Likewise.
45765 * stdio-common/isoc99_fscanf.c: Likewise.
45766 * stdio-common/isoc99_scanf.c: Likewise.
45767 * stdio-common/isoc99_vfscanf.c: Likewise.
45768 * stdio-common/isoc99_vscanf.c: Likewise.
45769 * stdio-common/isoc99_vsscanf.c: Likewise.
45770 * stdio-common/printf-prs.c: Likewise.
45771 * stdio-common/printf_fp.c: Likewise.
45772 * stdio-common/printf_fphex.c: Likewise.
45773 * stdio-common/printf_size.c: Likewise.
45774 * stdio-common/putw.c: Likewise.
45775 * stdio-common/scanf.c: Likewise.
45776 * stdio-common/sprintf.c: Likewise.
45777 * stdio-common/tmpfile.c: Likewise.
45778 * stdio-common/vfprintf.c: Likewise.
45779 * stdio-common/vfscanf.c: Likewise.
45780 * stdlib/strfmon_l.c: Likewise.
45781 * sunrpc/openchild.c: Likewise.
45782 * sunrpc/xdr_stdio.c: Likewise.
45783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45784 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45786 2012-05-24 Roland McGrath <roland@hack.frob.com>
45788 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45790 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45791 in the third column, to generate for the shared library an IFUNC
45792 that uses _dl_vdso_vsym.
45793 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45794 * Makeconfig (object-suffixes-noshared): New variable.
45796 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45797 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45798 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45799 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45802 * include/sys/time.h (__gettimeofday): Remove macro.
45803 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45804 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45806 (__gettimeofday): Add libc_hidden_def.
45807 (gettimeofday): Add libc_hidden_weak.
45808 * sysdeps/mach/gettimeofday.c: Likewise.
45809 * sysdeps/posix/gettimeofday.c: Likewise.
45810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45811 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45813 (__gettimeofday_internal): Remove strong_alias.
45814 (__gettimeofday): Add libc_hidden_def.
45815 (gettimeofday): Add libc_hidden_weak.
45816 * sysdeps/unix/syscalls.list (gettimeofday):
45817 Remove __gettimeofday_internal alias.
45819 2012-05-24 Daniel Jacobowitz <drow@false.org>
45820 H.J. Lu <hongjiu.lu@intel.com>
45823 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45824 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45825 (largebin_index_32_big): New.
45826 (largebin_index): Use it for 16-byte alignment.
45827 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45828 correction with front_misalign.
45830 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45858 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45859 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45861 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45865 * math/libm-test.inc (exp_test): Add test from bug 14036.
45866 (pow_test): Add test from bug 10846.
45868 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45870 (special_function): Do not include flags in test name.
45871 (parse_args): Likewise.
45872 * sysdeps/i386/fpu/libm-test-ulps: Update.
45873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45874 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45878 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45880 * math/libm-test.inc ("Philosophy"): Update comment about
45882 (UNDERFLOW_EXCEPTION): New macro.
45883 (UNDERFLOW_EXCEPTION_OK): Likewise.
45884 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45885 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45886 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45887 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45888 (INVALID_EXCEPTION_OK): Update value.
45889 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45890 (OVERFLOW_EXCEPTION_OK): Likewise.
45891 (IGNORE_ZERO_INF_SIGN): Likewise.
45892 (test_exceptions): Handle underflow exceptions.
45893 (acos_test): Update for underflow exception expectations.
45894 (cexp_test): Likewise.
45895 (clog_test): Likewise.
45896 (clog10_test): Likewise.
45897 (csqrt_test): Likewise.
45898 (ctan_test): Likewise.
45899 (ctanh_test): Likewise.
45900 (exp_test): Likewise.
45901 (exp10_test): Likewise.
45902 (exp2_test): Likewise.
45903 (expm1_test): Likewise.
45904 (fma_test): Likewise.
45905 (j0_test): Likewise.
45906 (jn_test): Likewise.
45907 (nexttoward_test): Likewise.
45908 (pow_test): Likewise.
45909 (scalbn_test): Likewise.
45910 (scalbln_test): Likewise.
45911 (tan_test): Likewise.
45912 (y1_test): Likewise.
45913 * sysdeps/i386/fpu/libm-test-ulps: Update.
45914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45916 2012-05-23 David S. Miller <davem@davemloft.net>
45918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45919 (__libc_sigaction): Remove unused local variables.
45921 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45923 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45925 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45927 mktime: avoid signed integer overflow
45928 * time/mktime.c (__mktime_internal): Do not mishandle the case
45929 where diff == INT_MIN.
45931 mktime: simplify computation of average
45932 * time/mktime.c (ranged_convert): Use new time_t_avg function
45933 instead of rolling our own (probably-slower) code.
45935 mktime: do not assume signed right shift propagates sign bit
45936 * time/mktime.c (isdst_differ): New static function.
45937 (__mktime_internal): No need to normalize tm_isdst now.
45938 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45941 mktime: merge another wrapv change from gnulib
45942 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45943 from some compilers.
45945 mktime: remove incorrect attempt at unusual arithmetics
45946 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45947 The code didn't really work on such machines anyway.
45948 (TYPE_MINIMUM): Assume two's complement.
45949 (twos_complement_arithmetic): Verify that long_int and time_t
45950 are two's complement (or unsigned, in the latter case).
45952 mktime: check signed shifts on long_int and time_t, too
45953 * time/mktime.c (SHR): Check that shifts work as desired
45954 on the types long_int and time_t too, as SHR is used on
45957 mktime: do not assume 'long' is wide enough
45958 * time/mktime.c (verify): Move decl up.
45959 (long_int): New type.
45960 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45961 to remove assumption in the code that 'long' is wide enough to
45962 store year values. This assumption is not true on x32 and on
45963 some non-glibc platforms.
45965 mktime: merge wrapv change from gnulib
45966 * time/mktime.c (WRAPV): New macro.
45967 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45968 (guess_time_tm, __mktime_internal): Do not assume that signed
45969 integer overflow wraps around; modern compilers generate code
45970 where this assumption is no longer valid.
45972 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45974 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45975 Replace "jmp L(pseudo_end)" with "ret".
45976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45979 2012-05-23 Andreas Jaeger <aj@suse.de>
45981 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45982 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45984 2012-05-23 Andreas Jaeger <aj@suse.de>
45985 Maximilian Attems <max@stro.at>
45987 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45990 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45993 code so that pseudo_end is just ret and the stack pointer is
45994 correct also for static library in error case.
45996 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45998 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45999 move to syscalls.list.
46000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46005 * manual/install.texi (Running make install): Do not mention Linux
46006 kernel version for which pt_chown is not needed.
46007 (Linux): Do not mention problems with nscd with 2.0 kernels.
46008 * INSTALL: Regenerated.
46010 2012-05-23 Andreas Jaeger <aj@suse.de>
46012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46013 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46015 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46016 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46017 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46018 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46019 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46020 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46022 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46024 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46025 * sysdeps/unix/sysv/linux/bits/in.h
46026 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46028 2012-05-22 Roland McGrath <roland@hack.frob.com>
46030 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46031 (PREPARE_VERSION): Just use assert instead, it will be elided
46032 under [NDEBUG] anyway.
46034 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46036 * sysdeps/unix/sysv/linux/Makefile: Include
46037 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46038 (sysdep_routines): Remove sysctl.
46039 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46040 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46041 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46042 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46043 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46045 2012-05-22 Andreas Jaeger <aj@suse.de>
46047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46048 that pseudo_end is just ret and the stack pointer is correct also
46049 for static library in error case.
46051 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46054 * nss/nsswitch.c (defconfig_entries): New variable.
46055 (__nss_database_lookup): Don't leak defconfig entries.
46056 (nss_parse_service_list): Don't leak on error paths.
46057 (free_database_entries): New function.
46058 (free_defconfig): New function.
46059 (free_mem): Move common code to free_database_entries.
46061 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46063 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46065 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46067 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46068 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46071 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46072 (INTERNAL_SYSCALL_TYPES): Likewise.
46073 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46074 (LOAD_REGS_TYPES_[1-6]): Likewise.
46075 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46076 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46078 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46080 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46081 copysignl for GLIBC_2_0.
46082 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46083 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46085 logbl for GLIBC_2_0.
46086 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46087 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46089 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46092 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46094 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46097 * time/mktime.c: Update copyright years.
46099 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46101 mktime: merge comment-quoting-style change from gnulib
46102 * time/mktime.c: Quote 'like this' in comments.
46103 The GNU coding standards suggest that we no longer quote `like this',
46104 as "`" and "'" are typically rendered asymmetrically nowadays.
46105 The typical gnulib style is to quote 'like this' when quoting
46106 code, and "like this" when quoting English.
46108 * time/mktime.c (compile-command): Add "-I.".
46110 mktime: merge mktime-internal.h change from gnulib
46111 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46113 mktime: merge time_r change from gnulib
46114 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46116 mktime: merge DEBUG change from gnulib
46117 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46118 case system <time.h> has a #define.
46120 mktime: merge <sys/types.h> change from gnulib
46121 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46122 since <time.t> is now guaranteed to define time_t.
46124 mktime: merge HAVE_CONFIG_H change from gnulib
46125 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46127 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46132 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46134 (struct rusage): Use anonymous union to pad each field to
46137 2012-05-21 David S. Miller <davem@davemloft.net>
46139 * Makefules (o-iterator): Remove .s cases.
46140 (compile-command.s): Delete.
46141 (COMPILE.s): Delete.
46142 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46144 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46146 * configure.in (libc_cv_predef_stack_protector): Only consider
46147 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46148 * configure: Regenerated.
46150 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46153 New macro. Use R*LP on int and pointer.
46154 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46155 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46156 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46157 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46159 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46160 [__WORDSIZE_TIME64_COMPAT32] instead of
46161 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46162 (struct utmp): Likewise.
46163 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46164 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46166 (__WORDSIZE_TIME64_COMPAT32): This.
46167 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46168 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46169 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46170 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46171 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46172 (__WORDSIZE_TIME64_COMPAT32): New macro.
46174 2012-05-21 Andreas Jaeger <aj@suse.de>
46176 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46177 only if [SHARED]. Add prototype for __wcschr_ia32.
46179 2012-05-21 Roland McGrath <roland@hack.frob.com>
46181 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46182 of %rbp unmolested in the jmp_buf while mangling the low bits.
46183 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46184 unmolested high bits of %rbp while demangling the low bits.
46185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46187 2012-05-21 Andreas Jaeger <aj@suse.de>
46189 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46190 * sunrpc/svc_simple.c: Use it for registerrpc.
46191 * sunrpc/xcrypt.c: Use it for passwd2des.
46193 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46195 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46197 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46198 Don't define if [__SYSCALL_WORDSIZE != 32].
46199 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46202 2012-05-21 Bruno Haible <bruno@clisp.org>
46203 Andreas Jaeger <aj@suse.de>
46205 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46206 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46207 inptr and inend for must_buffer_ch.
46208 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46209 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46210 * stdio-common/Makefile (tests): Remove bug15.
46211 (bug15-ENV): Remove macro.
46212 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46215 2012-05-19 Andreas Jaeger <aj@suse.de>
46216 Roland McGrath <roland@hack.frob.com>
46218 * manual/contrib.texi: Completely rewritten. It contains now an
46219 alphabetical list of contributors and their contributions.
46221 2012-05-21 Richard Henderson <rth@twiddle.net>
46223 * misc/getauxval.c (__getauxval): Use unsigned long int.
46224 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46225 (getauxval): Use unsigned long int.
46227 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46229 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46231 2012-05-21 Roland McGrath <roland@hack.frob.com>
46233 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46234 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46235 __alignof__ (long double).
46237 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46241 2012-05-20 Richard Henderson <rth@twiddle.net>
46243 * misc/getauxval.c: New file.
46244 * misc/sys/auxv.h: New file.
46245 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46246 (routines): Add getauxval.
46247 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46248 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46249 * elf/dl-sysdep.c (_dl_auxv): Remove.
46250 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46251 * elf/dl-support.c (_dl_auxv): New variable.
46252 (_dl_aux_init): Initialize it.
46253 * manual/startup.texi (Auxiliary Vector): New node.
46254 * sysdeps/generic/bits/hwcap.h: New file.
46255 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46256 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46257 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46258 * sysdeps/sparc/sysdep.h: ... here. Include it.
46259 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46272 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46276 2012-05-19 David S. Miller <davem@davemloft.net>
46278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46280 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46283 * math/s_ccosh.c: Include <float.h>
46284 (__ccosh): Avoid internal overflow calculating sinh and cosh
46285 values before multiplying by sin and cos values.
46286 * math/s_ccoshf.c: Likewise.
46287 * math/s_ccoshl.c: Likewise.
46288 * math/s_csin.c: Likewise.
46289 * math/s_csinf.c: Likewise.
46290 * math/s_csinl.c: Likewise.
46291 * math/s_csinh.c: Likewise.
46292 * math/s_csinhf.c: Likewise.
46293 * math/s_csinhl.c: Likewise.
46294 * math/libm-test.inc (ccos_test): Add more tests.
46295 (ccosh_test): Likewise.
46296 (csin_test): Likewise.
46297 (csinh_test): Likewise.
46298 * sysdeps/i386/fpu/libm-test-ulps: Update.
46299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46301 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46303 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46304 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46306 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46308 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46310 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46311 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46312 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46313 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46314 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46315 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46316 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46317 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46318 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46319 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46320 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46321 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46322 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46323 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46324 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46325 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46326 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46327 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46328 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46329 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46330 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46331 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46332 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46333 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46334 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46335 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46336 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46337 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46338 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46339 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46340 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46342 2012-05-18 Andreas Jaeger <aj@suse.de>
46344 * csu/.gitignore: Delete.
46346 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46348 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46349 (timex): Use __syscall_slong_t.
46351 2012-05-18 Andreas Jaeger <aj@suse.de>
46352 Carlos O'Donell <carlos_odonell@mentor.com>
46354 * manual/install.texi (Configuring and compiling): Update
46355 description about files modified in the source directory.
46356 * INSTALL: Regenerated.
46358 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46360 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46361 value. Use "or" to set return value to -1.
46362 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46363 negate return value.
46365 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46367 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46368 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46369 failure if the compiler has Graphite support disabled.
46370 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46372 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46373 (CFLAGS-memmove.c): Likewise.
46374 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46377 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46379 * sysdeps/x86_64/x32/_itoa.h: New file.
46381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46382 getdents system call only if kernel and user dirents have the
46383 same d_ino and d_off.
46385 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46386 LLONG_MAX != LONG_MAX.
46387 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46388 (_fitoa_word): Likewise.
46390 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46396 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46397 include <bits/wordsize.h>. Check __x86_64__ instead of
46399 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46400 if __x86_64__ is defined. Use anonymous union on fpstate.
46402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46405 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46407 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46408 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46410 Refer to _rtld_local_ro instead of _rtld_global_ro.
46411 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46413 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46415 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46417 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46418 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46419 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46421 * sysdeps/powerpc/powerpc32/dl-machine.c
46422 (__elf_machine_runtime_setup) [PROF]: Don't reference
46425 2012-05-18 Andreas Jaeger <aj@suse.de>
46427 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46428 function only available for GCCs before 3.4 since GCC 3.4
46429 introduced a builtin.
46431 (llrintf): Likewise.
46432 (llrint): Likewise.
46439 (nearbyint): Likewise.
46440 (nearbyintf): Likewise.
46444 (floorf): Likewise.
46446 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46448 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46449 on both fields and cast pointer to __syscall_ulong_t.
46451 * bits/types.h (__fsword_t): New type.
46452 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46453 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46455 (__FSWORD_T_TYPE): Likewise.
46456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46457 (__FSWORD_T_TYPE): Likewise.
46458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46459 (__FSWORD_T_TYPE): Likewise.
46460 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46461 (__FSWORD_T_TYPE): Likewise.
46462 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46463 __SWORD_TYPE with __fsword_t.
46464 (statfs64): Likewise.
46466 2012-05-17 David S. Miller <davem@davemloft.net>
46468 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46470 2012-05-17 Andreas Jaeger <aj@suse.de>
46472 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46475 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46477 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46479 2012-05-17 Andreas Jaeger <aj@suse.de>
46481 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46484 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46486 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46488 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46490 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46491 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46493 2012-05-17 Andreas Jaeger <aj@suse.de>
46494 Carlos O'Donell <carlos_odonell@mentor.com>
46497 * sysdeps/x86_64/multiarch/init-arch.h
46498 (bit_YMM_Usable): Rename to...
46499 (bit_AVX_Usable): ... this.
46500 (bit_FMA4_Usable): New macro.
46501 (bit_XMM_state): New macro.
46502 (bit_YMM_state): New macro.
46503 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46504 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46505 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46506 (CPUID_OSXSAVE): New macro.
46507 (CPUID_AVX): New macro.
46508 (CPUID_FMA4): New macro.
46509 (index_YMM_Usable): Rename to...
46510 (index_AVX_Usable): ... this.
46511 (HAS_AVX): Use HAS_ARCH_FEATURE.
46512 (HAS_FMA4): Likewise.
46513 (HAS_YMM_USABLE): Remove.
46514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46515 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46517 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46518 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46519 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46520 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46521 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46523 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46525 * math/libm-test.c: Support platforms without multiple rounding modes.
46526 * math/bug-nextafter.c: Support platforms without FP exceptions.
46527 * math/bug-nexttoward.c: Likewise.
46528 * math/test-fenv.c: Likewise.
46529 * math/test-misc.c: Likewise.
46530 * stdlib/bug-getcontext.c: Likewise.
46532 2012-05-17 Andreas Jaeger <aj@suse.de>
46534 * manual/examples/search.c (critter_cmp): Change signature to
46536 * manual/string.texi (Collation Functions): Likewise.
46538 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46540 * bits/types.h: Fold copyright years.
46541 * bits/typesizes.h: Likewise.
46542 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46546 * time/time.h: Likewise.
46548 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46551 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46552 in instead of returning them. Return void.
46553 (__libc_mallinfo): Accumulate over all arenas.
46554 (__malloc_stats): Adjust for change in int_mallinfo interface.
46556 2012-05-16 Roland McGrath <roland@hack.frob.com>
46559 * configure.in (NM): Add AC_CHECK_TOOL for it.
46560 (libc_extra_cflags): New substituted variable.
46561 Check for -fstack-protector being used implicitly.
46562 * configure: Regenerated.
46563 * config.make.in (config-extra-cflags): New variable,
46564 gets @libc_extra_cflags@.
46565 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46568 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46569 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46570 * configure: Regenerated.
46571 * config.make.in (CPPUNDEFS): New substituted variable.
46572 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46573 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46574 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46576 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46578 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46579 (mq_attr): Use __syscall_slong_t.
46581 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46584 Check __x86_64__ instead of __WORDSIZE.
46585 (_STAT_VER_LINUX): Likewise.
46586 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46587 __syscall_ulong_t and __syscall_slong_t.
46588 (stat64): Likewise.
46590 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46594 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46596 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46598 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46600 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46603 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46604 include <bits/wordsize.h>. Check __x86_64__ instead of
46606 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46608 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46611 include <bits/wordsize.h>. Check __x86_64__ instead of
46613 (user_regs_struct): Use "__extension__ unsigned long long"
46614 instead of "unsigned long" if __x86_64__ is defined.
46615 (user): Likewise. Pad after pointer field if __ILP32__ is
46618 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46620 * configure.in (makeinfo): Require version 4.5 or later. Allow
46622 * configure: Regenerated.
46623 * manual/install.texi (texinfo): Increase version requirement to
46625 * INSTALL: Regenerated.
46627 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46629 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46631 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46633 * sysdeps/x86_64/x32/ffs.c: New file.
46635 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46637 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46638 defined. Use __syscall_ulong_t.
46639 (shminfo): Use __syscall_ulong_t.
46640 (shm_info): Likewise.
46642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46645 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46647 (msgqnum_t): Use __syscall_ulong_t.
46648 (msglen_t): Likewise.
46649 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46652 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46653 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46655 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46657 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46658 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46660 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46663 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46664 include <bits/wordsize.h>. Check __x86_64__ instead of
46667 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46668 "unsigned long long int" if __x86_64__ is defined.
46669 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46672 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46673 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46677 (GET_PC): Cast to uintptr_t first.
46678 (GET_FRAME): Likewise.
46679 (GET_STACK): Likewise.
46681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46682 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46687 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46688 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46689 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46691 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46692 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46693 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46699 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46700 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46701 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46702 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46704 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46709 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46711 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46713 * Makerules (+depfiles): Also collect depfiles from .oS in
46715 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46716 .oS, $(libnldbl-routines)).
46718 * Makerules (native-compile-mkdep-flags): Define.
46719 * sunrpc/Makefile (extra-objs): Add $(addprefix
46720 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46721 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46722 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46723 calling $(make-target-directory).
46725 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46727 * bits/types.h (__snseconds_t): Removed.
46728 * time/time.h (struct timespec): Replace __snseconds_t with
46730 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46731 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46734 (__SNSECONDS_T_TYPE): Likewise.
46735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46736 (__SNSECONDS_T_TYPE): Likewise.
46737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46738 (__SNSECONDS_T_TYPE): Likewise.
46740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46742 * sysdeps/mach/hurd/bits/typesizes.h
46743 (__SYSCALL_SLONG_TYPE): New macro.
46744 (__SYSCALL_ULONG_TYPE): Likewise.
46746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46748 * bits/types.h (__syscall_slong_t): New type.
46749 (__syscall_ulong_t): Likewise.
46751 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46752 (__SYSCALL_ULONG_TYPE): Likewise.
46753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46754 (__SYSCALL_SLONG_TYPE): Likewise.
46755 (__SYSCALL_ULONG_TYPE): Likewise.
46756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46757 (__SYSCALL_SLONG_TYPE): Likewise.
46758 (__SYSCALL_ULONG_TYPE): Likewise.
46759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46760 (__SYSCALL_SLONG_TYPE): Likewise.
46761 (__SYSCALL_ULONG_TYPE): Likewise.
46763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46765 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46766 Add sigaltstack-offsets.sym.
46767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46768 <sigaltstack-offsets.h>.
46769 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
46770 longjmp_msg pointer.
46771 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
46772 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46774 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46776 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46778 * elf/stackguard-macros.h: Remove file.
46779 * sysdeps/generic/stackguard-macros.h: New file.
46780 * sysdeps/i386/stackguard-macros.h: Likewise.
46781 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46782 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46783 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46784 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46785 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46786 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46787 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46788 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46789 <elf/stackguard-macros.h>.
46792 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46793 __aligned__ in attribute.
46794 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46795 (gregset_t): Likewise.
46797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46799 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46800 * sysdeps/x86_64/64/Implies-after: Here. New file.
46801 * sysdeps/x86_64/x32/Implies-after: New file.
46803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46805 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46806 and access return value for _dl_profile_fixup. Use R10_LP to
46809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46811 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46815 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46816 * sysdeps/x86_64/x32/sysdep.h: New file.
46818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46820 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46821 * sysdeps/x86_64/setjmp.S: Likewise.
46823 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46826 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46827 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46828 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46829 remove unused global constant.
46831 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46833 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46834 include of <not-cancel.h>.
46836 2012-05-15 Roland McGrath <roland@hack.frob.com>
46838 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46840 2012-05-15 Jeff Law <law@redhat.com>
46841 Andreas Jaeger <aj@suse.de>
46844 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46846 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46847 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46848 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46849 code changing __hst_map_handle.map.
46851 2012-05-15 Roland McGrath <roland@hack.frob.com>
46853 * configure.in (sysnames): Look for Implies-before and Implies-after
46855 * configure: Regenerated.
46857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46859 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46860 8-byte data alignment with LP_SIZE alignment.
46862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46864 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46869 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46873 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46874 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46877 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46881 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46882 (stackinfo_sub_sp): Likewise.
46884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46891 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46901 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46905 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46906 into R11_LP and load __x86_64_shared_cache_size_half into
46909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46914 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46922 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46923 powerpc32/power7/fpu/s_logb.c via #include.
46924 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46925 powerpc32/power7/fpu/s_logbf.c via #include.
46926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46927 powerpc32/power7/fpu/s_logbl.c via #include.
46929 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46931 * README.libm: Remove file.
46933 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46935 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46936 count for x32. Use R*_LP and omit operand-size suffix.
46938 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46940 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46941 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46942 * sysdeps/x86_64/x32/shlib-versions: New file.
46944 2012-05-14 Roland McGrath <roland@hack.frob.com>
46946 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46947 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46948 Use _dl_fatal_printf instead.
46950 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46952 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46953 set if not set by the user. Do not allow for being unset.
46954 * sysdeps/unix/sysv/linux/configure: Regenerated.
46956 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46958 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46959 the `q' suffix from lea and replace .quad with ASM_ADDR.
46961 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46964 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46966 (PTR_DEMANGLE): Likewise.
46968 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46970 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46972 (ASM_ADDR): Likewise.
46973 (RAX_LP): Likewise.
46974 (RBP_LP): Likewise.
46975 (RBX_LP): Likewise.
46976 (RCX_LP): Likewise.
46977 (RDI_LP): Likewise.
46978 (RSI_LP): Likewise.
46979 (RSP_LP): Likewise.
46982 (R10_LP): Likewise.
46983 (R10_LP): Likewise.
46984 (R11_LP): Likewise.
46985 (R12_LP): Likewise.
46986 (R13_LP): Likewise.
46987 (R14_LP): Likewise.
46988 (R15_LP): Likewise.
46990 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46992 * sysdeps/x86_64/x32/dl-machine.h: New file.
46994 2012-05-14 Andreas Jaeger <aj@suse.de>
46996 * manual/Makefile (subdir): Remove export of subdir.
46997 (all): Remove target.
46998 (.PHONY): Remove all from list.
46999 (mkinstalldirs): Remove.
47000 (.PHONY): Remove installdirs from list.
47001 ($(inst_infodir)/libc.info): Use make-target-directory.
47002 (installdirs): Remove.
47003 (subdir_%): Remove.
47004 (glibc-targets): Remove.
47007 ($(objpfx)stubs ../po/manual.pot): Remove.
47008 ($(objpfx)stamp%): Remove.
47009 (make-target-directory): Remove.
47010 (subdir_install): Remove.
47011 (routines): Remove.
47018 * manual/.gitignore: Remove, it's not needed anymore.
47019 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47021 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47023 (texis): Renamed to $(objpfx)texis.
47024 (texis-path): New, contains path to generated files.
47025 (chapters.%): Use texis-path for complete path, add extra argument
47027 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47028 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47029 (summary,texi, stamp-summary): Use complete path of
47030 files. Generate files in build dir.
47031 (dir-add.texi): Build in build dir.
47032 (libm-err.texi,stamp-libm-err): Likewise.
47033 (version.texi, stamp-version): Likewise.
47034 (.%c.texi): Likewise.
47035 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47036 (mostlyclean): Remove target.
47037 (realclean): Remove target.
47038 (generated): Add new variable with contents from mostlyclean and
47039 realclean, remove entries duplicated in common-mostlyclean, add
47040 stamp-libm-err and stamp-version.
47041 (generated-dirs): Add libc directory.
47042 ($(inst_infodir)/libc.info): Install files from build dir.
47044 * manual/install.texi (Configuring and compiling): Adjust since
47045 the info files are not part of the tar ball anymore.
47047 2012-05-14 Andreas Jaeger <aj@suse.de>
47049 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47052 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47055 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47056 to 2.2.0 where earlier.
47057 * sysdeps/unix/sysv/linux/configure: Regenerated.
47058 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47059 Remove conditional code.
47060 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47061 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47062 Remove conditional code.
47063 [!__NR_lchown]: Likewise.
47064 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47065 [__NR_lchown]: Likewise.
47066 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47067 comment referencing __ASSUME_LCHOWN_SYSCALL.
47068 * sysdeps/unix/sysv/linux/i386/sigaction.c
47069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47071 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47072 Remove conditional code.
47073 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47074 (__protocol_available): Remove #if 0 code.
47075 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47077 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47078 * sysdeps/unix/sysv/linux/kernel-features.h
47079 (__ASSUME_GETCWD_SYSCALL): Don't define.
47080 (__ASSUME_REALTIME_SIGNALS): Likewise.
47081 (__ASSUME_PREAD_SYSCALL): Likewise.
47082 (__ASSUME_PWRITE_SYSCALL): Likewise.
47083 (__ASSUME_POLL_SYSCALL): Likewise.
47084 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47085 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47087 (__ASSUME_SIOCGIFNAME): Don't define.
47088 (__ASSUME_MSG_NOSIGNAL): Likewise.
47089 (__ASSUME_SENDFILE): Define unconditionally.
47090 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47091 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47093 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47094 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47095 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47096 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47097 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47098 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47099 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47101 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47107 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47116 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47124 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47125 Remove conditional code.
47126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47127 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47128 Remove conditional code.
47129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47130 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47131 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47132 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47133 Remove conditional code.
47134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47135 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47136 Remove conditional code.
47137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47138 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47139 Remove conditional code.
47140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47141 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47142 Remove conditional code.
47143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47144 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47145 Remove conditional code.
47146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47147 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47150 * sysdeps/unix/sysv/linux/sigaction.c
47151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47153 * sysdeps/unix/sysv/linux/sigpending.c
47154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47156 * sysdeps/unix/sysv/linux/sigprocmask.c
47157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47159 * sysdeps/unix/sysv/linux/sigsuspend.c
47160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47163 (__libc_missing_rt_sigs): Remove.
47164 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47165 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47166 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47167 Remove conditional code.
47168 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47169 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47172 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47174 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47176 2012-05-14 Andreas Jaeger <aj@suse.de>
47178 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47179 it's not used in glibc.
47180 (__coshm1): Likewise.
47181 (__acosh1p): Likewise.
47184 * manual/string.texi (Copying and Concatenation): Add missing
47185 variable in concat example.
47186 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47188 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47192 __builtin_clzl with __builtin_clzll.
47194 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47197 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47200 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47202 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47203 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47204 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47205 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47207 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47209 * NEWS: Update ia64 info.
47211 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47213 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47216 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47218 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47219 * sysdeps/unix/syscalls.list (dup3): Likewise.
47220 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47221 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47223 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47225 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47226 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47228 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47230 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47232 (TLS_IE): Use mov/add instead of movq/addq to load thread
47234 (TLS_GD_PREFIX): New.
47237 2012-05-11 David S. Miller <davem@davemloft.net>
47239 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47240 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47241 (_FPU_SETCW): Likewise.
47243 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47245 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47246 is 32-byte aligned.
47248 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47251 * iconvdata/gb18030.c: Update tables.
47252 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47253 characters specially.
47254 (BODY for TO_LOOP): Add encoding of missing ranges.
47256 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47259 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47260 * sysdeps/mach/hurd/dup3.c: Likewise.
47261 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47262 * sysdeps/powerpc/memmove.c:: Likewise.
47264 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47267 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47269 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47271 * elf/elf.h (R_X86_64_RELATIVE64): New.
47272 (R_X86_64_NUM): Updated.
47273 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47274 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47275 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47276 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47277 tst-quad1pie tst-quad2pie
47278 (modules-names): Add tst-quadmod1 tst-quadmod2.
47279 ($(objpfx)tst-quad1): New dependency.
47280 ($(objpfx)tst-quad2): Likewise.
47281 ($(objpfx)tst-quad1pie): Likewise.
47282 ($(objpfx)tst-quad2pie): Likewise.
47283 * sysdeps/x86_64/tst-quad1.c: New file.
47284 * sysdeps/x86_64/tst-quad1pie.c: New file.
47285 * sysdeps/x86_64/tst-quad2.c: Likewise.
47286 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47287 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47288 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47289 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47290 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47292 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47294 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47295 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47296 * streams/stropts.h (t_scalar_t): Define type.
47298 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47299 (_PATH_PRESERVE): Set to "/var/lib".
47300 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47302 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47305 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47306 if __dir_mkfile succeeded.
47308 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47309 checking for _hurd_dtablesize. Unlock it right after having
47310 finished _hurd_dtable allocation.
47312 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47314 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47315 * sysdeps/mach/hurd/configure: Regenerated.
47316 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47317 special-casing to...
47318 * sysdeps/gnu/configure.in: ... this new file.
47319 * sysdeps/unix/sysv/linux/configure: Regenerated.
47320 * sysdeps/gnu/configure: New generated file.
47322 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47323 for Linux: use nsec instead of usec, as well as:
47324 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47325 members of type struct timespec.
47326 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47328 (struct stat64): Likewise.
47329 (_STATBUF_ST_NSEC): New macro.
47330 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47333 __strtoul_internal rather than strtoul.
47335 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47337 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47340 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47342 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47343 which preserves existing values.
47344 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47346 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47348 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47349 TIMEOUT values. Return EINVAL for NFDS values either negative or
47350 greater than FD_SETSIZE.
47352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47354 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47355 allocated, call __vm_protect to finish enabling the existing space, and
47356 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47357 allocate the remainder.
47359 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47361 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47362 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47366 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47367 sysdeps/mach/hurd/readlink.c.
47369 * posix/tst-sysconf.c (posix_options): Only use
47370 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47371 _POSIX_SYNCHRONIZED_IO when they are defined
47372 * sysdeps/mach/hurd/bits/posix_opt.h:
47373 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47374 (_XOPEN_REALTIME): Undefine macro.
47375 (_XOPEN_REALTIME_THREADS): Undefine macro.
47376 (_XOPEN_SHM): Undefine macro.
47377 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47379 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47381 (_POSIX_ASYNC_IO): Undefine macro.
47382 (_POSIX_PRIORITIZED_IO): Undefine macro.
47383 (_POSIX_SPIN_LOCKS): Define macro to -1.
47385 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47386 SA_NODEFER, SA_RESETHAND.
47387 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47388 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47393 * elf/Makefile (pldd-modules): Define unconditionally.
47395 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47397 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47401 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47402 Return ENOENT when name is empty.
47403 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47405 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47407 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47409 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47411 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47413 Fix mlock in all cases except non-readable pages.
47414 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47415 instead of VM_PROT_ALL as parameter to __vm_wire function.
47417 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47418 (__mkdir): When path is `/', just fail with EEXIST.
47419 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47423 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47424 <sys/uio.h> (for writev).
47425 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47426 and <sys/param.h> (for MIN).
47428 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47430 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47431 REQUESTED_TIME. Properly set the remaining time and return EINTR
47434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47436 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47437 Depend on against $(link-rpcuserlibs).
47439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47441 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47442 (__libc_stack_end): Do not use attribute_relro.
47443 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47444 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47445 to libthread-provided value.
47446 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47449 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47452 * bits/libc-lock.h (__libc_once_get): New macro.
47453 * sysdeps/mach/bits/libc-lock.h: Likewise.
47454 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47456 instead of using implementation details.
47458 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47459 * libio/freopen.c: Likewise.
47460 * libio/freopen64.c: Likewise.
47461 * misc/syslog.c: Likewise.
47462 * nscd/connections.c: Likewise.
47463 * nscd/netgroupcache.c: Likewise.
47464 * sysdeps/posix/getcwd.c: Likewise.
47466 2012-05-10 Roland McGrath <roland@hack.frob.com>
47468 * math/w_ilogbf.c: Add #include <limits.h>.
47470 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47472 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47473 path instead of returning without unlocking.
47475 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47476 immediate-write ioctls.
47477 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47481 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47482 __builtin_frame_address instead of making assumptions about the
47483 location of the return address relative to DATA. Force early load of
47484 the return address.
47485 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47486 __builtin_frame_address.
47489 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47490 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47491 implement dup3 and do some further code clean-ups.
47492 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47493 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47495 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47497 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47499 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47500 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47501 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47502 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47503 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47506 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47507 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47508 when handler == SIG_ERR, not when handler != SIG_ERR.
47510 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47512 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47513 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47516 accept4 for GNU Hurd.
47517 * include/sys/socket.h (__libc_accept4): New prototype.
47518 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47519 to implement __libc_accept4.
47520 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47522 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47524 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47525 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47526 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47527 signal-defines.sym.
47529 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47531 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47535 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47536 assertion on O_CLOEXEC flag.
47537 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47538 * hurd/intern-fd.c: Likewise.
47539 * hurd/port2fd.c: Likewise.
47541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47544 * bits/in.h (IPV6_PKTINFO): Define new macro.
47545 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47547 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47552 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47554 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47555 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47557 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47558 * math/libm-test.inc (logb_test) : Additional logb tests.
47560 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47561 Andreas Jaeger <aj@suse.de>
47563 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47564 * configure: Regenerated.
47565 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47566 * config.make.in (link-obsolete-rpc): New substituted variable.
47567 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47568 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47569 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47570 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47571 so that libc.a contains the symbols.
47572 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47573 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47574 * sunrpc/auth_none.c: Likewise.
47575 * sunrpc/auth_unix.c: Likewise.
47576 * sunrpc/authdes_prot.c: Likewise.
47577 * sunrpc/authuxprot.c: Likewise.
47578 * sunrpc/clnt_gen.c: Likewise.
47579 * sunrpc/clnt_perr.c: Likewise.
47580 * sunrpc/clnt_raw.c: Likewise.
47581 * sunrpc/clnt_simp.c: Likewise.
47582 * sunrpc/clnt_tcp.c: Likewise.
47583 * sunrpc/clnt_udp.c: Likewise.
47584 * sunrpc/clnt_unix.c: Likewise.
47585 * sunrpc/des_crypt.c: Likewise.
47586 * sunrpc/des_soft.c: Likewise.
47587 * sunrpc/get_myaddr.c: Likewise.
47588 * sunrpc/key_call.c: Likewise.
47589 * sunrpc/key_prot.c: Likewise.
47590 * sunrpc/netname.c: Likewise.
47591 * sunrpc/pm_getmaps.c: Likewise.
47592 * sunrpc/pm_getport.c: Likewise.
47593 * sunrpc/pmap_clnt.c: Likewise.
47594 * sunrpc/pmap_prot.c: Likewise.
47595 * sunrpc/pmap_prot2.c: Likewise.
47596 * sunrpc/pmap_rmt.c: Likewise.
47597 * sunrpc/publickey.c: Likewise.
47598 * sunrpc/rpc_cmsg.c: Likewise.
47599 * sunrpc/rpc_common.c: Likewise.
47600 * sunrpc/rpc_dtable.c: Likewise.
47601 * sunrpc/rpc_prot.c: Likewise.
47602 * sunrpc/rpc_thread.c: Likewise.
47603 * sunrpc/rtime.c: Likewise.
47604 * sunrpc/svc.c: Likewise.
47605 * sunrpc/svc_auth.c: Likewise.
47606 * sunrpc/svc_raw.c: Likewise.
47607 * sunrpc/svc_run.c: Likewise.
47608 * sunrpc/svc_tcp.c: Likewise.
47609 * sunrpc/svc_udp.c: Likewise.
47610 * sunrpc/svc_unix.c: Likewise.
47611 * sunrpc/svcauth_des.c: Likewise.
47612 * sunrpc/xcrypt.c: Likewise.
47613 * sunrpc/xdr.c: Likewise.
47614 * sunrpc/xdr_array.c: Likewise.
47615 * sunrpc/xdr_float.c: Likewise.
47616 * sunrpc/xdr_intXX_t.c: Likewise.
47617 * sunrpc/xdr_mem.c: Likewise.
47618 * sunrpc/xdr_rec.c: Likewise.
47619 * sunrpc/xdr_ref.c: Likewise.
47620 * sunrpc/xdr_sizeof.c: Likewise.
47621 * sunrpc/xdr_stdio.c: Likewise.
47623 2012-05-10 Roland McGrath <roland@hack.frob.com>
47625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47626 change. Update copyright years.
47628 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47630 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47632 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47633 Joseph Myers <joseph@codesourcery.com>
47634 Paul Pluzhnikov <ppluzhnikov@google.com>
47637 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47639 [cross-compiling] (extra-libs): Likewise.
47640 [cross-compiling] (extra-libs-others): Likewise.
47641 [cross-compiling] (librpcsvc-routines): Likewise.
47642 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47643 [cross-compiling] (omit-deps): Likewise.
47644 (sunrpc-CPPFLAGS): New variable.
47645 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47646 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47647 (cross-rpcgen-objs): New variable.
47648 (extra-objs): Append $(cross-rpcgen-objs).
47649 ($(cross-rpcgen-objs)): New rule.
47650 ($(objpfx)cross-rpcgen): Likewise.
47651 (rpcgen-cmd): Define to use $(built-program-file). Expand
47653 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47654 ($(objpfx)x%.stmp): Likewise.
47655 * sunrpc/proto.h [IS_IN_build] (_): Define.
47656 [IS_IN_build] (_libc_intl_domainname): Likewise.
47658 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47661 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47662 and R_X86_64_TPOFF64.
47664 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47666 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47667 sysdeps/unix/sysv/syscalls.list.
47670 * sysdeps/unix/sysv/syscalls.list: Remove file.
47672 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47675 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47676 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47677 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47678 (__LC_IDENTIFICATION): Make these macros useful in #if
47679 expressions, as required by C99.
47681 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47683 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47684 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47687 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47689 * stdlib/longlong.h: Updated from GCC.
47691 2012-05-09 Andreas Jaeger <aj@suse.de>
47693 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47694 default is first entry.
47695 (run_mode): Set type.
47696 (main): Remove informal message about syslog.
47697 (options): Fix typo.
47700 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47703 (llrintf): Likewise.
47704 (llrint): Likewise.
47707 (nearbyint): Likewise.
47708 (nearbyintf): Likewise.
47710 2012-05-09 Andreas Jaeger <aj@suse.de>
47711 Pedro Alves <palves@redhat.com>
47713 * nscd/nscd.c (run_mode): Use enum.
47714 (main): Cleanup coding style issue.
47716 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47717 Andreas Jaeger <aj@suse.de>
47719 * nscd/nscd.c (go_background): Replaced with...
47720 (run_mode): ... this.
47721 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47722 (options): Add -F --foreground.
47723 (main): Implement it.
47724 (parse_opt): Parse it.
47726 2012-05-09 Andreas Jaeger <aj@suse.de>
47729 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47730 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47731 -Wconversion warning.
47732 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47735 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47737 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47739 (LC_ALL): Use macro-int-constant.
47740 (LC_COLLATE): Likewise.
47741 (LC_CTYPE): Likewise.
47742 (LC_MESSAGES): Likewise.
47743 (LC_MONETARY): Likewise.
47744 (LC_NUMERIC): Likewise.
47745 (LC_TIME): Likewise.
47746 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47747 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47748 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47749 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47751 [C99-based standards] (float_t): Expect type.
47752 [C99-based standards] (double_t): Expect type.
47753 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47755 [C99-based standards] (HUGE_VALL): Likewise.
47756 [C99-based standards] (INFINITY): Likewise.
47757 [C99-based standards] (NAN): Likewise.
47758 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47759 [C99-based standards] (FP_NAN): Likewise.
47760 [C99-based standards] (FP_NORMAL): Likewise.
47761 [C99-based standards] (FP_SUBNORMAL): Likewise.
47762 [C99-based standards] (FP_ZERO): Likewise.
47763 [C99-based standards] (FP_FAST_FMA): Use
47764 optional-macro-int-constant. Specify type. Require == 1.
47765 [C99-based standards] (FP_FAST_FMAF): Likewise.
47766 [C99-based standards] (FP_FAST_FMAL): Likewise.
47767 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47768 [C99-based standards] (FP_ILOGBNAN): Likewise.
47769 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47771 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47772 [C99-based standards] (math_errhandling): Specify type.
47773 [ISO99 || ISO11] (signgam): Do not allow.
47774 [non-C99-based standards] (copysignf): Do not allow.
47775 [non-C99-based standards] (exp2f): Likewise.
47776 [non-C99-based standards] (log2f): Likewise.
47777 [non-C99-based standards] (modff): Allow.
47778 [non-C99-based standards] (erff): Do not allow.
47779 [non-C99-based standards] (erfcf): Likewise.
47780 [non-C99-based standards] (gammaf): Likewise.
47781 [non-C99-based standards] (hypotf): Likewise.
47782 [non-C99-based standards] (j0f): Likewise.
47783 [non-C99-based standards] (j1f): Likewise.
47784 [non-C99-based standards] (jnf): Likewise.
47785 [non-C99-based standards] (lgammaf): Likewise.
47786 [non-C99-based standards] (tgammaf): Likewise.
47787 [non-C99-based standards] (y0f): Likewise.
47788 [non-C99-based standards] (y1f): Likewise.
47789 [non-C99-based standards] (ynf): Likewise.
47790 [non-C99-based standards] (isnanf): Likewise.
47791 [non-C99-based standards] (acoshf): Likewise.
47792 [non-C99-based standards] (asinhf): Likewise.
47793 [non-C99-based standards] (atanhf): Likewise.
47794 [non-C99-based standards] (cbrtf): Likewise.
47795 [non-C99-based standards] (expm1f): Likewise.
47796 [non-C99-based standards] (ilogbf): Likewise.
47797 [non-C99-based standards] (log1pf): Likewise.
47798 [non-C99-based standards] (logbf): Likewise.
47799 [non-C99-based standards] (nextafterf): Likewise.
47800 [non-C99-based standards] (remainderf): Likewise.
47801 [non-C99-based standards] (rintf): Likewise.
47802 [non-C99-based standards] (scalbf): Likewise.
47803 [non-C99-based standards] (copysignl): Likewise.
47804 [non-C99-based standards] (exp2l): Likewise.
47805 [non-C99-based standards] (log2l): Likewise.
47806 [non-C99-based standards] (modfl): Allow.
47807 [non-C99-based standards] (erfl): Do not allow.
47808 [non-C99-based standards] (erfcl): Likewise.
47809 [non-C99-based standards] (gammal): Likewise.
47810 [non-C99-based standards] (hypotl): Likewise.
47811 [non-C99-based standards] (j0l): Likewise.
47812 [non-C99-based standards] (j1l): Likewise.
47813 [non-C99-based standards] (jnl): Likewise.
47814 [non-C99-based standards] (lgammal): Likewise.
47815 [non-C99-based standards] (tgammal): Likewise.
47816 [non-C99-based standards] (y0l): Likewise.
47817 [non-C99-based standards] (y1l): Likewise.
47818 [non-C99-based standards] (ynl): Likewise.
47819 [non-C99-based standards] (isnanl): Likewise.
47820 [non-C99-based standards] (acoshl): Likewise.
47821 [non-C99-based standards] (asinhl): Likewise.
47822 [non-C99-based standards] (atanhl): Likewise.
47823 [non-C99-based standards] (cbrtl): Likewise.
47824 [non-C99-based standards] (expm1l): Likewise.
47825 [non-C99-based standards] (ilogbl): Likewise.
47826 [non-C99-based standards] (log1pl): Likewise.
47827 [non-C99-based standards] (logbl): Likewise.
47828 [non-C99-based standards] (nextafterl): Likewise.
47829 [non-C99-based standards] (remainderl): Likewise.
47830 [non-C99-based standards] (rintl): Likewise.
47831 [non-C99-based standards] (scalbl): Likewise.
47832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47833 [non-C99-based standards] (FP_*): Do not allow.
47834 [C99-based standards] (FP_*): Change to
47835 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47836 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47838 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47839 (SIG_ERR): Likewise.
47840 [X/Open-based standards] (SIG_HOLD): Likewise.
47841 (SIG_IGN): Likewise.
47842 (SIGABRT): Use macro-int-constant. Specify type. Require
47844 (SIGFPE): Likewise.
47845 (SIGILL): Likewise.
47846 (SIGINT): Likewise.
47847 (SIGSEGV): Likewise.
47848 (SIGTER): Likewise.
47849 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47850 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47851 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47852 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47853 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47854 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47855 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47856 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47857 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47858 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47859 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47860 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47861 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47862 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47863 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47864 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47865 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47866 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47867 [X/Open-based standards] (SIGTRAP): Likewise.
47868 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47869 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47870 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47871 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47872 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47875 2012-05-08 Ian Wienand <ianw@vmware.com>
47878 * time/tzset.c (__tzset_parse_tz): Update default rules for
47879 daylight time changes in the Energy Policy Act of 2005.
47881 2012-05-09 Andreas Jaeger <aj@suse.de>
47884 * elf/ldconfig.c (parse_conf): Change string to make clear that
47885 ldconfig only issued a warning if ld.so.conf does not exist.
47887 2012-05-08 David S. Miller <davem@davemloft.net>
47889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47890 movxtod instead of popping the value on the stack.
47892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47894 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47896 * config.h.in: Add HAVE_ARM_PCS_VFP.
47898 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47901 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47902 checking but the checks are disabled for any reason.
47904 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47906 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47907 and ELF64_R_TYPE with ELFW(R_TYPE).
47909 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47911 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47912 (ulimit): Likewise.
47914 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47915 (settimeofday): Likewise.
47917 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47919 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47920 a struct th_u2 inside the union, and move tu_block/tu_code into
47921 a new th_u3 union of tu_block/tu_code inside of that. Move
47922 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47923 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47924 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47925 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47926 (th_stuff): Change to th_u1.tu_stuff.
47928 (th_msg): Change to th_u1.th_u2.tu_data.
47930 2012-05-07 David S. Miller <davem@davemloft.net>
47932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47935 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47936 (SETUP_PIC_REG): Use it.
47937 (SETUP_PIC_REG_LEAF): Use it.
47939 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47945 (EXPL_FINITE): Likewise.
47946 (FLDLOG): Likewise.
47947 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47948 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47950 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47952 (EXPL_FINITE): Likewise.
47953 (FLDLOG): Likewise.
47954 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47955 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47957 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47958 test of -max_value argument for long double.
47959 * sysdeps/i386/fpu/libm-test-ulps: Update.
47960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47962 2012-05-06 David S. Miller <davem@davemloft.net>
47964 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47965 quad soft-float symbols whose references which are compiler
47967 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47969 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47973 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47975 (EXPL_FINITE): Likewise.
47976 (FLDLOG): Likewise.
47979 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47980 Adjust comments for base varying.
47981 (__expl_finite): Change alias to EXPL_FINITE.
47982 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47984 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47985 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47987 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47990 (EXPL_FINITE): Likewise.
47991 (FLDLOG): Likewise.
47994 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47995 Adjust comments for base varying.
47996 (__expl_finite): Change alias to EXPL_FINITE.
47997 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48002 * math/libm-test.inc (check_float_internal): Correct ulp
48003 calculation for subnormal expected results.
48005 2012-05-06 Andreas Jaeger <aj@suse.de>
48007 * Makeconfig (+math-flags): New, set to -frounding-math.
48008 (+cflags): Add +math-flags so that all of glibc gets compiled with
48011 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48013 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48015 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48021 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48022 (__ieee754_expl): Allow for and saturate large arguments.
48023 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48024 (u_threshold): Likewise.
48025 (__exp): Call __ieee754_exp before checking for overflow and
48027 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48028 (u_threshold): Likewise.
48029 (__expf): Call __ieee754_expf before checking for overflow and
48031 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48032 (u_threshold): Likewise.
48033 (__expl): Call __ieee754_expl before checking for overflow and
48035 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48036 (__ieee754_expl): Allow for and saturate large arguments.
48037 * math/libm-test.inc (exp_test): Add another test. Do not allow
48038 missing overflow exception on overflow.
48039 (expm1_test): Do not allow missing overflow exception on overflow.
48041 * sysdeps/i386/fpu/e_expl.c: Move to ...
48042 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48043 rather than using inline asm.
48044 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48045 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48046 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48048 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48051 (signal): Likewise.
48055 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48057 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48058 sysdeps/unix/common/syscalls.list.
48059 (fchmod): Likewise.
48060 (fchown): Likewise.
48061 (ftruncate): Likewise.
48062 (getrusage): Likewise.
48063 (gettimeofday): Likewise.
48064 (setpgid): Likewise.
48065 (setregid): Likewise.
48066 (setreuid): Likewise.
48067 (sigaction): Likewise.
48068 (truncate): Likewise.
48069 (vhangup): Likewise.
48070 * sysdeps/unix/common/syscalls.list: Remove file.
48071 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48072 * sysdeps/unix/sysv/linux/Implies: Likewise.
48074 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48076 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48078 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48082 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48085 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48088 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48091 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48094 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48097 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48100 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48108 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48111 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48115 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48119 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48121 * sysdeps/unix/common/bits/dirent.h: Remove file.
48122 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48124 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48125 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48126 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48127 * sysdeps/unix/bsd/isatty.c: Likewise.
48128 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48129 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48130 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48132 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48136 long double comparison inaccuracies.
48137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48140 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48142 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48145 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48149 nonzero digits before rounding a hex value.
48150 * stdlib/tst-strtod.c (tests): Add another test.
48152 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48154 * sysdeps/s390/fpu/libm-test-ulps: Update.
48156 2012-05-03 Andreas Jaeger <aj@suse.de>
48158 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48159 does not get optimized out.
48160 (malloc_opt_barrier): New.
48162 2012-05-03 Andreas Jaeger <aj@suse.de>
48163 Roland McGrath <roland@hack.frob.com>
48165 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48166 intermediate file deletion.
48167 (generated): Add .symlist files.
48169 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48172 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48173 Redirect under this condition.
48174 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48175 [__USE_GNU] (__dprintf_chk): Not under this condition.
48176 [__USE_GNU] (__vdprintf_chk): Likewise.
48177 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48178 under this condition.
48179 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48180 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48181 [__USE_XOPEN2K8] (vdprintf): Likewise.
48182 [__USE_GNU] (__dprintf_chk): Not under this condition.
48183 [__USE_GNU] (__vdprintf_chk): Likewise.
48184 [__USE_GNU] (dprintf): Likewise.
48185 [__USE_GNU] (vdprintf): Likewise.
48187 2012-05-03 Roland McGrath <roland@hack.frob.com>
48189 * elf/Makefile (common-generated): Set this instead of generated for
48190 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48191 $(all-built-dso)-derived lists.
48193 2012-05-03 Andreas Jaeger <aj@suse.de>
48195 * sysdeps/i386/fpu/libm-test-ulps: Update.
48198 * FAQ.in: Likewise.
48199 * scripts/gen-FAQ.pl: Likewise.
48200 * manual/install.texi (Installation): Point to online location of
48202 * Makefile (files-for-dist): Remove FAQ.
48205 2012-05-02 Allan McRae <allan@archlinux.org>
48207 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48208 (LDFLAGS-reldepmod5.so): Likewise.
48209 (LDFLAGS-reldep6mod1.so): Likewise.
48210 (LDFLAGS-reldep6mod4.so): Likewise.
48211 (LDFLAGS-reldep8mod3.so): Likewise.
48212 (LDFLAGS-unload4mod1.so): Likewise.
48213 (LDFLAGS-unload4mod2.so): Likewise.
48214 (LDFLAGS-tst-initorder): Likewise.
48215 (LDFLAGS-tst-initordera2.so): Likewise.
48216 (LDFLAGS-tst-initordera3.so): Likewise.
48217 (LDFLAGS-tst-initordera4.so): Likewise.
48218 (LDFLAGS-tst-initorderb2.so): Likewise.
48219 (LDFLAGS-noload): Likewise.
48220 (LDFLAGS-next): Likewise.
48221 (LDFLAGS-order2mod1.so): Likewise.
48222 (LDFLAGS-order2mod2.so): Likewise.
48223 (LDFLAGS-tst-initorder2): Likewise.
48224 (LDFLAGS-tst-initorder2a.so): Likewise.
48225 (LDFLAGS-tst-initorder2b.so): Likewise.
48226 (LDFLAGS-tst-initorder2c.so): Likewise.
48227 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48229 2012-05-02 David S. Miller <davem@davemloft.net>
48231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48233 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48236 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48238 2012-05-02 Andreas Jaeger <aj@suse.de>
48240 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48241 since we manipulate rounding mode.
48242 (CPPFLAGS-test-idouble.c): Likewise.
48243 (CPPFLAGS-test-ifloat.c): Likewise.
48244 (CFLAGS-test-ldouble.c): Likewise.
48245 (CFLAGS-test-double.c): Likewise.
48246 (CFLAGS-test-float.c): Likewise.
48247 (CFLAGS-test-misc.c): Likewise.
48248 (CFLAGS-test-test-fenv.c): Likewise.
48250 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48255 comparisons to determine direction to adjust input.
48257 2012-05-01 Roland McGrath <roland@hack.frob.com>
48259 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48260 output to the target.
48262 * scripts/localplt.awk: New file.
48263 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48264 (check-localplt-CFLAGS): Variable removed.
48265 ($(all-built-dso:=.jmprel)): New static pattern rule.
48266 (generated): Add those targets.
48267 (localplt-built-dso): New variable.
48268 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48270 * elf/check-localplt.c: File removed.
48272 * scripts/check-execstack.awk: New file.
48273 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48274 (check-execstack-CFLAGS): Variable removed.
48275 ($(objpfx)check-execstack.h): Target removed.
48276 ($(objpfx)execstack-default): New target.
48277 (generated): Add that instead of check-execstack.h.
48278 ($(all-built-dso:=.phdr)): New static pattern rule.
48279 (generated): Add those targets.
48280 * elf/check-execstack.c: File removed.
48282 * scripts/check-textrel.awk: New file.
48283 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48284 (check-textrel-CFLAGS): Variable removed.
48285 (all-built-dso): Use := to define.o
48286 ($(all-built-dso:=.dyn)): New static pattern rule.
48287 (generated): Add those targets.
48288 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48289 * config.make.in (READELF): New substituted variable.
48290 * elf/check-textrel.c: File removed.
48292 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48294 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48296 * conform/data/ctype.h-data [C99-based standards] (isblank):
48298 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48299 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48301 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48302 Specify type. Require positive value.
48303 (EILSEQ): Likewise.
48304 (ERANGE): Likewise.
48305 [ISO || POSIX] (EILSEQ): Do not expect.
48306 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48307 Specify type. Require positive value.
48308 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48309 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48310 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48311 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48312 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48313 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48314 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48315 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48316 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48317 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48318 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48319 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48320 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48321 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48322 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48323 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48324 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48325 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48326 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48327 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48328 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48329 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48330 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48331 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48332 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48333 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48334 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48335 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48336 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48337 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48338 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48339 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48340 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48341 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48342 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48343 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48344 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48345 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48346 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48347 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48348 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48349 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48350 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48351 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48352 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48353 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48354 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48355 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48356 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48357 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48358 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48359 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48360 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48361 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48362 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48363 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48364 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48365 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48366 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48367 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48368 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48369 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48370 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48371 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48372 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48373 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48374 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48375 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48376 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48377 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48378 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48379 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48380 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48381 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48382 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48383 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48384 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48386 (FLT_ROUNDS): Expect as macro, not constant.
48387 (FLT_MANT_DIG): Use macro-int-constant.
48388 (DBL_MANT_DIG): Likewise.
48389 (LDBL_MANT_DIG): Likewise.
48390 (FLT_DIG): Likewise.
48391 (DBL_DIG): Likewise.
48392 (LDBL_DIG): Likewise.
48393 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48394 (DBL_MIN_EXP): Likewise.
48395 (LDBL_MIN_EXP): Likewise.
48396 (FLT_MAX_EXP): Use macro-int-constant.
48397 (DBL_MAX_EXP): Likewise.
48398 (LDBL_MAX_EXP): Likewise.
48399 (FLT_MAX_10_EXP): Likewise.
48400 (DBL_MAX_10_EXP): Likewise.
48401 (LDBL_MAX_10_EXP): Likewise.
48402 (FLT_MAX): Use macro-constant.
48403 (DBL_MAX): Likewise.
48404 (LDBL_MAX): Likewise.
48405 (FLT_EPSILON): Use macro-constant. Give upper bound.
48406 (DBL_EPSILON): Likewise.
48407 (LDBL_EPSILON): Likewise.
48408 (FLT_MIN): Likewise.
48409 (DBL_MIN): Likewise.
48410 (LDBL_MIN): Likewise.
48411 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48412 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48413 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48414 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48415 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48416 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48417 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48418 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48419 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48420 [ISO11] (FLT_TRUE_MIN): Likewise.
48421 [ISO11] (LDBL_TRUE_MIN): Likewise.
48422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48423 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48424 (SCHAR_MIN): Use macro-int-constant. Specify type.
48425 (SCHAR_MAX): Likewise.
48426 (UCHAR_MAX): Likewise.
48427 (CHAR_MIN): Likewise.
48428 (CHAR_MAX): Likewise.
48429 (MB_LEN_MAX): Use macro-int-constant.
48430 (SHRT_MIN): Use macro-int-constant. Specify type.
48431 (SHRT_MAX): Likewise.
48432 (USHRT_MAX): Likewise.
48433 (INT_MAX): Likewise.
48434 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48436 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48438 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48440 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48441 bound negative. Suffix upper bound with "L".
48442 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48444 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48446 [C99-based standards] (LLONG_MAX): Likewise.
48447 [C99-based standards] (ULLONG_MAX): Likewise.
48448 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48450 [ISO11] (max_align_t): Require type.
48451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48453 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48454 from $CFLAGS, without defining away __attribute__ calls.
48455 (checknamespace): Use $CFLAGS_namespace.
48457 * conform/conformtest.pl (@keywords): Only include C99 keywords
48458 for standards based on C99 or C11.
48460 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48462 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48465 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48466 usability of symbols in #if.
48468 * conform/conformtest.pl: If macro or constant types start
48469 "promoted:", expect the symbol to be of the following type
48470 promoted by the integer promotions.
48472 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48473 in one place. Also handle "macro-constant".
48475 * conform/conformtest.pl: Only accept expected macro values with
48476 "==". Parse all "macro" lines in one place.
48477 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48479 * conform/conformtest.pl: Handle braced types on "constant" lines
48480 instead of handling "typed-constant".
48481 * conform/data/signal.h-data: Use "constant" instead of
48484 * conform/conformtest.pl: Handle "optional-" at start of lines in
48485 one place rather than duplicating several cases. Handle each
48486 format of "macro" line with initial "optional-".
48488 * conform/conformtest.pl: Only accept expected constant or
48489 optional-constant values with "==". Parse all "constant" lines in
48490 one place. Parse all "optional-constant" lines in one place.
48491 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48492 * conform/data/fmtmsg.h-data: Likewise.
48493 * conform/data/netinet/in.h-data: Likewise.
48494 * conform/data/tar.h-data: Likewise.
48495 * conform/data/limits.h-data: Use "==" form on "constant" and
48496 "optional-constant" lines.
48498 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48499 Use -std=c99 for XOPEN2K.
48500 (@knownproblems): Remove.
48501 (newtoken): Don't check %isknown.
48503 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48504 Do not expect macro.
48505 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48506 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48507 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48508 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48509 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48510 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48511 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48512 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48513 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48514 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48515 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48516 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48517 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48518 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48519 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48520 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48521 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48522 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48523 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48524 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48525 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48526 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48528 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48529 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48530 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48531 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48532 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48533 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48534 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48535 [XPG3] (acosh): Likewise.
48536 [XPG3] (asinh): Likewise.
48537 [XPG3] (atanh): Likewise.
48538 [XPG3] (cbrt): Likewise.
48539 [XPG3] (expm1): Likewise.
48540 [XPG3] (ilogb): Likewise.
48541 [XPG3] (log1p): Likewise.
48542 [XPG3] (logb): Likewise.
48543 [XPG3] (nextafter): Likewise.
48544 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48545 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48546 [XPG3] (remainder): Likewise.
48547 [XPG3] (rint): Likewise.
48548 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48549 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48550 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48551 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48552 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48553 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48554 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48555 [UNIX98 || XOPEN2K] (scalb): Expect.
48556 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48557 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48558 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48559 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48560 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48561 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48562 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48563 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48564 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48565 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48566 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48567 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48568 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48569 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48570 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48571 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48572 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48573 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48574 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48575 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48576 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48577 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48578 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48579 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48580 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48581 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48582 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48583 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48584 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48585 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48586 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48587 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48588 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48589 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48590 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48591 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48592 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48593 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48594 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48595 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48596 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48597 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48598 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48599 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48600 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48601 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48602 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48603 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48604 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48605 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48606 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48607 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48608 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48609 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48610 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48611 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48612 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48613 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48614 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48615 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48616 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48617 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48618 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48619 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48620 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48621 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48622 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48623 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48624 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48625 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48626 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48627 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48628 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48629 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48630 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48631 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48632 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48633 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48634 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48635 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48636 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48637 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48638 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48639 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48640 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48641 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48642 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48643 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48644 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48645 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48646 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48647 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48648 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48649 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48650 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48651 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48652 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48653 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48654 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48655 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48656 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48657 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48658 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48659 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48660 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48661 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48662 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48663 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48664 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48665 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48666 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48667 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48668 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48669 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48670 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48671 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48672 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48673 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48674 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48675 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48676 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48677 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48678 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48679 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48680 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48681 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48682 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48683 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48684 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48685 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48686 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48687 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48688 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48689 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48690 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48691 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48692 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48694 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48695 _XOPEN_SOURCE_EXTENDED for XPG4.
48697 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48699 * Makeconfig (localtime): Remove variable.
48700 (inst_localtime-file): Likewise.
48702 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48723 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48727 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48728 comparisons to determine direction to adjust input.
48729 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48730 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48735 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48740 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48742 * math/libm-test.inc (nexttoward_test): Add more tests.
48744 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48748 in version GLIBC_2.1, not GLIBC_2.0.
48749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48752 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48755 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48757 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48758 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48759 * math/libm-test.inc (acos_test): Add more tests.
48760 (asin_test): Likewise.
48761 * sysdeps/i386/fpu/libm-test-ulps: Update.
48762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48765 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48767 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48768 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48769 * math/libm-test.inc (acos_test_tonearest): New function.
48770 (acos_test_towardzero): Likewise.
48771 (acos_test_downward): Likewise.
48772 (acos_test_upward): Likewise.
48773 (asin_test_tonearest): Likewise.
48774 (asin_test_towardzero): Likewise.
48775 (asin_test_downward): Likewise.
48776 (asin_test_upward): Likewise.
48777 (main): Call the new functions.
48778 * sysdeps/i386/fpu/libm-test-ulps: Update.
48779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48783 * math/e_exp10.c: Include <float.h>.
48784 (__ieee754_exp10): Handle underflow here rather than multiplying
48785 large negative argument by M_LN10.
48786 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48788 * math/e_exp10l.c: Include <float.h>.
48789 (__ieee754_exp10l): Handle underflow here rather than multiplying
48790 large negative argument by M_LN10l.
48791 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48792 spurious overflow exception on underflow.
48794 2012-04-29 Marek Polacek <polacek@redhat.com>
48796 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48797 (__fortify_function): New macro.
48798 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48799 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48800 __extern_always_inline.
48801 * libio/bits/stdio2.h: Likewise.
48802 * libio/bits/stdio.h: Likewise.
48803 * string/string.h: Likewise.
48804 * string/bits/string3.h: Likewise.
48805 * include/stdio.h: Likewise.
48806 * stdlib/bits/stdlib.h: Likewise.
48807 * stdlib/stdlib.h: Likewise.
48808 * rt/bits/mqueue2.h: Likewise.
48809 * rt/mqueue.h: Likewise.
48810 * posix/bits/unistd.h: Likewise.
48811 * posix/unistd.h: Likewise.
48812 * io/bits/poll2.h: Likewise.
48813 * io/bits/fcntl2.h: Likewise.
48814 * io/fcntl.h: Likewise.
48815 * io/sys/poll.h: Likewise.
48816 * misc/bits/syslog.h: Likewise.
48817 * misc/bits/syslog-ldbl.h: Likewise.
48818 * misc/sys/syslog.h: Likewise.
48819 * socket/bits/socket2.h: Likewise.
48820 * socket/sys/socket.h: Likewise.
48821 * debug/tst-chk1.c: Likewise.
48822 * wcsmbs/bits/wchar2.h: Likewise.
48823 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48824 * wcsmbs/wchar.h: Likewise.
48826 2012-04-29 Andreas Jaeger <aj@suse.de>
48828 * Makerules (tests): Remove enable-check-abi protection.
48829 (check-abi-warn): Remove.
48830 (check-abi-%): Remove check-abi-warn usage.
48832 * configure.in: Remove check-abi configure option.
48833 * configure: Regenerated.
48834 * config.make.in (enable-check-abi): Remove.
48836 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48839 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48840 double functions to double *_finite functions.
48843 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48844 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48846 * stdio-common/Makefile (tests): Add tst-sprintf3.
48847 * stdio-common/tst-sprintf3.c: New file.
48849 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48850 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48852 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48854 * conform/conformtest.pl: Remove duplicate typed-constant
48857 2012-04-28 David S. Miller <davem@davemloft.net>
48859 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48860 (check-abi-%): Remove AWK script prerequisite and explicit
48862 (check-abi): Rewrite to just diff the symlist with the abilist.
48863 (config-tls, config-abi-config): Delete, no longer used.
48864 (update-abi-%): Remove AWK script and explicit abilist directory.
48865 (update-abi): Rewrite to simply compare and conditionally copy the
48866 symlist and the sysdep abilist file. Remove update-abi-config
48868 * abilist/ld.abilist: Remove.
48869 * abilist/libBrokenLocale.abilist: Remove.
48870 * abilist/libanl.abilist: Remove.
48871 * abilist/libcrypt.abilist: Remove.
48872 * abilist/libdl.abilist: Remove.
48873 * abilist/librt.abilist: Remove.
48874 * abilist/libthread_db.abilist: Remove.
48875 * abilist/libutil.abilist: Remove.
48876 * scripts/extract-abilist.awk: Remove.
48877 * scripts/merge-abilist.awk: Remove.
48878 * sysdeps/generic/libcidn.abilist: New file.
48879 * sysdeps/generic/libnss_compat.abilist: New file.
48880 * sysdeps/generic/libnss_db.abilist: New file.
48881 * sysdeps/generic/libnss_dns.abilist: New file.
48882 * sysdeps/generic/libnss_files.abilist: New file.
48883 * sysdeps/generic/libnss_hesiod.abilist: New file.
48884 * sysdeps/generic/libnss_nis.abilist: New file.
48885 * sysdeps/generic/libnss_nisplus.abilist: New file.
48886 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48887 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48888 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48890 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48891 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48892 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48893 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48894 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48895 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48896 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48897 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48898 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48900 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48901 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48902 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48903 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48905 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48906 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48907 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48908 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48909 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48910 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48912 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48913 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48914 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48916 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49019 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49020 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49021 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49024 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49025 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49026 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49027 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49028 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49029 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49030 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49031 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49032 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49084 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49086 * conform/conformtest.pl: Fix typo in handling typed-constant from
49089 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49091 * README: Cut down references to pre-2.6 Linux kernels and
49092 Linuxthreads. Update lists of configurations in libc and ports
49093 and sort alphabetically. Say "or newer" with Linux kernel version
49096 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49098 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49101 * math/libm-test.inc (logb_test_downward): New test to expose
49102 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49105 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49108 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49110 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49111 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49113 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49115 * sysdeps/unix/i386/brk.S: Remove file.
49116 * sysdeps/unix/i386/dl-brk.S: Likewise.
49117 * sysdeps/unix/i386/pipe.S: Likewise.
49118 * sysdeps/unix/i386/sigreturn.S: Likewise.
49119 * sysdeps/unix/i386/syscall.S: Likewise.
49120 * sysdeps/unix/i386/vfork.S: Likewise.
49121 * sysdeps/unix/i386/wait.S: Likewise.
49123 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49124 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49126 * configure.in (arm*-none*): Do not allow without
49127 --enable-hacker-mode.
49128 (netbsd*): Remove case setting base_os.
49129 (386bsd*): Likewise.
49130 (freebsd*): Likewise.
49133 (sunos*): Likewise.
49134 (ultrix*): Likewise.
49135 (newsos*): Likewise.
49136 (dynix*): Likewise.
49142 (minix*): Likewise.
49143 (irix4*): Likewise.
49144 (irix6*): Likewise.
49145 (solaris[2-9]*): Likewise.
49147 * configure: Regenerated.
49149 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49152 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49153 overflow or cancellation in calculating denominator.
49154 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49156 down expression to avoid unexpected rounding in newer GCCs.
49157 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49159 2012-04-26 David S. Miller <davem@davemloft.net>
49161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49162 long-double compat symbols.
49163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49177 2012-04-25 David S. Miller <davem@davemloft.net>
49179 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49180 HWCAP_* values only after the memory barriers have been defined.
49181 (atomic_full_barrier): Define.
49182 (atomic_read_barrier): Define.
49183 (atomic_write_barrier): Define.
49185 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49187 * shlib-versions: Add libgcc_s version information.
49188 * sysdeps/generic/libgcc_s.h: Remove.
49189 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49191 * sysdeps/gnu/unwind-resume.c: Likewise.
49192 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49194 2012-04-25 David S. Miller <davem@davemloft.net>
49196 * sysdeps/unix/sparc/brk.S: Delete.
49197 * sysdeps/unix/sparc/dl-brk.S: Delete.
49198 * sysdeps/unix/sparc/pipe.S: Delete.
49199 * sysdeps/unix/sparc/sysdep.S: Delete.
49200 * sysdeps/unix/sparc/sysdep.h: Delete.
49201 * sysdeps/unix/sparc/vfork.S: Delete.
49202 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49203 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49205 (ret_ERRVAL, r0, r1, MOVE): Define.
49206 (JUMPTARGET): Remove.
49207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49208 sysdeps/unix/sparc/sysdep.h
49209 (ENTRY, END): Remove.
49210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49212 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49214 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49215 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49218 * timezone/README: Update upstream location and email address for
49220 * timezone/zdump.c: Update from tzcode 2012b.
49221 * timezone/zic.c: Likewise.
49223 * configure.in (libc_cv_as_needed): Remove test.
49224 * configure: Regenerated.
49225 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49226 conditional definition.
49227 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49228 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49229 * config.make.in (have-as-needed): Remove variable.
49231 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49232 Paul Pluzhnikov <ppluzhnikov@google.com>
49234 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49237 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49239 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49240 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49241 * sysdeps/sh/strlen.S: Likewise.
49243 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49245 * sysdeps/unix/fork.S: Remove file.
49246 * sysdeps/unix/i386/fork.S: Likewise.
49247 * sysdeps/unix/sparc/fork.S: Likewise.
49249 * sysdeps/unix/system.c: Remove file.
49250 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49252 * sysdeps/unix/getegid.S: Remove file.
49253 * sysdeps/unix/geteuid.S: Likewise.
49255 2012-04-24 Roland McGrath <roland@hack.frob.com>
49257 * scripts/check-localplt.awk: New file.
49258 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49260 * scripts/data/localplt-generic.data: Add a comment.
49262 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49263 NODE when __dir_mkfile failed.
49264 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49265 Reported by Ludovic Courtès <ludo@gnu.org>.
49267 2012-04-24 Andreas Jaeger <aj@suse.de>
49269 * Makerules (common-clean): Also remove gen-as-const-headers
49272 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49274 * Makerules (native-compile): Do not change working directory for
49275 build. Use $(OUTPUT_OPTION) in command.
49276 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49278 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49281 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49282 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49283 * math/libm-test.inc (floor_test): Add more tests.
49284 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49286 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49288 * sysdeps/unix/getdents.c: Remove file.
49289 * sysdeps/unix/sysv/getdents.c: Likewise.
49290 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49292 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49293 sysdeps/unix/mman/syscalls.list.
49295 (mprotect): Likewise.
49297 (munmap): Likewise.
49298 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49299 * sysdeps/unix/mman/syscalls.list: Remove.
49300 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49302 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49303 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49304 * configure: Regenerated.
49305 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49306 $(libgcc_s_suffix).
49307 * config.make.in (libgcc_s_suffix): Remove variable.
49309 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49311 * sysdeps/unix/sysv/gethostname.c: Move to ...
49312 * sysdeps/posix/gethostname.c: ... here.
49314 * sysdeps/unix/execve.S: Remove file.
49316 * sysdeps/unix/_exit.S: Remove file.
49318 2012-04-23 Andreas Jaeger <aj@suse.de>
49321 * manual/Makefile: Remove make dist support, there's no
49322 need for a stand-alone documentation tar ball.
49323 (TEXI2DVI): Define always, it's not in Makeconfig.
49326 (edition): Removed.
49327 (glibc-doc-$(edition).tar): Removed
49331 (ETAGS): Remove, it's in Makeconfig.
49332 (move-if-change): Remove, it's in Makeconfig.
49334 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49337 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49338 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49339 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49340 (strtod_l, strtof_l, strtold_l): Remove __wur.
49341 It is not necessarily an error to ignore strtol's return value.
49342 One can reliably look at the stored endptr to decide whether
49343 the number had valid syntax.
49345 2012-04-21 Andreas Jaeger <aj@suse.de>
49348 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49350 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49352 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49353 * sysdeps/unix/sysv/Versions: Remove file.
49355 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49360 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49364 version from __vm86.
49366 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49368 * sysdeps/unix/common/lxstat.c: Remove file.
49369 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49371 * sysdeps/unix/sysv/Makefile: Remove file.
49373 * sysdeps/unix/sysv/direct.h: Remove file.
49375 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49376 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49377 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49378 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49379 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49380 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49381 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49383 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49385 * sysdeps/unix/xmknod.c: Remove file.
49386 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49388 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49390 * sysdeps/unix/sysv/i386/time.S: Remove file.
49392 * sysdeps/unix/fxstat.c: Remove file.
49393 * sysdeps/unix/xstat.c: Likewise.
49394 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49396 * sysdeps/unix/sysv/sigaction.c: Remove file.
49398 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49399 (sysdep_headers): Remove variable.
49400 [termio.h not in sysdep_headers] (generated): Likewise.
49401 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49402 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49403 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49404 * sysdeps/unix/sysv/tcflow.c: Likewise.
49405 * sysdeps/unix/sysv/tcflush.c: Likewise.
49406 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49407 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49408 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49409 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49410 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49412 * sysdeps/unix/siglist.c: Remove file.
49414 * sysdeps/unix/getppid.S: Remove file.
49416 * sysdeps/unix/mkdir.c: Remove file.
49417 * sysdeps/unix/rmdir.c: Likewise.
49419 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49421 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49423 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49424 errlist-compat value.
49426 2012-04-18 David S. Miller <davem@davemloft.net>
49428 * sysdeps/generic/memcopy.h (reg_char): Delete.
49429 * debug/strcat_chk.c: Use char, not reg_char.
49430 * debug/strcpy_chk.c: Likewise.
49431 * debug/strncat_chk.c: Likewise.
49432 * debug/strncpy_chk.c: Likewise.
49433 * string/memchr.c: Likewise.
49434 * string/memrchr.c: Likewise.
49435 * string/rawmemchr.c: Likewise.
49436 * string/strcat.c: Likewise.
49437 * string/strchr.c: Likewise.
49438 * string/strchrnul.c: Likewise.
49439 * string/strcmp.c: Likewise.
49440 * string/strcpy.c: Likewise.
49441 * string/strncat.c: Likewise.
49442 * string/strncmp.c: Likewise.
49443 * string/strncpy.c: Likewise.
49445 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49447 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49448 __builtin_memcopy is called when src and dest ranges are known to not
49451 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49453 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49454 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49455 fwd_align_merge macro call.
49456 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49457 bwd_align_merge macro call.
49458 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49460 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49463 bwd_align_merge macros.
49464 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49465 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49466 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49468 2012-04-18 David S. Miller <davem@davemloft.net>
49470 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49472 2012-04-18 Andreas Jaeger <aj@suse.de>
49475 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49476 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49477 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49479 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49480 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49481 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49483 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49484 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49485 Adjust for changed ldbl-128 files.
49487 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49488 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49489 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49491 2012-04-17 David S. Miller <davem@davemloft.net>
49493 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49495 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49497 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49498 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49499 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49500 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49501 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49502 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49504 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49507 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49508 * math/libm-test.inc: Add ilogb errno and exception tests.
49509 * math/w_ilogb.c: New file: ilogb wrapper.
49510 * math/w_ilogbf.c: New file: ilogbf wrapper.
49511 * math/w_ilogbl.c: New file: ilogbl wrapper.
49512 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49513 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49514 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49515 exception being thrown with 0.0 as argument.
49516 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49517 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49518 exception being thrown with 0.0 as argument.
49519 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49520 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49521 exception being thrown with 0.0 as argument.
49522 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49523 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49524 exception being thrown with 0.0 as argument.
49525 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49526 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49527 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49528 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49529 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49530 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49531 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49532 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49533 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49535 2012-04-17 Petr Baudis <pasky@ucw.cz>
49537 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49540 2012-04-16 Marek Polacek <polacek@redhat.com>
49542 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49544 2012-04-16 Marek Polacek <polacek@redhat.com>
49546 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49547 operands of fdivp instruction.
49549 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49551 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49552 * elf/tst-auditmod3b.c: Likewise.
49553 * elf/tst-auditmod4b.c: Likewise.
49554 * elf/tst-auditmod5b.c: Likewise.
49555 * elf/tst-auditmod6b.c: Likewise.
49556 * elf/tst-auditmod6c.c: Likewise.
49557 * elf/tst-auditmod7b.c: Likewise.
49558 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49559 * sysdeps/x86_64/preconfigure.in: Likewise.
49560 * sysdeps/x86_64/preconfigure: Regenerated.
49562 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49564 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49567 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49569 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49570 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49572 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49575 * locale/iso-639.def: Fix gl language name. Spotted by
49578 2012-04-12 Roland McGrath <roland@hack.frob.com>
49581 * libio/libio.h (__io_write_fn): Update comment.
49583 2012-04-12 Petr Baudis <pasky@ucw.cz>
49586 * stdio.texi (Hook Functions): The user provided writer function
49587 is not allowed to return -1.
49589 2012-04-11 David S. Miller <davem@davemloft.net>
49591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49593 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49595 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49596 Add a leading slash to rtkaio.
49598 2012-04-11 Jim Meyering <meyering@redhat.com>
49601 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49602 It is not necessarily an error to ignore fwrite's return
49603 value. One can reliably use ferror to test for errors after
49606 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49608 * bits/types.h (__snseconds_t): New type.
49609 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49611 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49613 (__SNSECONDS_T_TYPE): Likewise.
49614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49615 (__SNSECONDS_T_TYPE): Likewise.
49616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49617 (__SNSECONDS_T_TYPE): Likewise.
49619 2012-04-10 Andreas Jaeger <aj@suse.de>
49622 * manual/time.texi (Processor Time): Return type of times is
49623 elapsed real time since an arbitrary point in the past.
49624 (CPU Time): Move CLK_TCK from here...
49625 (Processor Time): ...to here. Correct description.
49626 * manual/conf.texi (Constants for Sysconf): Correct description of
49629 2012-04-10 David S. Miller <davem@davemloft.net>
49632 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49633 where the is a gap between DT_REL(A) and DT_JMPREL.
49635 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49637 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49638 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49639 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49641 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49643 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49644 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49645 (dl_main): Handle --inhibit-cache.
49646 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49648 * elf/dl-load.c (_dl_map_object): Use it.
49649 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49651 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49654 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49655 (__ieee754_powl): Saturate large exponents rather than testing for
49656 overflow of y*log2(x).
49657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49658 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49662 * math/s_ctan.c: Include <float.h>.
49663 (__ctan): Avoid internal overflow or cancellation in calculating
49665 * math/s_ctanf.c: Likewise.
49666 * math/s_ctanl.c: Likewise.
49667 * math/s_ctanh.c: Likewise.
49668 * math/s_ctanhf.c: Likewise.
49669 * math/s_ctanhl.c: Likewise.
49670 * math/libm-test.inc (ctan_test): Add more tests.
49671 (ctanh_test): Likewise.
49672 * sysdeps/i386/fpu/libm-test-ulps: Update.
49673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49675 2012-04-09 Andreas Jaeger <aj@suse.de>
49678 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49679 is an optional BSD extension.
49682 * manual/stdio.texi (Opening Streams): Document additional fopen
49685 2012-04-09 Roland McGrath <roland@hack.frob.com>
49687 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49688 %eax without telling the compiler.
49690 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49693 * manual/install.texi: Use sourceware.org.
49695 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49698 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49699 (__ieee754_pow): Generate overflow and underflow using huge*huge
49700 and tiny*tiny rather than just returning constant infinity or zero
49701 for large exponents.
49702 * math/libm-test.inc (pow_test): Require overflow exceptions for
49703 applicable cases of large exponents.
49706 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49707 (__ieee754_pow): Use iterative multiplication algorithm only for
49708 integer exponents with absolute value below 1024. Check for odd
49709 integer exponents when using algorithm for real exponents.
49710 * math/libm-test.inc (pow_test): Add more tests.
49711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49713 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49716 * math/libm-test.inc (exp_test): Do not allow overflow exception
49719 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49722 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49723 instead of __kernel_standard_f.
49725 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49727 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49728 * sysdeps/x86_64/memset_chk.S: Likewise.
49730 2012-04-08 Andreas Jaeger <aj@suse.de>
49733 * manual/startup.texi (Environment Access): Describe return value
49734 for putenv and setenv.
49737 * manual/filesys.texi (Directory Entries): Add description for
49741 * manual/filesys.texi (Directory Entries): Clarify that it's file
49742 system not operating system in the description of DT_UNKNOWN.
49745 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49747 2012-04-08 Stephen Compall <s11@member.fsf.org>
49750 * manual/llio.texi (Opening and Closing Files): Add cross
49751 reference to explain mode argument.
49753 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49755 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49756 * sysdeps/x86_64/memset_chk.S: Likewise.
49758 2012-04-07 David S. Miller <davem@davemloft.net>
49760 * elf/elf.h (R_SPARC_WDISP10): Define.
49761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49764 R_SPARC_SIZE64 and R_SPARC_H34.
49766 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
49768 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49769 conditions and remove no longer applicable assertion.
49771 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49773 * bits/byteswap.h: Include <features.h>.
49774 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49775 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49777 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49779 * bits/byteswap.h (__bswap_16): Removed.
49780 Include <bits/byteswap-16.h> to get __bswap_16.
49781 * sysdeps/i386/bits/byteswap.h: Likewise.
49782 * sysdeps/s390/bits/byteswap.h: Likewise.
49783 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49784 * bits/byteswap-16.h: New file.
49785 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49786 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49787 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49788 * string/Makefile (headers): Add bits/byteswap-16.h.
49790 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49793 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49795 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49796 * nss/tst-nss-static.c: New.
49798 2012-04-06 Robert Millan <rmh@gnu.org>
49801 * manual/llio.texi (File Position Primitive): lseek
49802 refers to WHENCE when it really means OFFSET.
49804 2012-04-06 Andreas Jaeger <aj@suse.de>
49806 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49807 strncmp declarations.
49809 * abilist/libc.abilist: Add __poll and __ppoll.
49811 2012-04-05 David S. Miller <davem@davemloft.net>
49813 * scripts/check-local-headers.sh: Accept a host triplet in the
49814 path matched by the exclude regexp.
49816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49818 * sysdeps/powerpc/powerpc32/dl-machine.h
49819 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49820 * sysdeps/s390/s390-32/dl-machine.h
49821 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49822 * sysdeps/sparc/sparc32/dl-machine.h
49823 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49824 * sysdeps/sparc/sparc64/dl-machine.h
49825 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49827 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49829 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49830 undefined symbol errors.
49832 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49835 2012-04-05 Michael Matz <matz@suse.de>
49838 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49840 2012-04-05 Andreas Jaeger <aj@suse.de>
49843 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49846 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49848 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49849 which ROUND is no valid rounding mode.
49851 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49855 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49857 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49859 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49860 an exception using FPU order intentionally.
49862 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49864 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49865 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49866 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49867 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49869 2012-04-05 Simon Josefsson <simon@josefsson.org>
49872 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49873 EINVAL when BUFLEN is too smal.
49875 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49878 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49879 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49881 2012-04-03 Andreas Jaeger <aj@suse.de>
49884 * manual/setjmp.texi (System V contexts): Fix sentence.
49887 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49888 New macro for this case.
49889 [!__GNUC__] (__bswap_64): New inline function for this case.
49890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49891 * bits/byteswap.h: Likewise.
49892 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49893 ull, guard with __GLIBC_HAVE_LONG_LONG.
49895 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49896 __GLIBC_HAVE_LONG_LONG.
49898 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49899 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49901 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49904 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49905 inptr and inend, rather than using last_ch.
49907 2012-04-02 David S. Miller <davem@davemloft.net>
49909 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49910 * stdio-common/printf-parse.h (read_int): Change return type to
49911 'int', return -1 on INT_MAX overflow.
49912 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49913 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49914 overflows INT_MAX. Check for overflow of in-format-string precision
49915 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49916 SIZE_MAX not INT_MAX for integer overflow test.
49917 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49918 skip the construct in the format string but do not record anything.
49919 * stdio-common/bug22.c: Adjust to test both width/prevision
49920 INT_MAX overflow as well as total length INT_MAX overflow. Check
49921 explicitly for proper errno values.
49923 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49925 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49927 * string/test-strcmp.c [! WIDE]: Likewise.
49928 * time/tst-mktime2.c: Likewise for INT_MAX.
49929 * string/test-string.h: #include <sys/param.h> for MIN.
49931 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49932 * sysdeps/i386/init-first.c (init): Likewise.
49933 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49934 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49935 * sysdeps/sh/init-first.c (init): Likewise.
49937 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49939 * po/ru.po: Update from translation team.
49940 * po/vi.po: Likewise.
49942 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49944 * resolv/nss_dns/dns-host.c: Merge copyright years.
49946 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49948 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49949 Optimize memcpy with prefetch if
49950 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49951 src, dst pointers have unequal 16 byte alignments.
49953 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49956 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49957 from a CNAME entry and return the minimum ttl for the query.
49958 (gaih_getanswer_slice): Likewise.
49960 2012-03-30 Jeff Law <law@redhat.com>
49962 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49964 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49965 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49967 * resolv/nss_dns/dns-host.c: Update copyright year.
49969 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49971 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49972 requests to save a system call. Fix check that all bytes are sent.
49974 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49975 comments for sendmmsg.
49977 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49980 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49981 with only 1 character between 0x0041 and 0x01b0.
49982 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49983 * wcsmbs/tst-mbsnrtowcs.c: New file.
49985 2012-03-29 David S. Miller <davem@davemloft.net>
49987 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49988 small copies by hand.
49990 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49993 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49994 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49997 2012-03-28 David S. Miller <davem@davemloft.net>
49999 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50000 that branches into memcpy.
50001 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50004 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50007 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50008 implementation too.
50009 * sysdeps/sparc/mempcpy.S: New file.
50011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50012 the IFUNC routine in the libc case.
50013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50015 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50016 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50017 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50018 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50019 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50020 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50021 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50022 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50024 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50025 loop to 256 bytes instead of 64 bytes and fix test signedness.
50027 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50028 * sysdeps/sparc/sparc32/Makefile: rather than here...
50029 * sysdeps/sparc/sparc64/Makefile: and here.
50031 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50033 * malloc/mallocbug.c: Avoid warnings about unused variables.
50035 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50038 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50039 in the right place. Discard and retry query if response is
50040 larger than input buffer size.
50042 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50047 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50048 x for large integer exponent.
50049 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50050 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50051 sign of result as needed afterwards.
50052 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50053 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50054 result for underflowing pow the same as for overflow.
50055 (__kernel_standard_l): Handle powl overflow and underflow here
50056 rather than calling __kernel_standard.
50057 * math/libm-test.inc (pow_test): Add more tests.
50072 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50073 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50074 (__kernel_standard_l): New function.
50075 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50077 * math/w_acosl.c (__acosl): Likewise.
50078 * math/w_asinl.c (__asinl): Likewise.
50079 * math/w_atan2l.c (__atan2l): Likewise.
50080 * math/w_atanhl.c (__atanhl): Likewise.
50081 * math/w_coshl.c (__coshl): Likewise.
50082 * math/w_exp10l.c (__exp10l): Likewise.
50083 * math/w_exp2l.c (__exp2l): Likewise.
50084 * math/w_fmodl.c (__fmodl): Likewise.
50085 * math/w_hypotl.c (__hypotl): Likewise.
50086 * math/w_j0l.c (__j0l, __y0l): Likewise.
50087 * math/w_j1l.c (__j1l, __y1l): Likewise.
50088 * math/w_jnl.c (__jnl, __ynl): Likewise.
50089 * math/w_lgammal.c (__lgammal): Likewise.
50090 * math/w_log10l.c (__log10l): Likewise.
50091 * math/w_log2l.c (__log2l): Likewise.
50092 * math/w_logl.c (__logl): Likewise.
50093 * math/w_powl.c (__powl): Likewise.
50094 * math/w_remainderl.c (__remainderl): Likewise.
50095 * math/w_scalbl.c (sysv_scalbl): Likewise.
50096 * math/w_sinhl.c (__sinhl): Likewise.
50097 * math/w_sqrtl.c (__sqrtl): Likewise.
50098 * math/w_tgammal.c (__tgammal): Likewise.
50099 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50100 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50101 * math/libm-test.inc (acos_test): Add more tests.
50102 (acosh_test): Likewise.
50103 (asin_test): Likewise.
50104 (atanh_test): Likewise.
50105 (exp_test): Likewise.
50106 (exp10_test): Likewise.
50107 (exp2_test): Likewise.
50108 (expm1_test): Likewise.
50109 (lgamma_test): Likewise.
50110 (log_test): Likewise.
50111 (log10_test): Likewise.
50112 (log1p_test): Likewise.
50113 (log2_test): Likewise.
50114 (pow_test): Do not allow some spurious overflow exceptions.
50115 (sqrt_test): Add more tests.
50116 (tgamma_test): Likewise.
50117 (y0_test): Likewise.
50118 (y1_test): Likewise.
50119 (yn_test): Likewise.
50121 2012-03-27 Anton Blanchard <anton@samba.org>
50123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50129 2012-03-27 David S. Miller <davem@davemloft.net>
50131 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50133 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50134 have-as-vis3 check.
50136 2012-03-27 Andreas Jaeger <aj@suse.de>
50138 * sysdeps/x86_64/elf/configure.in: Moved to ...
50139 * sysdeps/x86_64/configure.in: ... here.
50140 * sysdeps/x86_64/elf/start.S: Moved to ...
50141 * sysdeps/x86_64/start.S: ... here.
50142 * sysdeps/x86_64/elf/configure: Delete.
50144 * sysdeps/x86_64/configure.in: Merge contents from
50145 sysdeps/i386/configure.in (without i686 check).
50147 * sysdeps/i386/elf/Versions: Merge into ...
50148 * sysdeps/i386/Versions: ... this.
50149 * sysdeps/i386/elf/Versions: Delete file.
50150 * sysdeps/i386/elf/start.S: Moved to ...
50151 * sysdeps/i386/start.S: ...here.
50152 * sysdeps/i386/elf/configure.in: Merge into...
50153 * sysdeps/i386/configure.in: ...here.
50154 * sysdeps/i386/elf/configure.in: Delete file.
50155 * sysdeps/i386/elf/configure: Delete file.
50157 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50158 * debug/backtracesyms.c: ... here.
50159 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50160 * debug/backtracesymsfd.c: ... here.
50161 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50162 * sysdeps/generic/ifunc-sel.h: ... here.
50164 * sysdeps/unix/i386/start.c: Delete file.
50165 * sysdeps/unix/sparc/start.c: Delete file.
50166 * sysdeps/unix/start.c: Delete file.
50168 * sysdeps/sh/elf/configure.in: Moved to ...
50169 * sysdeps/sh/configure.in: ... here.
50170 * sysdeps/sh/elf/start.S: Moved to ...
50171 * sysdeps/sh/start.S: ... here.
50172 * sysdeps/sh/elf/configure: Delete file.
50174 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50175 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50176 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50177 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50178 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50179 * sysdeps/powerpc/powerpc64/start.S: here.
50180 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50181 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50182 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50183 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50184 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50186 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50187 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50188 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50189 * sysdeps/powerpc/powerpc32/start.S: ... here.
50190 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50191 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50192 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50194 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50195 * sysdeps/powerpc/ifunc-sel.h: ... here.
50196 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50197 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50199 * sysdeps/sparc/elf/configure.in: Moved to ...
50200 * sysdeps/sparc/configure.in: ... here.
50201 * sysdeps/sparc/elf/configure: Delete file.
50202 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50203 * sysdeps/sparc/sparc32/start.S: ... here.
50204 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50205 * sysdeps/sparc/sparc64/start.S: ... here.
50206 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50207 * sysdeps/sparc/sparc32/Makefile: ... this.
50208 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50209 * sysdeps/sparc/sparc64/Makefile: ... this.
50211 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50212 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50213 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50214 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50215 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50216 * sysdeps/s390/s390-32/setjmp.S: ... here.
50217 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50218 * sysdeps/s390/s390-32/configure.in: ... here.
50219 * sysdeps/s390/s390-32/elf/configure: Delete file.
50220 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50221 * sysdeps/s390/s390-32/start.S: ... here.
50223 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50224 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50225 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50226 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50227 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50228 * sysdeps/s390/s390-64/setjmp.S: ... here.
50229 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50230 * sysdeps/s390/s390-64/configure.in: ... here
50231 * sysdeps/s390/s390-64/elf/configure: Delete file.
50232 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50233 * sysdeps/s390/s390-64/start.S: ... here.
50234 * sysdeps/s390/s390-64/elf/configure: Delete.
50236 * configure.in: Remove support for elf directories in sysdeps.
50238 * configure: Regenerated.
50239 * sysdeps/i386/configure: Regenerated.
50240 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50241 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50242 * sysdeps/s390/s390-32/configure: Regenerated.
50243 * sysdeps/s390/s390-64/configure: Regenerated.
50244 * sysdeps/sh/configure: Regenerated.
50245 * sysdeps/sparc/configure: Regenerated.
50246 * sysdeps/x86_64/configure: Regenerated.
50248 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50253 denormal result into account.
50255 2012-03-25 Roland McGrath <roland@hack.frob.com>
50257 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50258 Reported by Allan McRae <allan@archlinux.org>.
50260 2012-03-23 Jeff Law <law@redhat.com>
50262 * nss/getnssent.c (__nss_getent): Fix typo.
50264 2012-03-23 David S. Miller <davem@davemloft.net>
50266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50268 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50270 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50271 to pad to uint64_t for each field.
50272 (dl_tls_index): Replace unsigned long with uint64_t.
50274 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50275 Paul Pluzhnikov <ppluzhnikov@google.com>
50278 * grp/Makefile (otherlibs): Don't set it.
50279 * inet/Makefile (otherlibs): Likewise.
50280 * login/Makefile (otherlibs): Likewise.
50281 * nscd/Makefile (otherlibs): Likewise.
50282 * posix/Makefile (otherlibs): Likewise.
50283 * pwd/Makefile (otherlibs): Likewise.
50284 * rt/Makefile (otherlibs): Likewise.
50285 * sunrpc/Makefile (otherlibs): Likewise.
50286 * nss/Makefile (otherlibs): Likewise.
50287 Add libnss_files to routines and static-only-routines.
50288 ($(objpfx)getent): Remove rule.
50289 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50290 static-only-routines.
50292 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50295 * math/s_cexp.c: Include <float.h>.
50296 (__cexp): Handle exp result overflowing not necessarily
50297 overflowing both real and imaginary parts of result.
50298 * math/s_cexpf.c: Likewise.
50299 * math/s_cexpl.c: Likewise.
50300 * math/libm-test.inc (cexp_test): Add more tests.
50301 * sysdeps/i386/fpu/libm-test-ulps: Update.
50302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50304 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50306 * include/link.h (ELFW): New macro.
50307 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50308 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50310 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50312 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50315 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50317 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50319 (struct La_x32_retval): Likewise.
50321 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50323 * sysdeps/x86_64/preconfigure.in: New file.
50324 * sysdeps/x86_64/preconfigure: New generated file.
50326 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50329 * math/e_exp2l.c: Include <float.h>.
50330 (__ieee754_exp2l): Handle overflow and underflow cases
50331 separately. Only pass fractional part of argument to
50333 * math/libm-test.inc (exp2_test): Add more tests.
50335 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50336 negating x to take absolute value.
50337 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50342 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50343 computing low part if x was negated.
50344 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50346 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50348 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50349 la_x32_gnu_pltexit.
50350 (pltexit): Cast int_retval to ptrdiff_t.
50351 * elf/tst-auditmod3b.c: Likewise.
50352 * elf/tst-auditmod4b.c: Likewise.
50353 * elf/tst-auditmod5b.c: Likewise.
50354 * elf/tst-auditmod6b.c: Likewise.
50355 * elf/tst-auditmod6c.c: Likewise.
50356 * elf/tst-auditmod7b.c: Likewise.
50358 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50359 and x32_gnu_pltexit.
50361 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50362 __ELF_NATIVE_CLASS.
50363 (La_x32_regs): New macro.
50364 (La_x32_retval): Likewise.
50365 (la_x32_gnu_pltenter): New function prototype.
50366 (la_x32_gnu_pltexit): Likewise.
50368 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50375 * configure.in (libc_cv_cc_nofma): Check for option to disable
50376 generation of FMA instructions.
50377 * configure: Regenerate.
50378 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50379 * sysdeps/ieee754/dbl-64/Makefile: New file.
50380 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50381 Remove brandred-fma4.
50382 (CFLAGS-brandred-fma4.c): Remove.
50383 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50384 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50389 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50391 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50392 LLONG_MAX != LONG_MAX.
50393 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50394 (_fitoa_word): Likewise.
50395 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50396 LLONG_MAX != LONG_MAX.
50397 * stdio-common/_itowa.h: Include <_itoa.h>.
50398 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50399 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50400 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50401 only if not defined.
50402 (_ITOA_WORD_TYPE): Likewise.
50403 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50404 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50406 2012-03-21 David S. Miller <davem@davemloft.net>
50408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50410 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50412 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50413 of x86_64 when setting libc_cv_slibdir, libdir and
50415 * sysdeps/unix/sysv/linux/configure: Regenerated.
50417 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50419 * manual/lang.texi (Old Varargs): Remove section.
50420 (How Variadic): Update menu.
50421 (va_start): Do not mention varargs.h.
50423 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50424 Joseph Myers <joseph@codesourcery.com>
50426 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50428 * configure: Regenerated.
50430 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50432 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50433 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50436 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50439 * Makefile (files-for-dist): Remove NOTES.
50440 (NOTES): Remove rule.
50441 * README: Don't refer to NOTES.
50442 * manual/creature.texi: Don't include macros.texi.
50443 * manual/intro.texi (creature.texi): Remove comment referring to
50446 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50447 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50448 * configure: Regenerated.
50449 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50450 LIBC_TRY_CC_OPTION.
50451 (libc_cv_as_i686): Likewise.
50452 (libc_cv_cc_avx): Likewise.
50453 (libc_cv_cc_sse2avx): Likewise.
50454 (libc_cv_cc_fma4): Likewise.
50455 (libc_cv_cc_novzeroupper): Likewise.
50456 * sysdeps/i386/configure: Regenerated.
50459 * sysdeps/i386/fpu/s_cexp.S: Remove.
50460 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50461 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50462 * math/libm-test.inc (cexp_test): Add more tests.
50463 * sysdeps/i386/fpu/libm-test-ulps: Update.
50464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50466 2012-03-21 Allan McRae <allan@archlinux.org>
50468 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50470 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50473 * math/w_exp2.c: Do not include <float.h>.
50474 (o_threshold, u_threshold): Remove.
50475 (__exp2): Calculate result before checking finiteness and calling
50477 * math/w_exp2f.c: Likewise.
50478 * math/w_exp2l.c: Likewise.
50479 * math/libm-test.inc (exp2_test): Require overflow exception for
50483 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50484 range of signed 64-bit integers before using fistpll. Remove
50485 checks for whether integers fit in mantissa bits.
50486 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50487 the range of signed 32-bit integers before using fistpl. Remove
50488 checks for whether integers fit in mantissa bits.
50489 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50490 (__ieee754_powl): Test for y outside the range of signed 64-bit
50491 integers before using fistpll. Reduce 64-bit values to 63-bit
50493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50494 divide-by-zero is raised for zero to large negative powers.
50495 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50496 (__ieee754_powl): Test for y outside the range of signed 64-bit
50497 integers before using fistpll. Reduce 64-bit values to 63-bit
50499 * math/libm-test.inc (pow_test): Add more tests.
50501 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50503 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50504 <stdio-common/_itoa.h>.
50505 * debug/segfault.c: Likewise.
50506 * elf/dl-cache.c: Likewise.
50507 * elf/dl-minimal.c: Likewise.
50508 * elf/dl-misc.c: Likewise.
50509 * elf/dl-sysdep.c: Likewise.
50510 * elf/dl-version.c: Likewise.
50511 * elf/rtld.c: Likewise.
50512 * hurd/hurdsock.c: Likewise.
50513 * hurd/lookup-retry.c: Likewise.
50514 * malloc/malloc.c: Likewise.
50515 * malloc/mtrace.c: Likewise.
50516 * nscd/nscd_getgr_r.c: Likewise.
50517 * nscd/nscd_getpw_r.c: Likewise.
50518 * nscd/nscd_getserv_r.c: Likewise.
50519 * posix/getopt_init.c: Likewise.
50520 * posix/wordexp.c: Likewise.
50521 * stdio-common/_itoa.c: Likewise.
50522 * stdio-common/printf_fphex.c: Likewise.
50523 * stdio-common/vfprintf.c: Likewise.
50524 * string/_strerror.c: Likewise.
50525 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50526 * sysdeps/i386/i686/hp-timing.h: Likewise.
50527 * sysdeps/mach/_strerror.c: Likewise.
50528 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50529 * sysdeps/mach/hurd/sethostid.c: Likewise.
50530 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50531 * sysdeps/mach/xpg-strerror.c: Likewise.
50532 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50533 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50534 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50535 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50536 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50537 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50538 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50539 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50540 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50541 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50542 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50543 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50544 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50545 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50546 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50547 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50548 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50549 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50550 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50551 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50552 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50554 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50556 * stdio-common/_itoa.h: Moved to ...
50557 * sysdeps/generic/_itoa.h: Here.
50559 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50561 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50562 instead of "_itoa.h" and "_itowa.h".
50563 * stdio-common/vfprintf.: Likewise.
50565 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50567 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50569 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50570 (__signbit): Likwise.
50571 (llrintf): Likwise.
50574 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50576 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50579 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50581 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50582 OVERFLOW_EXCEPTION_OK.
50583 * math/libm-test.inc ("Philosophy"): Update comment about
50585 (OVERFLOW_EXCEPTION): Define.
50586 (OVERFLOW_EXCEPTION_OK): Likewise.
50587 (INVALID_EXCEPTION_OK): Renumber.
50588 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50589 (IGNORE_ZERO_INF_SIGN): Likewise.
50590 (test_exceptions): Handle FE_OVERFLOW.
50591 (exp10_test): Expect overflow exceptions.
50592 (exp2_test): Likewise.
50593 (expm1_test): Likewise.
50594 (nextafter_test): Likewise.
50595 (pow_test): Likewise.
50596 (scalbn_test): Likewise.
50597 (scalbln_test): Likewise.
50599 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50601 * sysdeps/x86_64/bits/atomic.h
50602 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50604 (atomic_exchange_acq): Likewise.
50605 (__arch_exchange_and_add_body): Likewise.
50606 (__arch_add_body): Likewise.
50607 (atomic_add_negative): Likewise.
50608 (atomic_add_zero): Likewise.
50610 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50612 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50613 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50615 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50617 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50618 Check __x86_64__ instead of __WORDSIZE.
50620 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50622 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50624 2012-03-19 David S. Miller <davem@davemloft.net>
50626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50628 * sysdeps/sparc/fpu/fenv_private.h: New file.
50629 * sysdeps/sparc/fpu/math_private.h: Use it.
50630 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50632 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50633 (libc_feholdexcept_setroundl): Remove.
50634 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50636 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50637 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50639 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50641 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50642 int64_t instead of long int.
50643 (INSERT_WORDS64): Likwise.
50645 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50647 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50648 _Unwind_GetCFA return to _Unwind_Ptr first.
50650 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50653 * math/s_clog.c: Include <float.h>.
50654 (__clog): Scale large or subnormal inputs.
50655 * math/s_clogf.c: Likewise.
50656 * math/s_clogl.c: Likewise.
50657 * math/s_clog10.c: Include <float.h>.
50658 (M_LOG10_2): Define.
50659 (__clog10): Scale large or subnormal inputs.
50660 * math/s_clog10f.c: Likewise.
50661 * math/s_clog10l.c: Likewise.
50662 * math/libm-test.inc (clog_test): Add more tests.
50663 (clog10_test): Likewise.
50664 * sysdeps/i386/fpu/libm-test-ulps: Update.
50665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50668 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50670 * math/libm-test.inc (atan2_test): Add another test.
50672 * Makerules (common-objdir-compile): Remove.
50673 * sysdeps/unix/Makefile (config-generated): Do not add
50674 $(unix-generated) to variable.
50675 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50676 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50678 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50680 [generic bits/local_lim.h] (before-compile): Do not append to
50682 [generic bits/local_lim.h] (common-generated): Likewise.
50683 [generic sys/param.h] (before-compile): Do not append to variable.
50684 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50685 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50686 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50687 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50689 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50690 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50691 [generic sys/param.h] ($(addprefix
50692 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50693 [generic sys/param.h] (common-generated): Do not append to
50695 [generic sys/param.h] (sysdep_headers): Likewise.
50696 [generic bits/errno.h] (before-compile): Do not append to
50698 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50700 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50701 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50702 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50703 [generic bits/errno.h] (common-generated): Do not append to
50705 [generic bits/ioctls.h] (before-compile): Do not append to
50707 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50709 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50710 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50711 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50713 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50714 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50715 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50716 [generic bits/ioctls.h] (common-generated): Do not append to
50718 [generic sys/syscall.h] (syscall.h): Remove variable.
50719 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50721 [generic sys/syscall.h] (before-compile): Do not append to
50723 [generic sys/syscall.h] (common-generated): Likewise.
50724 * sysdeps/unix/errnos-tmpl.c: Remove file.
50725 * sysdeps/unix/errnos.awk: Likewise.
50726 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50727 * sysdeps/unix/ioctls.awk: Likewise.
50728 * sysdeps/unix/mk-local_lim.c: Likewise.
50729 * sysdeps/unix/snarf-ioctls: Likewise.
50731 2012-03-19 Richard Henderson <rth@twiddle.net>
50733 * sysdeps/i386/fpu/fenv_private.h: New file.
50734 * sysdeps/i386/fpu/math_private.h: Use it.
50735 (math_opt_barrier, math_force_eval): Remove.
50736 (libc_feholdexcept_setround_53bit): Remove.
50737 (libc_feupdateenv_53bit): Remove.
50738 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50739 (math_opt_barrier, math_force_eval): Remove.
50740 (libc_feholdexcept): Remove.
50741 (libc_feholdexcept_setround): Remove.
50742 (libc_fetestexcept, libc_fesetenv): Remove.
50743 (libc_feupdateenv_test): Remove.
50744 (libc_feupdateenv, libc_feholdsetround): Remove.
50745 (libc_feresetround): Remove.
50747 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50748 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50750 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50751 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50752 (libc_feupdateenv_testl): New.
50753 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50754 (libc_feupdateenv_testf): New.
50755 (libc_feupdateenv): Use libc_feupdateenv_test.
50756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50759 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50760 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50761 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50762 (libc_feresetround_noex): New.
50763 (libc_feresetround_noexf): New.
50764 (libc_feresetround_noexl): New.
50765 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50766 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50767 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50768 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50773 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50775 SET_RESTORE_ROUND_NOEX.
50776 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50777 SET_RESTORE_ROUND_NOEXF.
50778 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50779 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50780 (libc_feholdsetroundf): New.
50781 (libc_feresetround, libc_feresetroundf): New.
50783 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50784 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50785 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50787 * sysdeps/generic/math_private.h: Include <fenv.h>.
50788 (default_libc_feholdexcept): New.
50789 (default_libc_feholdexcept_setround): New.
50790 (default_libc_fesetenv, default_libc_feupdateenv): New.
50791 (libc_feholdexcept): Only define if undefined.
50792 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50793 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50794 (libc_feholdexcept_setroundl): Likewise.
50795 (libc_feholdexcept_setround_53bit): Likewise.
50796 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50797 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50798 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50799 (libc_feupdateenv_53bit): Likewise.
50800 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50801 (libc_feholdexcept): Convert from macro to inline function.
50802 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50803 (libc_fesetenv, libc_feupdateenv): Likewise.
50805 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50806 not previously defined.
50807 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50808 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50809 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50810 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50811 * sysdeps/ieee754/flt-32/math_private.h: New file.
50812 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50813 math_private.h below SET_FLOAT_WORD.
50814 (__isnan, __isinf_ns, __finite): Remove.
50815 (__isnanf, __isinf_nsf, __finitef): Remove.
50817 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50821 2012-03-17 David S. Miller <davem@davemloft.net>
50824 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50827 2012-03-16 David S. Miller <davem@davemloft.net>
50829 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50833 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50835 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50836 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50837 sysdep_routines when subdir is sysvipc.
50838 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50839 __getshmlba helper.
50841 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50843 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50845 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50848 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50850 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50851 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50852 (__lround): Renamed to ...
50853 (__llround): This. Replace long int with long long int.
50854 Define lround functions as aliases of llround functions.
50855 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50857 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50859 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50860 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50861 adresses to uintptr_t. Replace "long int" and "unsigned long
50862 int" with "greg_t" on va_arg.
50864 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50866 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50867 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50869 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50870 Move e_machine check before EI_CLASS check. Handle x32
50871 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50872 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50873 SKIP_EM_IA_64 and include
50874 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50876 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50877 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50878 (add_system_dir): New macro.
50880 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50881 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50883 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50894 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50896 * math/w_j0f.c (j0f): Likewise.
50898 * math/w_j0l.c (__j0l): Likewise.
50900 * math/w_j1.c (j1): Likewise.
50902 * math/w_j1f.c (j1f): Likewise.
50904 * math/w_j1l.c (__j1l): Likewise.
50906 * math/w_jn.c (jn): Likewise.
50908 * math/w_jnf.c (jnf): Likewise.
50910 * math/w_jnl.c (__jnl): Likewise.
50912 * math/libm-test.inc (j0_test): Add more tests.
50913 (j1_test): Likewise.
50914 (jn_test): Likewise. Add trailing semicolon to existing test.
50915 (y0_test): Likewise.
50916 (y1_test): Likewise.
50917 * sysdeps/i386/fpu/libm-test-ulps: Update.
50918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50922 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50923 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50924 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50926 (__tanl): Set errno for infinite argument.
50927 * sysdeps/i386/fpu/mptan.c: Remove.
50928 * sysdeps/i386/fpu/s_tan.S: Likewise.
50929 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50930 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50931 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50932 * math/libm-test.inc (tan_test): Add more tests and enable more
50933 tests for double and long double.
50934 * sysdeps/i386/fpu/libm-test-ulps: Update.
50935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50937 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50939 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50940 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50942 2012-03-16 Roland McGrath <roland@hack.frob.com>
50944 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50945 * configure.in: Use it for both main tree and add-ons.
50946 * configure: Regenerated.
50948 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50950 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50952 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50954 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50958 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50959 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50960 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50961 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50962 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50964 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50966 != 0 for prec == 2.
50967 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50968 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50969 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50970 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50971 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50972 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50973 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50974 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50975 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50976 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50977 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50978 * math/libm-test.inc (cos_test): Add more tests and enable more
50979 tests for long double.
50980 (sin_test): Likewise.
50981 (sincos_test): Likewise.
50982 * sysdeps/i386/fpu/libm-test-ulps: Update.
50983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50985 2012-03-16 David S. Miller <davem@davemloft.net>
50987 * sysdeps/sparc/fpu/math_private.h: New file.
50989 2012-03-15 David S. Miller <davem@davemloft.net>
50991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51001 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51005 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51006 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51008 * sysdeps/sparc/sparc-ifunc.h: New file.
51009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51054 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51056 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51060 2012-03-15 Andreas Jaeger <aj@suse.de>
51063 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51064 ieee754/flt-32 implementation for sin, cos and sincos.
51065 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51066 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51067 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51068 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51069 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51070 ieee754/flt-32 implementation for tan.
51072 * math/libm-test.inc (cos_test): Enable some large input tests for
51074 (sin_test): Likewise.
51075 (sincos_test): Likewise.
51076 (tan_test): Add tests for large input.
51078 * sysdeps/i386/fpu/libm-test-ulps: Update.
51080 2012-03-15 Andreas Jaeger <aj@suse.de>
51083 * math/libm-test.inc (cos_test): Add more test cases.
51084 (sin_test): Likewise.
51085 (sincos_test): Likewise.
51087 2012-03-15 Andreas Jaeger <aj@suse.de>
51090 * math/libm-test.inc (cos_test): Add a test case for large input
51092 (sin_test): Likewise.
51093 (sincos_test): Likewise.
51095 2012-03-15 Andreas Jaeger <aj@suse.de>
51096 Joseph Myers <joseph@codesourcery.com>
51099 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51100 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51101 * sysdeps/i386/fpu/branred.c: Likewise.
51102 * sysdeps/i386/fpu/dosincos.c: Likewise.
51103 * sysdeps/i386/fpu/mpa.c: Likewise.
51104 * sysdeps/i386/fpu/s_cos.S: Likewise.
51105 * sysdeps/i386/fpu/s_sin.S: Likewise.
51106 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51107 * sysdeps/i386/fpu/sincos32.c: Likewise.
51109 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51111 (libc_feupdateenv_53bit): Define.
51112 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51114 (libc_feupdateenv_53bit): Define.
51116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51117 53 bit (without extend i386 double precision).
51119 * math/libm-test.inc (sincos_test): Add tests for large input.
51123 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51125 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51129 2012-03-15 David S. Miller <davem@davemloft.net>
51131 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51132 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51133 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51134 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51159 fmin/fmax sysdep routines.
51160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51162 2012-03-14 David S. Miller <davem@davemloft.net>
51164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51236 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51241 * sysdeps/sparc/configure.in: New file.
51242 * sysdeps/sparc/configure: Generate.
51243 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51244 * configure: Regenerate.
51245 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51246 * config.make.in (have-as-vis3): New.
51247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51248 available use -Av9d instead of -Av9a.
51249 * sysdeps/sparc/sparc64/Makefile: Likewise.
51250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51265 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51266 fzeros/fnegs to load 0x80000000 into a float register instead of
51268 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51270 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51274 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51275 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51276 ($(inst_includedir)/bits/syscall.h): Remove rule.
51277 ($(objpfx)bits/syscall.d): Include instead of
51278 $(objpfx)syscall-list.d.
51279 (generated): Change syscall-list.h and syscall-list.d to
51280 bits/syscall.h and bits/syscall.d.
51282 2012-03-14 Roland McGrath <roland@hack.frob.com>
51285 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51287 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51290 * math/s_csqrt.c: Include <float.h>.
51291 (__csqrt): Scale large or subnormal inputs.
51292 * math/s_csqrtf.c: Likewise.
51293 * math/s_csqrtl.c: Likewise.
51294 * math/libm-test.inc (csqrt_test): Add more tests.
51295 * sysdeps/i386/fpu/libm-test-ulps: Update.
51296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51299 * math/libm-test.inc (hypot_test): Add more tests.
51301 2012-03-13 David S. Miller <davem@davemloft.net>
51304 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51305 double-precision for the calculation instead of scaling.
51307 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51309 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51310 manipulate bits before adding and subtracting TWO52[sx].
51311 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51316 2012-03-13 David S. Miller <davem@davemloft.net>
51318 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51319 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51321 rtld-global-offsets.h
51322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51324 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51327 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51329 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51330 'err' in the ifdef scope in which it is actually used.
51332 * nss/nss_db/db-init.c: Include string.h
51334 2012-03-12 David S. Miller <davem@davemloft.net>
51336 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51337 masking out of the most significant byte of random value used.
51338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51339 Fix coding style in previous change.
51341 * sysdeps/unix/sysv/linux/kernel-features.h
51342 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51343 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51345 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51348 2012-03-11 David S. Miller <davem@davemloft.net>
51350 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51351 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51353 for 'resultvar' otherwise things get truncated on 64-bit.
51355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51356 Fix masking out of the most significant byte of random value used.
51358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51360 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51364 2012-03-09 David S. Miller <davem@davemloft.net>
51366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51367 variables with appropriate CPP guards.
51368 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51369 from the frame pointer, not the stack pointer. Correct layout
51370 comments. Fix test on resulting framesize and the management of
51371 the outregs buffer for pltexit. Preserve floating point return
51372 values across _dl_call_pltexit call.
51373 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51374 framesize and the management of the outregs buffer for pltexit.
51375 Preserve floating point return values across _dl_call_pltexit
51377 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51378 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51379 (la_sparc64_gnu_pltexit): New functions.
51380 (print_exit): Fix format string for return register value.
51382 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51384 * sunrpc/Makefile (others): Add rpcgen.
51385 ($(objpfx)rpcgen): Remove special build rule and dependency on
51387 * sunrpc/rpcgen.c: New file.
51389 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51392 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51393 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51394 * sysdeps/i386/crti.S: Likewise.
51395 * sysdeps/i386/crtn.S: Likewise.
51396 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51397 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51398 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51399 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51400 * sysdeps/sh/crti.S: Likewise.
51401 * sysdeps/sh/crtn.S: Likewise.
51402 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51405 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51407 * locale/programs/locfile-kw.gperf: Likewise.
51408 * locale/programs/charmap-kw.h: Regenerated.
51409 * locale/programs/locfile-kw.h: Likewise.
51412 * intl/plural.y: Replace FSF snail mail address with URL.
51413 * intl/plural.c: Regenerated.
51415 2012-03-09 Richard Henderson <rth@twiddle.net>
51417 * include/math_private.h: Remove file.
51418 * math/math_private.h: Move file ...
51419 * sysdeps/generic/math_private.h: ... here.
51421 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51422 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51423 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51425 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51426 and <math_private.h>.
51427 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51428 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51429 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51430 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51431 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51432 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51433 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51435 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51436 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51438 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51439 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51440 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51441 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51442 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51443 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51444 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51445 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51446 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51448 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51449 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51451 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51452 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51453 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51454 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51457 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51458 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51459 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51460 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51461 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51462 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51463 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51464 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51465 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51466 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51467 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51468 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51469 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51470 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51471 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51472 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51473 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51474 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51475 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51476 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51477 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51478 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51479 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51480 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51481 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51482 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51483 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51484 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51485 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51486 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51487 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51488 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51490 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51491 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51494 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51495 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51496 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51498 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51499 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51500 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51501 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51506 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51507 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51508 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51509 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51514 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51515 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51516 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51517 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51518 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51520 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51521 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51522 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51523 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51524 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51525 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51526 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51527 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51528 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51529 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51530 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51531 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51532 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51533 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51534 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51535 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51536 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51537 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51538 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51539 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51540 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51541 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51542 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51543 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51544 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51545 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51546 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51547 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51548 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51550 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51551 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51552 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51553 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51554 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51555 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51556 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51557 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51558 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51559 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51560 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51561 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51562 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51563 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51564 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51565 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51566 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51568 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51569 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51570 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51571 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51572 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51573 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51574 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51575 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51576 * sysdeps/ieee754/k_standard.c: Likewise.
51577 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51578 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51579 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51580 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51581 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51582 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51583 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51584 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51585 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51586 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51587 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51588 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51589 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51590 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51591 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51592 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51594 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51595 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51596 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51597 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51598 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51599 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51600 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51601 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51602 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51603 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51604 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51605 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51606 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51607 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51608 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51609 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51610 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51611 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51612 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51614 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51615 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51616 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51617 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51618 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51619 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51620 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51621 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51622 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51623 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51625 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51626 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51628 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51629 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51630 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51631 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51632 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51633 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51634 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51635 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51636 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51637 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51638 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51639 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51641 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51643 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51646 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51649 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51650 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51651 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51653 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51654 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51656 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51657 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51658 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51659 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51660 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51662 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51663 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51664 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51665 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51667 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51668 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51669 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51670 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51671 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51672 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51673 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51674 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51675 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51676 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51680 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51681 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51684 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51685 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51686 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51687 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51688 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51689 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51690 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51691 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51692 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51693 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51694 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51696 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51697 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51698 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51699 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51700 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51701 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51702 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51703 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51704 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51705 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51706 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51707 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51708 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51709 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51710 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51711 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51712 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51713 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51714 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51715 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51716 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51717 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51718 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51719 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51720 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51721 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51722 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51723 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51724 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51725 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51726 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51727 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51728 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51729 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51730 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51731 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51732 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51733 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51734 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51735 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51736 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51737 * sysdeps/ieee754/s_lib_version.c: Likewise.
51738 * sysdeps/ieee754/s_matherr.c: Likewise.
51739 * sysdeps/ieee754/s_signgam.c: Likewise.
51740 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51741 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51742 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51743 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51744 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51745 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51746 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51747 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51748 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51749 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51750 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51751 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51752 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51753 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51754 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51755 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51756 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51757 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51762 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51764 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51765 * sunrpc/rpc_main.c: Likewise.
51766 * sunrpc/rpc_svcout.c: Likewise.
51768 2012-03-09 David S. Miller <davem@davemloft.net>
51770 * include/math_private.h: New file.
51772 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51774 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51775 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51776 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51777 from <bits/socket_type.h>.
51778 (enum __socket_type): Don't define here.
51779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51781 bits/socket_type.h.
51784 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51785 checking __USE_GNU.
51787 * Makerules ($(inst_includedir)/%.h): New rule.
51788 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51789 (install-others): Remove variable setting.
51790 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51792 2012-03-08 Richard Henderson <rth@twiddle.net>
51794 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51795 from macro to inline function; merge with the
51796 !__LIBC_INTERNAL_MATH_INLINES version.
51797 (__ieee754_sqrtf): Likewise.
51799 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51800 to inline function.
51801 (__rintf, __floor, __floorf): Likewise.
51803 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51804 macro to inline function.
51805 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51808 not <math/math_private.h>.
51810 2012-03-08 David S. Miller <davem@davemloft.net>
51812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51814 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51816 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51818 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51820 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51821 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51823 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51825 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51826 be defined individually, they must be defined as a block. Define
51827 S for printing a string instead of hidint the different by using a
51828 macro for adding the 'l'.
51829 * stdio-common/tst-fphex-wide.c: Adjust.
51831 2012-03-07 Marek Polacek <polacek@redhat.com>
51833 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51835 2012-03-08 Marek Polacek <polacek@redhat.com>
51838 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51839 * stdio-common/tst-fphex.c: Define a few macros to make the
51840 test reusable. Use them.
51841 * stdio-common/tst-fphex-wide.c: New file.
51843 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51846 * manual/macros.texi (gnusystems): New macro.
51847 (nongnusystems): Likewise.
51848 (gnulinuxhurdsystems): Likewise.
51849 (gnuhurdsystems): Likewise..
51850 (gnulinuxsystems): Likewise.
51851 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51852 variants of the GNU system, not "GNU system".
51853 * manual/conf.texi: Likewise.
51854 * manual/errno.texi: Likewise. Update example of errno macro
51856 * manual/filesys.texi: Likewise.
51857 (getumask): Document as specific to GNU/Hurd.
51858 * manual/install.texi: Likewise. Reword some references to
51860 * manual/intro.texi: Likewise.
51861 * manual/io.texi: Likewise.
51862 (File Name Portability): Detail which constraints are inapplicable
51863 to all GNU systems and which are only inapplicable to GNU/Hurd.
51864 * manual/job.texi: Likewise.
51865 * manual/llio.texi: Likewise.
51866 (O_NOCTTY): Document as present on GNU/Linux.
51867 * manual/maint.texi: Likewise.
51868 * manual/memory.texi: Likewise.
51869 * manual/pattern.texi: Likewise.
51870 * manual/pipe.texi: Likewise.
51871 * manual/process.texi: Likewise.
51872 * manual/resource.texi: Likewise.
51873 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51875 * manual/setjmp.texi: Likewise.
51876 * manual/signal.texi: Likewise.
51877 * manual/startup.texi: Likewise.
51878 * manual/stdio.texi: Likewise.
51879 * manual/terminal.texi: Likewise.
51880 (ONLCR): Document as POSIX.
51881 (OXTABS): Document availability on GNU/Linux as XTABS.
51882 (ONOEOT): Document availability separately from other bits.
51883 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51884 * manual/time.texi: Likewise.
51885 * manual/users.texi: Likewise.
51886 * INSTALL: Regenerated.
51887 * sysdeps/gnu/errlist.c: Regenerated.
51889 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51890 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51891 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51893 * configure: Regenerated.
51895 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51897 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51898 default includes instead of AC_HEADER_CHECK.
51899 * sysdeps/i386/configure: Regenerated.
51902 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51903 * math/s_cacoshf.c (__cacoshf): Likewise.
51904 * math/s_cacoshl.c (__cacoshl): Likewise.
51905 * math/s_casinh.c (__casinh): Set signs of result from argument.
51906 * math/s_casinhf.c (__casinhf): Likewise.
51907 * math/s_casinhl.c (__casinhl): Likewise.
51908 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51909 (casinh_test): Add more tests.
51910 * sysdeps/i386/fpu/libm-test-ulps: Update.
51911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51913 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51915 * po/zh_TW.po: Update from translation team.
51917 * login/Makefile (distribute): Remove variable.
51918 * catgets/Makefile: Likewise.
51919 * mach/Makefile: Likewise.
51920 * malloc/Makefile: Likewise.
51921 * misc/Makefile: Likewise.
51922 * iconv/Makefile: Likewise.
51923 * nscd/Makefile: Likewise.
51924 * hurd/Makefile: Likewise.
51925 * manual/Makefile: Likewise.
51926 * locale/Makefile: Likewise.
51927 * intl/Makefile: Likewise.
51928 * conform/Makefile: Likewise.
51929 * nss/Makefile: Likewise.
51930 * time/Makefile: Likewise.
51931 * soft-fp/Makefile: Likewise.
51932 * dirent/Makefile: Likewise.
51933 * gmon/Makefile: Likewise.
51934 * po/Makefile: Likewise.
51935 * rt/Makefile: Likewise.
51936 * socket/Makefile: Likewise.
51937 * math/Makefile: Likewise.
51938 * signal/Makefile: Likewise.
51939 * debug/Makefile: Likewise.
51940 * elf/Makefile: Likewise.
51941 * timezone/Makefile: Likewise.
51942 * stdlib/Makefile: Likewise.
51943 * iconvdata/Makefile: Likewise.
51944 * sunrpc/Makefile: Likewise.
51945 * io/Makefile: Likewise.
51946 * argp/Makefile: Likewise.
51947 * inet/Makefile: Likewise.
51948 * hesiod/Makefile: Likewise.
51949 * grp/Makefile: Likewise.
51950 * csu/Makefile: Likewise.
51951 * wctype/Makefile: Likewise.
51952 * crypt/Makefile: Likewise.
51953 * libio/Makefile: Likewise.
51954 * string/Makefile: Likewise.
51955 * nis/Makefile: Likewise.
51956 * resolv/Makefile: Likewise.
51957 * stdio-common/Makefile: Likewise.
51958 * wcsmbs/Makefile: Likewise.
51959 * dlfcn/Makefile: Likewise.
51960 * posix/Makefile: Likewise.
51963 * timezone/Makefile: Don't install timezone files, just the programs
51966 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51968 * nss/databases.def: Add missing gshadow entry.
51970 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51972 2012-03-06 Marek Polacek <polacek@redhat.com>
51975 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51976 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51977 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51978 * stdio-common/tst-long-dbl-fphex.c: New file.
51980 2012-03-06 David S. Miller <davem@davemloft.net>
51982 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51983 (set_obp_int): New function.
51984 (get_obp_int): New function.
51985 (__get_clockfreq_via_dev_openprom): Likewise.
51986 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51987 Avoid unused variable warnings on 'val' and use builtin_expect.
51988 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51990 (INLINE_CLONE_SYSCALL): Likewise.
51992 2012-03-05 David S. Miller <davem@davemloft.net>
51994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51996 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52000 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52001 only for |x| >= 40.
52002 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52004 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52007 Replace gettimeofday with __vdso_gettimeofday.
52009 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52010 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52011 __vdso_clock_gettime and __vdso_getcpu.
52013 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52014 time with __vdso_time.
52016 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52018 * manual/lang.texi (size_t): Note types to which size_t may be
52019 equivalent with the GNU C Library, but do not describe when
52020 differences between them are significant.
52022 2012-03-05 Andreas Jaeger <aj@suse.de>
52024 * sysdeps/i386/fpu/libm-test-ulps: Update.
52026 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52029 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52030 (__ieee754_pow): Save and restore rounding mode and use
52031 round-to-nearest for main computations.
52032 * math/libm-test.inc (pow_test_tonearest): New function.
52033 (pow_test_towardzero): Likewise.
52034 (pow_test_downward): Likewise.
52035 (pow_test_upward): Likewise.
52036 (main): Call the new functions.
52037 * sysdeps/i386/fpu/libm-test-ulps: Update.
52038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52041 * math/libm-test.inc (cosh_test_tonearest): New function.
52042 (cosh_test_towardzero): Likewise.
52043 (cosh_test_downward): Likewise.
52044 (cosh_test_upward): Likewise.
52045 (sinh_test_tonearest): Likewise.
52046 (sinh_test_towardzero): Likewise.
52047 (sinh_test_downward): Likewise.
52048 (sinh_test_upward): Likewise.
52049 (main): Call the new functions.
52050 * sysdeps/i386/fpu/libm-test-ulps: Update.
52051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52053 2012-03-05 Tom de Vries <tom@codesourcery.com>
52055 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52056 default stack guard is set in last bytes.
52057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52059 2012-03-05 Kees Cook <keescook@chromium.org>
52061 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52064 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52065 possibly allocate from heap instead of stack.
52066 * stdio-common/bug-vfprintf-nargs.c: New file.
52067 * stdio-common/Makefile (tests): Add nargs overflow test.
52069 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52073 2012-03-03 Marek Polacek <polacek@redhat.com>
52075 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52076 * math/math_private.h: Likewise.
52077 * stdlib/tst-strtod.c: Likewise.
52078 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52079 * sysdeps/x86_64/bits/atomic.h: Likewise.
52081 2012-03-02 David S. Miller <davem@davemloft.net>
52083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52087 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52088 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52089 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52090 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52092 2012-03-02 Roland McGrath <roland@hack.frob.com>
52095 * manual/examples/README: New file, says the example source files
52096 can be used under GPL>=2.
52097 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52098 line containing just "*/".
52099 * manual/examples/add.c: Add copyright header (GPL>=2).
52100 * manual/examples/argp-ex1.c: Likewise.
52101 * manual/examples/argp-ex2.c: Likewise.
52102 * manual/examples/argp-ex3.c: Likewise.
52103 * manual/examples/argp-ex4.c: Likewise.
52104 * manual/examples/atexit.c: Likewise.
52105 * manual/examples/db.c: Likewise.
52106 * manual/examples/dir.c: Likewise.
52107 * manual/examples/dir2.c: Likewise.
52108 * manual/examples/execinfo.c: Likewise.
52109 * manual/examples/filecli.c: Likewise.
52110 * manual/examples/filesrv.c: Likewise.
52111 * manual/examples/fmtmsgexpl.c: Likewise.
52112 * manual/examples/genpass.c: Likewise.
52113 * manual/examples/inetcli.c: Likewise.
52114 * manual/examples/inetsrv.c: Likewise.
52115 * manual/examples/isockad.c: Likewise.
52116 * manual/examples/longopt.c: Likewise.
52117 * manual/examples/memopen.c: Likewise.
52118 * manual/examples/memstrm.c: Likewise.
52119 * manual/examples/mkfsock.c: Likewise.
52120 * manual/examples/mkisock.c: Likewise.
52121 * manual/examples/mygetpass.c: Likewise.
52122 * manual/examples/pipe.c: Likewise.
52123 * manual/examples/popen.c: Likewise.
52124 * manual/examples/rprintf.c: Likewise.
52125 * manual/examples/search.c: Likewise.
52126 * manual/examples/select.c: Likewise.
52127 * manual/examples/setjmp.c: Likewise.
52128 * manual/examples/sigh1.c: Likewise.
52129 * manual/examples/sigusr.c: Likewise.
52130 * manual/examples/stpcpy.c: Likewise.
52131 * manual/examples/strdupa.c: Likewise.
52132 * manual/examples/strftim.c: Likewise.
52133 * manual/examples/strncat.c: Likewise.
52134 * manual/examples/subopt.c: Likewise.
52135 * manual/examples/swapcontext.c: Likewise.
52136 * manual/examples/termios.c: Likewise.
52137 * manual/examples/testopt.c: Likewise.
52138 * manual/examples/testpass.c: Likewise.
52139 * manual/examples/timeval_subtract.c: Likewise.
52142 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52144 * manual/timeval_subtract.c.texi: ... here, new file.
52146 2012-03-02 David S. Miller <davem@davemloft.net>
52148 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52150 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52153 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52154 (__sin): Save and restore rounding mode and use round-to-nearest
52155 for all computations.
52156 (__cos): Save and restore rounding mode and use round-to-nearest
52157 for all computations.
52158 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52160 (tan): Save and restore rounding mode and use round-to-nearest for
52162 * math/libm-test.inc (cos_test_tonearest): New function.
52163 (cos_test_towardzero): Likewise.
52164 (cos_test_downward): Likewise.
52165 (cos_test_upward): Likewise.
52166 (sin_test_tonearest): Likewise.
52167 (sin_test_towardzero): Likewise.
52168 (sin_test_downward): Likewise.
52169 (sin_test_upward): Likewise.
52170 (tan_test_tonearest): Likewise.
52171 (tan_test_towardzero): Likewise.
52172 (tan_test_downward): Likewise.
52173 (tan_test_upward): Likewise.
52174 (main): Call the new functions.
52175 * sysdeps/i386/fpu/libm-test-ulps: Update.
52176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52179 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52180 small n, then large n, before computing and testing k+n.
52181 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52186 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52187 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52188 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52189 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52192 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52194 * math/libm-test.inc (scalbn_test): Add more tests.
52195 (scalbln_test): Likewise.
52197 * manual/filesys.texi (mode_t): Describe constraints on size and
52198 signedness, not exact equivalence to a particular type.
52200 (ino64_t): Likewise.
52202 (nlink_t): Likewise.
52203 (blkcnt_t): Likewise.
52204 (blkcnt64_t): Likewise.
52205 * manual/llio.texi (off_t): Likewise.
52208 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52209 (__ieee754_exp): Save and restore rounding mode and use
52210 round-to-nearest for all computations.
52211 * math/libm-test.inc (exp_test_tonearest): New function.
52212 (exp_test_towardzero): Likewise.
52213 (exp_test_downward): Likewise.
52214 (exp_test_upward): Likewise.
52215 (main): Call the new functions.
52216 * sysdeps/i386/fpu/libm-test-ulps: Update.
52217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52219 2012-03-01 Chris Demetriou <cgd@google.com>
52221 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52222 have predictable order.
52224 2012-03-01 David S. Miller <davem@davemloft.net>
52226 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52228 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52229 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52230 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52231 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52233 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52234 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52235 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52237 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52238 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52239 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52240 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52241 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52246 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52247 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52249 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52250 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52251 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52252 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52253 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52254 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52256 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52257 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52258 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52259 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52262 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52263 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52265 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52266 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52267 * sysdeps/sparc/elf/configure: Regenerated.
52269 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52271 * configure.in (AS, LD): Require binutils 2.20 or later.
52272 * configure: Regenerated.
52273 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52274 as required minimum version.
52275 * INSTALL: Regenerated.
52279 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52280 before squaring exponent.
52281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52282 bottom long double and 27 bits of top long double before squaring
52284 * math/libm-test.inc (erfc_test): Add more tests.
52285 * sysdeps/i386/fpu/libm-test-ulps: Update.
52286 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52289 2012-03-01 Kai Tietz <ktietz@redhat.com>
52291 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52292 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52293 containing bit-fields.
52294 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52295 * soft-fp/single.h (_FP_UNION_S): Likewise.
52296 * soft-fp/double.h (_FP_UNION_D): Likewise.
52298 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52301 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52302 not include ../strcmp.S.
52303 [USE_AS_STRNCASECMP_L]: Likewise.
52304 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52305 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52306 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52307 (__strncasecmp_l_ia32): Define as alias to
52308 __strncasecmp_l_nonascii.
52311 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52312 * sysdeps/i386/fpu/libm-test-ulps: Update.
52313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52315 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52318 2012-02-29 Jeff Law <law@redhat.com>
52320 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52321 out of bounds read.
52323 2012-02-29 Marek Polacek <polacek@redhat.com>
52326 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52327 * elf/Makefile: Add rules to run tst-unused-dep.out.
52329 2012-02-28 David S. Miller <davem@davemloft.net>
52331 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52332 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52335 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52336 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52338 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52340 * math/libm-test.inc (llround_test): Move one test from
52341 lround_test. Use TEST_f_L in moved test.
52342 (lround_test): Move misplaced test to llround_test. Add testcase
52345 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52347 * sysdeps/x86_64/fpu/e_expf.S: New file.
52348 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52350 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52353 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52354 of remain_len that may cause incomplete multi-byte character and
52356 * posix/bug-regex33.c: New file.
52357 * posix/Makefile (tests): Add bug-regex33.
52359 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52361 * manual/macros.texi: New file.
52362 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52363 * manual/libc.texinfo: Include macros.texi.
52364 * manual/creatute.texi: Likewise.
52365 * manual/install.texi: Likewise.
52366 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52367 @glibcadj{} in references to the GNU C Library.
52368 * manual/charset.texi: Likewise.
52369 * manual/conf.texi: Likewise.
52370 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52371 when not using those macros.
52372 * manual/creature.texi: Likewise.
52373 * manual/crypt.texi: Likewise.
52374 * manual/errno.texi: Likewise.
52375 * manual/filesys.texi: Likewise.
52376 * manual/header.texi: Likewise.
52377 * manual/install.texi: Likewise.
52378 * manual/intro.texi: Likewise.
52379 * manual/io.texi: Likewise.
52380 * manual/job.texi: Likewise.
52381 * manual/lang.texi: Likewise.
52382 * manual/libc.texiinfo: Likewise.
52383 * manual/llio.texi: Likewise.
52384 * manual/locale.texi: Likewise.
52385 * manual/maint.texi: Likewise.
52386 * manual/math.texi: Likewise.
52387 * manual/memory.texi: Likewise.
52388 * manual/message.texi: Likewise.
52389 * manual/nss.texi: Likewise.
52390 * manual/pattern.texi: Likewise.
52391 * manual/process.texi: Likewise.
52392 * manual/resource.texi: Likewise.
52393 * manual/search.texi: Likewise.
52394 * manual/setjmp.texi: Likewise.
52395 * manual/signal.texi: Likewise.
52396 * manual/socket.texi: Likewise.
52397 * manual/startup.texi: Likewise.
52398 * manual/stdio.texi: Likewise.
52399 * manual/string.texi: Likewise.
52400 * manual/sysinfo.texi: Likewise.
52401 * manual/syslog.texi: Likewise.
52402 * manual/terminal.texi: Likewise.
52403 * manual/time.texi: Likewise.
52404 * manual/users.texi: Likewise.
52405 * INSTALL: Regenerated.
52406 * NOTES: Regenerated.
52407 * sysdeps/gnu/errlist.c: Regenerated.
52409 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52411 * include/dirent.h: Include <dirstream.h> before
52414 2012-02-28 David S. Miller <davem@davemloft.net>
52416 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52417 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52418 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52419 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52421 2012-02-27 David S. Miller <davem@davemloft.net>
52423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52425 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52426 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52429 frame pointer instead of stack pointer relative arg slot.
52430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52431 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52432 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52434 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52437 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52439 2012-02-27 David S. Miller <davem@davemloft.net>
52441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52445 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52446 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52447 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52448 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52450 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52452 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52453 later. Allow versions 5-9.
52454 * configure: Regenerated.
52455 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52456 required minimum version and 4.6 as recommended version. Do not
52457 mention bugs in GCC 2.7 and 2.8.
52458 * INSTALL: Regenerated.
52460 2012-02-27 David S. Miller <davem@davemloft.net>
52462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52466 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52467 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52468 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52469 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52472 manipulate bits before adding and subtracting TWO112[sx].
52473 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52475 2012-02-27 Roland McGrath <roland@hack.frob.com>
52478 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52479 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52480 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52481 being in POSIX, because they are in 1003.1-2008.
52483 * rt/tst-aio.c: Include <fcntl.h>.
52484 * rt/tst-aio7.c: Likewise.
52485 * rt/tst-aio64.c: Likewise.
52487 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52489 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52491 * manual/install.texi (--with-headers): Describe headers as
52492 interface headers, not private headers.
52493 (Specific advice for GNU/Linux systems): Describe use of headers
52494 from "make headers_install", not private headers from older
52496 * INSTALL: Regenerated.
52497 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52499 * sysdeps/unix/sysv/linux/configure: Regenerated.
52501 * manual/llio.texi (fclean): Remove documentation.
52503 * manual/Makefile (libc-texi-generated): New variable. Include
52505 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52506 $(libc-texi-generated), not duplicated list of files.
52507 (version.texi, stamp-version): New rules.
52508 (realclean): Remove $(libc-texi-generated), not individual files
52509 from that list. Do not remove dir-add.texinfo.
52510 * manual/libc.texinfo: Comment out uses of edition numbers and
52511 references to printed manual. Remove last-updated dates.
52512 (EDITION): Comment out.
52514 (VERSION, UPDATED): Remove.
52515 (version.texi): Include.
52517 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52519 * sysdeps/posix/spawni.c: Include <signal.h>.
52520 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52521 * sysdeps/pthread/aio_fsync.c: Likewise.
52523 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52525 * conform/Makefile (tests): Run only when not cross-compiling and
52526 when fast-check is not defined.
52528 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52529 * conform/data/limits.h-data: Fixes for POSIX2008.
52530 * conform/run-conformtest.sh: Run all tests.
52531 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52533 * include/bits/dlfcn.h: Likewise.
52534 * include/langinfo.h: Likewise.
52535 * include/monetary.h: Likewise.
52536 * include/sys/poll.h: Likewise.
52538 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52540 * posix/spawn.h: Define __need_sigset_t.
52541 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52542 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52543 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52544 to get sigevent_t only.
52545 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52546 only for __USE_GNU.
52547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52548 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52549 process_vm_writev only for __USE_GNU.
52550 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52552 * conform/Makefile: For now ignore errors from run-conformtest.
52553 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52554 POSIX to avoid namespace pollution. Don't prepend headers.
52555 * conform/data/aio.h-data: Fixes for POSIX testing.
52556 * conform/data/fcntl.h-data: Likewise.
52557 * conform/data/glob.h-data: Likewise.
52558 * conform/data/grp.h-data: Likewise.
52559 * conform/data/pthread.h-data: Likewise.
52560 * conform/data/pwd.h-data: Likewise.
52561 * conform/data/signal.h-data: Likewise.
52562 * conform/data/spawn.h-data: Likewise.
52563 * conform/data/stdio.h-data: Likewise.
52564 * conform/data/stdlib.h-data: Likewise.
52565 * conform/data/stropts.h-data: Likewise.
52566 * conform/data/sys/mman.h-data: Likewise.
52567 * conform/data/sys/stat.h-data: Likewise.
52568 * conform/data/sys/types.h-data: Likewise.
52569 * conform/data/sys/wait.h-data: Likewise.
52570 * conform/data/time.h-data: Likewise.
52571 * conform/data/unistd.h-data: Likewise.
52572 * conform/data/utime.h-data: Likewise.
52574 * io/sys/stat.h: fchmod was always in POSIX.
52575 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52576 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52577 * rt/aio.h: Define __need_timespec before including <time.h>.
52578 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52579 struct. Add forward declaration of pthread_attr_t and use it in
52581 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52582 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52583 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52584 always remove CLK_TCK definition.
52586 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52588 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52590 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52592 * conform/run-conformtest.sh: New file.
52593 * conform/Makefile: Run run-conformtest for tests.
52594 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52597 * conform/data/uchar.h-data: New file.
52598 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52599 * conform/data/arpa/inet.h-data: Likewise.
52600 * conform/data/assert.h-data: Likewise.
52601 * conform/data/complex.h-data: Likewise.
52602 * conform/data/cpio.h-data: Likewise.
52603 * conform/data/ctype.h-data: Likewise.
52604 * conform/data/dirent.h-data: Likewise.
52605 * conform/data/dlfcn.h-data: Likewise.
52606 * conform/data/errno.h-data: Likewise.
52607 * conform/data/fcntl.h-data: Likewise.
52608 * conform/data/float.h-data: Likewise.
52609 * conform/data/fmtmsg.h-data: Likewise.
52610 * conform/data/fnmatch.h-data: Likewise.
52611 * conform/data/ftw.h-data: Likewise.
52612 * conform/data/glob.h-data: Likewise.
52613 * conform/data/grp.h-data: Likewise.
52614 * conform/data/iconv.h-data: Likewise.
52615 * conform/data/inttypes.h-data: Likewise.
52616 * conform/data/langinfo.h-data: Likewise.
52617 * conform/data/libgen.h-data: Likewise.
52618 * conform/data/limits.h-data: Likewise.
52619 * conform/data/locale.h-data: Likewise.
52620 * conform/data/math.h-data: Likewise.
52621 * conform/data/monetary.h-data: Likewise.
52622 * conform/data/mqueue.h-data: Likewise.
52623 * conform/data/ndbm.h-data: Likewise.
52624 * conform/data/net/if.h-data: Likewise.
52625 * conform/data/netdb.h-data: Likewise.
52626 * conform/data/netinet/in.h-data: Likewise.
52627 * conform/data/nl_types.h-data: Likewise.
52628 * conform/data/poll.h-data: Likewise.
52629 * conform/data/pthread.h-data: Likewise.
52630 * conform/data/pwd.h-data: Likewise.
52631 * conform/data/regex.h-data: Likewise.
52632 * conform/data/sched.h-data: Likewise.
52633 * conform/data/search.h-data: Likewise.
52634 * conform/data/semaphore.h-data: Likewise.
52635 * conform/data/setjmp.h-data: Likewise.
52636 * conform/data/signal.h-data: Likewise.
52637 * conform/data/spawn.h-data: Likewise.
52638 * conform/data/stdarg.h-data: Likewise.
52639 * conform/data/stdio.h-data: Likewise.
52640 * conform/data/stdlib.h-data: Likewise.
52641 * conform/data/string.h-data: Likewise.
52642 * conform/data/strings.h-data: Likewise.
52643 * conform/data/stropts.h-data: Likewise.
52644 * conform/data/sys/ipc.h-data: Likewise.
52645 * conform/data/sys/mman.h-data: Likewise.
52646 * conform/data/sys/msg.h-data: Likewise.
52647 * conform/data/sys/resource.h-data: Likewise.
52648 * conform/data/sys/select.h-data: Likewise.
52649 * conform/data/sys/sem.h-data: Likewise.
52650 * conform/data/sys/shm.h-data: Likewise.
52651 * conform/data/sys/socket.h-data: Likewise.
52652 * conform/data/sys/stat.h-data: Likewise.
52653 * conform/data/sys/statvfs.h-data: Likewise.
52654 * conform/data/sys/time.h-data: Likewise.
52655 * conform/data/sys/timeb.h-data: Likewise.
52656 * conform/data/sys/times.h-data: Likewise.
52657 * conform/data/sys/types.h-data: Likewise.
52658 * conform/data/sys/uio.h-data: Likewise.
52659 * conform/data/sys/un.h-data: Likewise.
52660 * conform/data/sys/utsname.h-data: Likewise.
52661 * conform/data/sys/wait.h-data: Likewise.
52662 * conform/data/syslog.h-data: Likewise.
52663 * conform/data/tar.h-data: Likewise.
52664 * conform/data/termios.h-data: Likewise.
52665 * conform/data/utime.h-data: Likewise.
52666 * conform/data/utmpx.h-data: Likewise.
52667 * conform/data/varargs.h-data: Likewise.
52668 * conform/data/wchar.h-data: Likewise.
52669 * conform/data/wctype.h-data: Likewise.
52670 * conform/data/wordexp.h-data: Likewise.
52672 * include/stropts.h: New file.
52673 * include/uchar.h: New file.
52674 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52675 * include/assert.h: Likewise.
52676 * include/ctype.h: Likewise.
52677 * include/dirent.h: Likewise.
52678 * include/dlfcn.h: Likewise.
52679 * include/fcntl.h: Likewise.
52680 * include/fnmatch.h: Likewise.
52681 * include/glob.h: Likewise.
52682 * include/grp.h: Likewise.
52683 * include/libio.h: Likewise.
52684 * include/locale.h: Likewise.
52685 * include/math.h: Likewise.
52686 * include/net/if.h: Likewise.
52687 * include/netdb.h: Likewise.
52688 * include/netinet/in.h: Likewise.
52689 * include/pthread.h: Likewise.
52690 * include/pwd.h: Likewise.
52691 * include/regex.h: Likewise.
52692 * include/sched.h: Likewise.
52693 * include/search.h: Likewise.
52694 * include/setjmp.h: Likewise.
52695 * include/signal.h: Likewise.
52696 * include/stdio.h: Likewise.
52697 * include/stdlib.h: Likewise.
52698 * include/string.h: Likewise.
52699 * include/sys/cdefs.h: Likewise.
52700 * include/sys/mman.h: Likewise.
52701 * include/sys/msg.h: Likewise.
52702 * include/sys/resource.h: Likewise.
52703 * include/sys/select.h: Likewise.
52704 * include/sys/socket.h: Likewise.
52705 * include/sys/stat.h: Likewise.
52706 * include/sys/statvfs.h: Likewise.
52707 * include/sys/time.h: Likewise.
52708 * include/sys/times.h: Likewise.
52709 * include/sys/uio.h: Likewise.
52710 * include/sys/utsname.h: Likewise.
52711 * include/sys/wait.h: Likewise.
52712 * include/termios.h: Likewise.
52713 * include/time.h: Likewise.
52714 * include/ulimit.h: Likewise.
52715 * include/unistd.h: Likewise.
52716 * include/utime.h: Likewise.
52717 * include/wchar.h: Likewise.
52718 * include/wctype.h: Likewise.
52719 * include/wordexp.h: Likewise.
52721 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52723 * time/time.h: TIME_UTC must be a macro.
52724 Make timespec_get available for ISO C11 only as well.
52726 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52728 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52729 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52731 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52733 * configure.in: Use -o not -a in test for unsupported multi-arch.
52735 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52737 * manual/texinfo.tex: Update to version 2012-01-19.16.
52739 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52741 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52743 2012-02-24 Roland McGrath <roland@hack.frob.com>
52746 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52747 * manual/fdl-1.3.texi: New file.
52748 * manual/fdl-1.1.texi: File removed.
52751 * manual/libc.texinfo (FDL_VERSION): New @set.
52752 Use it for mention of FDL in cover text.
52753 (Documentation License): Use it in @include file name.
52755 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52756 Roland McGrath <roland@hack.frob.com>
52759 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52760 (not LONG_LONG_MAX and LONG_LONG_MIN.
52761 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52762 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
52764 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52766 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52770 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52771 manipulate bits before adding and subtracting TWO23[sx].
52772 * math/libm-test.inc (nearbyint_test): Add more tests.
52774 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52777 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52778 bits before adding and subtracting TWO23[sx].
52779 * math/libm-test.inc (rint_test): Add more tests.
52780 (rint_test_tonearest): Likewise.
52781 (rint_test_towardzero): Likewise.
52782 (rint_test_downward): Likewise.
52783 (rint_test_upward: Likewise.
52785 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52788 * include/stdc-predef.h: New file. Extracted from features.h.
52789 * include/features.h: Include stdc-predef.h.
52790 * Makefile (headers): Add stdc-predef.h.
52791 * CONFORMANCE (Compiler limitations): Update.
52793 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52795 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52797 2012-02-21 David S. Miller <davem@davemloft.net>
52799 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52800 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52802 2012-02-20 David S. Miller <davem@davemloft.net>
52804 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52805 using a normal save/restore sequence, rather than allocating a
52806 dummy stack frame just to store a frame pointer and restore.
52807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52809 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52811 * manual/install.texi: Fix stray word in line-wrapped comment.
52813 2012-02-20 David S. Miller <davem@davemloft.net>
52815 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52816 both binutils and gcc support GOTDATA.
52818 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52819 "rd %pc" in the PIC register setup sequences.
52821 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52822 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52824 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52825 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52828 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52830 (SYSCALL_ERROR_HANDLER): Likewise.
52831 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52832 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52834 (SYSCALL_ERROR_HANDLER): Likewise.
52836 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52837 (HAVE_GCC_GOTDATA): New.
52838 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52839 relocation support in both binutils and gcc.
52840 * sysdeps/sparc/elf/configure: Regenerate.
52842 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52843 * sysdeps/sparc/sparc32/elf/configure: Delete.
52844 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52845 * sysdeps/sparc/sparc64/elf/configure: Delete.
52846 * sysdeps/sparc/elf/configure.in: New file.
52847 * sysdeps/sparc/elf/configure: Generate.
52849 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52850 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52851 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52852 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52853 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52855 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52857 * manual/install.texi: Do not mention specific glibc version
52859 * manual/libc.texinfo (VERSION, UPDATED): Update.
52860 (@copying): Use @copyright{} and range of years.
52862 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52865 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52866 [crti.S not in sysdirs] (generated): Do not append.
52867 [crti.S not in sysdirs] (omit-deps): Likewise.
52868 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52869 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52870 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52871 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52872 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52874 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52875 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52876 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52877 * csu/defs.awk: Remove file.
52878 * sysdeps/generic/initfini.c: Likewise.
52879 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52881 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52884 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52886 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52887 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52888 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52889 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52890 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52891 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52893 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52894 (__EPOLL_PACKED): Define to empty if not defined by
52896 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52900 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52902 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52903 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52904 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52905 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52907 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52911 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52913 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52915 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52916 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52920 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52925 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52927 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52928 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52930 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52932 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52935 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52937 * math/w_acos.c: Use non-signaling floating-point comparisons.
52938 * math/w_acosf.c: Likewise.
52939 * math/w_acosh.c: Likewise.
52940 * math/w_acoshf.c: Likewise.
52941 * math/w_acoshl.c: Likewise.
52942 * math/w_acosl.c: Likewise.
52943 * math/w_asin.c: Likewise.
52944 * math/w_asinf.c: Likewise.
52945 * math/w_asinl.c: Likewise.
52946 * math/w_atanh.c: Likewise.
52947 * math/w_atanhf.c: Likewise.
52948 * math/w_atanhl.c: Likewise.
52949 * math/w_exp2.c: Likewise.
52950 * math/w_exp2f.c: Likewise.
52951 * math/w_exp2l.c: Likewise.
52952 * math/w_j0.c: Likewise.
52953 * math/w_j0f.c: Likewise.
52954 * math/w_j0l.c: Likewise.
52955 * math/w_j1.c: Likewise.
52956 * math/w_j1f.c: Likewise.
52957 * math/w_j1l.c: Likewise.
52958 * math/w_jn.c: Likewise.
52959 * math/w_jnf.c: Likewise.
52960 * math/w_log.c: Likewise.
52961 * math/w_log10.c: Likewise.
52962 * math/w_log10f.c: Likewise.
52963 * math/w_log10l.c: Likewise.
52964 * math/w_log2.c: Likewise.
52965 * math/w_log2f.c: Likewise.
52966 * math/w_log2l.c: Likewise.
52967 * math/w_logf.c: Likewise.
52968 * math/w_logl.c: Likewise.
52969 * math/w_sqrt.c: Likewise.
52970 * math/w_sqrtf.c: Likewise.
52971 * math/w_sqrtl.c: Likewise.
52972 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52973 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52974 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52975 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52976 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52978 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52981 * manual/string.texi (strnlen): Use correct parameter name in
52982 equivalent expression.
52984 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52987 * manual/users.texi (seteuid): Consistently use neweuid for
52990 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52993 * manual/nss.texi (Services in the NSS configuration): Correct
52994 list of services in example configuration file.
52996 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52999 * manual/arith.texi: Remove statements about negative zero
53000 behaving identically to zero.
53002 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53005 * manual/install.texi: Do not document upgrading from libc5.
53007 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53010 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53012 2012-02-18 David S. Miller <davem@davemloft.net>
53014 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53015 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53016 %o7 across the call.
53017 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53020 SETUP_PIC_REG_LEAF.
53021 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53022 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53023 * sysdeps/sparc/crtn.S: Likewise.
53025 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53027 * aout/Makefile: Remove.
53029 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53032 * manual/examples/argp-ex1.c (main): Format definition in GNU
53034 * manual/examples/argp-ex2.c (main): Likewise.
53035 * manual/examples/argp-ex3.c (main): Likewise.
53036 * manual/examples/argp-ex4.c (main): Likewise.
53037 * manual/examples/longopt.c (main): Use new-style prototype
53039 * manual/examples/strncat.c (main): Specify return type and use
53040 (void) for arguments.
53041 * manual/examples/subopt.c (main): Use char **argv argument.
53043 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53046 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53049 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53052 * manual/string.texi (strchr): Change when strchrnul is
53055 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53058 * manual/locale.texi (setlocale): Document LOCPATH.
53060 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53063 * manual/process.texi (execle): Move @dots{} before last argument.
53065 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53068 * manual/charset.texi (Generic Charset Conversion): Fix typo
53069 (LC_TYPE -> LC_CTYPE).
53071 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53074 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53075 (scalbnf): Likewise.
53076 (scalbnl): Likewise.
53077 (scalbln): Likewise.
53078 (scalblnf): Likewise.
53079 (scalblnl): Likewise.
53080 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53081 (vwarnx): Likewise.
53084 * manual/filesys.texi (telldir): Use braces around return type.
53085 * manual/llio.texi (mmap): Add space after comma.
53086 (mmap64): Likewise.
53087 * manual/math.texi (jn): Use @var{} on parameter names.
53093 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53095 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53097 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53098 (sched_get_priority_max): Likewise.
53099 * manual/signal.texi (sigvec): Add space after comma.
53100 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53102 (if_indextoname): Likewise.
53103 (if_freenameindex): Likewise.
53104 (sendto): Use ',' instead of '.' in prototype.
53105 * manual/startup.texi (syscall): Use @dots{} instead of literal
53107 * manual/stdio.texi (__fpending): Separate initial words of
53108 paragraph from @deftypefun line.
53109 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53111 (vsyslog): Use @var{} on parameter names.
53112 * manual/terminal.texi (stty): Use @var{} on parameter names.
53113 * manual/users.texi (getutmp): Use @var{} on parameter names.
53114 (getutmpx): Likewise.
53116 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53119 * manual/stdio.texi (fopen): Fix typos in description of
53122 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53125 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53126 get clock_id definition.
53128 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53131 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53132 (madvise): Cast every argument to void on its own.
53134 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53137 * manual/startup.texi (Exit Status): Fix typo.
53139 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53142 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53143 * manual/examples/argp-ex2.c: Likewise.
53144 * manual/examples/argp-ex3.c: Likewise.
53146 2012-02-16 Richard Henderson <rth@redhat.com>
53148 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53149 * sysdeps/s390/s390-32/initfini.c: Remove.
53150 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53151 * sysdeps/s390/s390-64/initfini.c: Remove.
53153 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53155 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53156 compiler output for sysdeps/generic/initfini.c.
53157 * sysdeps/sh/elf/initfini.c: Remove file.
53159 2012-02-16 David S. Miller <davem@davemloft.net>
53162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53164 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53165 * sysdeps/sparc/crti.S: New file.
53166 * sysdeps/sparc/crtn.S: New file.
53167 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53168 * sysdeps/sparc/sparc64/Makefile: Likewise.
53170 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53173 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53175 2012-02-15 Roland McGrath <roland@hack.frob.com>
53178 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53180 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53181 (write, read, close): Likewise.
53182 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53184 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53186 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53187 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53188 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53189 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53191 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53195 2012-02-14 Marek Polacek <polacek@redhat.com>
53197 * sysdeps/x86_64/crti.S: New file.
53198 * sysdeps/x86_64/crtn.S: New file.
53199 * sysdeps/x86_64/elf/initfini.c: Remove file.
53201 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53203 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53204 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53205 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53206 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53208 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53212 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53214 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53215 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53216 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53217 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53219 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53223 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53225 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53226 __feraiseexcept instead of feraiseexcept.
53228 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53229 nanosleep invocations.
53230 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53231 strings, and add error checking for a nanosleep invocations.
53233 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53235 Replace FSF snail mail address with URLs, as per GNU coding standards.
53236 Most of the snail mail addresses were wrong anyway, and omitting
53237 them makes the source code easier to maintain. Almost all of the
53238 changes are to license notices and to locale LC_IDENTIFICATION
53239 addresses, except for this one:
53240 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53241 not its snail mail address.
53243 2012-02-09 Richard Henderson <rth@twiddle.net>
53245 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53246 of kernel-features.h.
53248 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53250 2012-02-08 Marek Polacek <polacek@redhat.com>
53252 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53253 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53254 * sysdeps/gnu/_G_config.h: Likewise.
53255 * sysdeps/generic/_G_config.h: Likewise.
53257 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53259 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53263 * sysdeps/powerpc/powerpc32/crti.S: New file.
53264 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53265 * sysdeps/powerpc/powerpc64/crti.S: New file.
53266 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53268 * Makeconfig (have-initfini): Don't set.
53269 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53270 * configure.in (nopic_initfini): Don't substitute.
53271 * config.h.in (HAVE_INITFINI): Don't #undef.
53272 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53273 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53275 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53277 Support crti.S and crtn.S provided directly by architectures.
53278 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53279 [crti.S in sysdirs] (omit-deps): Likewise.
53280 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53281 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53282 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53283 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53284 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53285 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53286 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53287 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53288 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53289 compiler output for sysdeps/generic/initfini.c.
53290 * sysdeps/i386/elf/Makefile: Remove file.
53291 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53293 2012-02-07 Marek Polacek <polacek@redhat.com>
53295 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53296 * sysdeps/gnu/_G_config.h: Likewise.
53297 * sysdeps/mach/hurd/_G_config.h: Likewise.
53299 2012-02-07 Marek Polacek <polacek@redhat.com>
53301 * math/Makefile (tests): Add tst-CMPLX2.
53302 * math/tst-CMPLX2.c: New file.
53304 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53306 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53308 * math/libm-test.inc (jn_test): Add missing L suffix.
53310 2012-02-06 Marek Polacek <polacek@redhat.com>
53312 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53313 * sysdeps/i386/fpu/e_powf.S: Likewise.
53314 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53315 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53316 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53317 * sysdeps/i386/fpu/e_pow.S: Likewise.
53318 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53319 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53320 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53321 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53322 * sysdeps/i386/fpu/e_log2.S: Likewise.
53323 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53324 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53325 * sysdeps/i386/fpu/e_powl.S: Likewise.
53326 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53327 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53328 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53329 * sysdeps/i386/fpu/e_logl.S: Likewise.
53330 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53331 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53332 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53333 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53334 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53335 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53336 * sysdeps/i386/fpu/e_log.S: Likewise.
53337 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53338 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53339 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53340 * sysdeps/i386/fpu/e_logf.S: Likewise.
53341 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53342 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53343 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53344 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53345 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53346 * sysdeps/i386/fpu/e_log10.S: Likewise.
53347 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53348 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53349 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53350 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53351 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53352 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53353 * sysdeps/i386/asm-syntax.h: Likewise.
53354 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53355 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53356 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53357 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53358 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53359 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53360 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53361 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53362 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53363 * sysdeps/powerpc/sysdep.h: Likewise.
53364 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53365 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53367 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53370 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53372 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53374 * sysdeps/i386/sysdep.h: Include <features.h>.
53375 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53378 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53380 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53382 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53385 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53387 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53388 (SETUP_PIC_REG): Use GET_PC_THUNK.
53389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53392 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53394 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53395 for non-PIC compilation.
53396 (SETUP_PIC_REG): Add .p2align directive.
53397 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53398 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53399 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53400 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53401 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53402 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53403 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53405 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53406 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53407 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53408 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53409 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53410 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53411 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53412 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53413 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53414 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53415 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53416 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53417 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53418 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53419 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53420 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53423 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53424 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53425 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53426 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53427 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53428 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53429 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53430 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53431 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53432 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53433 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53434 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53435 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53436 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53437 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53439 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53441 * math/tst-CMPLX.c: Include <stdio.h>.
53443 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53445 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53447 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53448 * sysdeps/sparc/bits/mathdef.h: Likewise.
53450 2012-01-31 Marek Polacek <polacek@redhat.com>
53452 * libio/libio.h: Don't define _PARAMS.
53453 * locale/programs/config.h: Don't define PARAMS.
53454 * stdlib/strtol_l.c: Likewise.
53455 (__strtol_l): Remove PARAMS from the prototype.
53457 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53459 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53460 names. Just use the correct names. Remove unnecessary wrapper
53462 * malloc/arena.c: Likewise.
53463 * malloc/hooks.c: Likewise.
53465 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53466 ARENA_TEST says not to. Simplify test for creation of a new arena.
53467 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53469 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53471 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53473 (update_get_addr): New function.
53474 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53475 GET_ADDR_MODULE parameter.
53477 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53479 * crypt/cert.c: Remove __STDC__ conditionals.
53480 * crypt/crypt-entry.c: Likewise.
53481 * crypt/crypt_util.c: Likewise.
53482 * libio/filedoalloc.c: Likewise.
53483 * libio/fileops.c: Likewise.
53484 * libio/genops.c: Likewise.
53485 * libio/iofclose.c: Likewise.
53486 * libio/iofdopen.c: Likewise.
53487 * libio/iofopen.c: Likewise.
53488 * libio/iofopen64.c: Likewise.
53489 * libio/iogetdelim.c: Likewise.
53490 * libio/iopopen.c: Likewise.
53491 * libio/obprintf.c: Likewise.
53492 * libio/oldfileops.c: Likewise.
53493 * libio/oldiofclose.c: Likewise.
53494 * libio/oldiofdopen.c: Likewise.
53495 * libio/oldiofopen.c: Likewise.
53496 * libio/oldiopopen.c: Likewise.
53497 * libio/wfiledoalloc.c: Likewise.
53498 * libio/wgenops.c: Likewise.
53499 * locale/programs/xmalloc.c: Likewise.
53500 * misc/syslog.c: Likewise.
53501 * stdio-common/xbug.c: Likewise.
53502 * string/memchr.c: Likewise.
53503 * string/memcmp.c: Likewise.
53504 * string/memrchr.c: Likewise.
53505 * string/rawmemchr.c: Likewise.
53506 * sysdeps/posix/getcwd.c: Likewise.
53507 * time/strftime_l.c: Likewise.
53509 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53511 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53512 * config.make.in (config-cflags-sse2avx): Define.
53513 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53516 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53518 * scripts/config.guess: Update from upstream config git repository.
53519 * scripts/config.sub: Likewise.
53521 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53523 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53525 (R_TILEPRO_*, R_TILEGX_*): New macros.
53527 * scripts/firstversions.awk: Fix bug in version range handling.
53529 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53531 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53533 * include/sys/epoll.h: New file.
53534 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53537 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53539 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53540 Avoid unnecessary __WORDSIZE == 64 test.
53541 (fmaxf): Use VEX format if possible.
53546 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53547 * math/math_private.h: Remove libc_fegetround* and
53549 * sysdeps/i386/configure.in: Check for -msse2avx.
53550 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53551 also if SSE2AVX is defined.
53552 Remove libc_fegetround* and libc_fesetround*.
53553 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53554 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53555 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53563 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53565 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53567 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53569 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53571 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53574 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53576 * Makeconfig (libm): Define.
53577 * elf/Makefile: Add rules to build and run tst-relsort1.
53578 * elf/tst-relsort1.c: New file.
53579 * elf/tst-relsort1mod1.c: New file.
53580 * elf/tst-relsort1mod2.c: New file.
53582 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53584 * math/s_ldexp.c: Remove __STDC__ conditionals.
53585 * math/s_ldexpf.c: Likewise.
53586 * math/s_ldexpl.c: Likewise.
53587 * math/s_nextafter.c: Likewise.
53588 * math/s_nexttowardf.c: Likewise.
53589 * math/s_significand.c: Likewise.
53590 * math/s_significandf.c: Likewise.
53591 * math/s_significandl.c: Likewise.
53592 * math/w_jnl.c: Likewise.
53593 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53594 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53595 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53596 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53597 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53598 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53599 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53600 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53601 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53602 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53603 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53605 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53606 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53607 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53608 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53609 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53610 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53612 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53613 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53614 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53615 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53616 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53617 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53618 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53619 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53621 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53622 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53623 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53624 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53625 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53626 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53627 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53628 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53629 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53630 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53631 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53632 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53633 * sysdeps/ieee754/k_standard.c: Likewise.
53634 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53635 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53636 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53637 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53638 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53639 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53640 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53641 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53642 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53643 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53644 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53645 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53646 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53647 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53648 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53650 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53653 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53654 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53655 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53656 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53657 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53658 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53659 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53663 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53664 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53665 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53666 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53667 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53668 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53669 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53670 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53671 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53672 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53673 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53674 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53676 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53677 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53679 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53682 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53683 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53684 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53687 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53688 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53690 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53692 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53693 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53694 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53695 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53696 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53697 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53698 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53699 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53700 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53701 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53702 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53703 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53704 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53705 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53706 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53707 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53708 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53709 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53710 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53711 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53712 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53713 * sysdeps/ieee754/s_matherr.c: Likewise.
53714 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53715 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53719 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53721 * crypt/md5.h: Remove __STDC__ conditionals.
53722 * libio/libioP.h: Likewise.
53723 * locale/programs/config.h: Likewise.
53724 * sysdeps/generic/sysdep.h: Likewise.
53725 * sysdeps/i386/asm-syntax.h: Likewise.
53726 * sysdeps/s390/asm-syntax.h: Likewise.
53727 * sysdeps/unix/sysdep.h: Likewise.
53728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53731 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53733 * libio/libio.h: Remove __STDC__ conditionals.
53734 * malloc/obstack.h: Likewise.
53735 * math/complex.h: Likewise.
53736 * math/math.h: Likewise.
53737 * sysdeps/generic/_G_config.h: Likewise.
53738 * sysdeps/gnu/_G_config.h: Likewise.
53739 * sysdeps/mach/hurd/_G_config.h: Likewise.
53740 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53741 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53742 * sysdeps/sparc/bits/mathdef.h: Likewise.
53744 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53747 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53748 Clean up HAS_* macros.
53749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53750 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53754 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53755 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53760 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53762 * elf/tst-unique3.cc (gets): Remove declaration.
53763 * elf/tst-unique3lib.cc (gets): Likewise.
53764 * elf/tst-unique3lib2.cc (gets): Likewise.
53765 * elf/tst-unique4.cc (gets): Likewise.
53767 2012-01-24 Ulrich Drepper <drepper@gmail.com>
53769 * include/stdio.h: Add C++ protection. Add gets declarations and
53771 * debug/tst-chk1.c: Don't declare gets here.
53772 * stdio-common/tst-gets.c: Likewise.
53774 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53776 * posix/glob: Remove directory.
53778 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53780 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53782 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53784 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53785 of the non-standard EPFNOSUPPORT.
53787 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53789 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53790 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53791 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53793 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53795 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53797 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53799 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53801 * nscd/grpcache.c (cache_addgr): Likewise.
53802 * nscd/hstcache.c (cache_addhst): Likewise.
53803 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53804 * nscd/pwdcache.c (cache_addpw): Likewise.
53805 * nscd/servicescache.c (cache_addserv): Likewise.
53807 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53809 * malloc/malloc.c: Various cleanups.
53810 * malloc/hooks.c: Likewise.
53812 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53813 * stdlib/bug-fmtmsg1.c: New file.
53815 * stdlib/fmtmsg.c (init): Add missing unlock.
53816 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53818 2012-01-12 Marek Polacek <polacek@redhat.com>
53820 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53823 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53825 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53826 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53827 macro to ensure uniqueness of label name.
53828 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53829 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53831 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53833 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53835 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53836 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53837 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53840 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53842 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53844 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53845 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53846 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53848 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53850 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53851 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53852 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53855 * math/bits/math-finite.h: Add ldexp support.
53857 2012-01-10 Marek Polacek <polacek@redhat.com>
53859 * locale/programs/localedef.h (show_archive_content): Add noreturn
53862 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53864 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53866 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53868 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53870 * io/Makefile (headers): Add bits/poll2.h.
53872 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53875 typo #include statement.
53877 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53879 * include/sys/cdefs.h: Define __attribute_alloc_size.
53880 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53881 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53882 * elf/pldd.c: Likewise.
53883 * iconv/iconv_charmap.c: Likewise.
53884 * iconv/iconvconfig.c: Likewise.
53885 * iconv/strtab.c: Likewise.
53886 * locale/programs/locale.c: Likewise.
53887 * locale/programs/localedef.h: Likewise.
53888 * locale/programs/simple-hash.c: Likewise.
53889 * nscd/nscd.h: Likewise.
53890 * nss/makedb.c: Likewise.
53891 * sysdeps/generic/ldconfig.h: Likewise.
53892 * locale/programs/localedef.c: Remove xmalloc prototype.
53893 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53895 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53897 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53900 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53902 * math/Makefile (tests): Add tst-CMPLX.
53903 * math/tst-CMPLX.c: New file.
53905 * math/complex.h (CMPLXL): Fix typo.
53907 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53908 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53910 * debug/tst-chk1.c: Add poll and ppoll tests.
53911 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53912 * include/sys/poll.h: Add hidden proto for ppoll.
53913 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53914 * sysdeps/mach/hurd/ppoll.c: Likewise.
53915 * io/ppoll.c: Likewise.
53916 * debug/poll_chk.c: New file.
53917 * debug/ppoll_chk.c: New file.
53918 * include/bits/poll2.h: New file.
53919 * io/bits/poll2.h: New file.
53922 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53924 * configure.in: static is always set to yes. Remove.
53925 * config.make.in: Don't set build-static.
53926 * Makeconfig: Remove use of build-static.
53927 * dlfcn/Makefile: Likewise.
53928 * elf/Makefile: Likewise.
53929 * math/Makefile: Likewise.
53930 * misc/Makefile: Likewise.
53931 * nptl/Makefile: Likewise.
53932 * sysdeps/mach/hurd/Makefile: Likewise.
53934 * configure.in: PWD_P is not used anymore.
53935 * config.make.in: Remove PWD_P entry.
53937 * configure.in: Remove last remnants of RANLIB.
53938 No need to check for signed size_t anymore.
53939 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53941 Remove __builtin_expect test because we require at least gcc 3.4.
53942 * aclocal.m4: Likewise.
53944 * wcsmbs/mbrtoc16.c: Implement using towc function.
53945 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53946 * wcsmbs/wcsmbsload.c: Likewise.
53947 * iconv/gconv_simple.c: Likewise.
53948 * iconv/gconv_int.h: Likewise.
53949 * iconv/gconv_builtin.h: Likewise.
53950 * iconv/iconv_prog.c: Remove CHAR16 handling.
53952 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53954 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53956 * configure.in: Remove --with-elf and --enable-bounded options.
53957 Dont set base_machine for ia64. More non-ELF conditions removed.
53958 Remove testing and setting of leading underscore information.
53959 * config.make.in (build-bounded): Set to no.
53960 * config.h.in: Remove NO_UNDERSCORES entry.
53961 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53963 * csu/start.c: Remove !NO_UNDERSCORE code.
53964 * locale/localeinfo.h: Likewise.
53965 * sysdeps/generic/machine-gmon.h: Likewise.
53966 * sysdeps/generic/sysdep.h: Likewise.
53967 * sysdeps/i386/sysdep.h: Likewise.
53968 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53969 * sysdeps/mach/sysdep.h: Likewise.
53970 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53971 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53972 * sysdeps/sh/sysdep.h: Likewise.
53973 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53974 * sysdeps/unix/i386/sysdep.S: Likewise.
53975 * sysdeps/unix/sparc/start.c: Likewise.
53976 * sysdeps/unix/sparc/sysdep.S: Likewise.
53977 * sysdeps/unix/sparc/sysdep.h: Likewise.
53978 * sysdeps/unix/start.c: Likewise.
53979 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53980 * sysdeps/x86_64/sysdep.h: Likewise.
53982 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53985 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53987 * argp/argp-fmtstream.h: Use const instead __const.
53988 * argp/argp.h: Likewise.
53989 * assert/assert.h: Likewise.
53990 * bits/fenv.h: Likewise.
53991 * bits/sched.h: Likewise.
53992 * bits/sigset.h: Likewise.
53993 * bits/sigthread.h: Likewise.
53994 * catgets/nl_types.h: Likewise.
53995 * conform/data/pthread.h-data: Likewise.
53996 * crypt/crypt-private.h: Likewise.
53997 * crypt/crypt.h: Likewise.
53998 * crypt/crypt_util.c: Likewise.
53999 * ctype/ctype.h: Likewise.
54000 * debug/execinfo.h: Likewise.
54001 * debug/mbsnrtowcs_chk.c: Likewise.
54002 * debug/mbsrtowcs_chk.c: Likewise.
54003 * debug/wcsnrtombs_chk.c: Likewise.
54004 * debug/wcsrtombs_chk.c: Likewise.
54005 * debug/wcstombs_chk.c: Likewise.
54006 * dirent/dirent.h: Likewise.
54007 * dlfcn/dlfcn.h: Likewise.
54008 * elf/neededtest4.c: Likewise.
54009 * grp/grp.h: Likewise.
54010 * gshadow/gshadow.h: Likewise.
54011 * iconv/gconv.h: Likewise.
54012 * iconv/gconv_int.h: Likewise.
54013 * iconv/gconv_simple.c: Likewise.
54014 * iconv/iconv.h: Likewise.
54015 * iconv/loop.c: Likewise.
54016 * iconv/skeleton.c: Likewise.
54017 * include/aio.h: Likewise.
54018 * include/aliases.h: Likewise.
54019 * include/argz.h: Likewise.
54020 * include/arpa/inet.h: Likewise.
54021 * include/assert.h: Likewise.
54022 * include/dirent.h: Likewise.
54023 * include/dlfcn.h: Likewise.
54024 * include/execinfo.h: Likewise.
54025 * include/fcntl.h: Likewise.
54026 * include/fenv.h: Likewise.
54027 * include/glob.h: Likewise.
54028 * include/grp.h: Likewise.
54029 * include/libintl.h: Likewise.
54030 * include/mntent.h: Likewise.
54031 * include/netdb.h: Likewise.
54032 * include/pwd.h: Likewise.
54033 * include/rpc/netdb.h: Likewise.
54034 * include/sched.h: Likewise.
54035 * include/search.h: Likewise.
54036 * include/shadow.h: Likewise.
54037 * include/signal.h: Likewise.
54038 * include/stdio.h: Likewise.
54039 * include/stdlib.h: Likewise.
54040 * include/string.h: Likewise.
54041 * include/sys/socket.h: Likewise.
54042 * include/sys/stat.h: Likewise.
54043 * include/sys/statfs.h: Likewise.
54044 * include/sys/statvfs.h: Likewise.
54045 * include/sys/syslog.h: Likewise.
54046 * include/sys/time.h: Likewise.
54047 * include/sys/uio.h: Likewise.
54048 * include/time.h: Likewise.
54049 * include/unistd.h: Likewise.
54050 * include/utmp.h: Likewise.
54051 * include/wchar.h: Likewise.
54052 * include/wctype.h: Likewise.
54053 * inet/aliases.h: Likewise.
54054 * inet/arpa/inet.h: Likewise.
54055 * inet/netinet/ether.h: Likewise.
54056 * inet/netinet/in.h: Likewise.
54057 * intl/libintl.h: Likewise.
54058 * io/bits/fcntl2.h: Likewise.
54059 * io/fcntl.h: Likewise.
54060 * io/ftw.h: Likewise.
54061 * io/sys/poll.h: Likewise.
54062 * io/sys/stat.h: Likewise.
54063 * io/sys/statfs.h: Likewise.
54064 * io/sys/statvfs.h: Likewise.
54065 * io/utime.h: Likewise.
54066 * libio/bits/stdio.h: Likewise.
54067 * libio/bits/stdio2.h: Likewise.
54068 * libio/libio.h: Likewise.
54069 * libio/libioP.h: Likewise.
54070 * libio/stdio.h: Likewise.
54071 * locale/lc-ctype.c: Likewise.
54072 * locale/locale.h: Likewise.
54073 * login/utmp.h: Likewise.
54074 * malloc/arena.c: Likewise.
54075 * malloc/malloc.c: Likewise.
54076 * malloc/malloc.h: Likewise.
54077 * malloc/mcheck.c: Likewise.
54078 * malloc/mtrace.c: Likewise.
54079 * math/bits/mathcalls.h: Likewise.
54080 * math/fenv.h: Likewise.
54081 * math/math_private.h: Likewise.
54082 * misc/bits/error.h: Likewise.
54083 * misc/bits/syslog.h: Likewise.
54084 * misc/err.h: Likewise.
54085 * misc/error.h: Likewise.
54086 * misc/fstab.h: Likewise.
54087 * misc/mntent.h: Likewise.
54088 * misc/regexp.h: Likewise.
54089 * misc/search.h: Likewise.
54090 * misc/sgtty.h: Likewise.
54091 * misc/sys/mman.h: Likewise.
54092 * misc/sys/syslog.h: Likewise.
54093 * misc/sys/uio.h: Likewise.
54094 * misc/sys/xattr.h: Likewise.
54095 * misc/ttyent.h: Likewise.
54096 * nis/rpcsvc/ypclnt.h: Likewise.
54097 * nss/nss.h: Likewise.
54098 * posix/bits/unistd.h: Likewise.
54099 * posix/fnmatch.h: Likewise.
54100 * posix/glob.h: Likewise.
54101 * posix/sched.h: Likewise.
54102 * posix/spawn.h: Likewise.
54103 * posix/sys/wait.h: Likewise.
54104 * posix/unistd.h: Likewise.
54105 * posix/wordexp.h: Likewise.
54106 * pwd/pwd.h: Likewise.
54107 * resolv/netdb.h: Likewise.
54108 * resource/sys/resource.h: Likewise.
54109 * rt/aio.h: Likewise.
54110 * rt/bits/mqueue2.h: Likewise.
54111 * rt/mqueue.h: Likewise.
54112 * shadow/shadow.h: Likewise.
54113 * signal/signal.h: Likewise.
54114 * socket/send.c: Likewise.
54115 * socket/sendto.c: Likewise.
54116 * socket/sys/socket.h: Likewise.
54117 * stdio-common/printf.h: Likewise.
54118 * stdlib/bits/stdlib.h: Likewise.
54119 * stdlib/fmtmsg.h: Likewise.
54120 * stdlib/monetary.h: Likewise.
54121 * stdlib/stdlib.h: Likewise.
54122 * stdlib/ucontext.h: Likewise.
54123 * streams/stropts.h: Likewise.
54124 * string/argz.h: Likewise.
54125 * string/bits/string2.h: Likewise.
54126 * string/string.h: Likewise.
54127 * string/strings.h: Likewise.
54128 * sunrpc/rpc/auth.h: Likewise.
54129 * sunrpc/rpc/auth_des.h: Likewise.
54130 * sunrpc/rpc/clnt.h: Likewise.
54131 * sunrpc/rpc/netdb.h: Likewise.
54132 * sunrpc/rpc/pmap_clnt.h: Likewise.
54133 * sunrpc/rpc/xdr.h: Likewise.
54134 * sysdeps/generic/inttypes.h: Likewise.
54135 * sysdeps/generic/net/if.h: Likewise.
54136 * sysdeps/generic/sys/swap.h: Likewise.
54137 * sysdeps/gnu/net/if.h: Likewise.
54138 * sysdeps/gnu/utmpx.h: Likewise.
54139 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54140 * sysdeps/i386/i486/bits/string.h: Likewise.
54141 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54142 * sysdeps/s390/bits/string.h: Likewise.
54143 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54144 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54145 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54146 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54147 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54148 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54149 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54150 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54151 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54152 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54153 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54154 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54155 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54156 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54157 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54158 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54159 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54161 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54163 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54164 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54165 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54166 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54167 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54168 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54169 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54170 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54171 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54172 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54173 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54174 * sysvipc/sys/ipc.h: Likewise.
54175 * sysvipc/sys/msg.h: Likewise.
54176 * sysvipc/sys/sem.h: Likewise.
54177 * sysvipc/sys/shm.h: Likewise.
54178 * termios/termios.h: Likewise.
54179 * time/sys/time.h: Likewise.
54180 * time/time.h: Likewise.
54181 * wcsmbs/bits/wchar2.h: Likewise.
54182 * wcsmbs/uchar.h: Likewise.
54183 * wcsmbs/wchar.h: Likewise.
54184 * wctype/wctype.h: Likewise.
54187 * Makeconfig: Remove all but ELF support including AIX support.
54188 * Makerules: Likewise.
54189 * config.h.in: Likewise.
54190 * config.make.in: Likewise.
54191 * configure: Likewise.
54192 * configure.in: Likewise.
54193 * csu/Makefile: Likewise.
54194 * csu/version.c: Likewise.
54195 * debug/Makefile: Likewise.
54196 * dlfcn/Makefile: Likewise.
54197 * elf/Makefile: Likewise.
54198 * extra-lib.mk: Likewise.
54199 * iconv/Makefile: Likewise.
54200 * include/libc-symbols.h: Likewise.
54201 * include/shlib-compat.h: Likewise.
54202 * resolv/Makefile: Likewise.
54203 * resolv/res_libc.c: Likewise.
54204 * rt/Makefile: Likewise.
54205 * sysdeps/i386/asm-syntax.h: Likewise.
54206 * sysdeps/i386/sysdep.h: Likewise.
54207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54208 * sysdeps/mach/sysdep.h: Likewise.
54209 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54210 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54211 * sysdeps/s390/asm-syntax.h: Likewise.
54212 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54214 * sysdeps/sh/sysdep.h: Likewise.
54215 * sysdeps/unix/sparc/sysdep.h: Likewise.
54216 * sysdeps/wordsize-32/divdi3.c: Likewise.
54217 * sysdeps/x86_64/sysdep.h: Likewise.
54219 * argp/Versions: Remove _argp_unlock_xxx.
54222 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54223 * abilist/libBrokenLocale.abilist: Likewise.
54224 * abilist/libanl.abilist: Likewise.
54225 * abilist/libc.abilist: Likewise.
54226 * abilist/libcrypt.abilist: Likewise.
54227 * abilist/libdl.abilist: Likewise.
54228 * abilist/libm.abilist: Likewise.
54229 * abilist/libnsl.abilist: Likewise.
54230 * abilist/libpthread.abilist: Likewise.
54231 * abilist/libresolv.abilist: Likewise.
54232 * abilist/librt.abilist: Likewise.
54233 * abilist/libthread_db.abilist: Likewise.
54234 * abilist/libutil.abilist: Likewise.
54235 * abilist/libnss_db.abilist: New file.
54237 * scripts/abilist.awk: Add support for indirect functions.
54239 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54241 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54243 * shlib-versions: Remove entries for ports architectures.
54245 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54247 * elf/stackguard-macros.h: Remove support for IA-64.
54248 * elf/tst-auditmod1.c: Likewise.
54249 * sysdeps/generic/ldsodefs.h: Likewise.
54251 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54252 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54256 * configure.in: Remove --enable-omitfp support.
54258 * config.make.in: Likewise.
54259 * Makeconfig: Likewise.
54260 * manual/install.texi: Likewise.
54262 In case anyone cares, the IA-64 architecture could move to ports.
54263 * sysdeps/ia64/*: Removed.
54264 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54265 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54268 * configure.in: Remove entries for unsupported architectures.
54271 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54272 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54274 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54275 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54276 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54277 fall back to using wcrtomb.
54278 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54279 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54281 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54282 * wcsmbs/tst-c16c32-1.c: New file.
54284 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54287 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54289 * elf/tst-unique3.cc: Add explicit declaration of gets.
54290 * elf/tst-unique3lib.cc: Likewise.
54291 * elf/tst-unique3lib2.cc: Likewise.
54292 * elf/tst-unique4.cc: Likewise.
54294 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54296 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54299 * assert/assert.h (static_assert): Don't define for C++.
54300 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54301 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54303 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54305 * iconv/loop.c (single loop): Fix assertion in storing of
54308 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54310 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54312 * posix/getconf.c: Update copyright year.
54313 * nss/getent.c: Likewise.
54314 * nss/makedb.c: Likewise.
54315 * iconv/iconvconfig.c: Likewise.
54316 * iconv/iconv_prog.c: Likewise.
54317 * elf/ldconfig.c: Likewise.
54318 * elf/pldd.c: Likewise.
54319 * elf/sotruss.ksh: Likewise.
54320 * catgets/gencat.c: Likewise.
54321 * csu/version.c: Likewise.
54322 * elf/ldd.bash.in: Likewise.
54323 * elf/sprof.c (print_version): Likewise.
54324 * locale/programs/locale.c: Likewise.
54325 * locale/programs/localedef.c: Likewise.
54326 * login/programs/pt_chown.c: Likewise.
54327 * nscd/nscd.c (print_version): Likewise.
54328 * debug/xtrace.sh: Likewise.
54329 * malloc/memusage.sh: Likewise.
54330 * malloc/mtrace.pl: Likewise.
54331 * debug/catchsegv.sh: Likewise.
54333 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54335 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54338 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54341 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54342 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54344 * iconv/gconv_int.h: Likewise.
54345 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54346 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54347 from libc for GLIBC_2.16.
54348 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54349 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54350 * wcsmbs/uchar.h: Really define mbstate_t.
54351 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54352 * wcsmbs/c16rtomb.c: New file.
54353 * wcsmbs/mbrtoc16.c: New file.
54354 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54355 for C/POSIX locale.
54356 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54357 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54359 * wcsmbs/wchar.h: Add missing __restrict.
54361 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54364 * time/Makefile (routines): Add timespec_get.
54365 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54366 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54367 timespec for ISO C11.
54368 * time/timespec_get.c: New file.
54369 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54370 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54373 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54374 * stdlib/stdlib.h: Declare aligned_alloc.
54375 * Versions.def: Add GLIBC_2.16 for libc.
54376 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54379 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54382 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54386 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54389 * assert/assert.h (static_assert): Define.
54391 * version.h: Update for 2.16 development version.
54394 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54397 * version.h (RELEASE): Bump for 2.15 release.
54398 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54400 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54401 Patch by Marek Polacek <mpolacek@redhat.com>.
54403 * bits/byteswap.h: Protect long long constants with __extension__.
54404 * sysdeps/i386/bits/byteswap.h: Likewise.
54405 * sysdeps/ia64/bits/byteswap.h: Likewise.
54406 * sysdeps/s390/bits/byteswap.h: Likewise.
54407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54409 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54412 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54413 destination buffer.
54414 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54416 2011-12-23 Marek Polacek <polacek@redhat.com>
54418 * elf/dl-addr.c (determine_info): Add inline keyword.
54419 * elf/tst-auditmod4b.c (check_avx): Likewise.
54420 * elf/tst-auditmod6b.c (check_avx): Likewise.
54421 * elf/tst-auditmod6c.c (check_avx): Likewise.
54422 * elf/tst-auditmod7b.c (check_avx): Likewise.
54424 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54426 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54429 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54432 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54433 processing for last bytes.
54435 2011-08-06 Bruno Haible <bruno@clisp.org>
54438 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54439 U+0385, not to U+1FEE.
54442 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54443 entry for U+00A5 U+0301.
54445 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54448 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54449 buffer for the output is too small.
54451 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54455 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54456 SSE flags if possible.
54458 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54461 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54462 processing for last bytes.
54464 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54466 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54467 (syscall-list-default-options, syscall-list-default-condition)
54468 (syscall-list-includes): Define.
54469 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54470 list of ABIs and options and #if conditions for each ABI. Do not
54471 handle common syscalls between ABIs specially.
54472 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54474 (syscall-list-variants, syscall-list-32bit-options)
54475 (syscall-list-32bit-condition, syscall-list-64bit-options)
54476 (syscall-list-64bit-condition): Define.
54477 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54478 (syscall-list-variants, syscall-list-32bit-options)
54479 (syscall-list-32bit-condition, syscall-list-64bit-options)
54480 (syscall-list-64bit-condition): Define.
54481 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54483 (syscall-list-variants, syscall-list-32bit-options)
54484 (syscall-list-32bit-condition, syscall-list-64bit-options)
54485 (syscall-list-64bit-condition): Define.
54486 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54488 (syscall-list-variants, syscall-list-32bit-options)
54489 (syscall-list-32bit-condition, syscall-list-64bit-options)
54490 (syscall-list-64bit-condition): Define.
54492 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54494 * locale/iso-639.def: Add brx entry.
54497 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54498 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54500 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54501 __feraiseexcept_renamed.
54503 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54506 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54507 EPOLLET with unsigned values.
54508 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54509 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54511 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54512 to large cancellation.
54513 * math/s_cacoshf.c: Likewise.
54514 * math/s_cacoshl.c: Likewise.
54516 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54520 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54521 * math/s_cacoshf.c: Likewise.
54522 * math/s_cacoshl.c: Likewise.
54524 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54527 * iconv/gconv.h: Define __GCONV_SWAP.
54528 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54529 * iconvdata/utf-16.c: Likewise.
54530 * iconvdata/utf-32.c: Likewise.
54532 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54536 numerator after shifting it by one limb.
54538 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54541 under [__USE_EXTERN_INLINES].
54543 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54546 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54548 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54550 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54551 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54553 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54554 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54555 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54556 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54557 for strncasecmp/strncasecmp_l compilation.
54558 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54559 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54561 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54564 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54567 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54570 * time/tzfile.c (__tzfile_read): Check values from file header.
54572 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54574 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54575 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54576 * powerpc/powerpc32/dl-start.S: Likewise.
54577 * powerpc/powerpc32/elf/start.S: Likewise.
54578 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54579 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54580 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54581 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54582 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54583 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54584 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54585 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54586 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54587 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54588 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54589 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54590 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54591 * powerpc/powerpc32/memset.S: Likewise.
54592 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54593 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54594 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54595 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54596 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54597 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54598 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54599 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54600 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54601 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54602 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54603 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54604 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54606 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54608 * math/libm-test.inc: Added more nearbyint tests.
54609 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54610 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54614 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54616 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54619 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54621 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54622 Add wcscpy-ssse3 wcscpy-c.
54623 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54624 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54625 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54626 * sysdeps/x86_64/wcschr.S: New file.
54627 * sysdeps/x86_64/wcsrchr.S: New file.
54628 * string/test-strcmp.c: Remove checking of wcscmp function for
54630 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54631 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54632 wcsrchr-sse2 wcsrchr-c.
54633 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54634 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54635 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54636 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54637 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54638 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54639 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54640 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54641 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54642 * wcsmbc/wcschr.c (WCSCHR): New macro.
54644 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54646 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54647 * wcsmbs/test-wcsrchr.c: New file.
54648 * string/test-strrchr.c: Add wcsrchr support.
54650 * wcsmbs/test-wcscpy.c: New file.
54651 * string/test-strcpy.c: Add wcscpy support.
54654 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54656 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54659 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54662 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54664 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54666 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54667 Minor optimizations.
54669 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54670 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54671 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54673 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54675 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54676 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54677 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54678 for gcc to avoid warnings.
54679 * inet/Makefile (tests): Add tst-checks.
54680 * inet/tst-checks.c: New file.
54682 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54685 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54688 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54689 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54691 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54693 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54695 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54698 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54700 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54702 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54703 conditional on GCC version.
54704 (__arch_compare_and_exchange_val_8_acq)
54705 (__arch_compare_and_exchange_val_16_acq)
54706 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54707 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54708 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54710 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54712 * sysdeps/sh/backtrace.c: New file.
54714 2011-12-02 Andreas Schwab <schwab@redhat.com>
54716 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54719 2011-12-01 Andreas Schwab <schwab@redhat.com>
54721 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54722 falling back to utime.
54724 2011-11-30 Andreas Schwab <schwab@redhat.com>
54726 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54727 expectations for float.
54729 2011-11-29 Andreas Schwab <schwab@redhat.com>
54731 * locale/weight.h (findidx): Add parameter len.
54732 * locale/weightwc.h (findidx): Likewise.
54733 * posix/fnmatch_loop.c (FCT): Adjust caller.
54734 * posix/regcomp.c (build_equiv_class): Likewise.
54735 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54736 * posix/regexec.c (check_node_accept_bytes): Likewise.
54737 * string/strcoll_l.c (STRCOLL): Likewise.
54738 * string/strxfrm_l.c (STRXFRM): Likewise.
54740 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54742 * Makefile.in: Remove CVSOPT handling.
54743 * configure.in: Remove use of AC_REVISION.
54744 * iconvdata/Makefile (distribute): No need to filter out CVS.
54745 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54748 2011-11-16 Andreas Schwab <schwab@redhat.com>
54750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54751 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54752 [USE_AS_STRNCASECMP_L]: Likewise.
54753 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54754 NO_TLS_DIRECT_SEG_REFS.
54755 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54756 Fix argument offsets for non-PIC.
54757 [USE_AS_STRNCASECMP_L]: Likewise.
54758 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54759 NO_TLS_DIRECT_SEG_REFS.
54761 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54763 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54765 * locale/loadlocale.c (_nl_load_locale): Likewise.
54767 2011-11-15 Andreas Schwab <schwab@redhat.com>
54769 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54770 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54771 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54772 (SYSCALL_GETTIME): Set errno on error.
54774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54775 count references to noai6ai_cached.
54777 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54779 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54781 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54782 FD_CLOEXEC for /proc/self/maps.
54784 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54785 FD_CLOEXEC for /proc/meminfo.
54787 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54790 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54791 FD_CLOEXEC for given file.
54793 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54795 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54796 FD_CLOEXEC for /etc/hosts.
54797 (_gethtent): Likewise.
54799 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54801 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54802 cancellation and set FD_CLOEXEC for /etc/netgroup.
54804 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54805 reading /etc/publickey.
54807 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54808 allow cancellation when reading /etc/group.
54810 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54812 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54814 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54815 when using data file.
54817 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54819 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54820 (write_nis_obj): Use "c" and "e" in fopen.
54822 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54824 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54826 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54828 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54830 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54833 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54835 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54837 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54839 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54840 file parsing and set FD_CLOEXEC.
54842 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54844 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54846 2011-11-14 Andreas Schwab <schwab@redhat.com>
54848 * malloc/arena.c (arena_get2): Don't call reused_arena when
54849 _int_new_arena failed.
54851 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54853 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54854 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54855 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54856 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54858 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54859 to compile strcasecmp and strncasecmp.
54860 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54861 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54865 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54867 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54868 locale-defines.sym to gen-as-const-headers.
54869 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54870 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54872 to compile strcasecmp and strncasecmp.
54873 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54874 strcasecmp_l and strncasecmp_l.
54875 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54876 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54877 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54878 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54879 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54880 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54881 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54882 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54883 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54884 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54885 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54887 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54889 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54890 result of SYSDEP_GETTIME_CPU to retval.
54891 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54892 parameter list to macro. Remove trailing semicolon. Adjust users.
54894 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54897 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54899 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54901 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54902 from unused variable.
54904 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54906 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54909 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54912 * sunrpc/rpc_prot.c (rejected): Fix case value.
54914 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54915 unsigned long long int to avoid warnings in shift.
54917 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54919 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54922 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54923 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54924 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54926 * nis/nis_table.c (nis_list): Use variable of correct type for
54927 result of __follow_path call.
54929 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54931 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54932 of math functions ceil, trunc, floor, round, and sqrt, when
54933 avaliable on the platform.
54934 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54936 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54937 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54938 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54940 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54942 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54943 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54945 2011-11-11 Roland McGrath <roland@hack.frob.com>
54947 * include/unistd.h: Fix __readlink return type.
54948 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54950 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54952 * stdlib/ucontext.h: Undo last change for makecontext.
54954 2011-11-11 Andreas Schwab <schwab@redhat.com>
54956 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54958 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54959 * setjmp/setjmp.h: Mark functions as non-leaf.
54960 * setjmp/bits/setjmp2.h: Likewise.
54961 * stdlib/ucontext.h: Likewise.
54963 2011-11-10 Andreas Schwab <schwab@redhat.com>
54965 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54966 (reused_arena): Don't check arena limit.
54967 (arena_get2): Atomically check arena limit.
54969 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54971 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54972 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54977 2011-11-07 Andreas Schwab <schwab@redhat.com>
54979 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54980 handler when locking.
54982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54983 Fix size of allocated buffer.
54985 2011-11-04 Andreas Schwab <schwab@redhat.com>
54988 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54989 declarations for long double functions.
54990 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54992 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54994 2011-11-03 Andreas Schwab <schwab@redhat.com>
54996 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54999 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55002 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55004 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55006 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55008 * include/alloca.h (stackinfo_alloca_round): Define.
55009 (extend_alloca): Use it.
55010 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55011 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55014 * scripts/check-local-headers.sh: Ignore libaudit.h.
55016 * nscd/Makefile (extra-objs): Make recursively expanded.
55018 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55020 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55023 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55024 * posix/tst-rfc3484-2.c: Likewise.
55025 * posix/tst-rfc3484-3.c: Likewise.
55027 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55029 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55031 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55032 process_vm_writev from libc using GLIBC_2.15 version.
55034 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55036 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55038 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55041 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55044 * nss/getent.c (initgroups_keys): Show error message in case no group
55047 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55048 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55049 __bump_nl_timestamp.
55050 * nscd/connections (nscd_init): When host database is served open
55051 netlink socket and request notification about configuration changes.
55052 (main_loop_poll): Track netlink file descriptor and bump timestamp
55053 in case data becomes available.
55054 (main_loop_epoll): Likewise.
55055 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55056 (database_pers_head): Add extra_data fileds.
55057 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55058 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55059 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55062 in6ai data, call __free_in6ai.
55063 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55064 Add -DHAVE_NETLINK.
55065 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55066 interface information. Reuse previous data if netlink timestamp
55068 (__bump_nl_timestamp): New function.
55069 (__free_in6ai): New function.
55071 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55073 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55074 close_not_cancel_no_status here.
55075 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55077 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55080 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55083 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55084 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55085 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55087 2011-07-03 Andreas Jaeger <aj@suse.de>
55090 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55091 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55092 * math/libm-test.inc (sin_test): Add test case.
55094 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55097 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55098 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55100 * elf/chroot_canon.c (chroot_canon): Cleanups.
55102 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55105 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55106 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55108 * string/test-strchr.c: Make usable for strchrnul testing.
55109 * string/test-strchrnul.c: New file.
55110 * string/Makefile (strop-tests): Add strchrnul.
55112 * po/it.po: Update from translation team.
55113 * po/es.po: Likewise.
55115 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55117 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55118 the three constants needed as parameters. Drop the others.
55119 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55120 __m128i_strloadu_tolower.
55121 Create and initialize variable zero and use it in all the places
55122 where _mm_setzero_si128 was used.
55124 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55125 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55126 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55127 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55129 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55130 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55131 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55132 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55133 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55134 __mpranred, __mptan.
55135 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55136 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55137 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55138 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55139 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55140 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55141 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55142 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55143 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55145 2011-10-28 Andreas Schwab <schwab@redhat.com>
55147 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55148 redefine if SHARED.
55149 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55152 wide char related routines to wcsmbs subdir.
55154 2011-10-27 Andreas Schwab <schwab@redhat.com>
55157 * misc/sys/cdefs.h (__THROWNL): Define.
55158 * posix/unistd.h: Use __THREADNL instead of __THREAD
55159 for memory synchronization functions.
55161 2011-10-26 Roland McGrath <roland@hack.frob.com>
55164 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55166 * manual/stdio.texi (Obstack Streams): Node removed.
55168 2011-10-26 Andreas Schwab <schwab@redhat.com>
55170 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55171 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55172 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55174 * math/math_private.h (math_force_eval): Allow non-addressable
55176 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55178 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55181 file is not needed.
55183 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55185 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55186 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55187 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55188 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55189 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55190 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55192 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55193 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55194 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55195 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55197 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55198 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55199 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55200 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55201 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55202 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55203 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55204 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55205 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55206 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55207 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55208 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55209 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55210 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55212 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55213 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55216 place. Use VEX encoding when compiling for AVX.
55218 2011-10-25 Andreas Schwab <schwab@redhat.com>
55220 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55221 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55223 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55225 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55227 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55228 useless if() expression.
55229 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55230 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55231 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55232 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55233 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55234 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55235 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55237 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55238 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55240 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55241 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55242 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55243 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55245 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55246 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55247 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55249 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55251 2011-10-25 Andreas Schwab <schwab@redhat.com>
55253 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55255 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55257 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55259 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55260 .text section. Avoid duplicate constants.
55261 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55269 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55270 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55271 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55272 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55273 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55274 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55275 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55277 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55278 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55284 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55285 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55286 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55287 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55288 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55289 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55290 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55291 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55292 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55293 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55294 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55295 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55296 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55297 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55298 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55299 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55300 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55302 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55303 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55304 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55305 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55307 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55309 * sysdeps/x86_64/dla.h: Move to ...
55310 * sysdeps/x86_64/fpu/dla.h: ...here.
55311 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55312 situations. Use __builtin_fma only for gcc 4.6 and up.
55314 * config.make.in: Add have-mfma4 entry.
55315 * configure.in: Substitute libc_cv_cc_fma4.
55316 * math/Makefile (dbl-only-routines): Add sincostab.
55317 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55318 Use __sincostab not sincos.
55319 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55326 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55327 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55328 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55329 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55331 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55332 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55334 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55335 define aliases when function name is a macro.
55336 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55337 sysdeps/ieee754/dbl-64/sincos.tbl.
55338 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55339 fma4-enabled routines.
55340 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55341 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55342 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55343 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55344 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55345 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55346 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55347 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55348 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55349 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55350 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55351 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55352 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55353 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55354 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55355 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55356 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55357 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55358 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55360 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55361 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55362 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55366 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55367 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55368 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55369 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55371 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55379 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55382 2011-10-24 Andreas Schwab <schwab@redhat.com>
55384 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55386 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55388 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55390 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55394 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55395 Remove unused variable magic_bits.
55396 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55398 * string/strnlen.c: Define and use STRNLEN macro.
55399 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55400 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55402 * wcsmbs/wcslen.c: Define and use WCSLEN.
55403 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55404 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55405 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55406 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55407 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55408 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55409 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55411 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55414 strnlen-sse2-no-bsf.
55415 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55417 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55418 Add strnlen support.
55419 (USE_AS_STRNLEN): New macro.
55420 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55421 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55422 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55423 * sysdeps/x86_64/wcslen.S: New file.
55425 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55427 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55428 XMM-moves are used for copying on small sizes.
55430 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55432 * wcsmbs/Makefile (strop-tests): Add wcschr.
55433 * wcsmbs/test-wcschr.c: New file.
55434 * string/test-strchr.c: Update.
55435 Add wcschr support.
55438 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55440 * wcsmbs/Makefile (strop-tests): Add wcslen.
55441 * wcsmbs/test-wcslen.c: New file.
55442 * string/test-strlen.c: Update.
55443 Add wcslen support.
55446 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55448 * po/it.po: Update from translation team.
55450 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55452 * sysdeps/x86_64/wcscmp.S: Update.
55453 Fix wrong comparison semantics.
55454 wcscmp shall use signed comparison not unsigned.
55455 Don't use substraction to avoid overflow bug.
55456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55457 * wcsmbc/wcscmp.c: Likewise.
55458 * string/test-strcmp.c: Likewise.
55459 Add new tests to check cases with negative values.
55461 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55463 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55464 * sysdeps/x86_64/dla.h: ...here. New file.
55465 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55470 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55475 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55478 __ynl_finite aliases.
55480 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55484 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55486 [DLA_FMA] (EMULV): Use DLA_FMA.
55487 [DLA_FMA] (MUL12): Use EMULV.
55488 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55489 that are not needed.
55490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55498 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55500 * math/s_nan.c: Undef __nan.
55501 * math/s_nanf.c: Undef __nanf.
55502 * math/s_nanl.c: Undef __nanl.
55503 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55506 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55508 * math/s_catan.c: Add branch predictions.
55509 * math/s_catanf.c: Likewise.
55510 * math/s_catanh.c: Likewise.
55511 * math/s_catanhf.c: Likewise.
55512 * math/s_catanhl.c: Likewise.
55513 * math/s_catanl.c: Likewise.
55514 * math/s_cexp.c: Likewise.
55515 * math/s_cexpf.c: Likewise.
55516 * math/s_cexpl.c: Likewise.
55517 * math/s_clog.c: Likewise.
55518 * math/s_clog10.c: Likewise.
55519 * math/s_clog10f.c: Likewise.
55520 * math/s_clog10l.c: Likewise.
55521 * math/s_clogf.c: Likewise.
55522 * math/s_clogl.c: Likewise.
55523 * math/s_csqrt.c: Likewise.
55524 * math/s_csqrtf.c: Likewise.
55525 * math/s_csqrtl.c: Likewise.
55526 * math/s_ctanf.c: Likewise.
55527 * math/s_ctanh.c: Likewise.
55528 * math/s_ctanhf.c: Likewise.
55529 * math/s_ctanhl.c: Likewise.
55530 * math/s_ctanl.c: Likewise.
55532 * math/math_private.h: Define __nan, __nanf, __nanl.
55533 * math/s_cacosh.c: Include <math_private.h>.
55534 * math/s_cacoshl.c: Likewise.
55535 * math/s_casinh.c: Likewise.
55536 * math/s_casinhf.c: Likewise.
55537 * math/s_casinhl.c: Likewise.
55538 * math/s_ccos.c: Rely entire on ccosh.
55539 * math/s_ccosf.c: Rely entire on ccoshf.
55540 * math/s_ccosl.c: Rely entirely on ccoshl.
55541 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55542 Remove tests for FE_INVALID.
55543 * math/s_ccoshf.c: Likewise.
55544 * math/s_ccoshl.c: Likewise.
55545 * math/s_csin.c: Likewise.
55546 * math/s_csinf.c: Likewise.
55547 * math/s_csinh.c Likewise.
55548 * math/s_csinhf.c: Likewise.
55549 * math/s_csinhl.c: Likewise.
55550 * math/s_csinl.c: Likewise.
55551 * math/s_ctan.c: Likewise.
55552 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55553 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55556 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55559 compilation problems.
55561 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55564 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55566 * sysdeps/i386/configure.in: Test for -mfma4 option.
55567 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55568 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55569 COMMON_CPUID_INDEX_80000001.
55570 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55571 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55572 use it if FMA3 is not supported.
55573 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55575 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55576 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55578 2011-10-20 Andreas Schwab <schwab@redhat.com>
55581 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55582 it would create a cycle with a link time dependency.
55584 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55586 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55588 * string/Makefile (strop-tests): Add rawmemchr.
55589 * string/test-rawmemchr.c: New file.
55591 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55592 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55593 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55594 when compiling str{,n}casecmp and when AVX is available. Hook up
55595 new optimized code in initializers.
55597 2011-10-19 Andreas Schwab <schwab@redhat.com>
55599 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55600 __feraiseexcept instead of feraiseexcept.
55602 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55604 * math/math_private.h: Define defaults for libc_fetestexcept and
55606 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55607 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55608 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55609 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55610 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55611 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55612 libc_fetestexcept and libc_feupdateenv.
55614 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55615 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55616 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55617 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55618 libc_feholdexcept_setround.
55620 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55621 Add s_nearbyint-c and s_nearbyintf-c.
55622 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55623 nearbyintf inlines.
55624 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55625 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55626 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55627 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55629 * math/math_private.h: Define defaults for libc_fegetround,
55630 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55631 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55632 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55633 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55634 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55635 standard functions.
55636 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55637 Remove comments and hacks for old compiler versions.
55638 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55639 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55640 libc_feholdexceptl.
55642 2011-10-18 Andreas Schwab <schwab@redhat.com>
55644 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55645 (__feraiseexcept_renamed): Add __NTH.
55646 (feraiseexcept): Add __NTH. Rename local variables to fix
55647 namespace violations.
55649 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55651 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55653 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55655 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55656 recently added interfaces.
55657 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55659 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55660 about macro parameter expansion.
55662 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55663 __NO_MATH_INLINES is defined. Cleanups.
55665 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55666 and __floorf is target has SSE4.1.
55667 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55668 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55669 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55670 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55672 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55674 (floorf): Likewise.
55676 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55678 2011-10-17 Andreas Schwab <schwab@redhat.com>
55680 * misc/sys/cdefs.h: Fix last change.
55682 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55685 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55687 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55689 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55691 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55692 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55693 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55694 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55696 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55697 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55698 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55699 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55700 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55701 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55702 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55703 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55704 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55705 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55706 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55707 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55708 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55709 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55710 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55712 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55713 ceil, ceilf, floor, floorf.
55715 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55716 Perform IRELATIVE relocations last.
55718 * elf/do-rel.h: Add another parameter nrelative, replacing the
55719 local variable with the same name. Change name of the function
55720 to end in Rel or Rela (uppercase).
55721 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55722 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55723 elf_dynamic_do_##reloc function.
55725 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55727 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55728 is sufficient, at least on modern CPUs.
55730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55732 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55733 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55735 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55737 * math/bits/math-finite.h: Add entries for exp.
55738 * math/e_expl.c: Add __*_finite alias.
55739 * sysdeps/i386/fpu/e_exp.S: Likewise.
55740 * sysdeps/i386/fpu/e_expf.S: Likewise.
55741 * sysdeps/i386/fpu/e_expl.c: Likewise.
55742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55743 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55744 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55745 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55746 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55747 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55748 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55750 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55751 is sufficient, at least on modern CPUs.
55753 * ctype/ctype-info.c (__ctype_init): Define.
55754 * include/ctype.h (__ctype_init): Declare.
55755 (__ctype_b_loc): The variable is always initialized.
55756 (__ctype_toupper_loc): Likewise.
55757 (__ctype_tolower_loc): Likewise.
55758 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55759 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55761 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55763 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55765 * configure.in: Also look in $cxxmachine/include for C++ system
55768 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55770 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55771 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55772 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55773 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
55774 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55775 (USE_AS_WMEMCMP): New macro.
55777 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55778 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55779 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55780 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55782 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55783 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55784 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55785 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55786 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55787 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55788 (USE_AS_WMEMCMP): New macro.
55789 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55790 * sysdeps/string/test-memcmp.c: Update.
55791 Fix simple_wmemcmp.
55793 * wcsmbs/wmemcmp.c: Update.
55794 (WMEMCMP): New macro.
55797 2011-10-12 Andreas Jaeger <aj@suse.de>
55800 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55802 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55804 * libio/iofwide.c (do_length): Avoid warning.
55806 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55808 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55810 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55812 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55813 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55814 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55815 * sysdeps/i386/i686/fpu/e_log.S: New file.
55816 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55817 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55819 * ctype/ctype.h: Add support for inlined isXXX functions when
55820 compiling C++ code.
55822 2011-10-14 Andreas Schwab <schwab@redhat.com>
55824 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55826 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55828 2011-10-13 Roland McGrath <roland@hack.frob.com>
55831 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55833 2011-10-13 Andreas Schwab <schwab@redhat.com>
55835 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55836 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55839 * sysdeps/x86_64/memrchr.S: Check for zero size.
55841 * string/stratcliff.c: Add memrchr tests.
55843 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55846 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55847 rawmemchr-sse2 rawmemchr-sse2-bsf.
55848 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55849 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55850 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55851 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55852 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55853 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55854 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55855 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55856 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55857 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55858 * string/memrchr.c (MEMRCHR): New macro.
55860 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55862 Add integration with gcc's -ffinite-math-only and optimize wrapper
55864 * Versions.def: Define GLIBC_2.15 version for libm.
55865 * math/Makefile (headers): Add bits/math-finite.h.
55866 * math/bits/math-finite.h: New file.
55867 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55868 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55869 * math/e_acoshl.c: Add __*_finite alias.
55870 * math/e_acosl.c: Likewise.
55871 * math/e_asinl.c: Likewise.
55872 * math/e_atan2l.c: Likewise.
55873 * math/e_atanhl.c: Likewise.
55874 * math/e_coshl.c: Likewise.
55875 * math/e_exp10.c: Likewise.
55876 * math/e_exp10f.c: Likewise.
55877 * math/e_exp10l.c: Likewise.
55878 * math/e_exp2l.c: Likewise.
55879 * math/e_fmodl.c: Likewise.
55880 * math/e_gammal_r.c: Likewise.
55881 * math/e_hypotl.c: Likewise.
55882 * math/e_j0l.c: Likewise.
55883 * math/e_j1l.c: Likewise.
55884 * math/e_jnl.c: Likewise.
55885 * math/e_lgammal_r.c: Likewise.
55886 * math/e_log10l.c: Likewise.
55887 * math/e_log2l.c: Likewise.
55888 * math/e_logl.c: Likewise.
55889 * math/e_powl.c: Likewise.
55890 * math/e_sinhl.c: Likewise.
55891 * math/e_sqrtl.c: Likewise.
55892 * math/e_scalb.c: Completely rewritten and optimized.
55893 * math/e_scalbf.c: Likewise.
55894 * math/e_scalbl.c: Likewise.
55895 * math/w_acos.c: Likewise.
55896 * math/w_acosf.c: Likewise.
55897 * math/w_acosl.c: Likewise.
55898 * math/w_acosh.c: Likewise.
55899 * math/w_acoshf.c: Likewise.
55900 * math/w_acoshl.c: Likewise.
55901 * math/w_asin.c: Likewise.
55902 * math/w_asinf.c: Likewise.
55903 * math/w_asinl.c: Likewise.
55904 * math/w_atan2.c: Likewise.
55905 * math/w_atan2f.c: Likewise.
55906 * math/w_atan2l.c: Likewise.
55907 * math/w_atanh.c: Likewise.
55908 * math/w_atanhf.c: Likewise.
55909 * math/w_atanhl.c: Likewise.
55910 * math/w_exp10.c: Likewise.
55911 * math/w_exp10f.c: Likewise.
55912 * math/w_exp10l.c: Likewise.
55913 * math/w_fmod.c: Likewise.
55914 * math/w_fmodf.c: Likewise.
55915 * math/w_fmodl.c: Likewise.
55916 * math/w_j0.c: Likewise.
55917 * math/w_j0f.c: Likewise.
55918 * math/w_j0l.c: Likewise.
55919 * math/w_j1.c: Likewise.
55920 * math/w_j1f.c: Likewise.
55921 * math/w_j1l.c: Likewise.
55922 * math/w_jn.c: Likewise.
55923 * math/w_jnf.c: Likewise.
55924 * math/w_log.c: Likewise.
55925 * math/w_logf.c: Likewise.
55926 * math/w_logl.c: Likewise.
55927 * math/w_log10.c: Likewise.
55928 * math/w_log10f.c: Likewise.
55929 * math/w_log10l.c: Likewise.
55930 * math/w_log2.c: Likewise.
55931 * math/w_log2f.c: Likewise.
55932 * math/w_log2l.c: Likewise.
55933 * math/w_pow.c: Likewise.
55934 * math/w_powf.c: Likewise.
55935 * math/w_powl.c: Likewise.
55936 * math/w_remainder.c: Likewise.
55937 * math/w_remainderf.c: Likewise.
55938 * math/w_remainderl.c: Likewise.
55939 * math/w_scalb.c: Likewise.
55940 * math/w_scalbf.c: Likewise.
55941 * math/w_scalbl.c: Likewise.
55942 * math/w_sqrt.c: Likewise.
55943 * math/w_sqrtf.c: Likewise.
55944 * math/w_sqrtl.c: Likewise.
55945 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55946 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55948 * math/math_private.h: Declare __kernel_standard_f.
55949 * math/w_cosh.c: Remove cruft and optimize a bit.
55950 * math/w_coshf.c: Likewise.
55951 * math/w_coshl.c: Likewise.
55952 * math/w_exp2.c: Likewise.
55953 * math/w_exp2f.c: Likewise.
55954 * math/w_exp2l.c: Likewise.
55955 * math/w_hypot.c: Likewise.
55956 * math/w_hypotf.c: Likewise.
55957 * math/w_hypotl.c: Likewise.
55958 * math/w_lgamma.c: Likewise.
55959 * math/w_lgamma_r.c: Likewise.
55960 * math/w_lgammaf.c: Likewise.
55961 * math/w_lgammaf_r.c: Likewise.
55962 * math/w_lgammal.c: Likewise.
55963 * math/w_lgammal_r.c: Likewise.
55964 * math/w_sinh.c: Likewise.
55965 * math/w_sinhf.c: Likewise.
55966 * math/w_sinhl.c: Likewise.
55967 * math/w_tgamma.c: Likewise.
55968 * math/w_tgammaf.c: Likewise.
55969 * math/w_tgammal.c: Likewise.
55970 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55972 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55973 Minor optimizations. Pretty printing. Remove cruft.
55974 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55975 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55976 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55977 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55978 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55979 * sysdeps/i386/fpu/e_asin.S: Likewise.
55980 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55981 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55982 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55983 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55984 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55985 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55986 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55987 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55988 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55989 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55990 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55991 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55992 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55993 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55994 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55995 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55996 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55997 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55998 * sysdeps/i386/fpu/e_log.S: Likewise.
55999 * sysdeps/i386/fpu/e_log10.S: Likewise.
56000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56001 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56002 * sysdeps/i386/fpu/e_log2.S: Likewise.
56003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56004 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56005 * sysdeps/i386/fpu/e_logf.S: Likewise.
56006 * sysdeps/i386/fpu/e_logl.S: Likewise.
56007 * sysdeps/i386/fpu/e_pow.S: Likewise.
56008 * sysdeps/i386/fpu/e_powf.S: Likewise.
56009 * sysdeps/i386/fpu/e_powl.S: Likewise.
56010 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56011 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56012 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56013 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56015 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56016 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56017 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56018 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56019 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56020 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56022 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56023 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56024 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56025 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56026 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56027 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56028 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56029 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56030 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56032 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56033 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56035 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56036 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56039 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56040 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56043 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56044 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56045 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56046 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56047 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56048 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56049 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56050 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56051 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56052 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56053 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56054 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56055 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56056 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56057 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56058 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56059 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56060 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56061 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56062 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56063 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56064 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56065 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56066 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56067 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56068 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56069 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56070 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56071 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56072 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56073 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56074 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56075 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56076 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56077 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56078 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56079 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56080 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56081 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56083 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56084 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56087 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56088 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56089 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56090 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56091 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56093 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56094 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56095 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56096 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56097 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56098 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56099 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56100 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56101 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56102 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56103 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56104 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56105 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56106 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56107 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56108 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56109 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56110 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56111 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56112 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56113 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56114 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56115 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56116 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56117 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56118 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56119 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56120 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56121 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56122 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56123 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56124 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56125 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56126 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56127 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56128 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56129 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56130 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56131 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56132 (__isnanf): Likewise.
56133 (__isinf_ns): Likewise.
56134 (__isinf_nsf): Likewise.
56135 (__finite): Likewise.
56136 (__finitef): Likewise.
56137 (__ieee754_sqrt): Define as macro.
56138 (__ieee754_sqrtf): Define as macro.
56139 (__ieee754_sqrtl): Define as macro.
56140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56142 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56143 __FINITE_MATH_ONLY__ consistent.
56144 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56146 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56148 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56151 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56153 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56155 * po/ja.po: Update from translation team.
56157 2011-10-08 Roland McGrath <roland@hack.frob.com>
56159 * locale/programs/locarchive.c (prepare_address_space): New function.
56160 (create_archive, enlarge_archive, open_archive): Use it.
56162 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56163 inside [SHARED], where it is used.
56165 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56167 * nss/getent.c (netgroup_keys): Remove unused variable.
56168 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56170 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56172 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56173 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56176 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56177 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56178 * math/Makefile (libm-calls): Add s_isinf_ns.
56179 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56180 * math/multc3.c: Likewise.
56181 * math/s_casin.c: Likewise.
56182 * math/s_casinf.c: Likewise.
56183 * math/s_casinl.c: Likewise.
56184 * math/s_ccos.c: Likewise.
56185 * math/s_ccosf.c: Likewise.
56186 * math/s_ccosl.c: Likewise.
56187 * math/s_ctan.c: Likewise.
56188 * math/s_ctanf.c: Likewise.
56189 * math/s_ctanh.c: Likewise.
56190 * math/s_ctanhf.c: Likewise.
56191 * math/s_ctanhl.c: Likewise.
56192 * math/s_ctanl.c: Likewise.
56193 * math/w_fmod.c: Likewise.
56194 * math/w_fmodf.c: Likewise.
56195 * math/w_fmodl.c: Likewise.
56196 * math/w_remainder.c: Likewise.
56197 * math/w_remainderf.c: Likewise.
56198 * math/w_remainderl.c: Likewise.
56199 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56200 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56201 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56203 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56204 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56205 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56206 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56208 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56210 * stdio-common/printf_fphex.c: Likewise.
56211 * stdio-common/printf_size.c: Likewise.
56213 * math/e_exp10.c: Include math_private.h using <...> not "...".
56214 * math/e_exp10f.c: Likewise.
56215 * math/e_exp10l.c: Likewise.
56216 * math/e_exp2l.c: Likewise.
56217 * math/e_j0l.c: Likewise.
56218 * math/e_j1l.c: Likewise.
56219 * math/e_jnl.c: Likewise.
56220 * math/e_lgammal_r.c: Likewise.
56221 * math/e_rem_pio2l.c: Likewise.
56222 * math/e_scalb.c: Likewise.
56223 * math/e_scalbf.c: Likewise.
56224 * math/e_scalbl.c: Likewise.
56225 * math/k_cosl.c: Likewise.
56226 * math/k_sinl.c: Likewise.
56227 * math/k_tanl.c: Likewise.
56228 * math/s_cacoshf.c: Likewise.
56229 * math/s_catan.c: Likewise.
56230 * math/s_catanf.c: Likewise.
56231 * math/s_catanh.c: Likewise.
56232 * math/s_catanhf.c: Likewise.
56233 * math/s_catanhl.c: Likewise.
56234 * math/s_catanl.c: Likewise.
56235 * math/s_ccosh.c: Likewise.
56236 * math/s_ccoshf.c: Likewise.
56237 * math/s_ccoshl.c: Likewise.
56238 * math/s_cexp.c: Likewise.
56239 * math/s_cexpf.c: Likewise.
56240 * math/s_cexpl.c: Likewise.
56241 * math/s_clog.c: Likewise.
56242 * math/s_clog10.c: Likewise.
56243 * math/s_clog10f.c: Likewise.
56244 * math/s_clog10l.c: Likewise.
56245 * math/s_clogf.c: Likewise.
56246 * math/s_clogl.c: Likewise.
56247 * math/s_csin.c: Likewise.
56248 * math/s_csinf.c: Likewise.
56249 * math/s_csinh.c: Likewise.
56250 * math/s_csinhf.c: Likewise.
56251 * math/s_csinhl.c: Likewise.
56252 * math/s_csinl.c: Likewise.
56253 * math/s_csqrt.c: Likewise.
56254 * math/s_csqrtf.c: Likewise.
56255 * math/s_csqrtl.c: Likewise.
56256 * math/s_ctan.c: Likewise.
56257 * math/s_ctanf.c: Likewise.
56258 * math/s_ctanh.c: Likewise.
56259 * math/s_ctanhf.c: Likewise.
56260 * math/s_ctanhl.c: Likewise.
56261 * math/s_ctanl.c: Likewise.
56262 * math/s_ldexp.c: Likewise.
56263 * math/s_ldexpf.c: Likewise.
56264 * math/s_ldexpl.c: Likewise.
56265 * math/s_significand.c: Likewise.
56266 * math/s_significandf.c: Likewise.
56267 * math/s_significandl.c: Likewise.
56268 * math/w_acos.c: Likewise.
56269 * math/w_acosf.c: Likewise.
56270 * math/w_acosh.c: Likewise.
56271 * math/w_acoshf.c: Likewise.
56272 * math/w_acoshl.c: Likewise.
56273 * math/w_acosl.c: Likewise.
56274 * math/w_asin.c: Likewise.
56275 * math/w_asinf.c: Likewise.
56276 * math/w_asinl.c: Likewise.
56277 * math/w_atan2.c: Likewise.
56278 * math/w_atan2f.c: Likewise.
56279 * math/w_atan2l.c: Likewise.
56280 * math/w_atanh.c: Likewise.
56281 * math/w_atanhf.c: Likewise.
56282 * math/w_atanhl.c: Likewise.
56283 * math/w_cosh.c: Likewise.
56284 * math/w_coshf.c: Likewise.
56285 * math/w_coshl.c: Likewise.
56286 * math/w_dremf.c: Likewise.
56287 * math/w_exp10.c: Likewise.
56288 * math/w_exp10f.c: Likewise.
56289 * math/w_exp10l.c: Likewise.
56290 * math/w_exp2.c: Likewise.
56291 * math/w_exp2f.c: Likewise.
56292 * math/w_fmod.c: Likewise.
56293 * math/w_fmodf.c: Likewise.
56294 * math/w_fmodl.c: Likewise.
56295 * math/w_hypot.c: Likewise.
56296 * math/w_hypotf.c: Likewise.
56297 * math/w_hypotl.c: Likewise.
56298 * math/w_j0.c: Likewise.
56299 * math/w_j0f.c: Likewise.
56300 * math/w_j0l.c: Likewise.
56301 * math/w_j1.c: Likewise.
56302 * math/w_j1f.c: Likewise.
56303 * math/w_j1l.c: Likewise.
56304 * math/w_jn.c: Likewise.
56305 * math/w_jnf.c: Likewise.
56306 * math/w_jnl.c: Likewise.
56307 * math/w_lgamma.c: Likewise.
56308 * math/w_lgamma_r.c: Likewise.
56309 * math/w_lgammaf.c: Likewise.
56310 * math/w_lgammaf_r.c: Likewise.
56311 * math/w_lgammal.c: Likewise.
56312 * math/w_lgammal_r.c: Likewise.
56313 * math/w_log.c: Likewise.
56314 * math/w_log10.c: Likewise.
56315 * math/w_log10f.c: Likewise.
56316 * math/w_log10l.c: Likewise.
56317 * math/w_log2.c: Likewise.
56318 * math/w_log2f.c: Likewise.
56319 * math/w_log2l.c: Likewise.
56320 * math/w_logf.c: Likewise.
56321 * math/w_logl.c: Likewise.
56322 * math/w_pow.c: Likewise.
56323 * math/w_powf.c: Likewise.
56324 * math/w_powl.c: Likewise.
56325 * math/w_remainder.c: Likewise.
56326 * math/w_remainderf.c: Likewise.
56327 * math/w_remainderl.c: Likewise.
56328 * math/w_scalb.c: Likewise.
56329 * math/w_scalbf.c: Likewise.
56330 * math/w_scalbl.c: Likewise.
56331 * math/w_sinh.c: Likewise.
56332 * math/w_sinhf.c: Likewise.
56333 * math/w_sinhl.c: Likewise.
56334 * math/w_sqrt.c: Likewise.
56335 * math/w_sqrtf.c: Likewise.
56336 * math/w_sqrtl.c: Likewise.
56337 * math/w_tgamma.c: Likewise.
56338 * math/w_tgammaf.c: Likewise.
56339 * math/w_tgammal.c: Likewise.
56341 * po/ja.po: Update from translation team.
56343 2011-09-29 Andreas Jaeger <aj@suse.de>
56346 * sunrpc/netname.c (netname2host): Fix logic.
56350 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56352 * math/w_remainder.c (__remainder): Likewise.
56353 * math/w_remainderf.c (__remainderf): Likewise.
56354 * math/libm-test.inc (remainder_test): Add test cases.
56356 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56358 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56361 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56363 * string/test-memcmp.c: Avoid unncessary #defines.
56364 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56366 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56368 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56369 Use new sse2 version for core i3 - i7 as it's faster
56370 than sse42 version.
56371 (bit_Prefer_PMINUB_for_stringop): New.
56372 * sysdeps/x86_64/rawmemchr.S: Update.
56373 Replace with faster SSE2 version.
56374 * sysdeps/x86_64/memrchr.S: New file.
56375 * sysdeps/x86_64/memchr.S: Update.
56376 Replace with faster SSE2 version.
56378 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56380 * elf/dl-load.c (lose): Add cast to avoid warning.
56382 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56384 * po/ca.po: Update from translation team.
56386 * inet/getnetgrent_r.c: Hook up nscd.
56387 * nscd/Makefile (routines): Add nscd_netgroup.
56388 (nscd-modules): Add netgroupcache.
56389 (CFLAGS-netgroupcache.c): Define.
56390 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56391 (cache_search): Add const to second parameter.
56392 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56394 (dbs): Add netgrdb entry.
56395 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56396 (verify_persistent_db): Handle netgrdb.
56397 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56398 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56400 (netgroup_response_header): Define.
56401 (innetgroup_response_header): Define.
56402 (datahead): Add netgroup_response_header and innetgroup_response_header
56404 * nscd/nscd.conf: Add entries for netgroup cache.
56405 * nscd/nscd.h (dbtype): Add netgrdb.
56406 (_PATH_NSCD_NETGROUP_DB): Define.
56407 (netgroup_iov_disabled): Declare.
56408 (xmalloc, xcalloc, xrealloc): Move declarations here.
56409 (cache_search): Adjust prototype.
56410 Add netgroup-related prototypes.
56411 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56412 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56413 (__nscd_innetgr): Declare.
56414 * nscd/selinux.c (perms): Use access_vector_t as element type and
56415 add netgroup-related initializers.
56416 * nscd/netgroupcache.c: New file.
56417 * nscd/nscd_netgroup.c: New file.
56418 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56419 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56420 For four parameters use innetgr.
56421 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56422 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56423 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56424 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56426 * nscd/connections.c (register_traced_file): Don't register file
56427 for disabled databases.
56429 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56431 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56433 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56434 from tree and freeing node.
56436 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56438 * nss/nsswitch.c (__nss_database_lookup): Handle
56439 nss_parse_service_list out of memory case.
56441 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56443 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56444 out of memory case.
56446 2011-10-04 Andreas Schwab <schwab@redhat.com>
56448 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56449 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56451 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56452 elf_machine_rela, elf_machine_lazy_rel.
56453 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56454 (ELF_DYNAMIC_DO_REL): Likewise.
56455 (ELF_DYNAMIC_DO_RELA): Likewise.
56456 (ELF_DYNAMIC_RELOCATE): Likewise.
56457 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56458 to ELF_DYNAMIC_DO_REL.
56459 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56460 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56461 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56463 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56464 skip_ifunc, don't call ifunc function if non-zero.
56465 (elf_machine_rela): Likewise.
56466 (elf_machine_lazy_rel): Likewise.
56467 (elf_machine_lazy_rela): Likewise.
56468 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56469 (elf_machine_lazy_rel): Likewise.
56470 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56472 (elf_machine_lazy_rel): Likewise.
56473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56475 (elf_machine_lazy_rel): Likewise.
56476 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56477 (elf_machine_lazy_rel): Likewise.
56478 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56479 (elf_machine_lazy_rel): Likewise.
56480 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56481 (elf_machine_lazy_rel): Likewise.
56482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56483 (elf_machine_lazy_rel): Likewise.
56484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56485 (elf_machine_lazy_rel): Likewise.
56486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56487 (elf_machine_lazy_rel): Likewise.
56489 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56491 * nss/nss_files/files-init.c (_nss_files_init): Use static
56492 initialization for all the *_traced_file variables.
56494 2011-09-28 Andreas Schwab <schwab@redhat.com>
56496 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56498 2011-09-27 Roland McGrath <roland@hack.frob.com>
56501 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56503 2011-09-27 Andreas Schwab <schwab@redhat.com>
56505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56506 Reread the line before reparsing it.
56508 2011-09-26 Andreas Schwab <schwab@redhat.com>
56510 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56512 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56513 Maxim Kuvyrkov <maxim@codesourcery.com>
56514 Joseph Myers <joseph@codesourcery.com>
56516 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56517 if needed for __stack_chk_guard.
56519 2011-09-19 Roland McGrath <roland@hack.frob.com>
56521 * sysdeps/posix/spawni.c (script_execute): Always define it.
56522 It will be optimized away if unused.
56523 (maybe_script_execute): New function.
56524 (__spawni): Call it.
56526 * Makerules: Don't include tls.make.
56527 (config-tls): Always set to thread.
56528 * tls.make.c: File removed.
56530 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56532 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56533 * config.make.in (CPPFLAGS-config): New substituted variable.
56535 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56540 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56541 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56543 2011-09-15 Roland McGrath <roland@hack.frob.com>
56545 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56546 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56547 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56548 (CALL_FAIL): Likewise.
56549 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56550 (CALL_FAIL): Macro removed.
56551 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56553 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56555 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56556 for __FINITE_MATH_ONLY__ == 1.
56558 2011-09-15 Andreas Schwab <schwab@redhat.com>
56560 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56561 __ieee754_sqrt instead of sqrt.
56562 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56563 __ieee754_sqrtf instead of sqrtf.
56564 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56565 __floorf instead of floorf.
56566 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56567 __floorf, __truncf instead of floorf, truncf.
56569 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56571 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56573 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56574 __extern_always_inline.
56575 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56578 2011-09-14 Andreas Schwab <schwab@redhat.com>
56580 * elf/rtld.c (dl_main): Also relocate in dependency order when
56581 doing symbol dependency testing.
56583 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56586 Always define `refsym'.
56588 2011-09-13 Andreas Schwab <schwab@redhat.com>
56590 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56591 (__FD_ELT): Renamed from __FDELT.
56592 * misc/bits/select2.h (__FD_ELT): Likewise.
56593 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56594 __FD_MASK instead of __FDELT, __FDMASK.
56595 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56597 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56600 * elf/Makefile (gen-ldd): Fix pattern.
56602 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56603 (init_tls): Likewise.
56605 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56607 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56609 2011-09-12 Andreas Schwab <schwab@redhat.com>
56611 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56612 `struct cmsghdr *' instead of `void *'.
56613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56616 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56618 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56620 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56621 ldd_rewrite_script.
56623 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56625 * configure.in: Remove --with-tls option.
56626 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56627 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56628 out in case it is missing.
56629 * sysdeps/ia64/elf/configure.in: Likewise.
56630 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56631 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56632 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56633 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56634 * sysdeps/sh/elf/configure.in: Likewise.
56635 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56636 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56637 * sysdeps/x86_64/elf/configure.in: Likewise.
56638 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56639 * sysdeps/mach/hurd/tls.h: Likewise.
56642 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56645 * configure.in: Fix use of AC_INIT.
56647 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56649 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56651 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56653 * malloc/hooks.c: Likewise.
56656 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56657 variables statically.
56658 (narenas): Initialize.
56659 (list_lock): Initialize.
56660 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56661 initializtion of main_arena and list_lock. Small cleanups.
56662 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56663 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56664 Add initializers to main_arena and mp_.
56665 (malloc_state): Remove pagesize member. Change all users to use
56668 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56669 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56670 is always initialized.
56672 * malloc/malloc.c: Removed unused configurations and dead code.
56673 * malloc/arena.c: Likewise.
56674 * malloc/hooks.c: Likewise.
56675 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56677 * include/tls.h: Removed. USE___THREAD must always be defined.
56678 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56679 * elf/dl-libc.c: Likewise.
56680 * elf/dl-tsd.c: Likewise.
56681 * include/errno.h: Likewise.
56682 * include/netdb.h: Likewise.
56683 * include/resolv.h: Likewise.
56684 * inet/herrno-loc.c: Likewise.
56685 * inet/herrno.c: Likewise.
56686 * malloc/arena.c: Likewise.
56687 * malloc/hooks.c: Likewise.
56688 * malloc/malloc.c: Likewise.
56689 * resolv/res-state.c: Likewise.
56690 * resolv/res_libc.c: Likewise.
56691 * sysdeps/i386/dl-machine.h: Likewise.
56692 * sysdeps/ia64/dl-machine.h: Likewise.
56693 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56694 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56695 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56696 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56697 * sysdeps/sh/dl-machine.h: Likewise.
56698 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56699 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56700 * sysdeps/unix/i386/sysdep.S: Likewise.
56701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56702 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56707 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56711 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56712 * sysdeps/x86_64/dl-machine.h: Likewise.
56713 * tls.make.c: Likewise.
56715 * configure.in: Remove --with-__thread option. Make tests for
56716 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56717 tls_model attribute fail if no support is available. Remove
56719 * Makeconfig: Adjust for dropped configure option. All features are
56721 * Makerules: Likewise.
56722 * Versions.def: Likewise.
56723 * argp/argp-fmtstream.c: Likewise.
56724 * argp/argp-fmtstream.h: Likewise.
56725 * argp/argp-help.c: Likewise.
56726 * assert/assert.c: Likewise.
56727 * config.h.in: Likewise.
56728 * config.make.in: Likewise.
56729 * configure: Likewise.
56730 * configure.in: Likewise.
56731 * csu/Versions: Likewise.
56732 * csu/init.c: Likewise.
56733 * elf/tst-audit2.c: Likewise.
56734 * elf/tst-tls10.c: Likewise.
56735 * elf/tst-tls10.h: Likewise.
56736 * elf/tst-tls11.c: Likewise.
56737 * elf/tst-tls12.c: Likewise.
56738 * elf/tst-tls14.c: Likewise.
56739 * elf/tst-tlsmod11.c: Likewise.
56740 * elf/tst-tlsmod12.c: Likewise.
56741 * elf/tst-tlsmod13.c: Likewise.
56742 * elf/tst-tlsmod13a.c: Likewise.
56743 * elf/tst-tlsmod14a.c: Likewise.
56744 * elf/tst-tlsmod15b.c: Likewise.
56745 * elf/tst-tlsmod16a.c: Likewise.
56746 * elf/tst-tlsmod16b.c: Likewise.
56747 * elf/tst-tlsmod7.c: Likewise.
56748 * elf/tst-tlsmod8.c: Likewise.
56749 * elf/tst-tlsmod9.c: Likewise.
56750 * gmon/gmon.c: Likewise.
56751 * grp/fgetgrent_r.c: Likewise.
56752 * grp/putgrent.c: Likewise.
56753 * hurd/fopenport.c: Likewise.
56754 * include/libc-symbols.h: Likewise.
56755 * include/tls.h: Likewise.
56756 * intl/gettextP.h: Likewise.
56757 * intl/loadinfo.h: Likewise.
56758 * locale/global-locale.c: Likewise.
56759 * locale/localeinfo.h: Likewise.
56760 * mach/devstream.c: Likewise.
56761 * malloc/arena.c: Likewise.
56762 * malloc/set-freeres.c: Likewise.
56763 * misc/err.c: Likewise.
56764 * misc/getttyent.c: Likewise.
56765 * misc/mntent_r.c: Likewise.
56766 * posix/getopt.c: Likewise.
56767 * posix/wordexp.c: Likewise.
56768 * pwd/fgetpwent_r.c: Likewise.
56769 * resolv/Versions: Likewise.
56770 * resolv/res_hconf.c: Likewise.
56771 * shadow/fgetspent_r.c: Likewise.
56772 * shadow/putspent.c: Likewise.
56773 * stdio-common/printf_fphex.c: Likewise.
56774 * stdio-common/tmpfile.c: Likewise.
56775 * stdlib/abort.c: Likewise.
56776 * stdlib/fmtmsg.c: Likewise.
56777 * sunrpc/auth_unix.c: Likewise.
56778 * sunrpc/clnt_perr.c: Likewise.
56779 * sunrpc/clnt_tcp.c: Likewise.
56780 * sunrpc/clnt_udp.c: Likewise.
56781 * sunrpc/clnt_unix.c: Likewise.
56782 * sunrpc/openchild.c: Likewise.
56783 * sunrpc/svc_simple.c: Likewise.
56784 * sunrpc/svc_tcp.c: Likewise.
56785 * sunrpc/svc_udp.c: Likewise.
56786 * sunrpc/svc_unix.c: Likewise.
56787 * sunrpc/xdr.c: Likewise.
56788 * sunrpc/xdr_array.c: Likewise.
56789 * sunrpc/xdr_rec.c: Likewise.
56790 * sunrpc/xdr_ref.c: Likewise.
56791 * sunrpc/xdr_stdio.c: Likewise.
56793 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56795 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56797 2011-07-03 Andreas Jaeger <aj@suse.de>
56799 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56800 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56801 regenerate with gen-libm-tests.pl.
56803 2010-05-12 Petr Baudis <pasky@suse.cz>
56806 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56807 around j0() zero points by switching to j1().
56808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56809 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56811 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56813 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56815 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56817 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56820 Patch in part by Pavel Roskin <proski@gnu.org>.
56823 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56825 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56826 Free memory block if necessary.
56829 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56830 be NULL. Don't lock in this case.
56832 2011-09-09 Roland McGrath <roland@hack.frob.com>
56834 * elf/elf.h (ELFOSABI_GNU): New macro.
56835 (ELFOSABI_LINUX): Define to that.
56837 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56839 * string/strncat.c (strncat): Undef the symbol in case it has been
56840 defined in bits/string.h.
56842 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56844 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56846 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56849 2011-08-17 Andreas Jaeger <aj@suse.de>
56851 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56853 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56854 Ian Lance Taylor <iant@google.com>
56856 * math/libm-test.inc (lround_test): New testcase.
56857 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56859 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56861 * Makefile: Remove support for automatic cvs check-ins.
56862 * Makerules: Likewise.
56863 * config.make.in: Likewise.
56864 * configure.in: Likewise.
56865 * intl/Makefile: Likewise.
56866 * locale/Makefile: Likewise.
56867 * po/Makefile: Likewise.
56868 * posix/Makefile: Likewise.
56869 * sysdeps/gnu/Makefile: Likewise.
56870 * sysdeps/mach/hurd/Makefile: Likewise.
56871 * sysdeps/sparc/sparc32/Makefile: Likewise.
56874 * posix/Makefile (bug-regex32-ENV): Define.
56875 Patch by John Stanley <jpsinthemix@verizon.net>.
56877 * misc/Makefile (headers): Add bits/select2.h.
56878 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56879 * misc/bits/select2.h: New file.
56880 * include/bits/select2.h: New file.
56881 * debug/Makefile (routines): Add fdelt_chk.
56882 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56883 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56885 * debug/fdelt_chk.c: New file.
56887 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56888 * wcsmbs/test-wmemcmp.c: Likewise.
56889 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56890 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56892 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56894 * string/Makefile (strop-tests): Add memcmp.
56895 * string/test-wmemcmp.c: New file.
56896 * string/test-memcmp.c: Add wmemcmp support.
56898 2011-09-08 Roland McGrath <roland@hack.frob.com>
56901 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56904 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56905 garbage value in a __mach_port_mod_refs call in the cases of the
56906 task-self and thread-self ports.
56908 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56910 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56912 2011-09-08 Andreas Schwab <schwab@redhat.com>
56914 * elf/dl-load.c (lose): Check for non-null L.
56916 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56918 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56920 * elf/dl-libc.c (dlerror_run): Pass back error code from
56924 * elf/dl-load.c (lose): Free l_origin if it is valid.
56926 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56928 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56932 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56933 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56935 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56937 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56938 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56939 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56940 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56941 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56942 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56943 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56944 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56945 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56946 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56948 2011-08-15 Alan Modra <amodra@gmail.com>
56951 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56952 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56953 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56954 ppc_mcount to static-only-routines.
56955 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56957 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56958 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56960 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56962 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56963 for finite and infinity parameters.
56965 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56967 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56968 and add nop instructions for throughput optimization.
56969 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56971 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56973 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56974 aligned copy for power7 with vector-scalar instructions.
56975 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56977 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56982 2011-09-07 Andreas Schwab <schwab@redhat.com>
56985 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56988 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56990 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56991 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56992 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56993 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56996 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56998 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56999 Forgot to demangle the pointer.
57001 * sysdeps/i386/sysdep.h: Define atom_text_section.
57002 * sysdeps/x86_64/sysdep.h: Likewise.
57003 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57004 section with atom_text_section.
57005 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57006 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57007 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57011 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57012 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57013 already be defined. Change to take two parameters and don't assign
57014 result to variable. Adjust all users.
57015 Define INTERNAL_GETTIME if not already defined.
57016 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57019 HAVE_CLOCK_GETTIME_VSYSCALL.
57020 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57022 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57023 gettimeofday vsyscall, just use time.
57025 2011-09-06 Andreas Schwab <schwab@redhat.com>
57027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57030 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57032 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57036 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57037 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57038 syscall if possible.
57040 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57042 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57043 e_ident. Don't pass to find_mapsXX.
57044 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57046 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57049 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57050 * sysdeps/x86_64/multiarch/strchr.S: Update.
57051 Check bit_slow_BSF bit.
57052 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57053 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57054 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57056 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57059 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57061 (tryshell): Define.
57062 (__spawni): Change last parameter to be flag. Test
57063 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57064 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57065 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57066 * posix/spawni.c: Likewise.
57067 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57068 * posix/spawnp.c: Likewise. Change normal version to use
57069 SPAWN_XFLAGS_USE_PATH.
57070 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57071 SPAWN_XFLAGS_TRY_SHELL.
57074 * posix/glob.h: Remove gcc 1.x support.
57077 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57079 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57082 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57084 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57085 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57086 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57088 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57091 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57093 * sysdeps/x86_64/wcscmp.S: New file.
57095 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57096 wcscmp-c wcscmp-sse2
57097 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57098 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57099 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57100 * wcsmbs/wcscmp.c: Allow renaming.
57102 2011-09-05 David S. Miller <davem@davemloft.net>
57104 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57105 stack slot, rather than the struct return pointer slot.
57106 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57107 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57109 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57111 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57113 * po/ja.po: Update from translation team.
57116 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57117 kernel in 64-bit binaries.
57119 2011-09-01 David S. Miller <davem@davemloft.net>
57121 * elf/elf.h (HWCAP_SPARC_*): Move to..
57122 * sysdeps/sparc/sysdep.h: this new file and add new values.
57123 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57124 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57125 _DL_HWCAP_COUNT to 24.
57126 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57128 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57129 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57130 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57132 instead of magic constants.
57133 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57135 2011-08-31 David S. Miller <davem@davemloft.net>
57137 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57139 Reimplement to do errno handling inline.
57140 (SYSCALL_ERROR_HANDLER): New macro.
57141 (__SYSCALL_STRING): Do not do errno handling in asm.
57142 (__CLONE_SYSCALL_STRING): Delete.
57143 (__INTERNAL_SYSCALL_STRING): Delete.
57144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57145 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57146 (PSEUDO): Reimplement to do errno handling inline.
57147 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57148 (SYSCALL_ERROR_HANDLER): New macro.
57149 (__SYSCALL_STRING): Do not do errno handling in asm.
57150 (__CLONE_SYSCALL_STRING): Delete.
57151 (__INTERNAL_SYSCALL_STRING): Delete.
57152 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57153 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57155 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57156 (inline_syscall*): Add 'err' argument.
57157 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57158 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57159 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57160 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57162 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57163 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57165 2011-08-30 Andreas Schwab <schwab@redhat.com>
57167 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57169 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57171 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57174 2011-08-24 David S. Miller <davem@davemloft.net>
57176 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57178 2011-08-24 Andreas Schwab <schwab@redhat.com>
57180 * elf/Makefile: Add rules to build and run unload8 test.
57181 * elf/unload8.c: New file.
57182 * elf/unload8mod1.c: New file.
57183 * elf/unload8mod1x.c: New file.
57184 * elf/unload8mod2.c: New file.
57185 * elf/unload8mod3.c: New file.
57187 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57190 2011-08-23 David S. Miller <davem@davemloft.net>
57192 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57193 subtract stack bias.
57194 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57195 %sp not %fp in calculations.
57196 (_JMPBUF_UNWINDS_ADJ): Likewise.
57198 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57199 (aio_suspend): Call it to force an exception region around the
57200 AIO_MISC_WAIT() invocation.
57202 2011-08-23 Andreas Schwab <schwab@redhat.com>
57204 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57207 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57209 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57211 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57212 and <dl-machine.h>.
57213 (Elf64_FuncDesc): Remove.
57215 2011-08-22 David S. Miller <davem@davemloft.net>
57217 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57218 sigaltstack check, add missing cfi directives.
57219 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57220 missing cfi directives, and sigaltstack handling.
57222 2011-08-16 Andreas Schwab <schwab@redhat.com>
57225 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57226 object is seen twice.
57227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57229 * elf/Makefile (distribute): Add tst-initorder2.c.
57230 (tests): Add tst-initorder2.
57231 (modules-names): Add tst-initorder2a tst-initorder2b
57232 tst-initorder2c tst-initorder2d. Add rules to build them.
57233 ($(objpfx)tst-initorder2.out): New rule.
57234 * elf/tst-initorder2.c: New file.
57235 * elf/tst-initorder2.exp: New file.
57237 2011-08-22 Andreas Schwab <schwab@redhat.com>
57239 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57241 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57242 dependencies back to end of function.
57244 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57245 $(elfobjdir)/ld.so.
57247 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57250 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57252 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57253 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57254 of __vdso_gettimeofday.
57255 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57256 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57258 (_libc_vdso_platform_setup): Remove initialization of
57259 __vdso_gettimeofday and __vdso_time.
57261 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57263 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57264 and fgetc_unlocked.
57265 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57268 * elf/dl-open.c (add_to_global): Report additions to the global scope
57269 for LD_DEBUG=scopes.
57270 (dl_open_worker): Also print scope of newly loaded dependencies.
57271 (_dl_show_scope): Indicate if there is no scope.
57274 * stdio-common/Makefile (tests): Add bug24.
57275 * stdio-common/bug24.c: New file.
57277 2011-08-19 Andreas Jaeger <aj@suse.de>
57280 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57281 non-existant file when using close-on-exec mode.
57283 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57286 the very first instruction.
57288 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57289 the CFI state in the end.
57290 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57291 inclusion of dl-trampoline.h.
57292 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57294 2011-08-19 Andreas Schwab <schwab@redhat.com>
57296 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57297 expectations for long double.
57299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57300 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57302 2011-08-14 David S. Miller <davem@davemloft.net>
57304 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57305 artificual limit depends upon the system page size.
57307 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57309 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57310 * resolv/Makefile: Define CFLAGS-libresolv.
57312 2011-08-17 Andreas Schwab <schwab@redhat.com>
57314 * nss/makedb.c (compute_tables): Make variables used in nested
57317 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57319 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57320 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57321 if buffer was too small.
57323 * elf/pldd.c (main): Attach to all threads in the process.
57324 Rewrite /proc handling to use *at functions.
57326 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57328 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57329 specifies first scope to show.
57330 (dl_open_worker): Update callers. Move printing scope of new
57331 object to before the relocation.
57332 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57333 * sysdeps/generic/ldsodefs.h: Update declaration.
57335 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57336 string for the scope number.
57338 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57340 * nscd/servicescache.c (cache_addserv): Make sure written is always
57343 2011-08-14 Roland McGrath <roland@hack.frob.com>
57345 * sysdeps/i386/i486/bits/atomic.h
57346 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57347 statement expression, so as to suppress "set but not used" warning.
57348 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57350 * string/strncat.c (STRNCAT): Use prototype definition.
57352 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57353 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57355 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57356 (localedef-modules): Add localedef.
57357 (locale-modules): Add locale.
57359 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57360 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57361 to avoid a warning.
57363 2011-08-14 David S. Miller <davem@davemloft.net>
57365 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57366 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57368 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57370 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57371 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57372 * elf/rtld.c (dl_main): Set l_name of vDSO.
57373 Call _dl_show_scope when DL_DEBUG_SCOPES.
57374 (process_dl_debug): Recognize scopes flag and also set it for all.
57375 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57376 Declare _dl_show_scope.
57378 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57379 (do_dlopen): Pass caller_dlopen to dl_open.
57380 (__libc_dlopen_mode): Initialize caller_dlopen.
57382 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57383 of libc. Make tolower call locale-independent. Optimize a bit by
57384 using isdigit instead of isalnum.
57385 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57387 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57389 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57390 was a dependency or dynamically loaded.
57392 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57394 * intl/l10nflist.c: Allow architecture-specific pop function.
57395 * sysdeps/x86_64/l10nflist.c: New file.
57397 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57400 2011-08-10 Andreas Schwab <schwab@redhat.com>
57402 * include/dirent.h: Add libc_hidden_proto for scandirat and
57403 scandirat64. Don't declare __scandirat64.
57404 * dirent/scandirat.c: Add libc_hidden_def.
57405 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57406 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57408 2011-08-10 David S. Miller <davem@davemloft.net>
57410 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57412 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57416 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57418 * Versions.def [libc]: Add GLIBC_2.15.
57419 * dirent/Makefile (routines): Add scandirat and scandirat64.
57420 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57422 * dirent/dirent.h: Declare scandirat and scandirat64.
57423 * dirent/scandirat.c: New file.
57424 * dirent/scandirat64.c: New file.
57425 * sysdeps/wordsize-64/scandirat.c: New file.
57426 * sysdeps/wordsize-64/scandirat64.c: New file.
57427 * dirent/opendir.c: Define opendirat.
57428 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57430 * dirent/scandir64.c: Adjust for scandir.c change.
57431 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57432 __scandirat64, and __scandir_cancel_handler.
57433 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57434 additional parameter and use openat instead of open (outside of ld.so).
57435 Add new __opendir as wrapper around __opendirat.
57436 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57437 here without requiring old scandirat implementation.
57439 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57441 * dirent/scandir.c (cancel_handler): Renamed to
57442 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57443 defined. Adjust users.
57444 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57445 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57447 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57449 * string/test-string.h (IMPL): Use __STRING to expand name and then
57452 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57455 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57457 * string/Makefile: Update.
57458 (strop-tests): Append strncat.
57459 * string/test-wcscmp.c: New file.
57460 New comprehensive test for wcscmp.
57461 * string/test-strcmp.c: Update.
57462 (WIDE): New define.
57464 2011-07-22 Andreas Schwab <schwab@redhat.com>
57466 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57469 2011-07-26 Andreas Schwab <schwab@redhat.com>
57471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57472 encoding to ACE if AI_IDN.
57474 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57477 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57479 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57481 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57482 Fix overflow bug in strncat.
57483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57485 * string/test-strncat.c: Update.
57486 Add new tests for checking overflow bugs.
57488 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57491 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57492 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57493 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57494 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57495 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57496 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57497 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57498 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57501 (USE_AS_STRCAT): Define.
57502 Add strcat and strncat support.
57503 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57505 2011-07-25 Andreas Schwab <schwab@redhat.com>
57507 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57508 __n bigger than INT_MAX+1.
57509 (__strncmp_g): Likewise.
57511 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57513 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57514 * libio/stido.h: Likewise.
57516 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57521 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57522 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57525 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57528 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57533 (_dl_x86_64_save_sse): Likewise.
57535 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57537 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57539 (_dl_x86_64_save_sse): Likewise.
57541 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57543 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57545 2011-07-21 Andreas Schwab <schwab@redhat.com>
57547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57549 (_dl_x86_64_save_sse): Use correct AVX check.
57551 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57554 bug in strncpy/strncat.
57555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57557 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57559 * string/tester.c (test_strcat): Add tests for different alignments
57560 of source and destination.
57561 (test_strncat): Likewise.
57563 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57566 * posix/glob.c (glob): Check passed in values before using them in
57567 expressions to avoid some overflows.
57568 (glob_in_dir): Likewise.
57571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57572 check for AVX enablement so that we don't crash with old kernels and
57574 * elf/tst-audit4.c: Add same checks here.
57575 * elf/tst-audit6.c: Likewise.
57577 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57579 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57581 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57583 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57585 * po/cs.po: Update from translation team.
57586 * po/bg.po: Likewise.
57588 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57590 * misc/sys/cdefs.h: Add support for const attribute.
57591 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57592 to gnu_dev_{major,minor,makedev} functions.
57594 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57596 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57598 2011-07-20 Andreas Schwab <schwab@redhat.com>
57600 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57603 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57606 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57607 register in order to avoid conflicts with the soft frame pointer
57608 being held in r11 when necessary.
57609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57610 (INTERNAL_VSYSCALL_NCS): Likewise.
57612 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57614 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57615 * elf/dl-fini.c (_dl_fini): Adjust caller.
57616 * elf/dl-close.c (_dl_close_worker): Likewise.
57617 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57619 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57621 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57622 "aux_cache->nlibs < 0".
57624 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57625 in the reload-count case.
57627 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57630 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57631 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57632 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57633 * sysdeps/x86_64/multiarch/strcat.S: New file.
57634 * sysdeps/x86_64/multiarch/strncat.S: New file.
57635 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57636 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57637 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57638 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57639 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57640 (USE_AS_STRCAT): Define.
57641 Add strcat and strncat support.
57642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57643 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57644 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57645 * string/strncat.c: Update.
57646 (USE_AS_STRNCAT): Define.
57647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57648 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57650 * sysdeps/x86_64/multiarch/init-arch.h
57651 (bit_Prefer_PMINUB_for_stringop): New.
57652 (index_Prefer_PMINUB_for_stringop): Likewise.
57653 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57654 bit_Prefer_PMINUB_for_stringop.
57656 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57658 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57660 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57661 of casting of buffer.
57662 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57663 buffer32 and buffer64.
57664 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57665 writes instead of casting of buffer.
57666 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57668 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57671 2011-07-19 Andreas Schwab <schwab@redhat.com>
57673 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57675 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57677 * nscd/nscd.c (termination_handler): Don't do anything for a database
57678 if it has not yet been initialized.
57680 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57682 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57684 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57686 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57688 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57690 * po/nl.po: Update from translation team.
57691 * po/sv.po: Likewise.
57693 2011-07-16 Roland McGrath <roland@hack.frob.com>
57695 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57696 now disallowed by GCC.
57698 * configure.in (use-default-link): Default to yes if a test -shared
57699 link meets our qualifications.
57700 * configure: Regenerated.
57702 * config.make.in (output-format): New variable.
57703 * configure.in: Check for ld --print-output-format support.
57704 * configure: Regenerated.
57705 * Makerules ($(common-objpfx)format.lds)
57706 [$(output-format) != unknown]: Just use $(output-format),
57707 instead of the linker-script munging.
57709 2011-07-14 Roland McGrath <roland@hack.frob.com>
57711 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57712 of $(common-objpfx)shlib.lds.
57713 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57715 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57716 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57718 * configure.in (-z relro check): Adjust test code to add a large
57719 writable data section after it.
57720 * configure: Regenerated.
57722 2011-07-11 Roland McGrath <roland@hack.frob.com>
57724 * configure.in (-z relro check): Fix test code to make the variable
57726 * configure: Regenerated.
57728 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57730 * nscd/nscd.h (struct traced_file): Define.
57731 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57732 elements. Add traced_files.
57733 (inotify_fd): Declare.
57734 (register_traced_file): Declare.
57735 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57736 (inotify_fd): Export.
57737 (resolv_conf_descr): Remove.
57738 (nscd_init): Move inotify descriptor creation to main.
57739 Don't register files for notification here.
57740 (register_traced_file): New function.
57741 (invalidate_cache): Don't use reset_res to determine whether to call
57742 res_init, go through the list of registered files.
57743 (main_loop_poll): The inotify descriptors are now stored in the
57744 structures for the traced files.
57745 (main_loop_epoll): Likewise
57746 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57747 to __nss_disable_nscd.
57748 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57749 for a database anymore. Check the records for all the registered
57751 * nss/Makefile (libnss_files-routines): Add files-init.
57752 (libnss_db-routines): Add db-init.
57753 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57754 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57755 * nss/nss_db/db-init.c: New file.
57756 * nss/nss_files/files-init.c: New file.
57757 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57758 __nss_lookup_function.
57759 (__nss_lookup_function): Call nss_load_library.
57760 (nss_load_all_libraries): New function.
57761 (__nss_disable_nscd): Take parameter with callback function for files
57762 to register. Set is_nscd. Load all the DSOs for the NSS modules
57763 used for the cached services.
57764 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57765 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57766 options for features to all the files in nscd.
57768 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57770 2011-07-10 Roland McGrath <roland@hack.frob.com>
57772 * csu/elf-init.c (__libc_csu_init): Comment typo.
57774 2011-07-09 Ulrich Drepper <drepper@gmail.com>
57776 * po/pl.po: Update from translation team.
57777 * po/ja.po: Likewise.
57778 * po/ru.po: Likewise.
57779 * po/ko.po: Likewise.
57780 * po/fr.po: Likewise.
57782 2011-07-09 Roland McGrath <roland@hack.frob.com>
57784 * configure.in (.ctors/.dtors header and trailer check):
57785 Use an empirical test on a built program.
57786 * configure: Regenerated.
57788 * configure.in (-z relro check): Use an empirical test on a built DSO.
57789 Detect, but do not require, on ia64.
57790 * configure: Regenerated.
57792 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57793 Update tests that use readelf to use $READELF instead.
57794 * configure: Regenerated.
57796 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57798 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57799 if the result is not used.
57801 2011-07-05 Andreas Jaeger <aj@suse.de>
57804 * stdlib/tst-strtod.c: Add testcase.
57806 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57808 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57809 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57810 The latter has a higher limit. Take additional parameter to pass to
57812 (__pathconf): Pass file to __statfs_link_max.
57813 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57815 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57819 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57820 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57822 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57823 (__statfs_filesize_max): Likewise.
57824 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57826 2011-07-05 Andreas Jaeger <aj@suse.de>
57828 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57830 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57832 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57834 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57837 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57839 * Makefile (strop-tests): Add strncat.
57840 * string/test-strncat.c: New file.
57842 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57844 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57846 2011-06-21 Andreas Jaeger <aj@suse.de>
57848 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57849 Copy rule from iconvdata/Makefile.
57851 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57854 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57855 but no long options are defined, just return 'W'.
57857 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57860 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57862 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57864 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57866 (innetgr): Likewise.
57868 2011-07-05 Roland McGrath <roland@hack.frob.com>
57870 * config.make.in (install_root): Default to $(DESTDIR).
57872 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57876 2011-07-02 Roland McGrath <roland@hack.frob.com>
57878 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57880 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57881 containing directory rather than embedding absolute directory names.
57883 * scripts/check-local-headers.sh: Rewritten using awk.
57884 Match by word, not by line. Print error messages for matches.
57885 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57887 * Makerules [shlib-lds-flags empty]:
57888 ($(common-objpfx)libc_pic.opts): New target.
57889 ($(common-objpfx)libc_pic.os.clean): New target.
57890 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57892 * config.make.in (OBJCOPY): New variable.
57893 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57894 * configure: Regenerated.
57896 * config.make.in (use-default-link): New variable.
57897 * configure.in (use_default_link): Grok --with-default-link to set it.
57898 * configure: Regenerated.
57899 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57900 (shlib-lds, shlib-lds-flags): Define to empty.
57902 * Makerules (shlib-lds): New variable.
57903 (shlib-lds-flags): New variable.
57904 (build-shlib, build-moduile, build-module-asneeded): Use it.
57905 ($(common-objpfx)libc.so): Use $(shlib-lds).
57906 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57907 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57909 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57910 DT_FLAGS/DT_FLAGS_1 with zero flags.
57912 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57913 linker script munging.
57915 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57917 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57919 * crypt/sha512.c (sha512_process_block): Perform total addition using
57920 128-bit if possible.
57921 (__sha512_finish_ctx): Likewise.
57922 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57924 * crypt/sha256.c (SWAP64): Define.
57925 (sha256_process_block): Perform total addition using 64-bit if
57927 (__sha256_finish_ctx): Likewise.
57929 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57931 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57933 * nscd/hstcache.c (cache_addhst): Likewise.
57934 * nscd/grpcache.c (cache_addgr): Likewise.
57935 * nscd/aicache.c (addhstaiX): Likewise
57936 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57938 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57940 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57942 * nscd/hstcache.c (cache_addhst): Likewise.
57943 * nscd/grpcache.c (cache_addgr): Likewise.
57944 * nscd/aicache.c (addhstaiX): Likewise
57946 2011-07-01 Andreas Schwab <schwab@redhat.com>
57948 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57949 domain only when needed.
57951 2011-06-30 Andreas Schwab <schwab@redhat.com>
57953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57954 is always restored.
57956 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57958 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57959 are re-adding the entry.
57960 * nscd/servicescache.c (cache_addserv): Likewise.
57962 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57964 * sysdeps/generic/dl-irel.h: fix protection against multiple
57966 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57968 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57971 * malloc/memusage.sh: Fix quoting in message.
57972 * debug/xtrace.sh: Likewise.
57974 * configure.in: Remove support for --experimental-malloc option, make
57976 * config.make.in: Likewise.
57977 * malloc/Makefile: Likewise.
57979 2011-06-27 Andreas Schwab <schwab@redhat.com>
57981 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57982 two-byte characters.
57984 2011-06-27 Roland McGrath <roland@hack.frob.com>
57986 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57987 AC_CACHE_CHECK invocation.
57988 * configure: Regenerated.
57990 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57992 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57995 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57996 bit from old_res_options.
57998 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58000 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58001 value type for setfct.
58003 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58006 __gettimeofday instead of gettimeofday.
58008 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58010 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58012 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58014 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58019 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58022 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58023 strcpy-sse2-unaligned strncpy-sse2-unaligned
58024 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58025 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58026 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58027 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58028 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58030 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58031 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58032 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58033 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58034 (STRCPY): Support SSE2 and SSSE3 versions.
58036 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58040 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58041 kernels which artificially limit size of requests.
58043 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58046 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58047 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58048 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58049 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58050 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58051 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58052 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58053 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58055 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58056 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58057 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58058 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58059 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58061 Enable unaligned load optimization for Intel Core i3, i5 and i7
58063 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58065 (index_Fast_Unaligned_Load): Define.
58066 (HAS_FAST_UNALIGNED_LOAD): Define.
58068 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58070 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58072 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58076 until it is clear that the information is realy needed.
58077 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58079 2011-06-22 Andreas Schwab <schwab@redhat.com>
58081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58083 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58086 /sys/devices/system/cpu/online if it is usable.
58088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58089 reading the information from the /proc filesystem to once a second.
58091 2011-06-21 Andreas Jaeger <aj@suse.de>
58093 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58094 NULL after inclusion of kernel headers.
58096 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58098 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58099 calls to internal_setent.
58102 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58103 addresses using gethostbyname4_r ignore IPv4 addresses.
58105 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58106 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58108 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58110 2011-06-20 David S. Miller <davem@davemloft.net>
58112 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58114 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58116 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58117 (elf_irel): Use it.
58118 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58119 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58120 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58121 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58122 * sysdeps/x86_64/dl-irel.h: Likewise.
58124 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58125 * elf/dl-sym.c: Likewise.
58127 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58129 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58130 need to dereference resplen2.
58132 2011-06-14 Andreas Schwab <schwab@redhat.com>
58134 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58136 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58138 * Makeconfig: Define vardbdir and inst_vardbdir.
58139 * nss/Makefile: Add rules to install db-Makefile.
58141 * nss/nss_db/db-XXX.c: Cleanup.
58143 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58144 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58146 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58147 * nss/makedb.c: Implement -g option to specify that value strings
58148 are generated and should not be added to table iterated over for
58150 * nss/nss_db/db-initgroups.c: New file.
58152 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58155 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58156 (internal_getgrouplist): Adjust to name change.
58157 Update use_initgroups_entry if this is not the first call.
58158 * nss/databases.def: Add initgroups entry.
58160 * nss/makedb.c (compute_tables): Check result of multiple hash table
58161 sizes to minimize maximum chain length.
58163 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58165 * Versions.def: Add entry for libnss_db.
58166 * shlib-versions: Likewise.
58167 * nss/Makefile: Add rules to build libnss_db.
58168 * nss/Versions: Add libnss_db information. Organize libnss_files
58170 * nss/db-Makefile: Add gshadow support. Change rules for the new
58171 makedb progra. Some minor improvements to generate smaller files.
58172 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58174 * nss/makedb.c: ...here.
58175 Improve database format to be smaller and require less memory at
58177 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58179 * nss/nss_db/db-netgrp.c: Likewise.
58180 * nss/nss_db/db-open.c: Likewise.
58181 * nss/nss_files/flies-XXX.x: Adjust comments.
58182 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58183 * nss/nss_files/files-grp.c: Likewise.
58184 * nss/nss_files/files-hosts.c: Likewise.
58185 * nss/nss_files/files-network.c: Likewise.
58186 * nss/nss_files/files-proto.c: Likewise.
58187 * nss/nss_files/files-pwd.c: Likewise.
58188 * nss/nss_files/files-rpc.c: Likewise.
58189 * nss/nss_files/files-service.c: Likewise.
58190 * nss/nss_files/files-sgrp.c: Likewise.
58191 * nss/nss_files/files-spwd.c: Likewise.
58192 * nss/nss_db/db-alias.c: Removed.
58193 * nss/nss_db/dummy-db.h: Removed.
58195 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58197 * nss/makedb.c: Rewritten to not use database library.
58198 * nss/Makefile: Update to build new makedb program.
58200 2011-06-14 Andreas Jaeger <aj@suse.de>
58202 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58203 memset declaration.
58205 2011-06-10 Andreas Schwab <schwab@redhat.com>
58207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58210 2011-06-10 Roland McGrath <roland@hack.frob.com>
58212 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58213 * elf/Makefile ($(objpfx)ld.so): Likewise.
58215 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58216 Don't list ld.so twice in dependencies.
58218 * posix/bug-regex31.c: Include <stdlib.h>.
58220 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58222 * nis/nss_compat/compat-spwd.c
58223 (getspent_next_nss_netgr): Remove unused variable.
58224 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58226 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58227 nonmembers" output to use the right array.
58229 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58231 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58233 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58234 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58235 * catgets/gencat.c (read_input_file): Likewise.
58236 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58238 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58239 variable definition inside #if's controlling its use.
58241 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58243 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58245 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58247 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58250 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58252 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58253 * configure: Regenerated.
58255 * Makerules: Revert last change.
58256 * elf/Makefile: Likewise.
58258 2011-06-09 Roland McGrath <roland@hack.frob.com>
58260 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58261 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58262 (reloc-link): Likewise.
58264 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58266 * elf/Makefile: Add rules to build pldd.
58267 * elf/pldd.c: New file.
58268 * elf/pldd-xx.c: New file.
58270 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58272 * version.h: Update for 2.15 development version.
58274 2011-06-07 David S. Miller <davem@davemloft.net>
58276 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58279 elf_machine_lazy_rel): Likewise.
58280 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58281 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58282 elf_machine_lazy_rel): Likewise.
58283 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58284 dl_hwcap via passed in argument.
58285 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58288 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58290 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58292 2011-06-06 Roland McGrath <roland@hack.frob.com>
58295 * manual/fdl-1.1.texi: New file, verbatim from:
58296 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58297 * manual/lgpl-2.1.texi: New file, verbatim from:
58298 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58299 * manual/Makefile (licenses): New variable, list those new file names.
58301 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58303 * manual/fdl.texi: File removed.
58304 * manual/lesser.texi: File removed.
58305 * manual/libc.texinfo (Copying, Documentation License):
58306 Use new @include file names, put @appendix directive before @include.
58308 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58311 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58312 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58313 (mq_open): Add __NTH.
58315 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58318 Assume Intel Core i3/i5/i7 processor if AVX is available.
58320 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58325 2011-05-31 Andreas Schwab <schwab@redhat.com>
58327 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58328 memory. Use alloca_account. Fix memory leak when retrying.
58330 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58332 * version.h (RELEASE): Bump for 2.14 release.
58333 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58335 * config.make.in (RANLIB): Remove entry.
58337 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58339 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58340 (libc.pot): Work around missing support for .ksh extension in xgettext.
58343 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58344 if both request failed.
58345 (send_dg): In case of server errors clear resplen or *resplen2.
58348 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58349 when there are multiple maps.
58350 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58351 (_dl_fini): Remove test here.
58353 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58355 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58358 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58359 bit from old_res_options.
58360 (gaih_inet): Likewise.
58363 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58366 * resolv/res_init.c (res_setoptions): Make the code more compact.
58369 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58373 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58375 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58378 * malloc/malloc.h: Declare malloc hook variables as volatile.
58380 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58384 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58385 raise in the comment.
58386 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58387 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58388 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58390 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58393 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58394 grow the buffers more if it already has to be sufficient.
58395 (build_wcs_upper_buffer): Likewise.
58396 * posix/regexec.c (check_matching): Likewise.
58397 (clean_state_log_if_needed): Likewise.
58398 (extend_buffers): Don't enlarge buffers beyond size of the input
58400 Patches mostly by Emil Wojak <emil@wojak.eu>.
58401 * posix/bug-regex32.c: New file.
58402 * posix/Makefile (tests): Add bug-regex32.
58404 * locale/findlocale.c (_nl_find_locale): Return right away if
58405 _nl_explode_name failed.
58406 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58408 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58410 * debug/xtrace.sh: Unify messages.
58411 * malloc/memusage.sh: Likewise.
58414 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58415 time symbol from vDSO. Substitute with vsyscall if not available.
58416 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58420 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58421 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58422 Add sendmmsg and internal_sendmmsg.
58423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58424 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58425 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58427 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58428 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58431 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58434 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58435 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58441 * iconvdata/Makefile (tests): Add bug-iconv9.
58442 * iconvdata/bug-iconv9.c: New file.
58444 2011-05-27 Andreas Schwab <schwab@redhat.com>
58447 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58449 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58451 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58452 (struct user_regs_struct): Change intcs field back to cs.
58454 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58456 * po/ja.po: Update from translation team.
58458 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58461 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58462 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58464 2011-05-20 Andreas Schwab <schwab@redhat.com>
58466 * stdlib/longlong.h: Update from GCC.
58468 2011-05-23 Andreas Schwab <schwab@redhat.com>
58470 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58472 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58473 Add parameter name.
58474 (__sysconf): Pass it down.
58476 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58479 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58481 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58482 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58483 add in in __libc_use_alloca calls. Adjust callers.
58484 (glob): Use malloc in some situations.
58486 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58487 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58490 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58492 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58493 and CLOCK_BOOTTIME_ALARM.
58496 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58499 * string/_strerror.c (__strerror_r): Print negative errors as signed
58503 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58504 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58505 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58507 * configure.in: Fix typo in redirection and correct removal of test
58508 files in two cases.
58511 * locale/setlocale.c (new_composite_name): Fix test to check for
58512 identical name of all categories.
58515 * libio/filedoalloc.c (local_isatty): New function.
58516 (_IO_file_doallocate): Use local_isatty.
58517 * stdio-common/perror.c (perror): In case a new stream is used
58518 forward the stream error.
58519 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58522 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58527 * include/alloca.h (extend_alloca_account): Define.
58530 * posix/regex.h: Fix comments with documentation of user-accessible
58531 fields after compilation and describe correct free'ing of pattern
58532 after re_compile_pattern.
58533 Patch by Reuben Thomas <rrt@sc3d.org>.
58535 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58537 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58538 and -mno-altivec to prevent the compiler from using Altivec and/or
58539 VSX instructions when the corresponding registers are not available.
58541 2011-05-19 Andreas Schwab <schwab@redhat.com>
58543 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58545 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58547 * libio/freopen.c (freopen): Use __dup2, not dup2.
58548 * libio/freopen64.c (freopen64): Likewise.
58550 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58553 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58554 * math/Makefile (tests): Add test-powl.
58555 (CFLAGS-test-powl.c): Define.
58556 * math/test-powl.c: New file.
58558 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58560 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58562 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58565 * iconvdata/gb18030.c: Update to GB18020-2005.
58567 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58569 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58570 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58571 Patch by Aharon Robbins <arnold@skeeve.com>.
58574 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58578 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58579 through underflows.
58582 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58583 point to strings before performing equality test for error_one_per_line
58587 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58591 (struct user_fpregs_struct): Avoid __uint*_t types.
58594 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58595 symbol info. Use it instead of calling _dl_addr locally.
58596 (lock_and_info): New function.
58597 (tr_freehook): Call lock_and_info and pass symbol info as additional
58598 parameter to tr_where.
58599 (tr_mallochook): Likewise.
58600 (tr_reallochook): Likewise.
58601 (tr_memalignhook): Likewise.
58603 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58604 used and couldn't be at all thread-safe.
58606 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58608 * libio/freopen.c (freopen): Don't close old file descriptor
58609 before the new one is opened. Instead dup the new file descriptor
58610 to the old one after the new stream is created.
58611 * libio/freopen64.c (freopen64): Likewise.
58612 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58613 * libio/fileops.c (_IO_new_file_close_it): Handle new
58614 _IO_FLAGS2_NOCLOSE flag.
58615 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58616 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58617 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58618 _IO_FLAGS2_NOCLOSE flag.
58619 * include/unistd.h: Add hidden_proto for dup3.
58620 Define __have_dup3.
58621 * io/dup3.c: Define hidden symbol.
58622 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58625 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58626 when an incomplete long option is used.
58627 * posix/tst-getopt_long1.c: New file.
58628 * posix/Makefile (tests): Add tst-getopt_long1.
58631 * scripts/config.guess: Update from autoconf-2.68.
58632 * scripts/config.sub: Likewise.
58635 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58637 (has_cpuclock): ...this. New function.
58638 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58639 macro here based on has_cpuclock code.
58642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58643 First byte (not low byte) is now always NUL.
58644 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58647 Use non-cancelable interfaces.
58650 * locale/iso-639.def: Add entry for Sorani.
58653 * include/stdlib.h: Move include protection to the right place.
58654 Define abort_msg_s. Declare __abort_msg with it.
58655 * stdlib/abort.c (__abort_msg): Adjust type.
58656 * assert/assert.c (__assert_fail_base): New function. Majority
58657 of code from __assert_fail. Allocate memory for __abort_msg with
58659 (__assert_fail): Now call __assert_fail_base.
58660 * assert/assert-perr.c: Remove bulk of implementation. Use
58661 __assert_fail_base.
58662 * include/assert.hL Declare __assert_fail_base.
58663 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58665 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58667 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58671 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58672 until all modules are registered in the DTV.
58673 * elf/Makefile: Add rules to build and run tst-tls19.
58674 * elf/tst-tls19.c: New file.
58675 * elf/tst-tls19mod1.c: New file.
58676 * elf/tst-tls19mod2.c: New file.
58677 * elf/tst-tls19mod3.c: New file.
58678 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58681 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58685 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58686 two-byte sequence errors.
58687 * iconvdata/Makefile (tests): Add bug-iconv8.
58688 * iconvdata/bug-iconv8.c: New file.
58691 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58694 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58697 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58698 (dummy_getcfa): New function.
58699 (init): Get _Unwind_GetCFA address, use dummy if not found.
58700 (backtrace_helper): In recursion check, also check whether CFA changes.
58701 (__backtrace): Completely initialize arg.
58703 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58704 storing incomplete byte sequence in state object. Avoid testing for
58705 guaranteed too small input if we know there is enough data available.
58707 2011-05-11 Andreas Schwab <schwab@redhat.com>
58709 * Makeconfig (+link-pie): Indent.
58710 * Rules (binaries-pie): Define if $(have-fpie) and
58712 (binaries-shared): Also filter out $(binaries-pie).
58713 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58714 * nscd/Makefile (others-pie): Add nscd.
58715 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58716 ($(objpfx)nscd): Remove command override.
58717 * login/Makefile (others-pie): Add pt_chown.
58718 ($(objpfx)pt_chown): Remove command override.
58719 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58720 remove command overrides.
58722 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58724 * libio/tst_putwc.c: Fix error messages.
58727 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58728 currently writing and seek to current position when not.
58729 * libio/Makefile (tests): Add bug-fclose1.
58730 * libio/bug-fclose1.c: New file.
58732 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58735 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58736 don't set DF_1_NODELETE here.
58737 (do_lookup_x): When entering new entry test for copy relocation
58738 and if necessary set DF_1_NODELETE flag.
58739 * elf/tst-unique4.cc: New file.
58740 * elf/tst-unique4.h: New file.
58741 * elf/tst-unique4lib.cc: New file.
58742 * elf/Makefile: Add rules to build and run tst-unique4.
58743 Patch by Piotr Bury <pbury@goahead.com>.
58745 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58748 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58751 * misc/mntent_r.c (addmntent): Flush the stream after the output
58754 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58755 (is_trusted_path_normalize): Skip initial colon. Append slash
58756 to empty buffer. Duplicate is_trusted_path code but allow
58757 constructed patch to be prefix.
58758 (is_dst): Allow $ORIGIN followed by /.
58759 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58760 Correct testing of result of is_trusted_path_normalize
58761 (decompose_rpath): Fix warning.
58763 2011-05-10 Ulrich Drepper <drepper@gmail.com>
58766 * grp/initgroups.c (internal_getgrouplist): When we found the service
58767 list through the initgroups entry in nsswitch.conf do not always
58768 continue on a successful lookup. Don't always use the
58769 __nss_group_database value if it is set.
58770 * nss/nsswitch.conf (initgroups): Change action for successful db
58771 lookup to continue for compatibility.
58773 2011-05-09 Ulrich Drepper <drepper@gmail.com>
58776 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58778 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58780 * iconvdata/tst-tables.sh: Likewise.
58781 * iconvdata/cp770.c: New file.
58782 * iconvdata/cp771.c: New file.
58783 * iconvdata/cp772.c: New file.
58784 * iconvdata/cp773.c: New file.
58785 * iconvdata/cp774.c: New file.
58786 * iconvdata/testdata/CP770: New file.
58787 * iconvdata/testdata/CP770..UTF8: New file.
58788 * iconvdata/testdata/CP771: New file.
58789 * iconvdata/testdata/CP771..UTF8: New file.
58790 * iconvdata/testdata/CP772: New file.
58791 * iconvdata/testdata/CP772..UTF8: New file.
58792 * iconvdata/testdata/CP773: New file.
58793 * iconvdata/testdata/CP773..UTF8: New file.
58794 * iconvdata/testdata/CP774: New file.
58795 * iconvdata/testdata/CP774..UTF8: New file.
58797 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58799 * iconvdata/gen-8bit-gap.sh: Likewise.
58800 * iconvdata/gen-8bit.sh: Likewise.
58802 * locale/iso-639.def: Add ary entry.
58805 * locale/C-translit.h.in: Add U20A1 transliteration.
58808 * locale/iso-639.def: Add wae entry.
58809 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58812 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58816 * locale/C-translit.h.in: Add entry for U20B9.
58817 Patch by pravin.d.s@gmail.com.
58819 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58822 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58823 ENAMETOOLONG use generic getcwd.
58824 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58825 in rtld. Use *stat64.
58826 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58827 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58828 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58829 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58830 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58831 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58832 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58833 __fstatat64 macros.
58834 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58835 * dirent/rewinddir.c: Add libc_hidden_def.
58836 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58837 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58839 * include/dirent.h (__alloc_dir): Add flags parameter.
58840 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58841 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58843 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58844 from fdopendir if O_CLOEXEC is already set.
58846 2011-03-15 Alan Modra <amodra@gmail.com>
58848 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58849 l_tls_firstbyte_offset non-zero. Save padding offset in
58850 l_tls_firstbyte_offset for later use.
58851 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58852 freeing static tls block.
58854 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58856 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58857 where #ifdef was intended. The intent is to prevent ARG_MAX from
58858 being defined by the kernel headers.
58860 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58863 * resolv/resolv.h: Define RES_NOTLDQUERY.
58864 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58865 no-tld-query and set RES_NOTLDQUERY.
58866 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58867 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58868 modern BIND to search name as TLD unless forbidden.
58870 2011-05-07 Petr Baudis <pasky@suse.cz>
58871 Ulrich Drepper <drepper@gmail.com>
58874 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58875 (is_trusted_path): ...to here.
58876 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58877 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58878 using is_trusted_path_normalize() in setuid scripts.
58880 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58882 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58883 __BEGIN/__END_DECLS.
58885 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58888 NSS_STATUS_NOTFOUND if no record was found.
58890 2011-05-05 Andreas Schwab <schwab@redhat.com>
58892 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58893 (headers-not-in-tirpc): Remove rpc/netdb.h
58894 * resolv/netdb.h: Revert last change.
58896 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58898 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58899 circular dependency between libgcc.a and libc.a.
58901 2011-05-05 Andreas Schwab <schwab@redhat.com>
58903 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58904 * nis/Makefile: Don't install rpcsvc/*.
58905 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58906 instead of <rpc/types.h>.
58907 (MAXHOSTNAMELEN): Define.
58909 2011-05-03 Andreas Schwab <schwab@redhat.com>
58911 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58913 2011-04-28 Maciej Babinski <mbabinski@google.com>
58916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58917 gethostbyname4_r when IPv6 results are possible.
58919 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58922 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58923 _PC_PIPE_BUF handling.
58925 2011-04-30 Bruno Haible <bruno@clisp.org>
58928 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58929 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58931 * inet/getnameinfo.c (getnameinfo): Likewise.
58933 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58935 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58936 to groups setting in database lookup.
58937 * nss/nsswitch.conf: Add initgroups entry.
58939 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58942 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58944 Patch by Eric Blake <eblake@redhat.com>.
58946 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58948 * sunrpc/Makefile (need-export-routines): Add svc_run.
58949 (routines): Remove svc_run.
58950 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58951 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58952 * sunrpc/svc_run.c (svc_run): Likewise.
58953 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58955 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58958 problem in reallocation in last patch.
58960 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58962 * sunrpc/Makefile: Move inclusion of Rules.
58964 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58966 * nss/nss_files/files-initgroups.c: New file.
58967 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58968 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58969 _nss_files_initgroups_dyn.
58971 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58973 * elf/elf.h (R_ARM_IRELATIVE): Define.
58975 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58977 * po/ru.po: Update from translation team.
58979 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58981 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58984 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58987 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58988 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58993 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58995 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58997 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58998 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58999 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59001 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59004 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59006 * stdlib/bug-getcontext.c: New file.
59007 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59009 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59011 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59012 instructions into .machine "z9-109".
59013 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59014 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59016 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59018 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59019 between environment variables and auxiliary vector.
59021 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59023 * Makefile: Add rules to build linkobj/libc.so.
59024 * include/libc-symbols.h: Define libc_hidden_nolink.
59025 * include/rpc/auth.h: Mark functions which are to be hidden.
59026 * include/rpc/auth_des.h: Likewise.
59027 * include/rpc/auth_unix.h: Likewise.
59028 * include/rpc/clnt.h: Likewise.
59029 * include/rpc/des_crypt.h: Likewise.
59030 * include/rpc/key_prot.h: Likewise.
59031 * include/rpc/pmap_clnt.h: Likewise.
59032 * include/rpc/pmap_prot.h: Likewise.
59033 * include/rpc/pmap_rmt.h: Likewise.
59034 * include/rpc/rpc_msg.h: Likewise.
59035 * include/rpc/svc.h: Likewise.
59036 * include/rpc/svc_auth.h: Likewise.
59037 * include/rpc/xdr.h: Likewise.
59038 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59039 * nss/Makefile: Likewise.
59040 * sunrpc/Makefile: Don't install headers. Build library with normal
59041 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59042 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59043 for the compat linking library. Remove use of INTDEF/INTUSE.
59044 * sunrpc/auth_none.c: Likewise.
59045 * sunrpc/auth_unix.c: Likewise.
59046 * sunrpc/authdes_prot.c: Likewise.
59047 * sunrpc/authuxprot.c: Likewise.
59048 * sunrpc/clnt_gen.c: Likewise.
59049 * sunrpc/clnt_perr.c: Likewise.
59050 * sunrpc/clnt_raw.c: Likewise.
59051 * sunrpc/clnt_simp.c: Likewise.
59052 * sunrpc/clnt_tcp.c: Likewise.
59053 * sunrpc/clnt_udp.c: Likewise.
59054 * sunrpc/clnt_unix.c: Likewise.
59055 * sunrpc/des_crypt.c: Likewise.
59056 * sunrpc/des_soft.c: Likewise.
59057 * sunrpc/get_myaddr.c: Likewise.
59058 * sunrpc/key_call.c: Likewise.
59059 * sunrpc/key_prot.c: Likewise.
59060 * sunrpc/netname.c: Likewise.
59061 * sunrpc/pm_getmaps.c: Likewise.
59062 * sunrpc/pm_getport.c: Likewise.
59063 * sunrpc/pmap_clnt.c: Likewise.
59064 * sunrpc/pmap_prot.c: Likewise.
59065 * sunrpc/pmap_prot2.c: Likewise.
59066 * sunrpc/pmap_rmt.c: Likewise.
59067 * sunrpc/publickey.c: Likewise.
59068 * sunrpc/rpc_cmsg.c: Likewise.
59069 * sunrpc/rpc_common.c: Likewise.
59070 * sunrpc/rpc_dtable.c: Likewise.
59071 * sunrpc/rpc_prot.c: Likewise.
59072 * sunrpc/rpc_thread.c: Likewise.
59073 * sunrpc/rtime.c: Likewise.
59074 * sunrpc/svc.c: Likewise.
59075 * sunrpc/svc_auth.c: Likewise.
59076 * sunrpc/svc_authux.c: Likewise.
59077 * sunrpc/svc_raw.c: Likewise.
59078 * sunrpc/svc_run.c: Likewise.
59079 * sunrpc/svc_simple.c: Likewise.
59080 * sunrpc/svc_tcp.c: Likewise.
59081 * sunrpc/svc_udp.c: Likewise.
59082 * sunrpc/svc_unix.c: Likewise.
59083 * sunrpc/svcauth_des.c: Likewise.
59084 * sunrpc/xcrypt.c: Likewise.
59085 * sunrpc/xdr.c: Likewise.
59086 * sunrpc/xdr_array.c: Likewise.
59087 * sunrpc/xdr_float.c: Likewise.
59088 * sunrpc/xdr_intXX_t.c: Likewise.
59089 * sunrpc/xdr_mem.c: Likewise.
59090 * sunrpc/xdr_rec.c: Likewise.
59091 * sunrpc/xdr_ref.c: Likewise.
59092 * sunrpc/xdr_sizeof.c: Likewise.
59093 * sunrpc/xdr_stdio.c: Likewise.
59095 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59098 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59099 * sysdeps/ia64/dl-tls.h: Likewise.
59100 * sysdeps/powerpc/dl-tls.h: Likewise.
59101 * sysdeps/s390/dl-tls.h: Likewise.
59102 * sysdeps/sh/dl-tls.h: Likewise.
59103 * sysdeps/sparc/dl-tls.h: Likewise.
59104 * sysdeps/x86_64/dl-tls.h: Likewise.
59105 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59107 2011-03-14 Andreas Schwab <schwab@redhat.com>
59109 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59110 rpath element also skip the following colon.
59111 (expand_dynamic_string_token): Add is_path parameter and pass
59112 down to DL_DST_REQUIRED and _dl_dst_substitute.
59113 (decompose_rpath): Call expand_dynamic_string_token with
59114 non-zero is_path. Ignore empty rpaths.
59115 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59118 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59123 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59126 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59127 Patch by Filipe David Manana <fdmanana@apache.org>.
59129 2011-04-07 Andreas Schwab <schwab@redhat.com>
59131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59132 Maintain aligned stack.
59133 (CHECK_RSP): Remove unused macro.
59135 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59137 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59138 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59140 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59142 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59144 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59146 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59149 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59150 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59151 * sysdeps/x86_64/memmove.c: New file.
59152 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59153 (memcpy): Renamed to ...
59154 (__new_memcpy): This.
59155 (memcpy): Provide GLIBC_2_14 memcpy.
59156 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59157 (memcpy): Provide GLIBC_2_2_5 memcpy.
59159 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59162 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59164 2011-03-30 Andreas Schwab <schwab@redhat.com>
59166 * misc/syncfs.c: New file.
59167 * misc/Makefile (routines): Add syncfs.
59168 * posix/unistd.h: Declare syncfs.
59169 * sysdeps/unix/syscalls.list: Add syncfs.
59171 2011-04-01 Andreas Schwab <schwab@redhat.com>
59173 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59175 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59180 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59181 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59183 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59187 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59193 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59194 sync_file_range.c with -fexceptions.
59195 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59196 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59197 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59198 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59199 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59200 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59202 sync_file_range as cancellation point
59203 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59204 now a wrapper around __call_sync_file_range with cancellation handling.
59205 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59206 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59207 function name to __call_sync_file_range.
59208 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59209 Add call_sync_file_range.
59211 2011-04-01 Andreas Schwab <schwab@redhat.com>
59213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59216 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59218 * iconv/iconv.h: Fix typo in comment.
59219 * io/fcntl.h: Likewise.
59220 * libio/stdio.h: Likewise.
59221 * posix/spawn.h: Likewise.
59222 * posix/unistd.h: Likewise.
59223 * stdlib/stdlib.h: Likewise.
59224 * time/time.h: Likewise.
59225 * wcsmbs/wchar.h: Likewise.
59227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59228 open_by_handle): Add.
59229 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59230 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59231 Augment a few comments.
59232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59237 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59240 * io/fcntl.h (AT_EMPTY_PATH): Define.
59242 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59244 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59245 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59246 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59248 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59249 * Versions.def: Add GLIBC_2.14.
59250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59253 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59255 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59257 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59259 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59262 * string/test-strncmp.c (do_page_test): New function.
59263 (check2): Likewise.
59264 (test_main): Call check2.
59265 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59267 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59270 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59271 Handle cache information in CPU leaf 4.
59272 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59274 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59277 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59278 character representation.
59279 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59281 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59283 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59284 END(__isnan) to END(__isnanf) to match function entry point/label
59285 EALIGN(__isnanf,...).
59287 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59289 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59291 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59294 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59295 copy from the symbol referenced in the relocation to initialize the
59297 Patch by Piotr Bury <pbury@goahead.com>.
59298 * elf/Makefile: Add rules to build and tst-unique3.
59299 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59300 * elf/tst-unique3.cc: New file.
59301 * elf/tst-unique3.h: New file.
59302 * elf/tst-unique3lib.cc: New file.
59303 * elf/tst-unique3lib2.cc: New file.
59305 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59307 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59309 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59310 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59313 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59315 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59316 to-be-loaded object along a path to loader is ld.so.
59318 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59319 Ulrich Drepper <drepper@gmail.com>
59321 * sysdeps/x86_64/memset.S: After aligning destination, code
59322 branches to different locations depending on the value of
59323 misalignment, when multiarch is enabled. Fix this.
59325 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59327 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59328 Set _x86_64_preferred_memory_instruction for AMD processsors.
59329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59330 Set bit_Prefer_SSE_for_memop for AMD processors.
59332 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59334 * libio/fmemopen.c (fmemopen): Optimize a bit.
59336 2011-03-03 Andreas Schwab <schwab@redhat.com>
59338 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59340 2011-03-03 Roland McGrath <roland@redhat.com>
59342 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59344 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59346 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59347 __bzero_ultra1 instead of __memset_ultra1.
59349 2011-02-23 Andreas Schwab <schwab@redhat.com>
59350 Ulrich Drepper <drepper@gmail.com>
59353 * include/link.h (struct link_map): Add l_orig_initfini.
59354 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59355 returning unsuccessfully.
59356 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59357 close of a file loaded at startup, restore the original l_initfini
59359 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59360 list, store the pointer.
59361 * elf/Makefile ($(objpfx)noload-mem): New rule.
59362 (noload-ENV): Define.
59363 (tests): Add $(objpfx)noload-mem.
59364 * elf/noload.c: Include <memcheck.h>.
59365 (main): Call mtrace. Close all opened handles.
59367 2011-02-17 Andreas Schwab <schwab@redhat.com>
59370 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59371 dependencies are missing.
59373 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59375 Fix __if_freereq crash: Unlike the generic version which uses free,
59377 * sysdeps/mach/hurd/ifreq.h: New file.
59379 2011-01-27 Petr Baudis <pasky@suse.cz>
59380 Ulrich Drepper <drepper@gmail.com>
59383 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59384 to extend_alloca().
59385 * stdio-common/bug23.c: New file.
59386 * stdio-common/Makefile (tests): Add bug23.
59388 2010-09-28 Andreas Schwab <schwab@redhat.com>
59389 Ulrich Drepper <drepper@gmail.com>
59392 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59393 before performing relro protection. At old place add assertion
59394 to make sure nothing changed.
59396 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59397 Glauber de Oliveira Costa <glommer@gmail.com>
59399 * elf/elf.h: Add new ARM TLS relocs.
59401 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59404 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59406 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59408 * sysdeps/wordsize-64/tst-writev.c: New file.
59410 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59412 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59413 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59414 insns in _dl_start to prevent a TOC reference before relocs are
59417 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59420 * Makeconfig: Remove RANLIB definition.
59421 * Makerules: Don't use RANLIB.
59422 * aclocal.m4: Remove ranlib test.
59423 * configure.in: No need to check for ranlib.
59424 * elf/rtld-Rules: Don't use RANLIB.
59426 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59428 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59430 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59431 inclusion protection macro.
59433 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59434 SIGRTMIN and SIGRTMAX and print information in that case only when
59435 SIGRTMIN is defined.
59437 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59439 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59440 arginfo fn returning -1.
59442 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59443 and thousands string is zero terminated.
59445 2011-02-03 Andreas Schwab <schwab@redhat.com>
59447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59448 sysdeps/unix/sysv/linux/bits/socket.h.
59450 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59452 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59453 (__CPU_COUNT): Remove old macros.
59454 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59455 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59456 (__CPU_ALLOC, __CPU_FREE): Add macros.
59457 (__sched_cpualloc, __sched_cpufree): Add declarations.
59459 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59461 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59462 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59463 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59464 (readdhstai): Return value of addhstaiX call.
59465 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59466 (addgrbyX): Return value returned by cache_addgr.
59467 (readdgrbyname): Return value returned by addgrbyX.
59468 (readdgrbygid): Likewise.
59469 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59470 (addpwbyX): Return value returned by cache_addpw.
59471 (readdpwbyname): Return value returned by addhstbyX.
59472 (readdpwbyuid): Likewise.
59473 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59474 (addservbyX): Return value returned by cache_addserv.
59475 (readdservbyname): Return value returned by addservbyX:
59476 (readdservbyport): Likewise.
59477 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59478 (addhstbyX): Return value returned by cache_addhst.
59479 (readdhstbyname): Return value returned by addhstbyX.
59480 (readdhstbyaddr): Likewise.
59481 (readdhstbynamev6): Likewise.
59482 (readdhstbyaddrv6): Likewise.
59483 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59484 (readdinitgroups): Return value returned by addinitgroupsX.
59485 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59486 (prune_cache): Keep track of timeout value of re-added entries.
59487 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59488 * nscd/nscd.h: Adjust prototypes of readd* functions.
59490 2011-02-04 Roland McGrath <roland@redhat.com>
59492 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59493 (nis_stats): Likewise.
59494 * nis/nis_modify.c (nis_modify): Likewise.
59495 * nis/nis_remove.c (nis_remove): Likewise.
59496 * nis/nis_add.c (nis_add): Likewise.
59498 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59500 * posix/fnmatch_loop.c: Add some consts.
59502 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59504 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59507 * config.make.in (config-cflags-novzeroupper): Define.
59508 * configure.in: Substitute libc_cv_cc_novzeroupper.
59509 * elf/Makefile (AVX-CFLAGS): Define.
59510 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59511 (CFLAGS-tst-auditmod4a.c): Likewise.
59512 (CFLAGS-tst-auditmod4b.c): Likewise.
59513 (CFLAGS-tst-auditmod6b.c): Likewise.
59514 (CFLAGS-tst-auditmod6c.c): Likewise.
59515 (CFLAGS-tst-auditmod7b.c): Likewise.
59516 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59518 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59520 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59521 function to the callback.
59522 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59524 2011-02-02 Andreas Schwab <schwab@redhat.com>
59526 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59529 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59532 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59534 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59536 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59539 * elf/Makefile: Add rules to build and run new test.
59540 * elf/tst-initorder.c: New file.
59541 * elf/tst-initorder.exp: New file.
59542 * elf/tst-initordera1.c: New file.
59543 * elf/tst-initordera2.c: New file.
59544 * elf/tst-initordera3.c: New file.
59545 * elf/tst-initordera4.c: New file.
59546 * elf/tst-initorderb1.c: New file.
59547 * elf/tst-initorderb2.c: New file.
59548 * elf/tst-order-a1.c: New file.
59549 * elf/tst-order-a2.c: New file.
59550 * elf/tst-order-a3.c: New file.
59551 * elf/tst-order-a4.c: New file.
59552 * elf/tst-order-b1.c: New file.
59553 * elf/tst-order-b2.c: New file.
59554 * elf/tst-order-main.c: New file.
59555 New test case by George Gensure <werkt0@gmail.com>.
59557 2010-10-01 Andreas Schwab <schwab@redhat.com>
59559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59560 decoding ACE if AI_CANONIDN.
59562 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59564 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59566 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59568 * version.h (RELEASE): Bump for 2.13 release.
59569 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59571 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59575 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59576 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59577 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59578 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59579 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59580 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59582 * posix/getconf.c: Update copyright year.
59583 * catgets/gencat.c: Likewise.
59584 * csu/version.c: Likewise.
59585 * debug/catchsegv.sh: Likewise.
59586 * debug/xtrace.sh: Likewise.
59587 * elf/ldconfig.c: Likewise.
59588 * elf/ldd.bash.in: Likewise.
59589 * elf/sprof.c (print_version): Likewise.
59590 * iconv/iconv_prog.c: Likewise.
59591 * iconv/iconvconfig.c: Likewise.
59592 * locale/programs/locale.c: Likewise.
59593 * locale/programs/localedef.c: Likewise.
59594 * malloc/memusage.sh: Likewise.
59595 * malloc/mtrace.pl: Likewise.
59596 * nscd/nscd.c (print_version): Likewise.
59597 * nss/getent.c: Likewise.
59599 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59600 PF_CAIF, and PF_ALG.
59601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59603 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59605 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59606 (modules-names): Use them.
59607 (ifunc-test-modules, ifunc-pie-tests): Define.
59608 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59609 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59610 (test-extras): Likewise.
59611 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59612 $(compile-command.c).
59613 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59614 (all-built-dso): Define.
59615 (check-textrel.out, check-execstack.out): Depend on it.
59617 * configure.in: Don't override --enable-multi-arch.
59619 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59622 * nscd/hstcache.c (tryagain): Define.
59623 (cache_addhst): Return tryagain not notfound for temporary errors.
59624 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59627 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59631 to make the syscall.
59632 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59635 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59636 and fall back to matching as normal character if the string ends before
59637 the matching ']' is found. This is what POSIX requires.
59638 * posix/testfnm.c: Adjust test result.
59639 * posix/globtest.sh: Adjust test result. Add new test.
59640 * posix/tst-fnmatch.input: Likewise.
59641 * posix/tst-fnmatch2.c: Add new test.
59643 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59645 * elf/Makefile (check-execstack): Revert last change. Depend on
59647 (check-execstack.h): New target.
59648 (generated): Add check-execstack.h.
59649 * elf/check-execstack.c: Include "check-execstack.h".
59650 (main): Revert last change.
59651 (handle_file): Return zero if GNU_STACK is absent and
59652 DEFAULT_STACK_PERMS doesn't include PF_X.
59654 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59656 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59657 in child fails because the descriptor is already closed.
59658 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59659 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59660 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59663 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59667 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59668 temporary buffer used to handle multi lookups locally.
59669 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59671 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59673 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59676 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59678 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59679 alignment for SSE2.
59681 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59684 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59685 characters. When rounding increased number of integer digits recompute
59687 * stdio-common/tst-grouping.c: New file.
59688 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59690 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59692 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59693 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59695 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59697 * bits/select.h: Likewise.
59699 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59701 * po/ja.po: Update from translation team.
59703 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59706 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59707 implementation just like for lxstat, fxstatat, et al.
59709 2010-12-27 Jim Meyering <meyering@redhat.com>
59712 * posix/regexec.c (build_trtable): Return failure indication upon
59713 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59715 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59718 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59719 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59720 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59721 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59724 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59727 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59728 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59730 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59732 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59733 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59734 script has SORT_BY_INIT_PRIORITY.
59735 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59736 NO_CTORS_DTORS_SECTIONS is defined.
59737 * elf/soinit.c: Likewise.
59738 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59739 NO_CTORS_DTORS_SECTIONS is defined.
59740 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59741 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59742 * sysdeps/sh/init-first.c: Likewise.
59743 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59745 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59747 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59748 always use the slow path.
59750 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59752 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59753 similar rule which adds the sysdep directories to the header search in
59754 order to pick up the correct platform stackinfo.h.
59755 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59756 perform test if it is, otherwise return successfully without testing.
59757 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59758 DEFAULT_STACK_PERMS define in stackinfo.h.
59759 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59760 defined in stackinfo.h.
59761 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59762 DEFAULT_STACK_PERMS defined in stackinfo.h.
59763 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59764 * sysdeps/ia64/stackinfo.h: Likewise.
59765 * sysdeps/s390/stackinfo.h: Likewise.
59766 * sysdeps/sh/stackinfo.h: Likewise.
59767 * sysdeps/sparc/stackinfo.h: Likewise.
59768 * sysdeps/x86_64/stackinfo.h: Likewise.
59769 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59770 PF_X for powerpc64. Retain PF_X for powerpc32.
59772 2010-12-19 Ulrich Drepper <drepper@gmail.com>
59774 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59776 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59777 GETDENTS_64BIT_ALIGNED.
59779 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59781 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59783 2010-12-10 Andreas Schwab <schwab@redhat.com>
59785 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59788 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59789 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59791 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59792 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59794 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59797 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59800 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59802 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59804 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59806 * po/it.po: Update from translation team.
59808 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59813 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59815 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59817 2010-11-24 Andreas Schwab <schwab@redhat.com>
59819 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59821 (gaih_getanswer_slice): Likewise.
59823 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59827 2010-05-31 Petr Baudis <pasky@suse.cz>
59830 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59831 silently even in the chroot mode.
59833 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59835 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59836 last patch a bit. Pretty printing
59838 2010-05-31 Petr Baudis <pasky@suse.cz>
59841 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59842 initialization of skip_initgroups_dyn.
59844 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59846 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59849 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59851 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59853 2010-11-11 Andreas Schwab <schwab@redhat.com>
59855 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59856 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59857 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59858 ($(objpfx)tst-fnmatch-mem): New rule.
59859 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59860 * posix/tst-fnmatch.c (main): Call mtrace.
59862 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59865 Support Intel processor model 6 and model 0x2c.
59867 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59869 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59872 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59875 * string/test-strncasecmp.c (check_result): New function.
59876 (do_one_test): Use it.
59877 (check1): New function.
59878 (test_main): Use it.
59879 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59880 Support strcasecmp and strncasecmp.
59882 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59885 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59886 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59888 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59890 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59894 * sysdeps/x86_64/multiarch/bzero.S: New file.
59895 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59896 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59897 * sysdeps/x86_64/multiarch/memset.S: New file.
59898 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59900 Set bit_Prefer_SSE_for_memop for Intel processors.
59901 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59903 (index_Prefer_SSE_for_memop): Define.
59904 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59906 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59908 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59909 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59911 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59914 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59915 (__x86_64_raw_data_cache_size_half): Likewise.
59916 (__x86_64_raw_shared_cache_size): Likewise.
59917 (__x86_64_raw_shared_cache_size_half): Likewise.
59919 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59920 (__x86_64_raw_data_cache_size_half): Likewise.
59921 (__x86_64_raw_shared_cache_size): Likewise.
59922 (__x86_64_raw_shared_cache_size_half): Likewise.
59923 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59924 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59925 and __x86_64_raw_shared_cache_size_half. Round
59926 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59927 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59928 to multiple of 256 bytes.
59930 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59933 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59934 of inacessible symlinks. Verify result of symlink before returning it.
59935 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59936 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59938 2010-10-28 Erich Ritz <erichritz@gmail.com>
59940 * math/math.h (isinf): Fix typo in comment.
59942 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59944 * po/da.po: Update from translation team.
59946 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59948 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59949 is added to the list.
59951 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59952 Ulrich Drepper <drepper@gmail.com>
59954 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59955 the global list here. Move code to...
59956 (_dl_add_to_namespace_list): ...here. New function.
59957 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59958 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59959 * elf/dl-load.c (lose): Don't remove the element from the list.
59960 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59961 (_dl_map_object): Likewise.
59963 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59966 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59967 into all bytes of SSE register.
59968 Patch by Richard Li <richardpku@gmail.com>.
59970 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59973 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59976 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59978 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59979 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59980 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59986 2010-10-22 Andreas Schwab <schwab@redhat.com>
59988 * include/dlfcn.h (__RTLD_SECURE): Define.
59989 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59990 mode & __RTLD_SECURE instead.
59991 (open_path): Rename preloaded parameter to secure.
59992 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59993 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59994 * elf/dl-deps.c (openaux): Likewise.
59995 * elf/rtld.c (struct map_args): Remove is_preloaded.
59996 (map_doit): Don't use it.
59997 (dl_main): Likewise.
59998 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59999 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60001 2010-09-09 Andreas Schwab <schwab@redhat.com>
60003 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60004 (sysd-rules-targets): Remove duplicates.
60005 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60006 rtld-%.$o dependency.
60008 2010-10-18 Andreas Schwab <schwab@redhat.com>
60010 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60011 _dl_map_object do it.
60013 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60015 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60016 fast fma builtins, define the macros in the C99 standard.
60017 (FP_FAST_FMAF): Likewise.
60018 (FP_FAST_FMAL): Likewise.
60019 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60021 * bits/mathdef.h: Update copyright year.
60022 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60024 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60026 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60027 builtins, define the macros in the C99 standard.
60028 (FP_FAST_FMAF): Likewise.
60029 (FP_FAST_FMAL): Likewise.
60030 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60032 (FP_FAST_FMAF): Likewise.
60034 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60037 * math/libm-test.inc (fma_test): Some new testcases.
60038 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60039 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60040 y and infinite z. Do multiplication by C already in long double.
60041 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60043 y and infinite z. Do bitwise or of inexact bit into u.d.
60044 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60045 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60046 * sysdeps/i386/fpu/s_fma.S: Removed.
60047 * sysdeps/i386/fpu/s_fmal.S: Removed.
60049 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60052 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60054 computation is not scheduled after fetestexcept. Fix value
60055 of minimum denormal long double.
60057 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60060 * math/libm-test.inc (fma_test): Add some more tests.
60061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60064 2010-10-15 Andreas Schwab <schwab@redhat.com>
60066 * scripts/data/localplt-s390-linux-gnu.data: New file.
60067 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60069 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60072 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60073 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60075 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60077 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60079 if one of x and y is very large and the other is subnormal.
60080 * sysdeps/s390/fpu/s_fmaf.c: New file.
60081 * sysdeps/s390/fpu/s_fma.c: New file.
60082 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60083 * sysdeps/powerpc/fpu/s_fma.S: New file.
60084 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60085 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60086 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60088 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60091 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60093 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60094 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60095 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60096 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60097 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60098 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60099 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60101 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60104 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60105 * posix/bug-regex31.input: Add test case.
60107 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60109 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60110 * posix/bug-regex31.input: New file.
60113 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60114 (parse_sub_exp): Fix last change, use postorder.
60116 * posix/bug-regex31.c: New file.
60117 * posix/Makefile: Add rules to build and run bug-regex31.
60119 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60122 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60125 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60126 to have entries in sys_siglist.
60129 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60132 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60135 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60136 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60137 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60138 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60139 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60140 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60141 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60142 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60143 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60144 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60145 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60146 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60147 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60148 * math/ftestexcept.c (fetestexcept): Likewise.
60149 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60150 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60151 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60152 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60153 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60154 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60155 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60157 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60160 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60163 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60165 * string/bug-strstr1.c: New file.
60166 * string/Makefile: Add rules to build and run bug-strstr1.
60168 2010-10-05 Eric Blake <eblake@redhat.com>
60171 * string/str-two-way.h (two_way_long_needle): Always clear memory
60172 when skipping input due to the shift table.
60174 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60177 * malloc/mcheck.c: Handle large requests.
60180 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60181 for strncmp and strncasecmp.
60182 * string/stratcliff.c: Add tests for strcmp and strncmp.
60183 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60185 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60187 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60190 2010-09-30 Andreas Jaeger <aj@suse.de>
60192 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60193 (CGROUP_SUPER_MAGIC): Define.
60194 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60195 Handle btrfs and cgroup file systems.
60196 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60199 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60201 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60202 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60204 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60207 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60208 trying to locate the ELF header.
60210 2010-09-27 Andreas Schwab <schwab@redhat.com>
60213 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60214 Mask out sign-bit copies when constructing f_fsid.
60216 2010-09-24 Petr Baudis <pasky@suse.cz>
60218 * debug/stack_chk_fail_local.c: Add missing licence exception.
60219 * debug/warning-nop.c: Likewise.
60221 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60223 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60224 implementing getdents64 using getdents syscall, set d_type if
60225 __ASSUME_GETDENTS32_D_TYPE.
60227 2010-09-16 Andreas Schwab <schwab@redhat.com>
60229 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60230 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60232 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60235 * posix/unistd.h: Undo change of feature selection for ftruncate from
60238 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60240 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60243 2010-09-20 Andreas Schwab <schwab@redhat.com>
60245 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60249 2010-09-14 Andreas Schwab <schwab@redhat.com>
60251 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60252 variables after CHECK_SP call.
60253 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60255 2010-09-13 Andreas Schwab <schwab@redhat.com>
60256 Ulrich Drepper <drepper@redhat.com>
60258 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60259 re-relocationg ld.so.
60260 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60261 _dl_init_paths call.
60262 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60265 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60267 * resolv/res_init.c (__res_vinit): Count the default server we added.
60269 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60270 Ulrich Drepper <drepper@redhat.com>
60273 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60274 (____longjmp_chk): Use %ebx for saving value across system call.
60277 2010-09-06 Andreas Schwab <schwab@redhat.com>
60279 * manual/Makefile: Don't mix pattern rules with normal rules.
60281 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60283 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60285 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60286 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60287 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60288 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60292 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60295 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60296 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60298 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60300 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60301 * sysdeps/x86_64/addmul_1.S: Likewise.
60302 * sysdeps/x86_64/lshift.S: Likewise.
60303 * sysdeps/x86_64/mul_1.S: Likewise.
60304 * sysdeps/x86_64/rshift.S: Likewise.
60305 * sysdeps/x86_64/sub_n.S: Likewise.
60306 * sysdeps/x86_64/submul_1.S: Likewise.
60308 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60310 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60311 Define __sched_param instead of SCHED_* and sched_param when
60312 <bits/sched.h> is included with __need_schedparam defined.
60313 * bits/sched.h [__need_schedparam]
60314 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60315 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60316 (__defined_schedparam): Define to 1.
60317 (__sched_param): New structure, identical to sched_param.
60318 (__need_schedparam): Undefine.
60320 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60322 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60323 (epoll_create1): Declare.
60325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60327 2010-08-31 Andreas Schwab <schwab@redhat.com>
60330 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60331 shifting retval into place.
60333 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60335 * nis/rpcsvc/nis.h: Update copyright notice.
60336 * nis/rpcsvc/nis.x: Likewise.
60337 * nis/rpcsvc/nis_callback.h: Likewise.
60338 * nis/rpcsvc/nis_callback.x: Likewise.
60339 * nis/rpcsvc/nis_object.x: Likewise.
60340 * nis/rpcsvc/nis_tags.h: Likewise.
60341 * nis/rpcsvc/yp.h: Likewise.
60342 * nis/rpcsvc/yp.x: Likewise.
60343 * nis/rpcsvc/ypupd.h: Likewise.
60344 * nis/yp_xdr.c: Likewise.
60345 * nis/ypupdate_xdr.c: Likewise.
60347 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60348 mainly the body of pmap_getport. Add parameters to specify timeouts.
60349 (pmap_getport): Use __libc_rpc_getport.
60350 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60351 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60352 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60354 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60359 2010-08-27 Roland McGrath <roland@redhat.com>
60361 * sysdeps/i386/i686/multiarch/Makefile
60362 (CFLAGS-varshift.c): New variable.
60364 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60366 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60367 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60371 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60373 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60375 * sysdeps/x86_64/strlen.S: Unroll the loop.
60376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60377 strlen-sse2 strlen-sse2-bsf.
60378 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60379 __strlen_no_bsf if bit_Slow_BSF is set.
60380 (__strlen_sse42): Removed.
60381 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60382 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60384 2010-08-25 Roland McGrath <roland@redhat.com>
60386 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60387 * sysdeps/x86_64/multiarch/varshift.c: New file.
60388 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60389 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60390 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60391 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60393 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60396 strlen-sse2 strlen-sse2-bsf.
60397 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60398 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60399 (__strlen_sse2): Removed.
60400 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60403 bit_Slow_BSF for Atom.
60404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60405 (index_Slow_BSF): Define.
60406 (HAS_SLOW_BSF): Define.
60408 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60411 * resolv/res_init.c (__res_vinit): When no server address at all
60412 is given default to loopback.
60414 2010-08-24 Roland McGrath <roland@redhat.com>
60416 * configure.in: Remove config-name.h generation.
60417 * configure: Regenerated.
60418 * config-name.in: File removed.
60419 * scripts/config-uname.sh: New file.
60420 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60421 ($(objdir)config-name.h): New target.
60423 * sunrpc/rpc_parse.h: Avoid nested comment.
60425 2010-08-24 Richard Henderson <rth@redhat.com>
60426 Ulrich Drepper <drepper@redhat.com>
60427 H.J. Lu <hongjiu.lu@intel.com>
60429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60431 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60432 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60433 _mm_alignr_epi8 with _mm_loadu_si128.
60434 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60435 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60436 (__m128i_shift_right): Removed.
60437 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60438 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60439 * sysdeps/x86_64/multiarch/varshift.h: New file.
60440 * sysdeps/x86_64/multiarch/varshift.S: New file.
60442 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60444 * configure.in: Move assembler checks to before sysdep dir checking.
60446 2010-08-20 Petr Baudis <pasky@suse.cz>
60448 * LICENSES: Sync the sunrpc license.
60450 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60452 * sunrpc/auth_des.c: Update copyright notice once again.
60453 * sunrpc/auth_none.c: Likewise.
60454 * sunrpc/auth_unix.c: Likewise.
60455 * sunrpc/authdes_prot.c: Likewise.
60456 * sunrpc/authuxprot.c: Likewise.
60457 * sunrpc/bindrsvprt.c: Likewise.
60458 * sunrpc/clnt_gen.c: Likewise.
60459 * sunrpc/clnt_perr.c: Likewise.
60460 * sunrpc/clnt_raw.c: Likewise.
60461 * sunrpc/clnt_simp.c: Likewise.
60462 * sunrpc/clnt_tcp.c: Likewise.
60463 * sunrpc/clnt_udp.c: Likewise.
60464 * sunrpc/clnt_unix.c: Likewise.
60465 * sunrpc/des_crypt.c: Likewise.
60466 * sunrpc/des_soft.c: Likewise.
60467 * sunrpc/get_myaddr.c: Likewise.
60468 * sunrpc/getrpcport.c: Likewise.
60469 * sunrpc/key_call.c: Likewise.
60470 * sunrpc/key_prot.c: Likewise.
60471 * sunrpc/openchild.c: Likewise.
60472 * sunrpc/pm_getmaps.c: Likewise.
60473 * sunrpc/pm_getport.c: Likewise.
60474 * sunrpc/pmap_clnt.c: Likewise.
60475 * sunrpc/pmap_prot.c: Likewise.
60476 * sunrpc/pmap_prot2.c: Likewise.
60477 * sunrpc/pmap_rmt.c: Likewise.
60478 * sunrpc/rpc/auth.h: Likewise.
60479 * sunrpc/rpc/auth_unix.h: Likewise.
60480 * sunrpc/rpc/clnt.h: Likewise.
60481 * sunrpc/rpc/des_crypt.h: Likewise.
60482 * sunrpc/rpc/key_prot.h: Likewise.
60483 * sunrpc/rpc/netdb.h: Likewise.
60484 * sunrpc/rpc/pmap_clnt.h: Likewise.
60485 * sunrpc/rpc/pmap_prot.h: Likewise.
60486 * sunrpc/rpc/pmap_rmt.h: Likewise.
60487 * sunrpc/rpc/rpc.h: Likewise.
60488 * sunrpc/rpc/rpc_des.h: Likewise.
60489 * sunrpc/rpc/rpc_msg.h: Likewise.
60490 * sunrpc/rpc/svc.h: Likewise.
60491 * sunrpc/rpc/svc_auth.h: Likewise.
60492 * sunrpc/rpc/types.h: Likewise.
60493 * sunrpc/rpc/xdr.h: Likewise.
60494 * sunrpc/rpc_clntout.c: Likewise.
60495 * sunrpc/rpc_cmsg.c: Likewise.
60496 * sunrpc/rpc_common.c: Likewise.
60497 * sunrpc/rpc_cout.c: Likewise.
60498 * sunrpc/rpc_dtable.c: Likewise.
60499 * sunrpc/rpc_hout.c: Likewise.
60500 * sunrpc/rpc_main.c: Likewise.
60501 * sunrpc/rpc_parse.c: Likewise.
60502 * sunrpc/rpc_parse.h: Likewise.
60503 * sunrpc/rpc_prot.c: Likewise.
60504 * sunrpc/rpc_sample.c: Likewise.
60505 * sunrpc/rpc_scan.c: Likewise.
60506 * sunrpc/rpc_scan.h: Likewise.
60507 * sunrpc/rpc_svcout.c: Likewise.
60508 * sunrpc/rpc_tblout.c: Likewise.
60509 * sunrpc/rpc_util.c: Likewise.
60510 * sunrpc/rpc_util.h: Likewise.
60511 * sunrpc/rpcinfo.c: Likewise.
60512 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60513 * sunrpc/rpcsvc/key_prot.x: Likewise.
60514 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60515 * sunrpc/rpcsvc/mount.x: Likewise.
60516 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60517 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60518 * sunrpc/rpcsvc/rex.x: Likewise.
60519 * sunrpc/rpcsvc/rstat.x: Likewise.
60520 * sunrpc/rpcsvc/rusers.x: Likewise.
60521 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60522 * sunrpc/rpcsvc/spray.x: Likewise.
60523 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60524 * sunrpc/rtime.c: Likewise.
60525 * sunrpc/svc.c: Likewise.
60526 * sunrpc/svc_auth.c: Likewise.
60527 * sunrpc/svc_authux.c: Likewise.
60528 * sunrpc/svc_raw.c: Likewise.
60529 * sunrpc/svc_run.c: Likewise.
60530 * sunrpc/svc_simple.c: Likewise.
60531 * sunrpc/svc_tcp.c: Likewise.
60532 * sunrpc/svc_udp.c: Likewise.
60533 * sunrpc/svc_unix.c: Likewise.
60534 * sunrpc/svcauth_des.c: Likewise.
60535 * sunrpc/xcrypt.c: Likewise.
60536 * sunrpc/xdr.c: Likewise.
60537 * sunrpc/xdr_array.c: Likewise.
60538 * sunrpc/xdr_float.c: Likewise.
60539 * sunrpc/xdr_mem.c: Likewise.
60540 * sunrpc/xdr_rec.c: Likewise.
60541 * sunrpc/xdr_ref.c: Likewise.
60542 * sunrpc/xdr_sizeof.c: Likewise.
60543 * sunrpc/xdr_stdio.c: Likewise.
60545 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60548 2010-08-19 Andreas Schwab <schwab@redhat.com>
60550 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60552 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60554 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60555 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60556 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60557 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60558 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60559 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60560 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60561 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60562 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60563 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60564 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60565 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60566 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60567 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60569 2010-07-26 Anton Blanchard <anton@samba.org>
60571 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60572 * malloc/arena.c (heap_trim): Likewise.
60574 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60576 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60578 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60579 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60581 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60583 * sysdeps/i386/elf/Makefile: New file.
60585 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60587 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60588 from fanotify_init.
60589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60592 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60594 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60596 * sysdeps/multiarch/strcmp.S: Likewise.
60598 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60600 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60601 strncase_l-nonascii.
60602 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60603 Add strncase_l-ssse3.
60604 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60605 * sysdeps/x86_64/strcmp.S: Likewise.
60606 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60607 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60608 * sysdeps/x86_64/strncase.S: New file.
60609 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60610 * sysdeps/x86_64/strncase_l.S: New file.
60611 * string/Makefile (strop-tests): Add strncasecmp.
60612 * string/test-strncasecmp.c: New file.
60614 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60617 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60618 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60620 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60622 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60624 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60626 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60627 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60628 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60630 2010-05-01 Alan Modra <amodra@gmail.com>
60632 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60633 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60634 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60635 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60636 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60637 tidying. Don't tail-call __sigjmp_save for static lib.
60638 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60640 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60641 (CALL_MCOUNT): Add eh info, and nop after bl.
60642 (TAIL_CALL_SYSCALL_ERROR): New macro.
60643 (PSEUDO_RET): Use it.
60644 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60645 Correct save location of integer regs and cr.
60646 (_dl_profile_resolve): Correct cr save location. Delete nops
60647 after bl when SHARED. Reduce cfi size a little by better
60648 placement of cfi directives.
60649 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60650 make a stack frame. Instead use parm save area as a temp.
60651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60652 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60654 Don't make a stack frame for parent, use parm save area.
60655 Increase child stack frame to 112 bytes. Don't save unused reg,
60656 and adjust reg usage. Set up cfi on error recovery and
60657 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60659 (__makecontext): Add dummy nop after jump to exit.
60660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60661 Use correct parm save area and cr save, reduce stack frame.
60662 Correct cfi for possible PSEUDO_RET frame setup.
60663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60664 Branch to local label emitted by PSEUDO_RET rather than
60667 2010-08-12 Andreas Schwab <schwab@redhat.com>
60670 * locale/programs/locale.c (print_assignment): New function.
60671 (show_locale_vars): Use it.
60673 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60675 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60677 (struct statfs64): Likewise.
60678 (_STATFS_F_FLAGS): Define.
60679 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60680 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60681 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60682 (ST_VALID): Define locally.
60683 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60684 __statvfs_getflags, use the provided value.
60685 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60686 __ASSUME_STATFS_F_FLAGS.
60688 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60690 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60691 Add sys/fanotify.h.
60692 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60693 fanotify_mask for GLIBC_2.13.
60694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60695 fanotify_init and fanotify_mark.
60696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60697 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60699 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60701 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60702 prlimit64 for GLIBC_2.13.
60703 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60708 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60709 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60710 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60711 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60713 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60716 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60717 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60719 * nss/Makefile: Add rules to build and run tst-nss-test1.
60720 * shlib-versions: Add entry for libnss_test1.
60721 * nss/nss_test1.c: New file.
60722 * nss/tst-nss-test1.c: New file.
60724 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60725 (__nss_configure_lookup): Set appropriate entry in
60726 __nss_configure_lookup to true.
60727 * nss/nsswitch.h: Define enum with indeces of databases in
60728 databases and __nss_database_custom arrays. Declare
60729 __nss_database_custom.
60730 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60731 to avoid using nscd when custom rules are installed.
60732 * nss/getXXbyYY_r.c: Likewise.
60733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60735 * nss/nss_files/files-parse.c: Whitespace fixes.
60737 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60740 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60741 * posix/fnmatch_loop.c: Likewise.
60743 2010-07-17 Andi Kleen <ak@linux.intel.com>
60745 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60746 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60747 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60748 * Versions.def [GLIBC_2.13]: Add.
60750 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60752 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60753 Also fail if tpwd after pwuid call is NULL.
60755 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60757 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60758 when converting to ms.
60760 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60762 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60763 EOPNOTSUPP errors with ENOTTY.
60764 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60765 EOPNOTSUPP errors with ENOTTY.
60767 2010-07-31 Ulrich Drepper <drepper@redhat.com>
60769 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60770 Add strcasecmp_l-ssse3.
60771 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60773 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60774 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60775 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60777 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60779 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60781 * string/Makefile (strop-tests): Add strcasecmp.
60782 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60783 strcasecmp_l-nonascii.
60784 (gen-as-const-headers): Add locale-defines.sym.
60785 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60786 * sysdeps/x86_64/strcasecmp.S: New file.
60787 * sysdeps/x86_64/strcasecmp_l.S: New file.
60788 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60789 * sysdeps/x86_64/locale-defines.sym: New file.
60790 * string/test-strcasecmp.c: New file.
60792 * string/test-strcasestr.c: Test both ends of the range of characters.
60793 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60795 2010-07-29 Roland McGrath <roland@redhat.com>
60798 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60800 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60802 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60805 2010-07-27 Andreas Schwab <schwab@redhat.com>
60807 * manual/memory.texi (Malloc Tunable Parameters): Document
60810 2010-07-26 Roland McGrath <roland@redhat.com>
60813 * configure.in (-fgnu89-inline check): Set and substitute
60814 gnu89_inline, not libc_cv_gnu89_inline.
60815 * configure: Regenerated.
60816 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60818 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60820 * string/test-strnlen.c: New file.
60821 * string/Makefile (strop-tests): Add strnlen.
60822 * string/tester.c (test_strnlen): Add a few more test cases.
60823 * string/tst-strlen.c: Better error reporting.
60825 * sysdeps/x86_64/strnlen.S: New file.
60827 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60830 lower-latency instructions.
60832 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60834 * string/test-strcasestr.c: New file.
60835 * string/test-strstr.c: New file.
60836 * string/Makefile (strop-tests): Add strstr and strcasestr.
60837 * string/str-two-way.h: Don't undefine MAX.
60838 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60840 2010-07-21 Andreas Schwab <schwab@redhat.com>
60842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60843 strcasestr-nonascii.
60844 (CFLAGS-strcasestr-nonascii.c): Define.
60845 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60847 Remove unused attribute.
60849 2010-07-20 Roland McGrath <roland@redhat.com>
60851 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60852 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60853 ld.so.cache was broken. With it, there is no way to disable dsocaps
60854 like LD_HWCAP_MASK can disable hwcaps.
60856 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60858 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60860 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60862 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60863 call in strcasestr.
60864 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60865 __strcasestr_sse42_nonascii.
60866 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60867 strcasestr-nonascii.c.
60868 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60870 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60872 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60874 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60875 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60877 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60882 2010-07-06 Andreas Schwab <schwab@redhat.com>
60885 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60888 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60891 _PC_PIPE_BUF using F_GETPIPE_SZ.
60893 2010-07-05 Roland McGrath <roland@redhat.com>
60895 * manual/arith.texi (Rounding Functions): Fix rint description
60896 implicit in round description.
60898 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60900 * elf/Makefile: Fix linking for a few tests to make recent linker
60903 2010-06-30 Andreas Schwab <schwab@redhat.com>
60905 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60906 $(common-objpfx)libc_nonshared.a.
60908 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60910 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60911 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60912 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60913 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60914 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60915 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60916 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60917 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60932 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60933 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60934 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60935 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60936 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60937 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60938 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60939 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60940 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60941 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60942 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60943 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60959 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60961 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60962 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60963 * string/memmove.c (memmove): Renamed to ...
60964 (MEMMOVE): ...this. Default to memmove.
60965 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60966 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60969 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60970 mempcpy-ssse3-back memmove-ssse3-back.
60971 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60972 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60973 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60974 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60975 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60976 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60977 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60978 * sysdeps/x86_64/multiarch/memmove.c: New file.
60979 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60980 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60981 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60982 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60983 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60986 (index_Fast_Copy_Backward): Define.
60987 (HAS_ARCH_FEATURE): Define.
60988 (HAS_FAST_REP_STRING): Define.
60989 (HAS_FAST_COPY_BACKWARD): Define.
60991 2010-06-21 Andreas Schwab <schwab@redhat.com>
60993 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60994 Restore proper fallback handling.
60996 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60999 * posix/group_member.c (__group_member): Correct checking loop.
61001 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61002 OOM in getpwuid_r correctly. Return error number when the caller
61003 should return, otherwise -1.
61004 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61005 call returning > 0 value.
61006 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61008 2010-06-07 Andreas Schwab <schwab@redhat.com>
61010 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61011 libc_nonshared.a from targets in modules-names.
61013 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61015 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61018 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61020 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61023 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61025 2010-06-02 Andreas Schwab <schwab@redhat.com>
61027 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61029 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61031 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61034 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61038 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61040 2010-06-14 Roland McGrath <roland@redhat.com>
61042 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61044 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61046 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61047 __REDIRECT followed by __THROW.
61048 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61049 * posix/getopt.h (getopt): Likewise.
61051 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61053 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61054 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61055 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61057 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61058 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61060 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61062 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61064 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61068 Properly check family and model.
61070 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61072 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61074 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61076 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61078 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61080 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61083 2010-05-19 Andreas Schwab <schwab@redhat.com>
61085 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61088 2010-05-21 Andreas Schwab <schwab@redhat.com>
61090 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61091 and internal_recvmmsg.
61092 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61093 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61094 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61095 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61097 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61098 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61099 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61101 2010-05-20 Andreas Schwab <schwab@redhat.com>
61103 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61105 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61107 POWER7 optimizations.
61108 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61109 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61111 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61113 * version.h: Update for 2.13 development version.
61115 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61117 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61118 exceptions. Return 0.
61120 2010-05-07 Roland McGrath <roland@redhat.com>
61122 * elf/ldconfig.c (main): Add a const.
61124 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61126 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61127 (args_options): Add no-idn option.
61128 (ahosts_keys_int): Add idn_flags to ai_flags.
61129 (parse_option): Handle 'i' option to clear idn_flags.
61131 * malloc/malloc.c (_int_free): Possible race in the most recently
61132 added check. Only act on the data if no current modification
61135 See ChangeLog.17 for earlier changes.