1 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5 2015-06-18 Joseph Myers <joseph@codesourcery.com>
8 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9 for arguments with small absolute value.
10 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13 (__asinh): Force underflow exception for arguments with small
15 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16 (__asinhf): Force underflow exception for arguments with small
18 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19 (__asinhl): Force underflow exception for arguments with small
21 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22 (__asinhl): Force underflow exception for arguments with small
24 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
25 (__asinhl): Force underflow exception for arguments with small
27 * math/auto-libm-test-in: Do not mark underflow exceptions as
28 possibly missing for bug 16350.
29 * math/auto-libm-test-out: Regenerated.
31 * include/bits/ipc.h: Remove file.
32 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
34 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
41 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44 * math/auto-libm-test-in: Remove spurious underflow allowance for
46 * math/auto-libm-test-out: Regenerated.
49 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
50 unconditional definition.
51 (MCAST_BLOCK_SOURCE): Likewise.
52 (MCAST_UNBLOCK_SOURCE): Likewise.
53 (MCAST_LEAVE_GROUP): Likewise.
54 (MCAST_JOIN_SOURCE_GROUP): Likewise.
55 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56 (MCAST_MSFILTER): Likewise.
57 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
59 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
60 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
61 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
62 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
63 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
65 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
67 * NEWS: Mention addition of x86_64 vector sincosf.
68 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
69 * math/test-float-vlen4.h: Likewise.
70 * math/test-float-vlen8.h: Likewise.
71 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
72 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
73 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
74 * sysdeps/x86_64/fpu/Versions: New versions added.
75 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
76 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
77 Added build of SSE, AVX2 and AVX512 IFUNC versions.
78 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
79 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
80 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
81 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
82 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
83 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
84 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
85 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
86 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
87 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
88 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
89 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
90 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
91 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
92 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
93 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
94 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
95 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
96 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
97 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
98 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
100 * NEWS: Mention addition of x86_64 vector sincos.
101 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
102 * math/math.h (__MATHDECL_VEC): New macro.
103 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
104 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
105 declaration under condition.
106 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
107 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
108 TEST_VEC_LOOP change.
109 * math/test-double-vlen4.h: Likewise.
110 * math/test-double-vlen8.h: Likewise.
111 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
112 * math/test-float-vlen4.h: Likewise.
113 * math/test-float-vlen8.h: Likewise.
114 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
115 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
116 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
117 * sysdeps/x86_64/fpu/Versions: New versions added.
118 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
119 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
120 Added build of SSE, AVX2 and AVX512 IFUNC versions.
121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
122 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
126 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
127 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
128 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
129 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
130 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
131 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
132 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
133 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
134 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
135 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
136 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
137 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
138 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
139 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
140 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
141 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
143 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
144 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
145 redirections for powf.
146 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
147 * sysdeps/x86_64/fpu/Versions: New versions added.
148 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
149 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
150 Added build of SSE, AVX2 and AVX512 IFUNC versions.
151 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
152 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
153 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
154 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
155 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
156 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
157 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
158 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
159 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
160 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
161 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
162 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
163 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
164 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
165 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
166 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
167 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
168 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
169 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
170 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
171 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
172 * math/test-float-vlen16.h: Fixed 2 argument macro.
173 * math/test-float-vlen4.h: Likewise.
174 * math/test-float-vlen8.h: Likewise.
175 * NEWS: Mention addition of x86_64 vector powf.
177 2015-06-17 Joseph Myers <joseph@codesourcery.com>
179 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
181 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
183 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
185 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
188 * resource/getpriority.c (getpriority): Rename to __getpriority
189 and define as weak alias of __getpriority.
190 * resource/setpriority.c (setpriority): Rename to __setpriority
191 and define as weak alias of __setpriority.
192 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
193 __getpriority and define as weak alias of __getpriority.
194 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
195 __setpriority and define as weak alias of __setpriority.
196 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
198 (setpriority): Use __setpriority as strong name.
199 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
200 __getpriority and define as weak alias of __getpriority.
201 * include/sys/resource.h (__getpriority): Declare. Use
203 (__setpriority): Likewise.
204 (getpriority): Don't use libc_hidden_proto.
205 (setpriority): Likewise.
206 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
207 getpriority. Call __setpriority instead of setpriority.
208 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
212 * misc/getttyent.c (getttynam): Rename to __getttynam and define
213 as weak alias of __getttynam. Use prototype function definition.
214 Call __setttyent, __getttyent and __endttyent instead of
215 setttyent, getttyent and endttyent.
216 (getttyent): Rename to __getttyent and define as weak alias of
217 __getttyent. Call __setttyent instead of setttyent. Call
218 __fgets_unlocked instead of fgets_unlocked.
219 (setttyent): Rename to __setttyent and define as weak alias of
221 (endttyent): Rename to __endttyent and define as weak alias of
223 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
224 (__setttyent): Likewise.
225 (__endttyent): Likewise.
226 (getttyent): Don't use libc_hidden_proto.
227 (setttyent): Likewise.
228 (endttyent): Likewise.
229 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
230 __endttyent instead of setttyent, getttyent and endttyent.
231 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
235 * socket/recv.c (__recv): Use libc_hidden_def.
236 * socket/socket.c (__socket): Likewise.
237 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
238 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
239 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
240 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
241 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
243 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
245 * include/sys/socket.h (__socket): Do not use attribute_hidden.
246 Use libc_hidden_proto.
248 * socket/Versions (libc): Export __recv and __socket at version
250 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
252 (init_mq_netlink): Call __socket instead of socket.
253 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
257 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
258 __mq_timedreceive and define as alias of __mq_timedreceive. Use
260 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
261 define as alias of __mq_timedsend. Use hidden_weak.
262 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
263 __mq_timedsend as strong name.
264 (mq_timedreceive): Use __mq_timedreceive as strong name.
265 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
266 (__mq_timedreceive): Likewise.
267 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
268 __mq_timedreceive instead of mq_timedreceive.
269 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
270 instead of mq_timedsend.
271 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
274 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
275 hidden_def and hidden_weak instead of libc_hidden_def and
277 (top level): Refer to hidden_def in comment.
278 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
279 macro. Use it instead of libc_hidden_def.
280 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
281 specify __GI_* name explicitly.
282 (mq_timedreceive): Likewise.
283 (mq_setattr): Likewise.
286 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
287 __pthread_barrier_init and define as weak alias of
288 __pthread_barrier_init.
289 * sysdeps/sparc/nptl/pthread_barrier_init.c
290 (pthread_barrier_init): Likewise.
291 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
292 __pthread_barrier_wait and define as weak alias of
293 __pthread_barrier_wait.
294 * sysdeps/sparc/nptl/pthread_barrier_wait.c
295 (pthread_barrier_wait): Likewise.
296 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
297 (pthread_barrier_wait): Likewise.
298 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
299 (pthread_barrier_wait): Likewise.
300 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
301 (pthread_barrier_wait): Likewise.
302 * nptl/Versions (libpthread): Export __pthread_barrier_init and
303 __pthread_barrier_wait at version GLIBC_PRIVATE.
304 * include/pthread.h (__pthread_barrier_init): Declare.
305 (__pthread_barrier_wait): Likewise.
306 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
307 Call __pthread_barrier_wait instead of pthread_barrier_wait.
308 (helper_thread): Likewise.
309 (init_mq_netlink): Call __pthread_barrier_init instead of
310 pthread_barrier_init.
313 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
314 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
315 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
316 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
318 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
322 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
323 strong alias of _IO_fflush. Use libc_hidden_def.
324 * libio/iofflush_u.c (fflush_unlocked): Rename to
325 __fflush_unlocked and define as weak alias of __fflush_unlocked.
326 Use libc_hidden_weak.
327 * include/stdio.h (__fflush_unlocked): Declare. Use
329 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
331 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
335 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
336 define as weak alias of __addseverity.
337 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
339 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
340 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
341 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
344 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
346 (__tdelete): Likewise.
348 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
349 __twalk to GLIBC_PRIVATE.
350 * include/search.h (__tsearch): Use libc_hidden_proto.
352 (__tdelete): Likewise.
354 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
355 Call __tdelete instead of tdelete.
356 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
357 tfind. Call __tsearch instead of tsearch.
358 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
359 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
361 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
364 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
365 (dprintf): Define as a weak alias of __dprintf, not a strong
367 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
368 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
370 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
372 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
373 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
376 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
378 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
382 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
383 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
384 (in6addr_loopback): Rename to __in6addr_loopback and define as
385 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
386 * include/netinet/in.h (__in6addr_loopback): Declare. Use
388 (__in6addr_any): Likewise.
389 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
391 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
393 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
395 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
397 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
398 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
399 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
400 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
401 redirections for pow.
402 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
403 * sysdeps/x86_64/fpu/Versions: New versions added.
404 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
405 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
406 build of SSE, AVX2 and AVX512 IFUNC versions.
407 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
408 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
409 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
410 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
411 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
412 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
413 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
414 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
415 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
416 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
417 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
418 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
419 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
420 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
421 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
422 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
423 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
424 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
425 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
426 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
427 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
428 * NEWS: Mention addition of x86_64 vector pow.
430 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
431 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
432 redirections for expf.
433 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
434 * sysdeps/x86_64/fpu/Versions: New versions added.
435 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
436 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
437 build of SSE, AVX2 and AVX512 IFUNC versions.
438 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
439 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
440 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
441 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
442 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
443 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
444 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
445 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
446 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
447 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
448 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
449 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
450 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
451 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
452 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
453 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
454 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
455 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
456 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
457 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
458 * NEWS: Mention addition of x86_64 vector expf.
460 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
461 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
462 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
463 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
464 redirections for exp.
465 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
466 * sysdeps/x86_64/fpu/Versions: New versions added.
467 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
468 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
469 build of SSE, AVX2 and AVX512 IFUNC versions.
470 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
471 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
472 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
473 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
474 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
475 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
476 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
477 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
478 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
479 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
480 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
481 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
482 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
483 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
484 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
485 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
486 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
487 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
488 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
489 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
490 * NEWS: Mention addition of x86_64 vector exp.
492 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
493 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
494 redirections for logf.
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/multiarch/svml_s_logf16_core.S: New file.
501 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
502 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
503 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
504 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
505 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
506 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
507 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
508 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
509 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
510 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
511 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
512 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
513 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
514 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
515 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
516 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
517 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
518 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
519 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
520 * NEWS: Mention addition of x86_64 vector logf.
522 * bits/libm-simd-decl-stubs.h: Added stubs for log.
523 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
524 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
525 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
526 redirections for log.
527 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
528 * sysdeps/x86_64/fpu/Versions: New versions added.
529 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
530 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
531 build of SSE, AVX2 and AVX512 IFUNC versions.
532 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
533 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
534 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
535 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
536 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
537 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
538 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
539 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
540 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
541 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
542 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
543 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
544 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
545 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
546 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
547 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
548 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
549 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
550 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
551 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
552 * NEWS: Mention addition of x86_64 vector log.
554 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
556 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
557 cfi_adjust_cfa_offset argument.
558 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
559 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
562 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
563 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
564 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
566 (_dl_tlsdesc_dynamic): Likewise.
567 (_dl_tlsdesc_return_lazy): Likewise.
568 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
569 relaxed atomics instead of volatile and synchronize with release store.
570 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
572 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
574 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
576 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
577 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
578 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
579 * sysdeps/x86_64/fpu/Versions: New versions added.
580 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
581 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
582 build of SSE, AVX2 and AVX512 IFUNC versions.
583 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
584 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
585 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
586 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
587 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
588 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
589 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
590 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
591 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
592 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
593 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
594 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
595 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
596 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
597 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
598 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
599 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
600 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
601 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
602 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
603 * NEWS: Mention addition of x86_64 vector sinf.
605 2015-06-14 Joseph Myers <joseph@codesourcery.com>
607 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
608 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
609 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
611 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
612 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
614 2015-06-12 Joseph Myers <joseph@codesourcery.com>
617 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
618 strong alias of _IO_fputs. Use libc_hidden_def.
619 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
620 and define as weak alias of __fputs_unlocked. Use
622 * include/stdio.h (__fputs_unlocked): Declare. Use
624 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
628 * resolv/netdb.h [__USE_POSIX]: Change condition to
630 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
632 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
633 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
634 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
635 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
636 [XPG4 || UNIX98] (AI_ALL): Likewise.
637 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
638 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
639 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
640 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
641 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
642 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
643 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
644 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
645 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
646 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
647 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
648 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
649 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
650 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
651 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
652 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
653 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
654 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
655 [XPG4 || UNIX98] (gai_strerror): Likewise.
656 [XPG4 || UNIX98] (getaddrinfo): Likewise.
657 [XPG4 || UNIX98] (getnameinfo): Likewise.
660 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
661 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
663 (getgrent): Likewise.
664 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
666 [XPG3 || POSIX2008] (endgrent): Likewise.
667 [XPG3] (setgrent): Likewise.
668 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
670 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
673 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
674 define as weak alias of __getlogin_r. Use libc_hidden_weak.
675 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
676 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
677 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
678 * include/unistd.h (__getlogin_r): Declare. Use
680 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
681 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
683 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
684 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
685 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
687 2015-06-12 Martin Sebor <msebor@redhat.com>
690 * Makerules (check-install-supported): New target.
691 (install): Add check-install-supported as a dependency.
692 * manual/install.texi (Installing the C Library): Document
693 that overriding prefix and exec_prefix is not supported.
695 * INSTALL: Regenerate from the above.
697 2015-06-12 Joseph Myers <joseph@codesourcery.com>
700 * posix/Versions (libc): Export __libc_pread at version
702 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
704 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
709 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
710 (cvt_symbol): Use weak_alias instead of strong_alias.
711 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
712 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
714 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
715 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
718 * inet/herrno.c (h_errno): Rename to __h_errno.
719 (__libc_h_errno): Define as alias of __h_errno not h_errno.
720 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
721 to __h_errno instead of h_errno.
722 * nptl/herrno.c (h_errno): Rename to __h_errno.
723 (__h_errno_location): Refer to __h_errno not h_errno.
724 * resolv/Versions (h_errno): Rename to __h_errno.
725 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
727 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
729 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
731 * configure.ac: More strict check for AVX512 assembler support.
732 * configure: Regenerated.
734 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
735 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
736 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
737 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
738 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
739 * sysdeps/x86_64/fpu/Versions: New versions added.
740 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
741 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
742 build of SSE, AVX2 and AVX512 IFUNC versions.
743 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
744 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
745 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
746 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
747 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
748 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
749 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
750 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
751 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
752 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
753 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
754 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
755 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
756 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
757 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
758 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
759 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
760 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
761 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
762 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
763 * NEWS: Mention addition of x86_64 vector sin.
765 2015-06-11 Florian Weimer <fweimer@redhat.com>
767 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
770 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
773 * nptl/pt-interp.c: New file.
774 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
776 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
777 $(common-objpfx)runtime-linker.h.
779 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
781 * Makeconfig (+interp): Remove unused variable.
782 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
783 only. Depend on $(common-objpfx)runtime-linker.h instead of
784 $(elf-objpfx)runtime-linker.h.
785 ($(elf-objpfx)runtime-linker.h): Rename to
786 $(common-objpfx)runtime-linker.h and move ...
787 * Makerules [$(build-shared) = yes]: ... here.
788 * elf/interp.c: Include <runtime-linker.h> instead of
789 <elf/runtime-linker.h>.
791 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
793 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
794 (__gettimeofday_syscall): Remove vsyscall fallback.
795 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
796 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
797 Add syscall fallback function.
798 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
799 if vDSO is not present.
800 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
802 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
805 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
807 2015-06-09 Joseph Myers <joseph@codesourcery.com>
810 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
812 (wcscmp): Define as weak alias of WCSCMP.
813 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
815 (USE_HIDDEN_DEF): Define.
816 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
817 __wcscoll. Don't use libc_hidden_weak.
818 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
820 * sysdeps/i386/i686/multiarch/wcscmp-c.c
821 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
823 (weak_alias): Undefine and redefine.
824 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
825 __wcscmp and define as weak alias of __wcscmp.
826 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
827 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
828 (__wcscoll): Likewise.
829 (wcscmp): Don't use libc_hidden_proto.
831 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
833 * posix/regexec.c (check_node_accept_bytes): Likewise.
834 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
836 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
837 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
840 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
841 __fstatvfs and define as weak alias of __fstatvfs. Use
843 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
844 and define as weak alias of __statvfs. Use libc_hidden_weak.
845 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
846 Define as alias of __fstatvfs, not fstatvfs.
847 (fstatvfs64): Likewise.
848 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
849 Define as alias of __statvfs, not statvfs.
850 (statvfs64): Likewise.
851 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
854 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
857 (HAVE_GETCPU_VSYSCALL): Define.
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
859 (HAVE_GETCPU_VSYSCALL): Likewise.
860 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
861 * sysdeps/unix/sysv/linux/sched_getcpu.c
862 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
863 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
864 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
866 * sysdeps/unix/sysv/linux/x86_64/init-first.c
867 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
868 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
871 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
872 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
873 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
874 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
876 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
878 * sysdeps/x86_64/fpu/Makefile: New file.
879 * sysdeps/x86_64/fpu/Versions: New file.
880 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
881 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
882 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
883 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
884 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
885 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
886 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
887 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
888 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
889 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
890 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
891 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
892 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
893 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
894 build of SSE, AVX2 and AVX512 IFUNC versions.
895 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
896 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
897 * sysdeps/x86_64/configure.ac: Options for libmvec build.
898 * sysdeps/x86_64/configure: Regenerated.
899 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
900 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
901 * manual/install.texi (Configuring and compiling): Document
903 * INSTALL: Regenerated.
904 * NEWS: Mention addition of libmvec and x86_64 vector cos.
906 * math/Makefile: Added rules for vector tests.
907 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
908 declaration under condition.
909 * math/test-double-vlen2.h: New file.
910 * math/test-double-vlen4.h: New file.
911 * math/test-double-vlen8.h: New file.
912 * math/test-vec-loop.h: Added initialization macro.
913 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
914 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
915 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
916 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
917 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
918 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
919 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
920 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
921 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
922 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
923 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
925 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
926 * sysdeps/x86_64/fpu/Versions: New versions added.
927 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
928 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
929 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
930 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
931 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
932 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
933 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
934 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
935 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
936 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
937 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
938 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
939 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
940 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
941 build of SSE, AVX2 and AVX512 IFUNC versions.
942 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
943 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
944 * NEWS: Mention addition of x86_64 vector cosf.
946 * math/Makefile: Added CFLAGS for new tests.
947 * math/test-float-vlen16.h: New file.
948 * math/test-float-vlen4.h: New file.
949 * math/test-float-vlen8.h: New file.
950 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
951 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
952 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
953 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
954 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
955 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
956 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
957 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
958 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
959 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
960 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
962 2015-06-09 Marko Myllynen <myllynen@redhat.com>
964 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
965 * locale/programs/ld-ctype.c: Likewise.
967 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
969 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
970 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
971 bit_ZMM16_31_state): New macro.
972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
973 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
975 2015-06-08 Joseph Myers <joseph@codesourcery.com>
977 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
979 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
981 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
983 2015-06-05 Joseph Myers <joseph@codesourcery.com>
986 * libio/memstream.c (open_memstream): Rename to __open_memstream
987 and define as weak alias of __open_memstream.
988 * include/stdio.h (__open_memstream): Declare. Use
990 (open_memstream): Don't use libc_hidden_proto.
991 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
993 * posix/getopt.c (_getopt_internal_r): Likewise.
994 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
996 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
997 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
998 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1001 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1005 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1006 [__USE_XOPEN2K8]. Remove redundant #endif.
1007 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1008 Remove redundant #if.
1009 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1011 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1012 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1015 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1016 (__iswlower): Likewise.
1017 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1018 (__iswlower): Likewise.
1019 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1020 instead of towlower.
1021 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1022 instead of iswlower. Call __towupper instead of towupper.
1023 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1024 instead of iswalnum.
1026 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1028 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1031 2015-06-05 Florian Weimer <fweimer@redhat.com>
1035 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1036 Check for overflow properly. Check for O_APPEND. Ignore large
1037 file system block sizes. Add comments about problems.
1038 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1039 * manual/filesys.texi (Storage Allocation): New node.
1041 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1043 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1044 cancellable syscalls.
1045 (SYS_ify): Add guard to no redefine it.
1046 (INLINE_SYSCALL): Likewise.
1047 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1048 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1049 SYSCALL_CANCEL instead.
1050 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1051 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1052 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1053 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1054 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1055 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1056 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1057 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1058 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1059 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1060 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1061 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1062 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1063 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1064 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1065 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1067 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1068 (__libc_pread64): Likewise.
1069 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1070 (__libc_preadv): Likewise.
1071 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1072 (__libc_readv64): Likewise.
1073 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1074 (__libc_pwrite): Likewise.
1075 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1076 (__libc_pwrite64): Likewise.
1077 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1078 (__libc_pwritev): Likewise.
1079 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1080 (__libc_pwritev64): Likewise.
1081 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1082 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1083 (sync_file_range): Likewise.
1084 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1086 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1088 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1089 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1090 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1091 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1092 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1093 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1094 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1095 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1099 (__libc_read64): Likewise.
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1109 (__libc_pread64): Likewise.
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1113 (__libc_pwrite64): Likewise.
1114 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1115 (sync_file_range): Likewise.
1116 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1117 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1118 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1119 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1120 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1121 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1122 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1123 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1124 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1125 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1126 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1127 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1128 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1129 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1130 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1131 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1132 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1133 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1134 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1136 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1138 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1139 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1141 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1142 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1143 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1144 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1146 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1147 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1148 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1149 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1152 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1154 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1156 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1157 Use VDSO routines for gettimeofday, clock_gettime if
1159 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1160 Declare VDSO symbols.
1161 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1162 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1163 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1164 * sysdeps/unix/sysv/linux/arm/Versions: Add
1165 __vdso_clock_gettime.
1167 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1169 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1170 be an inline implementation regardless of library is built within.
1171 (open_not_cancel_2): Likewise.
1172 (__read_nocancel): Likewise.
1173 (__write_nocancel): Likewise.
1174 (openat_not_cancel): Likewise.
1175 (openat_not_cancel_3): Likewise.
1176 (openat64_not_cancel): Likewise.
1177 (openat64_not_cancel_3): Likewise.
1178 (__close_nocancel): Likewise.
1179 (pause_not_cancel): Likewise.
1180 (nanosleep_not_cancel): Likewise.
1181 (sigsuspend_not_cancel): Likewise.
1183 2015-06-04 Torvald Riegel <triegel@redhat.com>
1186 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1188 (__pthread_rwlock_rdlock_slow): Likewise.
1189 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1191 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1193 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1194 * nptl/tst-rwlock16.c: New file.
1195 * nptl/Makefile (tests): Add new test.
1197 2015-06-04 Torvald Riegel <triegel@redhat.com>
1200 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1201 missing wake-up of readers.
1202 * nptl/tst-rwlock15.c: New file.
1203 * nptl/Makefile (tests): Add new test.
1205 2015-06-03 Roland McGrath <roland@hack.frob.com>
1207 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1208 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1209 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1210 and __nacl_supply_interface_rtld.
1211 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1212 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1213 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1214 Add __nacl_supply_interface_rtld.
1215 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1217 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1219 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1221 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1222 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1224 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1226 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1227 __signbit* with standard C99 macros.
1228 * math/e_exp10l.c: Likewise.
1229 * math/e_exp2l.c: Likewise.
1230 * math/e_scalb.c: Likewise.
1231 * math/e_scalbf.c: Likewise.
1232 * math/e_scalbl.c: Likewise.
1233 * math/s_ldexp.c: Likewise.
1234 * math/s_ldexpf.c: Likewise.
1235 * math/s_ldexpl.c: Likewise.
1236 * math/w_atan2.c: Likewise.
1237 * math/w_atan2f.c: Likewise.
1238 * math/w_atan2l.c: Likewise.
1239 * math/w_cosh.c: Likewise.
1240 * math/w_coshf.c: Likewise.
1241 * math/w_coshl.c: Likewise.
1242 * math/w_exp10.c: Likewise.
1243 * math/w_exp10f.c: Likewise.
1244 * math/w_exp10l.c: Likewise.
1245 * math/w_exp2.c: Likewise.
1246 * math/w_exp2f.c: Likewise.
1247 * math/w_exp2l.c: Likewise.
1248 * math/w_fmod.c: Likewise.
1249 * math/w_fmodf.c: Likewise.
1250 * math/w_fmodl.c: Likewise.
1251 * math/w_hypot.c: Likewise.
1252 * math/w_hypotf.c: Likewise.
1253 * math/w_hypotl.c: Likewise.
1254 * math/w_jnl.c: Likewise.
1255 * math/w_lgamma.c: Likewise.
1256 * math/w_lgamma_r.c: Likewise.
1257 * math/w_lgammaf.c: Likewise.
1258 * math/w_lgammaf_r.c: Likewise.
1259 * math/w_lgammal.c: Likewise.
1260 * math/w_lgammal_r.c: Likewise.
1261 * math/w_pow.c: Likewise.
1262 * math/w_powf.c: Likewise.
1263 * math/w_powl.c: Likewise.
1264 * math/w_remainder.c: Likewise.
1265 * math/w_remainderf.c: Likewise.
1266 * math/w_remainderl.c: Likewise.
1267 * math/w_scalb.c: Likewise.
1268 * math/w_scalbf.c: Likewise.
1269 * math/w_scalbl.c: Likewise.
1270 * math/w_scalbln.c: Likewise.
1271 * math/w_scalblnf.c: Likewise.
1272 * math/w_scalblnl.c: Likewise.
1273 * math/w_sinh.c: Likewise.
1274 * math/w_sinhf.c: Likewise.
1275 * math/w_sinhl.c: Likewise.
1276 * math/w_tgamma.c: Likewise.
1277 * math/w_tgammaf.c: Likewise.
1278 * math/w_tgammal.c: Likewise.
1279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1280 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1281 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1285 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1287 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1288 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1289 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1293 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1307 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1310 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1311 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1312 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1313 * stdio-common/printf_fp.c: Likewise.
1314 * stdio-common/printf_fphex.c: Likewise.
1315 * stdio-common/printf_size.c: Likewise.
1317 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1320 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1322 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1324 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1325 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1326 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1327 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1328 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1329 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1330 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1331 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1332 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1333 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1336 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1337 weak alias of __wmemchr. Use libc_hidden_weak.
1338 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1339 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1342 2015-06-02 Roland McGrath <roland@hack.frob.com>
1345 * elf/tst-tlsalign-extern.c: New file.
1346 * elf/tst-tlsalign-extern-static.c: New file.
1347 * elf/tst-tlsalign-vars.c: New file.
1348 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1349 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1350 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1351 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1352 (test-xfail-tst-tlsalign-extern-static): New variable.
1354 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1356 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1357 Use variable name _sc_err instead of err.
1358 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1360 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1361 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1362 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1363 (INLINE_SYSCALL): Likewise.
1365 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1366 * include/string.h (__strnlen): Use libc_hidden_proto.
1367 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1368 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1369 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1370 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1371 (libc_hidden_def): Undefine and redefine.
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1373 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1375 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1377 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1380 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1381 weak alias of __towlower. Use libc_hidden_weak.
1382 (towupper): Rename to __towupper and define as weak alias of
1383 __towupper. Use libc_hidden_weak.
1384 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1385 (__towupper): Likewise.
1386 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1387 __towlower instead of towlower.
1389 2015-06-02 Roland McGrath <roland@hack.frob.com>
1391 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1392 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1394 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1396 * sysdeps/aarch64/libm-test-ulps: Update.
1398 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1400 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1402 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1404 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1405 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1406 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1407 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1408 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1410 2015-06-01 Martin Sebor <msebor@redhat.com>
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1414 (__setcontext): Use extended four-operand version of mtsf whenever
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1417 (__novec_swapcontext): Likewise.
1419 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1421 * benchtests/scripts/compare_bench.py: New file.
1422 * benchtests/scripts/import_bench.py (mean): New function.
1423 (split_list): Likewise.
1424 (do_for_all_timings): Likewise.
1425 (compress_timings): Likewise.
1427 * benchtests/scripts/import_bench.py: New file.
1428 * benchtests/scripts/validate_benchout.py: Import import_bench
1429 instead of jsonschema.
1430 (validate_bench): Remove function.
1431 (main): Use import_bench.
1433 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1435 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1436 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1438 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1442 2015-05-28 Roland McGrath <roland@hack.frob.com>
1444 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1445 set THREAD_SELF->tid to a magic value and futex-wake it.
1446 Pass its address to the thread_exit system call.
1447 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1449 * sysdeps/nacl/lowlevellock.h: New file.
1450 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1452 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1453 Add TIMEOUT to current time, don't subtract it.
1455 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1458 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1459 ($(objpfx)tst-audit2.out): Also depend on
1460 $(objpfx)tst-auditmod9b.so.
1461 * elf/tst-audit2.c: Include <dlfcn.h>.
1462 (calloc_called): New.
1463 (calloc): Allow to be called more than once.
1464 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1466 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1468 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1469 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1471 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1473 * stdlib/monetary.h: Fix comment.
1475 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1477 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1478 Avoid using variables in #defines that might cause shadowing.
1479 (INTERNAL_VSYSCALL_CALL): Likewise.
1481 2015-05-26 Roland McGrath <roland@hack.frob.com>
1483 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1485 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1486 * nptl/lll_timedlock_wait.c: ... to this new file.
1487 * nptl/Makefile (libpthread-routines): Add it.
1488 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1489 * nptl/lll_timedwait_tid.c: ... to this new file.
1490 * nptl/Makefile (libpthread-routines): Add it.
1491 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1492 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1493 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1494 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1495 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1496 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1497 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1498 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1499 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1500 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1502 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1504 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1505 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1506 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1508 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1510 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1511 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1512 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1513 * sysdeps/unix/sysv/linux/tile/sysdep.h
1514 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1515 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1516 using vDSO syscall macro.
1518 2015-05-26 Andriy Rysin <arysin@gmail.com>
1521 * uk_UA: Fix sorting order for Ukrainian locale
1523 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1525 * stdlib/monetary.h: Fix comment.
1527 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1530 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1531 st_mtim and st_ctim members.
1532 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1533 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1534 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1535 (struct stat64): Likewise.
1536 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1537 (struct stat64): Likewise.
1538 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1539 (struct stat64): Likewise.
1541 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1543 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1544 Define and include sysdep-vdso.h.
1545 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1547 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1549 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1550 Define with VDSO_SYMBOL and use PTR_MANGLE.
1551 (__vdso_clock_gettime): Likewise.
1552 (__vdso_clock_getres): Likewise.
1553 (_libc_vdso_platform_setup): Likewise.
1554 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1556 (_libc_vdso_platform_setup): Likewise.
1557 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1559 (__vdso_clock_gettime): Likewise.
1560 (__vdso_clock_getres): Likewise.
1561 (__vdso_get_tbfreq): Likewise.
1562 (__vdso_getcpu): Likewise.
1563 (__vdso_time): Likewise.
1564 (__vdso_sigtramp_rt64): Likewise.
1565 (__vdso_signtramp32): Likewise.
1566 (__vdso_sigtramp_rt32): Likewise.
1567 (_libc_vdso_platform_setup): Likewise.
1568 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1570 (__vdso_clock_gettime): Likewise.
1571 (__vdso_clock_getres): Likewise.
1572 (_libc_vdso_platform_setup): Likewise.
1573 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1575 (__vdso_clock_gettime): Likewise.
1576 (_libc_vdso_platform_setup): Likewise.
1577 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1579 (__vdso_getcpu): Likewise.
1580 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1581 Use VDSO_SYMBOL macro to define.
1582 (__vdso_clock_gettime): Likewise.
1583 (__vdso_clock_getres): Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1586 (__vdso_clock_gettime): Likewise.
1587 (__vdso_clock_getres): Likewise.
1588 (__vdso_get_tbfreq): Likewise.
1589 (__vdso_getcpu): Likewise.
1590 (__vdso_time): Likewise.
1591 (__vdso_sigtramp_rt64): Likewise.
1592 (__vdso_signtramp32): Likewise.
1593 (__vdso_sigtramp_rt32): Likewise.
1594 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1596 (__vdso_clock_gettime): Likewise.
1597 (__vdso_clock_getres): Likewise.
1598 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1600 (__vdso_clock_gettime): Likewise.
1601 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1605 (INTERNAL_VSYSCALL): Likewise.
1606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1608 (INTERNAL_VSYSCALL): Likewise.
1609 (INTERNAL_VSYSCALL_NCS): Likewise.
1610 (INTERNAL_VSYSCALL_CALL): New macro.
1611 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1614 (INTERNAL_VSYSCALL): Likewise.
1615 (INTERNAL_VSYSCALL_NCS): Likewise.
1616 (INTERNAL_VSYSCALL_CALL): New macro.
1617 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1619 (INLINE_VSYSCALL): Remove macro.
1620 (INTERNAL_VSYSCALL): Remove macro.
1621 (INTERNAL_VSYSCALL_NCS): Remove macro.
1622 (INTERNAL_VSYSCALL_CALL): New macro.
1623 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1624 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1625 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1626 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1627 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1629 (INLINE_VSYSCALL): Remove macro.
1630 (INTERNAL_VSYSCALL): Likewise.
1631 (INTERNAL_VSYSCALL_NCS): Likewise.
1632 (INTERNAL_VSYSCALL_CALL): New macro.
1633 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1634 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1635 PTR_DEMANGLE on vDSO pointer.
1636 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1637 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1639 (INTERNAL_SYSCALL): Likewise.
1640 (INTERNAL_VSYSCALL_NCS): Remove macro.
1641 (INTERNAL_VSYSCALL_CALL): New macro.
1642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1644 (INTERNAL_VSYSCALL): Likewise.
1645 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1646 sysdep-vdso.h instead of libc-vdso.h.
1647 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1649 (INLINE_VSYSCALL): Likewise.
1650 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1651 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1653 (INLINE_VSYSCALL): Likewise.
1654 (INTERNAL_VSYSCALL): Likewise.
1655 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1656 * sysdeps/unix/sysv/linux/timespec_get.c
1657 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1658 (timespec_get): Use ANSI prototype.
1659 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1660 and definition for Linux.
1662 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1664 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1665 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1667 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1670 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1671 for missing DT_PLTRELSZ.
1673 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
1675 Remove obsolete aliases that broke 'locale -a'
1677 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1678 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1679 breaking some applications that use 'locale -a' output.
1680 Change the encoding of this file from Latin-1 to ASCII to avoid
1681 other potential problems with people grepping this file.
1683 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1685 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1686 -fasynchronous-unwind-tables.
1687 (CFLAGS-sendto.c): Likewise.
1688 (CFLAGS-sendmsg.c): Likewise.
1689 (CFLAGS-connect.c): Likewise.
1690 (CFLAGS-recvmsg.c): Likewise.
1691 (CFLAGS-recvfrom.c): Likewise.
1692 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1693 (SOCKETCALL): New macro: non-cancellable socketcall.
1694 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1695 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1696 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1697 * sysdeps/unix/sysv/linux/accept.c: New file.
1698 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1699 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1700 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1701 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1702 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1703 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1704 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1705 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1706 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1707 * sysdeps/unix/sysv/linux/send.c: Likewise.
1708 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1709 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1710 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1711 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1712 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1713 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1714 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1716 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1717 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1718 instead of __internal_xxx function.
1719 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1721 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1722 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1723 instead of __internal_xxx function.
1724 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1726 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1727 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1728 instead of __internal_xxx function.
1729 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1730 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1731 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1732 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1733 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1734 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1735 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1736 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1737 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1738 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1739 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1740 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1741 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1742 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1743 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1744 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1745 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1746 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1747 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1748 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1751 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1752 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1753 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1754 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1755 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1756 * sysdeps/unix/sysv/linux/send.S: Likewise.
1757 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1758 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1759 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1760 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1761 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1762 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1763 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1764 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1765 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1766 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1767 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1768 socketcall is implemented in GLIBC.
1770 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1772 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1773 (__fma): Ignore uninitialized warnings around packing.
1774 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1775 (__fmaf): Ignore uninitialized warnings around packing.
1776 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1777 (__fmal): Ignore uninitialized warnings around packing.
1779 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1780 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1781 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1782 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1784 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1785 switch statement into default case.
1786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1788 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1789 a conditional in forcing "inexact".
1790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1793 2015-05-22 Roland McGrath <roland@hack.frob.com>
1795 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1796 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1797 for each INTERNAL_SYSCALL use.
1799 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1802 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1803 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1807 * string/basename.c (basename): Rename to __basename and define as
1808 weak alias of __basename. Use libc_hidden_weak.
1809 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1810 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1811 __basename instead of basename.
1812 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1814 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1816 2015-05-18 Florian Weimer <fweimer@redhat.com>
1818 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1819 (_IO_JUMPS_FILE_plus): New.
1820 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1821 _IO_CAST_FIELD_ACCESS.
1822 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1823 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1824 * libio/freopen.c (freopen): Likewise.
1825 * libio/freopen64.c (freopen64): Likewise.
1826 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1827 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1828 * libio/iofwide.c (_IO_fwide): Likewise.
1829 * libio/memstream.c (open_memstream): Likewise.
1830 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1831 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1832 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1834 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1836 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1837 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1839 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1840 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1842 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1843 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1849 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1850 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1852 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1853 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1854 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1856 2015-05-21 Florian Weimer <fweimer@redhat.com>
1858 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1859 Adjust jump table label generation macros.
1861 2015-05-21 Florian Weimer <fweimer@redhat.com>
1863 * stdio-common/vfprintf.c (vfprintf): Move local variables
1864 args_malloced, specs, specs_malloced, and the code after
1865 do_positional to the printf_positional function.
1866 (printf_positional): New function.
1868 2015-05-21 Florian Weimer <fweimer@redhat.com>
1870 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1872 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1873 STEP4_TABLE, process_arg): Move macro definitions
1874 out of the vfprintf function. (Cosmetic change only.)
1876 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1878 * benchtests/Makefile (stdio-common-bench): Define.
1879 (benchset): Add stdio-common-bench.
1880 * sprintf-inputs: New file.
1881 * sprintf-source.c: New file.
1883 2015-05-21 Andreas Schwab <schwab@suse.de>
1887 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1888 of struct __res_state.
1889 * resolv/res_send.c (__libc_res_nsend): Likewise.
1890 (get_nsaddr): New function.
1891 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1894 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1896 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1897 -D_POSIX_C_SOURCE=199506L.
1899 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1901 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1902 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1903 Do not mention otherwise.
1904 [POSIX] (_XOPEN_VERSION): Do not expect.
1905 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1906 [POSIX] (_POSIX2_C_BIND): Likewise.
1907 [POSIX] (_POSIX2_VERSION): Likewise.
1908 [POSIX] (_XOPEN_XPG2): Likewise.
1909 [POSIX] (_XOPEN_XPG3): Likewise.
1910 [POSIX] (_XOPEN_XPG4): Likewise.
1911 [POSIX] (_XOPEN_UNIX): Likewise.
1912 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1913 [POSIX] (_POSIX_BARRIERS): Likewise.
1914 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1915 [POSIX] (_POSIX_CPUTIME): Likewise.
1916 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1917 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1918 [POSIX] (_POSIX_SHELL): Likewise.
1919 [POSIX] (_POSIX_SPAWN): Likewise.
1920 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1921 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1922 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1923 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1924 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1925 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1926 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1927 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1928 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1929 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1930 [POSIX] (_POSIX2_PBS): Likewise.
1931 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1932 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1933 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1934 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1935 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1936 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1937 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1938 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1939 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1940 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1941 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1942 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1943 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1944 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1945 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1946 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1947 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1948 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1949 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1950 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1951 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1952 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1953 [POSIX] (_SC_2_C_BIND): Likewise.
1954 [POSIX] (_SC_2_C_VERSION): Likewise.
1955 [POSIX] (_SC_2_PBS): Likewise.
1956 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1957 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1958 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1959 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1960 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1961 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1962 [POSIX] (_SC_BARRIERS): Likewise.
1963 [POSIX] (_SC_BASE): Likewise.
1964 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1965 [POSIX] (_SC_DEVICE_IO): Likewise.
1966 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1967 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1968 [POSIX] (_SC_FD_MGMT): Likewise.
1969 [POSIX] (_SC_FIFO): Likewise.
1970 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1971 [POSIX] (_SC_FILE_LOCKING): Likewise.
1972 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1973 [POSIX] (_SC_IOV_MAX): Likewise.
1974 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1975 [POSIX] (_SC_NETWORKING): Likewise.
1976 [POSIX] (_SC_PAGE_SIZE): Likewise.
1977 [POSIX] (_SC_PASS_MAX): Likewise.
1978 [POSIX] (_SC_PIPE): Likewise.
1979 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1980 [POSIX] (_SC_REGEXP): Likewise.
1981 [POSIX] (_SC_SHELL): Likewise.
1982 [POSIX] (_SC_SIGNALS): Likewise.
1983 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1984 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1985 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1986 [POSIX] (_SC_USER_GROUPS): Likewise.
1987 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1988 [POSIX] (_SC_STREAMS): Likewise.
1989 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1990 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1991 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1992 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1993 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1994 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1995 [POSIX] (_PC_FILESIZEBITS): Likewise.
1996 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1997 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1998 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1999 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2000 [POSIX] (uid_t): Likewise.
2001 [POSIX] (gid_t): Likewise.
2002 [POSIX] (off_t): Likewise.
2003 [POSIX] (pid_t): Likewise.
2004 [POSIX] (cuserid): Allow.
2005 (_SC_2_CHAR_TERM): Require constant.
2006 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2007 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2010 2015-05-20 Roland McGrath <roland@hack.frob.com>
2012 * sysdeps/nacl/pthread-pids.h: New file.
2013 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2014 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2016 * nptl/pthread-pids.h: New file.
2017 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2018 * nptl/nptl-init.c: Include <pthread-pids.h>.
2019 (__pthread_initialize_minimal_internal):
2020 Call __pthread_initialize_pids instead of set_tid_address syscall.
2022 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2023 * sysdeps/posix/usleep.c: ... here.
2025 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2027 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2028 call_pselect6 object.
2029 [$(subdir) = io]: Remove call_sync_file_range object.
2030 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2031 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2032 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2033 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2035 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2037 * math/s_cproj.c: Add include "math_private.h".
2038 * math/s_cprojf.c: Likewise.
2039 * math/s_cprojl.c: Likewise.
2041 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2044 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2045 high mantissa bit when testing whether P is a NaN.
2046 * math/libm-test.inc (remainder_test_data): Add more tests.
2047 (remquo_test_data): Likewise.
2050 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2051 below -32, return the argument, with underflow if subnormal.
2052 * math/auto-libm-test-in: Add more tests of atanh.
2053 * math/auto-libm-test-out: Regenerated.
2055 2015-05-19 Roland McGrath <roland@hack.frob.com>
2058 * nptl/tst-sem15.c: New file.
2059 * nptl/Makefile (tests): Add it.
2060 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2061 s/<</>>/ to fix typo in EOVERFLOW check.
2062 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2064 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2066 * manual/strings.texi (envz_remove): Fix typo in safety
2069 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2070 Steve Ellcey <sellcey@imgtec.com>
2072 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2073 in order to avoid strict alias warnings.
2074 (iruserok_af): Ditto for ra.
2076 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2080 (magicbyte): Convert to a function and avoid returning 0x01.
2081 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2082 (mem2chunk_check): Fix unsigned comparisons to zero.
2083 Hoist defs of sz and magic.
2085 2015-05-19 Richard Henderson <rth@redhat.com>
2087 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2089 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2091 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2094 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2095 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2096 (reused_arena): Find a non-corrupt arena.
2097 (heap_trim): Pass arena to unlink.
2098 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2100 (top_check): Likewise.
2101 (free_check): Likewise.
2102 (realloc_check): Likewise.
2103 * malloc/malloc.c (malloc_printerr): Add arena argument.
2105 (munmap_chunk): Adjust.
2106 (ARENA_CORRUPTION_BIT): New macro.
2107 (arena_is_corrupt): Likewise.
2108 (set_arena_corrupt): Likewise.
2109 (sysmalloc): Use mmap if there are no usable arenas.
2110 (_int_malloc): Likewise.
2111 (__libc_malloc): Don't fail if arena_get returns NULL.
2112 (_mid_memalign): Likewise.
2113 (__libc_calloc): Likewise.
2114 (__libc_realloc): Adjust for additional argument to
2116 (_int_free): Likewise.
2117 (malloc_consolidate): Likewise.
2118 (_int_realloc): Likewise.
2119 (_int_memalign): Don't touch corrupt arenas.
2120 * malloc/tst-malloc-backtrace.c: New test case.
2122 * Makefile (summarize-tests): Fix return value on success.
2124 * manual/string.texi (Envz Functions): Add envz_remove.
2126 2015-05-18 Roland McGrath <roland@hack.frob.com>
2128 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2129 (invalid_name): New function, broken out of ...
2130 (__opendirat): ... here. Call it.
2131 (need_isdir_precheck): New function, broken out of ...
2132 (__opendirat): ... here. Call it.
2133 Use __fxstatat64, not __xstatat64.
2134 (opendir_oflags): New function, broken out of ...
2135 (__opendirat): ... here. Call it.
2136 (opendir_tail): New function, broken out of ...
2137 (__opendirat): ... here. Call it.
2138 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2139 opendir_tail, rather than punting to __opendirat.
2140 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2142 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2144 * .gitignore: Ignore generated *.pyc.
2146 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2148 * include/stdio.h: Define __need_wint_t.
2149 * test-skeleton.c: Avoid `for' loop initial declaration.
2150 * nptl/tst-initializers1.c: Use test-skeleton.c.
2152 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2155 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2157 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2160 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2161 (__ieee754_atanh): Force underflow exception for results with
2162 small absolute value.
2163 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2164 (__ieee754_atanhf): Force underflow exception for results with
2165 small absolute value.
2166 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2167 (__ieee754_atanh): Force underflow exception for results with
2168 small absolute value.
2169 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2170 (__ieee754_atanhf): Force underflow exception for results with
2171 small absolute value.
2172 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2173 (__ieee754_atanhl): Force underflow exception for results with
2174 small absolute value.
2175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2176 (__ieee754_atanhl): Force underflow exception for results with
2177 small absolute value.
2178 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2179 (__ieee754_atanhl): Force underflow exception for results with
2180 small absolute value.
2181 * math/auto-libm-test-in: Do not allow missing underflow
2182 exceptions from atanh.
2183 * math/auto-libm-test-out: Regenerated.
2186 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2187 2**-28 as threshold for returning x or +/- 1/x.
2188 * math/auto-libm-test-in: Add more tests of tan.
2189 * math/auto-libm-test-out: Regenerated.
2192 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2193 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2194 * math/auto-libm-test-in: Add another test of lgamma.
2195 * math/auto-libm-test-out: Regenerated.
2197 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2199 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2200 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2201 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2202 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2203 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2204 (ADD2A): Use fabs. (SUB2A): Use fabs.
2205 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2206 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2208 (log1): Use fabs. (my_log2): Use fabs.
2209 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2210 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2211 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2212 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2214 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2215 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2216 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2217 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2218 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2219 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2221 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2224 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2225 as threshold for returning 1 - x.
2226 * math/auto-libm-test-in: Add more tests of erfc.
2227 * math/auto-libm-test-out: Regenerated.
2229 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2232 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2233 threshold for large arguments.
2234 * math/auto-libm-test-in: Add another test of atan.
2235 * math/auto-libm-test-out: Regenerated.
2238 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2239 (__log1p): Force underflow exception for results with small
2241 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2242 (__log1pf): Force underflow exception for results with small
2244 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2245 (__log1p): Force underflow exception for results with small
2247 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2248 (__log1pf): Force underflow exception for results with small
2250 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2251 (__log1pl): Force underflow exception for results with small
2253 * math/auto-libm-test-in: Do not allow missing underflow
2254 exceptions from log1p.
2255 * math/auto-libm-test-out: Regenerated.
2257 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2258 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2261 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2263 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2265 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2266 (libmvec): New variable.
2267 * configure.ac: Added option for mathvec build.
2268 * configure: Regenerated.
2269 * mathvec/Depend: New file.
2270 * mathvec/Makefile: New file.
2271 * shlib-versions: Added libmvec.
2272 * math/Makefile: Added rule for libm.so installation.
2274 * bits/math-vector.h: New file.
2275 * bits/libm-simd-decl-stubs.h: New header.
2276 * math/Makefile (headers): Added new header
2277 libm-simd-decl-stubs.h.
2278 * math/math.h (__MATHCALL_VEC): New macro.
2280 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2281 for conditions in testing functions.
2282 * math/Makefile: Added call of libm-have-vector-test.sh.
2283 * math/libm-test.inc (HAVE_VECTOR): New macros.
2285 * math/libm-test.inc: START refactored.
2286 * math/test-double.c (TEST_MATHVEC): Add define.
2287 * math/test-float.c: Likewise.
2288 * math/test-idouble.c: Likewise.
2289 * math/test-ifloat.c: Likewise.
2290 * math/test-ildoubl.c: Likewise.
2291 * math/test-ldouble.c: Likewise.
2292 * sysdeps/generic/math-tests-arch.h
2293 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2296 * math/test-double.c (FUNC_TEST): New macro.
2297 * math/test-float.c: Likewise.
2298 * math/test-idouble.c: Likewise.
2299 * math/test-ifloat.c: Likewise.
2300 * math/test-ildoubl.c: Likewise.
2301 * math/test-ldouble.c: Likewise.
2302 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2304 2015-05-13 Roland McGrath <roland@hack.frob.com>
2306 * sysdeps/nacl/fdopendir.c: New file.
2308 * dirent/scandir-tail.c: New file.
2309 * dirent/scandir64-tail.c: New file.
2310 * dirent/Makefile (routines): Add them.
2311 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2312 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2313 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2314 [!SCANDIR] (SCANDIR_TAIL): New macro.
2315 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2316 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2317 (SCANDIRAT): Macro removed.
2318 (SCANDIR_TAIL): New macro.
2319 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2320 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2321 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2322 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2323 (READDIR): Macro removed.
2324 (SCANDIR_TAIL): New macro.
2325 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2326 (SCANDIR_TAIL): New macro.
2328 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2329 * dirent/scandir-cancel.c: ... to this new file.
2330 * dirent/Makefile (routines): Add it.
2331 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2332 * sysdeps/unix/sysv/linux/i386/scandir64.c
2333 (SKIP_SCANDIR_CANCEL): Macro removed.
2334 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2336 * dirent/tst-scandir.c: New file.
2337 * dirent/tst-scandir64.c: New file.
2338 * dirent/Makefile (tests): Add them.
2340 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2343 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2345 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2347 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2350 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2352 * benchtests/bench-strcoll.c: New benchmark.
2353 * benchtests/Makefile: Generate locales and run benchmark.
2354 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2355 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2356 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2357 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2358 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2359 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2360 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2361 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2362 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2363 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2364 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2365 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2366 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2367 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2368 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2369 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2370 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2371 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2372 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2373 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2374 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2375 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2376 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2377 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2379 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2381 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2382 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2384 2015-05-12 Roland McGrath <roland@hack.frob.com>
2386 * posix/uname-values.h: New file.
2387 * posix/uname.c: Include that instead of <config-name.h>.
2388 * sysdeps/nacl/uname-values.h: New file.
2389 * sysdeps/arm/nacl/uname-values.h: New file.
2391 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2393 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2394 splitting into fields.
2396 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2398 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2399 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2400 * locale/localeinfo.h: Add enum collation_encoding_type.
2401 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2402 * programs/ld-collate.c (collate_output): Add encoding type info.
2403 * string/strcoll_l.c (STRDIFF): New function.
2404 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2405 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2407 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2410 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2411 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2412 <fpu_control.h> instead of <math/fpu_control.c>.
2413 * sysdeps/mips/mips32/fpu/Makefile: New file.
2415 2015-05-11 Andreas Schwab <schwab@suse.de>
2418 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2420 (_nss_compat_endgrent): Call nss_endgrent.
2421 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2423 (_nss_compat_endpwent): Call nss_endpwent.
2424 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2425 needent, call nss_setspent only if non-zero.
2426 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2427 (internal_endspent): Don't call nss_endspent.
2428 (_nss_compat_endspent): Call nss_endspent.
2429 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2430 Remove. All uses removed.
2431 (internal_setent): Remove parameter stayopen, add parameter
2432 stream. Use it instead of global variable.
2433 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2434 (internal_endent, internal_getent): Add parameter stream. Use it
2435 instead of global variable.
2436 (CONCAT(_nss_files_end,ENTNAME))
2437 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2438 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2439 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2441 (internal_setent, internal_endent): Add parameter stream. Use it
2442 instead of global variable.
2443 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2445 (get_next_alias): Add parameter stream.
2446 (_nss_files_getaliasent_r): Pass global stream.
2447 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2448 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2449 (_nss_files_gethostbyname4_r): Pass local stream to
2450 internal_setent, internal_getent and internal_endent. Remove
2453 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2455 * tst-strfmon1.c (tests): Update expected currency symbol.
2457 2015-05-08 Roland McGrath <roland@hack.frob.com>
2459 * sysdeps/nacl/gethostname.c: New file.
2461 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2463 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2465 * math/auto-libm-test-out: Regenerated.
2466 * sysdeps/i386/fpu/libm-test-ulps: Update.
2467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2469 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2472 * stdlib/tst-setcontext3.c: New file.
2473 * stdlib/tst-setcontext3.sh: New file.
2474 * stdlib/Makefile (tests): Add tst-setcontext3.
2475 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2476 to verify test program created output file.
2477 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2478 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2479 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2480 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2482 2015-05-06 Roland McGrath <roland@hack.frob.com>
2485 * elf/tst-tlsalign.c: New file.
2486 * elf/tst-tlsalign-static.c: New file.
2487 * elf/tst-tlsalign-lib.c: New file.
2488 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2489 (tests-static): Add tst-tlsalign-static.
2490 (modules-names): Add tst-tlsalign-lib.
2491 (test-xfail-tst-tlsalign): New variable.
2492 (test-xfail-tst-tlsalign-static): New variable.
2494 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2495 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2497 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2499 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2500 csqrt, erfc, sin and sincos.
2501 * math/auto-libm-test-out: Regenerated.
2502 * sysdeps/i386/fpu/libm-test-ulps: Update.
2503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2505 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2507 * sysdeps/aarch64/libm-test-ulps: Update.
2509 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2511 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2512 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2513 * math/auto-libm-test-out: Regenerated.
2514 * sysdeps/i386/fpu/libm-test-ulps: Update.
2515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2517 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2520 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2521 (wcsncpy): Likewise.
2523 2015-05-05 Florian Weimer <fweimer@redhat.com>
2525 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2526 Assume __ASSUME_FALLOCATE is always true.
2527 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2528 (__posix_fallocate64_l64): Likweise.
2529 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2530 (posix_fallocate): Likewise.
2531 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2532 (__posix_fallocate64_l64): Likewise.
2533 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2534 [!__ASSUME_FALLOCATE]: Add comment.
2536 2015-05-05 Florian Weimer <fweimer@redhat.com>
2538 * sysdeps/unix/sysv/linux/i386/Makefile
2539 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2540 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2541 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2542 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2543 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2544 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2545 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2547 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2549 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2550 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2552 * math/auto-libm-test-out: Regenerated.
2553 * sysdeps/i386/fpu/libm-test-ulps: Update.
2554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2556 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2558 * math/auto-libm-test-in: Add more tests of tgamma.
2559 * math/auto-libm-test-out: Regenerated.
2560 * sysdeps/i386/fpu/libm-test-ulps: Update.
2561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2563 * math/auto-libm-test-in: Add more tests of tanh.
2564 * math/auto-libm-test-out: Regenerated.
2565 * sysdeps/i386/fpu/libm-test-ulps: Update.
2566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2568 * math/auto-libm-test-in: Add more tests of tan.
2569 * math/auto-libm-test-out: Regenerated.
2570 * sysdeps/i386/fpu/libm-test-ulps: Update.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2573 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2574 * math/auto-libm-test-out: Regenerated.
2575 * sysdeps/i386/fpu/libm-test-ulps: Update.
2576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2578 * math/auto-libm-test-in: Add another test of pow.
2579 * math/auto-libm-test-out: Regenerated.
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2582 * math/auto-libm-test-in: Add more tests of lgamma.
2583 * math/auto-libm-test-out: Regenerated.
2584 * sysdeps/i386/fpu/libm-test-ulps: Update.
2585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2587 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2589 * math/auto-libm-test-out: Regenerated.
2590 * sysdeps/i386/fpu/libm-test-ulps: Update.
2591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2593 2015-05-01 Mark Wielaard <mjw@redhat.com>
2595 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2596 Elf64_Chdr structs and ELFCOMPRESS constants.
2598 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2600 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2602 * math/auto-libm-test-out: Regenerated.
2603 * sysdeps/i386/fpu/libm-test-ulps: Update.
2604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2606 * math/auto-libm-test-in: Add more tests of erf and erfc.
2607 * math/auto-libm-test-out: Regenerated.
2608 * sysdeps/i386/fpu/libm-test-ulps: Update.
2609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2611 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2613 * config.h.in (HAVE_AARCH64_BE): Add.
2615 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2617 * math/auto-libm-test-in: Add more tests of csqrt.
2618 * math/auto-libm-test-out: Regenerated.
2619 * sysdeps/i386/fpu/libm-test-ulps: Update.
2620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2622 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2623 * math/auto-libm-test-out: Regenerated.
2624 * sysdeps/i386/fpu/libm-test-ulps: Update.
2625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2627 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2629 2015-04-29 Roland McGrath <roland@hack.frob.com>
2631 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2632 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2634 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2635 (euidaccess, eaccess): Define as weak aliases.
2637 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2638 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2639 but __suseconds_t is often 'long int' so some sources assume that
2640 type is being used (e.g. they use %ld to print tv_usec).
2642 2015-04-29 Florian Weimer <fweimer@redhat.com>
2645 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2647 * nss/tst-nss-getpwent.c: New file.
2648 * nss/Makefile (tests): Add new test.
2650 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2653 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2654 exponents less than 48 as cases where high part of mantissa needs
2655 examining to determine whether argument is integral.
2656 * math/libm-test.inc (round_test_data): Add more tests.
2658 2015-04-28 Mark Wielaard <mjw@redhat.com>
2660 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2662 2015-04-27 David S. Miller <davem@davemloft.net>
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2668 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2671 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2673 2015-04-27 Florian Weimer <fweimer@redhat.com>
2676 * time/tzset.c (parse_tzname): Return error on memory allocation
2678 * test-skeleton.c (struct temp_name_list): Change type of name
2679 member to non-const.
2680 (add_temp_file): Create a copy of the file name.
2681 (delete_temp_files): Deallocate memory.
2682 (create_temp_file): Add comment.
2684 2015-04-24 Florian Weimer <fweimer@redhat.com>
2686 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2687 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2689 2015-04-24 Roland McGrath <roland@hack.frob.com>
2691 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2692 * sysdeps/arm/configure: Regenerated.
2694 2015-04-24 Florian Weimer <fweimer@redhat.com>
2697 * time/tzfile.c (__tzfile_read): Check for large values of
2698 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2699 * time/tzset.c (__tzstring_len): New function, based on the old
2700 __tzstring function.
2701 (__tzstring): Call __tzstring_len.
2702 (parse_tzname): New helper function extracted from
2703 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2705 (parse_offset): New helper function extracted from
2706 __tzset_parse_tz. Replace switch with fallthrough with
2707 initialization before sscanf.
2708 (parse_rule): Likewise.
2709 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2710 new-style function definition.
2711 * timezone/Makefile (tests): Add tst-tzset.
2712 (tst-tzset.out): Dependencies on time zone files.
2713 (tst-tzset-ENV): Set TZDIR.
2714 (testdata/XT%): Copy crafted time zone files.
2715 * timezone/README: Mention crafted time zone files.
2716 * timezone/testdata/XT1, timezone/testdata/XT2,
2717 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2719 * timezone/tst-tzset.c: New test.
2721 2015-04-24 Florian Weimer <fweimer@redhat.com>
2723 * Makeconfig (+gccwarn): Remove -Winline.
2725 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2727 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2729 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2731 * NEWS: Mention sysconf() cache information support for s390.
2732 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2734 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2736 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2737 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2738 (__nearbyint): Likewise.
2739 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2740 (copysignl): Likewise.
2742 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2745 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2746 based on padding. (CVE-2015-1781)
2748 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2750 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2752 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2753 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2754 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2755 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2756 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2757 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2758 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2759 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2760 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2761 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2762 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2763 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2764 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2765 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2766 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2767 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2768 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2769 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2770 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2771 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2772 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2773 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2774 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2776 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2778 * stdlib/setenv.c (__add_to_environ):
2779 Dump core quickly if setenv (..., NULL, ...) is called.
2780 This time, do it the right way, and pacify GCC with a pragma.
2782 2015-04-17 Roland McGrath <roland@hack.frob.com>
2784 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2785 IMAP->l_prev cannot be null, and #if out the code for the contrary
2786 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2787 believe that NS (&_dl_ns[NSID]) could point outside the array.
2789 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2790 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2791 before using NSID as an index.
2793 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2796 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2797 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2798 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2800 2015-04-17 Roland McGrath <roland@hack.frob.com>
2802 Add preliminary port to Google Native Client on ARM.
2803 * abi-tags (.*-.*-nacl.*): New entry.
2804 * sysdeps/arm/nacl: New directory.
2805 * sysdeps/nacl: New directory.
2807 2015-04-16 David S. Miller <davem@davemloft.net>
2809 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2810 lowlevellock-futex.h
2812 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2814 * sysdeps/tile/configure.ac: New file.
2815 * sysdeps/tile/configure: Regenerated.
2817 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2819 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2820 conditionals for weak_alias and libc_hidden_weak.
2821 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2822 libc_hidden_weak and weak_alias.
2823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2824 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2825 and weak_alias for static one.
2827 2015-04-15 David S. Miller <davem@davemloft.net>
2829 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2831 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2834 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2835 Use signed comparision instead of substraction to avoid
2837 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2838 Take the sign of ret.
2839 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2840 Do not expect precise return values. Only the sign matters.
2841 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2842 * wcsmbs/test-wcsncmp.c: New File.
2843 * string/test-strncmp.c: Add wcsncmp support.
2845 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2848 * math/w_log1p.c: New file.
2849 * math/w_log1pf.c: Likewise.
2850 * math/w_log1pl.c: Likewise.
2851 * math/Makefile (libm-calls): Add w_log1p.
2852 * math/s_log1pl.c (log1pl): Remove weak_alias.
2853 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2854 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2855 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2856 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2857 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2858 [NO_LONG_DOUBLE] (log1pl): Likewise.
2859 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2860 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2861 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2862 (log1p): Remove long_double_symbol.
2863 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2864 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2865 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2866 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2867 remove weak_alias for corresponding log1p function.
2868 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2869 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2870 * sysdeps/ia64/fpu/w_log1p.c: New file.
2871 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2872 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2873 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2875 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2879 decimal exponent by 1.
2880 * stdlib/tst-strtod-round-data: Add more tests.
2881 * stdlib/tst-strtod-round.c (tests): Regenerated.
2883 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2885 * math/auto-libm-test-in: Add more tests of clog and clog10.
2886 * math/auto-libm-test-out: Regenerated.
2887 * sysdeps/i386/fpu/libm-test-ulps: Update.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2890 2015-04-09 Roland McGrath <roland@hack.frob.com>
2892 * Makeconfig (module-cppflags): Exclude all .v.i files.
2893 (skip-module-cppflags): Variable removed.
2895 * configure.ac (libc_config_ok): Initialize before reading
2896 preconfigure scripts, not after.
2897 * configure: Regenerated.
2899 * test-skeleton.c (TIMEOUT): Move #define to top level.
2900 (main): Grok environment variable TEST_DIRECT. If set, print
2901 test expectation details into that file and then behave as if
2904 2015-04-09 Florian Weimer <fweimer@redhat.com>
2906 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2909 2015-04-08 David S. Miller <davem@davemloft.net>
2911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2913 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2915 * math/auto-libm-test-in: Add more tests of atanh.
2916 * math/auto-libm-test-out: Regenerated.
2917 * sysdeps/i386/fpu/libm-test-ulps: Update.
2918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2920 * math/auto-libm-test-in: Add more tests of atan.
2921 * math/auto-libm-test-out: Regenerated.
2922 * sysdeps/i386/fpu/libm-test-ulps: Update.
2923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2925 2015-04-08 Florian Weimer <fweimer@redhat.com>
2927 * elf/pldd.c (main): Rewrite to use struct
2928 scratch_buffer instead of extend_alloca.
2929 * elf/pldd-xx.c (find_maps): Likewise.
2930 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2932 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2933 scratch_buffer instead of extend_alloca.
2934 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2935 grp/compat-initgroups.c.
2936 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2937 Rewrite to use struct scratch_buffer instead of extend_alloca.
2938 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2939 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2941 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2943 * math/auto-libm-test-in: Add more tests of cbrt.
2944 * math/auto-libm-test-out: Regenerated.
2945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2947 * math/auto-libm-test-in: Add more tests of cabs.
2948 * math/auto-libm-test-out: Regenerated.
2949 * sysdeps/i386/fpu/libm-test-ulps: Update.
2950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2954 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2955 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2957 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2959 * math/auto-libm-test-out: Regenerated.
2960 * sysdeps/i386/fpu/libm-test-ulps: Update.
2961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2964 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2965 (atan): Set FE_TONEAREST mode for internal computations.
2966 * math/auto-libm-test-in: Add more tests of atan.
2967 * math/auto-libm-test-out: Regenerated.
2969 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2972 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2974 2015-04-07 Florian Weimer <fweimer@redhat.com>
2976 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2978 2015-04-07 Florian Weimer <fweimer@redhat.com>
2980 * include/scratch_buffer.h: New file.
2981 * malloc/scratch_buffer_grow.c: Likewise.
2982 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2983 * malloc/scratch_buffer_set_array_size.c: Likewise.
2984 * malloc/tst-scratch_buffer.c: Likewise.
2985 * malloc/Makefile (routines): Add scratch_buffer_grow.
2986 (tests): Add test case.
2987 * malloc/Versions (GLIBC_PRIVATE): Export
2988 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2989 __libc_scratch_buffer_set_array_size.
2991 2015-04-06 Richard Henderson <rth@redhat.com>
2993 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2994 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2996 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2997 unsigned int before printing.
2999 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3002 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3003 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3005 2015-04-02 Florian Weimer <fweimer@redhat.com>
3007 * include/libc-internal.h (libc_max_align_t): Define.
3009 2015-04-02 Andreas Schwab <schwab@suse.de>
3012 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3014 2015-04-02 Mel Gorman <mgorman@suse.de>
3017 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3018 as well as the main arena.
3020 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3023 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3024 sharing L2 cache to 2 for Silvermont/Knights Landing.
3026 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3029 * config.make.in (have-protected-data): New.
3030 * configure.ac: Check linker support for protected data symbol.
3031 * configure: Regenerated.
3032 * elf/Makefile (modules-names): Add tst-protected1moda and
3033 tst-protected1modb if $(have-protected-data) is yes.
3034 (tests): Add tst-protected1a and tst-protected1b if
3035 $(have-protected-data) is yes.
3036 ($(objpfx)tst-protected1a): New.
3037 ($(objpfx)tst-protected1b): Likewise.
3038 (tst-protected1modb.so-no-z-defs): Likewise.
3039 * elf/tst-protected1a.c: New file.
3040 * elf/tst-protected1b.c: Likewise.
3041 * elf/tst-protected1mod.h: Likewise.
3042 * elf/tst-protected1moda.c: Likewise.
3043 * elf/tst-protected1modb.c: Likewise.
3045 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3048 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3049 indicates it is called from do_lookup_x on relocation against
3050 protected data, skip the data definion in the executable from
3052 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3053 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3054 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3055 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3056 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3058 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3059 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3060 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3061 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3062 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3063 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3065 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3067 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3068 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3070 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3072 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3074 * sysdeps/x86_64/nptl/tls.h: Ditto.
3076 2015-03-27 Roland McGrath <roland@hack.frob.com>
3078 * dlfcn/tststatic.c (main): Converted to ...
3079 (do_test): ... this.
3080 (TEST_FUNCTION): New macro.
3081 Include test-skeleton.c.
3083 2015-03-26 Alan Modra <amodra@gmail.com>
3085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3086 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3087 zero for undefined weak.
3088 (elf_machine_plt_conflict): Similarly.
3090 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3092 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3094 * math/auto-libm-test-out: Regenerated.
3095 * sysdeps/i386/fpu/libm-test-ulps: Update.
3096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3098 * math/auto-libm-test-in: Add another test of asin.
3099 * math/auto-libm-test-out: Regenerated.
3100 * sysdeps/i386/fpu/libm-test-ulps: Update.
3101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3103 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3105 (LLL_EBX_REG): Likewise.
3106 (LLL_ENTER_KERNEL): Likewise.
3108 * math/auto-libm-test-in: Add more tests of asin.
3109 * math/auto-libm-test-out: Regenerated.
3110 * sysdeps/i386/fpu/libm-test-ulps: Update.
3111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3114 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3115 libc_do_syscall_args): New structure.
3116 (INTERNAL_SYSCALL_MAIN_0): New macro.
3117 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3118 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3119 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3120 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3121 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3122 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3123 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3124 Replace conditional definitions by conditional definitions of ....
3125 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3126 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3127 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3128 (libpthread-sysdep_routines): Add libc-do-syscall.
3129 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3130 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3131 to __NR_futex not 240.
3133 2015-03-25 Alan Modra <amodra@gmail.com>
3135 * NEWS: Advertise TLS optimization.
3136 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3137 (DT_PPC_NUM): Increment.
3138 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3139 (CHECK_STATIC_TLS): Use here.
3140 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3143 * sysdeps/powerpc/dl-tls.c: New file.
3144 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3145 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3146 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3147 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3152 2015-03-25 Alan Modra <amodra@gmail.com>
3154 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3155 for overlapping .opd entries" to "support...".
3156 * sysdeps/powerpc/powerpc64/configure: Regenerate
3158 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3160 * math/auto-libm-test-in: Add more tests of acos.
3161 * math/auto-libm-test-out: Regenerated.
3162 * sysdeps/i386/fpu/libm-test-ulps: Update.
3163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3165 * math/auto-libm-test-in: Add more tests of expm1.
3166 * math/auto-libm-test-out: Regenerated.
3167 * sysdeps/i386/fpu/libm-test-ulps: Update.
3168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3170 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3172 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3173 * math/auto-libm-test-out: Regenerated.
3174 * sysdeps/i386/fpu/libm-test-ulps: Update.
3175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3177 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3180 * math/auto-libm-test-in: Add more tests of log2.
3181 * math/auto-libm-test-out: Regenerated.
3182 * sysdeps/i386/fpu/libm-test-ulps: Update.
3183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3185 2015-03-23 Roland McGrath <roland@hack.frob.com>
3187 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3188 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3189 _IO_IS_APPENDING bit in READ_WRITE instead.
3191 2015-03-23 Florian Weimer <fweimer@redhat.com>
3193 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3194 (__determine_cpumask_size): Replace extend_alloca with a
3195 variable-length array. Do not treat res == 0 as an error.
3197 2015-03-23 Florian Weimer <fweimer@redhat.com>
3200 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3201 and integer overflow.
3202 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3203 (main): Add integer overflow tests.
3204 * manual/pattern.texi (Calling Wordexp): Document additional use
3207 2015-03-23 Alan Modra <amodra@gmail.com>
3209 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3210 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3211 and false branch of conditional.
3212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3215 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3217 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3219 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3220 unused declaration of _hurd_intr_rpc_msg_in_trap.
3221 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3222 defined instead of whether it is non-zero.
3223 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3224 input constraint instead of both input and output constraint. Use ecx
3225 clobber instead of %ecx.
3226 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3227 mutex_unlock): Use a statement expression instead of an expression list.
3228 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3229 type to vm_size_t instead of vm_address_t.
3230 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3231 defined instead of whether it is non-zero.
3232 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3233 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3234 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3235 comparisons with mapaddr.
3236 * nscd/nscd-client.h: Include <time.h>.
3237 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3238 9th parameter to __vm_region instead of int.
3239 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3240 * scripts/check-local-headers.sh (exclude): Add device/,
3241 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3244 2015-03-19 Roland McGrath <roland@hack.frob.com>
3246 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3247 to account for alignment padding.
3248 * sysdeps/arm/memmove.S: Likewise.
3250 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3252 * sysdeps/unix/sysv/linux/generic/README: New file.
3254 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3257 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3258 (futex_abstimed_wait)
3259 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3260 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3261 of lll_futex_timed_wait.
3263 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3266 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3268 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3275 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3276 entries with Static TLS too. Skip entries past the end of the
3277 allocated DTV, from Alan Modra.
3278 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3279 Static TLS DTV entry set up from...
3280 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3281 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3282 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3283 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3285 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3286 that the slot we find is associated with the given map before
3287 using its generation count.
3288 * nptl_db/db_info.c: Include ldsodefs.h.
3289 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3290 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3291 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3292 (link_map::l_tls_offset): New struct field.
3293 (dtv_t::counter): Likewise.
3294 (rtld_global): New struct.
3295 (_rtld_global): New rtld variable.
3296 (dl_tls_dtv_slotinfo_list): New rtld global field.
3297 (dtv_slotinfo_list): New struct.
3298 (dtv_slotinfo): Likewise.
3299 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3300 (td_lookup): Rename to...
3301 (td_mod_lookup): ... this. Use new mod parameter instead of
3303 * nptl_db/td_thr_tlsbase.c: Include link.h.
3304 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3305 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3306 addresses even if the DTV is out of date or missing them.
3307 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3308 index zero-length arrays.
3309 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3310 (td_lookup): Make it a macro implemented in terms of...
3311 (td_mod_lookup): ... this declaration.
3312 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3313 (DB_MAIN_VARIABLE): Likewise.
3315 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3318 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3320 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3322 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3324 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3327 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3328 (atomic_add, atomic_increment_and_test)
3329 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3331 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3333 * stdlib/setenv.c (__add_to_environ):
3334 Dump core quickly if setenv (..., NULL, ...) is called.
3336 2015-03-13 Roland McGrath <roland@hack.frob.com>
3338 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3339 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3340 all the necessary asm magic in one place.
3341 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3344 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3347 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3348 traced file mtime. Use consistent log message.
3349 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3350 (register_traced_file): Call install_watches. Always set mtime.
3351 (invalidate_cache): Iterate over all trace files. Call install_watches.
3352 (inotify_check_files): Don't inline. Handle watching parent
3353 directories and configuration file movement in and out.
3354 (handle_inotify_events): New function.
3355 (main_loop_poll): Call handle_inotify_events.
3356 (main_loop_epoll): Likewise.
3357 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3358 (struct traced_file): Use array of inotify fds. Add parent directory,
3360 (struct database_dyn): Remove unused file_mtime.
3361 (init_traced_file): New inline function.
3362 (define_traced_file): New macro.
3363 * nss/nss_db/db-init.c: Use define_traced_file.
3364 (_nss_db_init): Use init_traced_file.
3365 * nss/nss_files/files-init.c: Use define_traced_file.
3366 (_nss_files_init): Use init_traced_file.
3368 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3370 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3371 [_LIBC]: Do not include <stdlib.h>.
3372 [!_LIBC] (abort): Remove declaration.
3373 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3374 _FP_STATIC_ASSERT instead of conditionally calling abort.
3375 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3376 (_FP_EXTEND_CNAN): Likewise.
3377 (FP_TRUNC): Likewise.
3378 (__FP_CLZ): Likewise.
3379 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3381 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3383 * manual/string.texi (XPG basename): Fix prototype.
3385 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3388 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3389 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3390 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3391 (__setcontext): Likewise.
3392 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3393 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3394 Call rt_sigprocmask syscall one time to set new signal mask
3395 and retrieve the current signal mask instead of two calls.
3396 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3397 (__swapcontext): Likewise.
3398 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3399 * stdlib/tst-setcontext2.c: New file.
3401 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3403 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3405 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3408 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3411 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3414 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3416 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3418 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3419 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3421 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3422 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3423 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3424 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3425 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3426 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3428 * nptl_db/td_symbol_list.c (td_lookup): Remove
3429 HAVE_ASM_GLOBAL_DOT_NAME code.
3430 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3431 HAVE_ASM_GLOBAL_DOT_NAME check.
3432 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3433 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3434 (DOT_LABEL): Remove define.
3435 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3436 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3437 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3438 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3439 (__TLS_GET_ADDR): Likewise.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3441 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3443 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3446 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3447 (_FPU_SETCW): Initialize cw from fpsr before storing.
3448 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3449 (fesetexceptflag): Rewrite using fpu_control.h.
3450 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3452 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3455 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3457 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3459 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3461 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3462 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3464 (_FP_FMA): Likewise.
3465 (_FP_DIV): Likewise.
3467 2015-03-10 Roland McGrath <roland@hack.frob.com>
3469 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3470 with 0 in that case.
3471 * Makefile (summarize-tests): New canned sequence, factored out of
3472 commands for targets tests and xtests. Display summary lines that
3473 don't start with PASS: or XFAIL: rather than ones that do start with
3474 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3475 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3476 do start with ERROR: or FAIL:.
3477 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3478 (except for [$(build-shared) = yes]).
3479 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3480 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3481 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3482 * nptl/Makefile: Revert 2015-03-04 changes.
3483 [$(CXX) empty] (tests-unsupported): New variable.
3484 * debug/Makefile: Likewise.
3486 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3487 gnulib file. Replace __attribute with __attribute__ throughout.
3489 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3491 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3493 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3496 * math/auto-libm-test-in: Add another test of pow.
3497 * math/auto-libm-test-out: Regenerated.
3499 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3501 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3502 $(config-cflags-nofma).
3504 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3506 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3507 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3508 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3509 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3510 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3511 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3512 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3513 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3514 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3515 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3516 Add comment on closing #endif.
3518 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3520 * posix/wordexp.c (CHAR_IN_SET): New macro.
3521 (parse_param): Use it.
3523 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3527 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3530 * posix/wordexp.c (parse_param): Fix buffer overflow.
3531 * posix/wordexp-test.c (test_case): Add test case.
3533 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3536 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3537 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3539 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3542 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3543 (do_bz18043): Delete.
3545 (testit): Refactor to have words at the edge of unreadable page.
3547 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3550 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3551 Cleanup read-only streams as well.
3552 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3554 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3556 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3559 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3561 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3563 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3564 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3565 * soft-fp/op-common.h (_FP_DECL): Likewise.
3567 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3569 * elf/ifuncdep2.c (global): Replace
3570 __attribute__((visibility("protected"))) with
3571 asm (".protected global").
3572 * elf/ifuncmod1.c (global): Likewise.
3573 * elf/ifuncmod5.c (global): Likewise.
3575 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3577 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3578 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3580 2015-03-06 Roland McGrath <roland@hack.frob.com>
3582 * manual/install.texi (Configuring and compiling):
3583 Document test-wrapper-env-only.
3584 * INSTALL: Regenerated.
3586 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3589 * posix/wordexp.c (parse_param): Fix buffer overflow.
3590 * posix/wordexp-test.c (do_bz18043): Add test case.
3592 2015-03-06 Vincent Bernat <vincent@bernat.im>
3594 * time/tst-strptime2.c (do_test): Ensure failing tests are
3596 * time/tst-strptime3.c (do_test): Likewise.
3598 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3600 Fix aio_error thread-safety.
3601 * sysdeps/pthread/aio_error.c: New file
3602 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3605 2015-03-06 Florian Weimer <fweimer@redhat.com>
3607 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3608 (group_number, vfprintf): Use it.
3609 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3610 (JUMP, REF): Use it.
3611 (WORK_BUFFER_SIZE): New enum constant.
3612 (process_arg, vfprintf): Use it.
3614 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3616 * manual/errno.texi (Error Messages): Complete example function
3617 by adding missing #define.
3618 (program_invocation_name): Add statement indicating GNU
3619 extension and reference which header file declares the variable.
3620 (program_invocation_short_name): Likewise.
3622 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3624 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3627 2015-03-05 Roland McGrath <roland@hack.frob.com>
3629 * Makeconfig (test-wrapper-env-only): New variable.
3630 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3631 then use that with $(test-wrapper-env-only) rather than using
3632 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3634 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3637 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3638 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3639 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3640 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3641 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3642 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3643 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3644 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3646 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3647 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3651 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3653 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3655 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3658 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3660 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3661 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3663 2015-03-04 Roland McGrath <roland@hack.frob.com>
3665 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3666 (ETH_ALEN): New macro.
3667 (struct ether_addr): Use it for length of ether_addr_octet.
3669 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3670 (setdb): Don't call __nss_configure_lookup for "rpc".
3671 (do_test): Don't call test_rpc.
3672 (output_rpcent, test_rpc): Functions moved ...
3673 * sunrpc/test-rpcent.c: ... to this new file.
3674 * sunrpc/Makefile (tests): Add it.
3676 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3678 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3679 * nptl/tst-signal6.c: Likewise.
3680 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3681 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3683 * configure.ac (libc_cv_cxx_link_ok): New check.
3684 Reset CXX to empty if it fails to link.
3685 * configure: Regenerated.
3686 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3687 bug-atexit3-lib only if $(CXX) is nonempty.
3688 * nptl/Makefile (tests): Likewise for tst-cancel24.
3689 (tests, tests-static): Likewise for tst-cancel24-static.
3690 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3691 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3692 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3693 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3695 2015-03-04 Andreas Schwab <schwab@suse.de>
3698 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3699 for non-GCC compilers.
3700 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3703 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3706 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3707 integer before bitwise and assembly operations.
3708 (feclearexcept): Likewise.
3709 * math/test-fenvinline.c: New file.
3710 * math/Makefile: Add test-fenvinline test.
3712 2015-03-03 Alan Modra <amodra@gmail.com>
3715 * scripts/localplt.awk: Strip off symbol version.
3716 * NEWS: Mention bug fix.
3718 2015-03-02 Roland McGrath <roland@hack.frob.com>
3720 * sysdeps/pthread/timer_routines.c
3721 (timer_free_list, thread_free_list, thread_active_list): Make static.
3723 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3726 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3727 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3729 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3730 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3732 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3733 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3736 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3739 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3740 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3742 2015-03-02 Andreas Schwab <schwab@suse.de>
3744 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3747 2015-03-02 Florian Weimer <fweimer@redhat.com>
3749 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3750 Return error status.
3752 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3755 * locale/findlocale.c (_nl_find_locale): Introduce const
3756 version of loc_name and drop unsafe type casts.
3758 2015-02-27 Roland McGrath <roland@hack.frob.com>
3760 * dlfcn/tststatic2.c (main): Converted to ...
3761 (do_test): ... this.
3762 (TEST_FUNCTION): New macro.
3763 Include test-skeleton.c.
3765 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3768 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3769 (tests-pie): Add vismain.
3770 (CFLAGS-vismain.c): New.
3771 * elf/vismain.c: Add comments for PIE requirement.
3773 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3778 0x1p-56L as threshold for just returning the argument.
3779 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3780 0x1p-32L as threshold for just returning the argument.
3781 * math/auto-libm-test-in: Add more tests of atanh.
3782 * math/auto-libm-test-out: Regenerated.
3783 * sysdeps/i386/fpu/libm-test-ulps: Update.
3784 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3786 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3788 * string/bcopy.c (bcopy): Call memmove for performance.
3790 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3792 * string/bzero.c (__bzero): Call memset for performance.
3794 2015-02-27 John David Anglin <dave.anglin@bell.net>
3797 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3800 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3802 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3804 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3806 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3807 (__kernel_standard): Use CSTR macro when setting exc.name.
3808 * sysdeps/ieee754/Makefile [$(subdir) = math]
3809 (CFLAGS-k_standard.c): Remove variable.
3811 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3812 setting p and q from "else if" to "else".
3814 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3816 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3818 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3820 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3822 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3827 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3828 return pi/2 for arguments below 0x1p-113L.
3829 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3830 return pi/2 for arguments below 0x1p-106L.
3831 * math/auto-libm-test-in: Add more tests of acos.
3832 * math/auto-libm-test-out: Regenerated.
3835 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3837 (__ieee754_asin): Force underflow exception for results with small
3839 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3841 (__ieee754_asinf): Force underflow exception for results with
3842 small absolute value.
3843 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3844 (__ieee754_asin): Force underflow exception for results with small
3846 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3847 (__ieee754_asinf): Force underflow exception for results with
3848 small absolute value.
3849 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3850 (__ieee754_asinl): Force underflow exception for results with
3851 small absolute value.
3852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3853 (__ieee754_asinl): Force underflow exception for results with
3854 small absolute value.
3855 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3856 (__ieee754_asinl): Force underflow exception for results with
3857 small absolute value.
3858 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3860 * math/auto-libm-test-in: Do not mark underflow exceptions as
3861 possibly missing for bug 16351.
3862 * math/auto-libm-test-out: Regenerated.
3865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3866 of power of 2 down when low part has opposite sign.
3867 * math/libm-test.inc (logb_test_data): Add more tests.
3869 2015-02-26 Andreas Schwab <schwab@suse.de>
3872 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3873 over collating symbol inside a bracket expression. Minor cleanup.
3874 * posix/tst-fnmatch3.c (do_test): Add test case.
3876 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3879 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3880 Adjust exponent of power of 2 down when low part has opposite
3882 * math/libm-test.inc (ilogb_test_data): Add more tests.
3884 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3887 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3888 the previous change.
3891 * locale/findlocale.c (_nl_find_locale): Retry archive search
3892 after alias expansion.
3894 2015-02-25 Roland McGrath <roland@hack.frob.com>
3896 * iconv/tst-iconv3.c (main): Converted to ...
3897 (do_test): ... this.
3898 (TEST_FUNCTION): New macro.
3899 Include test-skeleton.c.
3901 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3902 (convert): Make function static.
3903 (test_unalign): Likewise. Add const to argument pointee types.
3904 (main): Replace with static function do_test.
3905 Print "Succeeded." only if RET is zero.
3906 (TEST_FUNCTION): New macro.
3907 Include test-skeleton.c.
3909 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3910 returns a null pointer.
3912 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3914 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3915 to __memcpy_ppc only for static builds.
3917 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3920 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3921 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3922 * math/auto-libm-test-in: Add more tests of asinh.
3923 * math/auto-libm-test-out: Regenerated.
3924 * sysdeps/i386/fpu/libm-test-ulps: Update.
3925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3930 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3931 and ip6_mtuinfo definitions here.
3932 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3933 in this define too. Update comment.
3935 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3937 * elf/sprof.c (load_shobj): Tweak error message to match others.
3939 2015-02-24 Kevin Easton <kevin@guarana.org>
3941 [BZ #16145] (partial fix)
3942 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3943 to reduce lock contention.
3945 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3947 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3948 (struct timex): Update time comment.
3949 (ADJ_SETOFFSET): Define.
3951 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3954 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3955 2**56 not 2**28 as threshold for log (2x) formula.
3956 * math/auto-libm-test-in: Add more tests of acosh.
3957 * math/auto-libm-test-out: Regenerated.
3958 * sysdeps/i386/fpu/libm-test-ulps: Update.
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3961 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3963 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3964 parenthesis around the buf assignment.
3965 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3967 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3970 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3971 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3972 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3973 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3974 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3975 * math/libm-test.inc (scalb_test_data): Add more tests.
3977 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3980 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3981 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3983 2015-02-24 Eric Rannaud <e@nanocritical.com>
3986 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3987 * io/bits/fcntl2.h (open): Use it.
3989 * io/open.c (__libc_open): Likewise.
3990 * io/open64.c (__libc_open64): Likewise.
3991 * io/open64_2.c (__open64_2): Likewise.
3992 * io/open_2.c (__open_2): Likewise.
3993 * io/openat.c (__openat): Likewise.
3994 * io/openat64.c (__openat64): Likewise.
3995 * io/openat64_2.c (__openat64_2): Likewise.
3996 * io/openat_2.c (__openat_2): Likewise.
3997 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3998 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3999 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4000 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4001 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4002 (__open_nocancel): Likewise.
4003 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4004 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4005 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4007 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4010 * resolv/gethnamaddr.c (getanswer): Skip logging if
4011 RES_USE_DNSSEC is set.
4012 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4014 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4016 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4018 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4020 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4021 201304L, for Unicode 7.
4023 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4026 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4027 shared library. Add gmon-start.os otherwise.
4028 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4029 $(objpfx)gmon-start.os if builing shared library.
4030 ($(objpfx)g$(static-start-installed-name)): Likewise.
4032 2015-02-23 Andreas Schwab <schwab@suse.de>
4034 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4036 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4039 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4040 (enlarge_userbuf): Likewise.
4042 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4044 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4045 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4046 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4047 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4049 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4051 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4052 expression inside statement expression.
4054 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4056 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4057 <sysdeps/nptl/lowlevellock.h> and remove macros and
4058 functions that are now defined there.
4059 (SYS_futex): Remove.
4060 (lll_compare_and_swap): Remove.
4061 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4063 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4066 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4067 instead of scandirat.
4068 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4069 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4070 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4072 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4073 (__scandirat): Declare. Use libc_hidden_proto.
4074 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4076 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4078 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4081 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4083 (__ieee754_atan2): For results with small absolute value, force
4084 underflow exception and remove excess range and precision from
4086 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4088 (__ieee754_atan2f): For results with small absolute value, force
4089 underflow exception and remove excess range and precision from
4091 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4093 (__atan): For results with small absolute value, force underflow
4094 exception and remove excess range and precision from return value.
4095 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4097 (__atanf): For results with small absolute value, force underflow
4098 exception and remove excess range and precision from return value.
4099 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4101 (__ieee754_atan2): Force underflow exception for results with
4102 small absolute value.
4103 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4105 (atan): Force underflow exception for results with small absolute
4107 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4108 (__atanf): Force underflow exception for results with small
4110 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4112 (__atanl): Force underflow exception for results with small
4114 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4115 (__atanl): Force underflow exception for results with small
4117 * sysdeps/x86/fpu/bits/mathinline.h
4118 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4119 (__ieee754_atan2): Only define inline for long double.
4120 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4121 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4122 * math/auto-libm-test-in: Do not mark underflow exceptions as
4123 possibly missing for bug 15319. Add more tests of atan2.
4124 * math/auto-libm-test-out: Regenerated.
4125 * math/libm-test.inc (casin_test_data): Do not mark underflow
4126 exceptions as possibly missing for bug 15319.
4127 (casinh_test_data): Likewise.
4128 * sysdeps/i386/fpu/libm-test-ulps: Update.
4130 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4132 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4133 * sysdeps/mips/bits/endian.h: Fix comments.
4135 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4138 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4139 (hdestroy_r): Likewise.
4140 (hsearch_r): Likewise.
4141 (__hcreate_r): Declare and use libc_hidden_proto.
4142 (__hdestroy_r): Likewise.
4143 (__hsearch_r): Likewise.
4144 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4145 (hcreate): Call __hcreate_r instead of hcreate_r.
4146 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4147 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4148 as weak alias of __hcreate_r.
4149 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4151 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4153 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4155 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4156 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4157 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4158 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4160 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4162 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4163 arena_lock into a single arena_get.
4165 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4167 * dl-reloc.c: Inlucde libc-internal.h.
4168 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4169 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4170 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4171 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4172 (grow_heap): Likewise.
4173 * malloc/malloc.c: Include libc-internal.h.
4174 (do_check_malloc): Call powerof2.
4175 (sysmalloc): Use pagesize. Call ALIGN_UP.
4176 (systrim): Use pagesize.
4177 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4178 (__libc_valloc): Use pagesize.
4179 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4181 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4184 * include/sys/resource.h (__getrlimit64): Declare. Use
4186 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4187 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4188 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4190 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4192 [!getrlimit64] (getrlimit64): Define as weak alias of
4193 __getrlimit64. Use libc_hidden_weak.
4194 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4195 using __getrlimit64 not __new_getrlimit64.
4196 (__GI_getrlimit64): Likewise.
4197 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4199 (__GI_getrlimit64): Likewise.
4200 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4202 (getrlimit): Add __getrlimit64 alias.
4203 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4205 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4207 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4208 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4210 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4212 * libio/fileops.c: Add missing sys/mman.h
4213 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4215 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4217 * manual/math.texi (Errors in Math Functions): Clarify goals
4218 regarding inexact and underflow exceptions.
4220 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4222 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4223 * sysdeps/mips/memset.S: Ditto.
4225 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4227 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4229 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4231 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4232 (__v1longjmp): Remove versioned symbol.
4233 (__v1siglongjmp): Remove alias and versioned symbol.
4234 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4235 (__v2siglongjmp): Likewise.
4237 2015-02-16 Torvald Riegel <triegel@redhat.com>
4239 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4241 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4243 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4245 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4248 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4249 zero result does not depend on the sign resulting from
4251 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4253 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4254 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4255 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4256 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4257 * math/libm-test.inc (remquo_test_data): Add more tests.
4259 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4261 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4262 Problem reported by J William Piggott.
4264 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4267 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4268 products 4 * y and 2 * y where those would overflow.
4269 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4271 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4272 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4273 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4274 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4275 * math/libm-test.inc (remquo_test_data): Add more tests.
4277 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4279 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4280 [defined _COMPILING_NEWLIB].
4281 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4282 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4284 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4285 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4287 2015-02-16 Torvald Riegel <triegel@redhat.com>
4289 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4292 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4295 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4296 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4297 HOST_STACK_END_ADDR): Likewise.
4299 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4301 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4302 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4303 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4305 2015-02-13 Roland McGrath <roland@hack.frob.com>
4307 * sysdeps/generic/c++-types.data: New file.
4308 * sysdeps/generic/ld.abilist: New file.
4309 * sysdeps/generic/libBrokenLocale.abilist: New file.
4310 * sysdeps/generic/libanl.abilist: New file.
4311 * sysdeps/generic/libc.abilist: New file.
4312 * sysdeps/generic/libcrypt.abilist: New file.
4313 * sysdeps/generic/libdl.abilist: New file.
4314 * sysdeps/generic/libm.abilist: New file.
4315 * sysdeps/generic/libpthread.abilist: New file.
4316 * sysdeps/generic/libresolv.abilist: New file.
4317 * sysdeps/generic/librt.abilist: New file.
4319 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4322 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4323 Compute absolute value of x as modified by fmod, not original
4325 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4326 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4327 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4328 RUN_TEST_ffI_f1_mod8.
4329 (remquo_test_data): Add more tests.
4331 2015-02-13 Roland McGrath <roland@hack.frob.com>
4333 * sysdeps/init_array/pt-crti.S: New file.
4335 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4338 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4339 __builtin_fmaf instead of relying on contraction of a * b + c.
4341 2015-02-12 J William Piggott <elseifthen@gmx.com>
4344 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4347 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4350 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4351 __builtin_fma instead of relying on contraction of a * b + c.
4353 2015-02-12 Roland McGrath <roland@hack.frob.com>
4355 * Makeconfig (ASFLAGS): Add -Werror=undef.
4356 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4357 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4358 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4360 * Makeconfig (after-link): New variable.
4361 (+link-pie, +link-pie-tests): Use it.
4362 (+link-static, +link-static-tests): Likewise.
4363 (+link, +link-tests): Likewise.
4364 * Makerules (build-module, build-module-asneeded): Likewise.
4365 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4367 * elf/Makefile ($(objpfx)ld.so): Likewise.
4369 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4372 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4373 both struct timeval and struct timespec.
4375 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4378 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4380 (__ieee754_exp2l): Do not multiply small fractional parts by
4382 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4385 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4386 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4387 * math/auto-libm-test-in: Add more tests of exp2.
4388 * math/auto-libm-test-out: Regenerated.
4390 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4392 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4395 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4397 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4400 2015-02-12 Andreas Schwab <schwab@suse.de>
4403 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4404 Filter out elision flags from value returned in kind.
4405 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4406 * nptl/tst-pthread-mutexattr.c: New file.
4408 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4410 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4411 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4412 into gnu-gnu, and update comment to refer to abi-tags.
4414 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4417 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4418 (__sincos): Set errno to EDOM for infinite argument.
4419 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4420 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4421 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4422 (__sincosl): Set errno to EDOM for infinite argument.
4423 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4424 (__sincosl): Set errno to EDOM for infinite argument.
4425 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4426 (__sincosl): Set errno to EDOM for infinite argument.
4427 * math/libm-test.inc (sincos_test_data): Test errno setting.
4429 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4431 * string/strxfrm_l.c: Remove #define STRCMP.
4432 * string/strcoll_l.c: Remove #define STRLEN.
4433 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4434 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4436 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4438 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4439 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4440 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4441 * sysdeps/mips/mips64/Makefile: ... here.
4442 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4443 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4444 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4445 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4446 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4447 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4448 * sysdeps/mips/mips64/n64/Implies: Likewise.
4450 2015-02-10 Roland McGrath <roland@hack.frob.com>
4452 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4453 <sys/time.h>, <string.h>, and <errno.h>.
4454 (dest_offset, dest_address, value, zero): Remove unused variables.
4455 (ldouble): Remove typedef.
4456 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4457 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4459 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4460 (check): Function removed.
4462 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4463 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4464 Don't call set_sigaction_FP and remove_sigaction_FP here.
4465 (ldouble_test): Just use 'long double' as macro argument, no need for
4466 the 'ldouble' typedef.
4467 (do_test): Set up SIGFPE handler at start, using plain signal rather
4468 than sigaction. Fix code style.
4470 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4473 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4476 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4478 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4479 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4481 * sysdeps/powerpc/configure.ac: Remove file.
4482 * sysdeps/powerpc/configure: Likewise.
4484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4485 [sysdep_routines]: Remove wordcopy-power6 object.
4486 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4487 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4488 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4489 (__memmove_ppc32): Likewise.
4490 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4492 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4494 Remove preprocessor.
4496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4497 [sysdep_routines]: Remove wide chars objects.
4498 [wcsmbs]: New rule for wide char objects.
4500 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4501 Remove wordcopy-power6 obejct.
4502 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4503 Use local call for wordcopy and memcpy symbols.
4504 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4505 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4506 implementation for loader.
4507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4509 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4510 Remove wordcopy-power7 object.
4511 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4512 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4513 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4514 (_wordcopy_fwd_dest_aligned): Likewise.
4515 (_wordcopy_bwd_aligned): Likewise.
4516 (_wordcopy_bwd_dest_aligned): Likewise.
4518 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4519 Rewrite to call __memmove_ppc instead of include default
4522 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4523 Remove wide chars objects.
4524 [wcsmbs]: New rule for wide char objects.
4526 2015-02-09 Andreas Schwab <schwab@suse.de>
4529 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4530 in terms of __O_DIRECTORY.
4532 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4534 * time/getdate.c: Include <stdbool.h>.
4535 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4537 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4540 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4542 Add ersatz _Static_assert on older C hosts
4543 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4544 pre-C11 C platform that is not known to support _Static_assert.
4546 2015-02-07 Richard Braun <rbraun@sceen.net>
4548 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4550 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4552 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4554 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4555 priority against unexistent AIO_PRIO_DELTA_MAX.
4556 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4558 * misc/fchflags.c (fchflags): Likewise.
4559 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4560 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4561 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4562 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4563 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4565 [__USE_MISC] (chflags, fchflags): Declare functions.
4566 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4567 EINVAL when nfds is greater than FD_SETSIZE.
4568 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4569 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4571 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4572 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4573 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4575 * hurd/hurd/signal.h (_hurd_self_sigstate,
4576 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4577 Explicit casts from void *.
4578 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4579 * abi-tags: Rename gnu-gnu os into gnu.
4582 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4583 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4584 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4585 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4586 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4587 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4590 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4591 duplicates ADDR->sun_path with sockaddr LEN limitation.
4592 * sysdeps/mach/hurd/connect.c: Include <string.h>
4593 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4594 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4595 * sysdeps/mach/hurd/sendto.c: Likewise.
4596 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4597 implementing it by hand.
4599 2015-02-06 Roland McGrath <roland@hack.frob.com>
4601 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4602 Use sfi_breg on ldr.
4603 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4606 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4608 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4609 Test SIGSETXID only if it's defined.
4611 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4613 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4614 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4616 * nptl/tst-align2.c: Moved ...
4617 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4618 * nptl/Makefile (tests): Remove tst-align2.
4619 * sysdeps/unix/sysv/linux/Makefile
4620 [$(subdir) = nptl] (tests): Add tst-align-clone.
4621 * nptl/tst-getpid1.c: Moved ...
4622 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4623 * nptl/tst-getpid2.c: Moved ...
4624 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4625 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4626 * sysdeps/unix/sysv/linux/Makefile
4627 [$(subdir) = nptl] (tests): ... here.
4628 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4629 * sysdeps/unix/sysv/linux/Makefile
4630 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4632 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4633 Drop trailing \n from perror argument. Use return rather than exit.
4635 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4637 * nptl/tst-cancel21.c (do_test): Likewise.
4638 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4639 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4640 [!SA_SIGINFO]: Make it a stub test.
4642 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4643 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4645 * posix/tst-getlogin.c: Move to ...
4646 * login/tst-getlogin.c: ... here.
4647 * posix/Makefile (tests): Move tst-getlogin to ...
4648 * login/Makefile (tests): ... here.
4650 * libio/tst-atime.c (do_test): Move local variables SV and E
4651 inside [ST_NOATIME] conditional.
4653 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4655 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4657 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4658 (wait_code): New function replaces macro.
4659 Call nanosleep rather than syscall.
4661 * nptl/pt-system.c: Rewritten. Put everything under
4662 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4663 Use IFUNC to redirect when possible.
4665 * nptl/pt-longjmp.c: Rewritten. Put everything under
4666 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4667 Use IFUNC to redirect when possible.
4669 * nptl/pt-fork.c: Rewritten. Put everything under
4670 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4671 Use IFUNC to redirect when possible.
4672 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4674 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4675 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4676 unconditionally nowadays. This included the only reference to
4677 __vdso_clock_gettime that appears outside libc proper.
4678 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4679 Remove version set (containing only __vdso_clock_gettime).
4680 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4681 Add attribute_hidden.
4682 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4683 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4684 libc_hidden_data_def.
4685 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4686 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4688 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4689 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4690 setrpcent, and getrpcport to ...
4691 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4692 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4693 getrpcbynumber_r, and getrpcent_r to ...
4694 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4695 * inet/getrpcbyname.c: Moved ...
4696 * sunrpc/getrpcbyname.c: ... here.
4697 * inet/getrpcbyname_r.c: Moved ...
4698 * sunrpc/getrpcbyname_r.c: ... here.
4699 * inet/getrpcbynumber.c: Moved ...
4700 * sunrpc/getrpcbynumber.c: ... here.
4701 * inet/getrpcbynumber_r.c: Moved ...
4702 * sunrpc/getrpcbynumber_r.c: ... here.
4703 * inet/getrpcent.c: Moved ...
4704 * sunrpc/getrpcent.c: ... here.
4705 * inet/getrpcent_r.c: Moved ...
4706 * sunrpc/getrpcent_r.c: ... here.
4707 * inet/Makefile (routines): Move those to ...
4708 * sunrpc/Makefile (routines): ... here.
4709 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4710 the $(subdirs) list.
4711 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4712 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4713 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4714 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4716 * elf/Makefile (routines): Include $(all-dl-routines), not just
4718 (rtld-routines): Likewise. Use = rather than :=.
4719 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4720 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4721 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4722 * sysdeps/arm/Makefile: Likewise.
4723 * sysdeps/i386/Makefile: Likewise.
4724 * sysdeps/x86_64/Makefile: Likewise.
4725 * sysdeps/hppa/Makefile [$(subdir) = elf]
4726 (sysdep_routines, sysdep-rtld-routines): Don't add
4727 $(sysdep-dl-routines) to these.
4728 * sysdeps/ia64/Makefile: Likewise.
4729 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4730 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4731 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4732 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4733 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4734 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4735 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4736 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4737 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4738 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4739 these; sysdep-dl-routines alone is enough.
4741 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4744 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4745 where multiplication results in zero and third argument is finite
4747 * math/auto-libm-test-in: Add more tests of fma.
4748 * math/auto-libm-test-out: Regenerated.
4750 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4751 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4752 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4753 (_FP_CMP_EQ): Likewise.
4754 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4756 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4757 extra argument CHECK_NAN. Redefine as wrapper around
4760 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4762 * version.h (RELEASE): Set to "stable".
4763 (VERSION): Set to "2.21"
4764 * include/features.h (__GLIBC_MINOR__): Set to 21.
4766 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4768 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4769 Paul Eggert <eggert@cs.ucla.edu>
4772 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4773 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4774 size in bytes. Store needed elements in wpmax. Use needed size
4775 in bytes for extend_alloca.
4777 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4779 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4780 binutls 2.25, and texinfo 5.2.
4781 * INSTALL: Regenerate.
4782 * sysdeps/nios2/configure: Regenerate.
4783 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4784 * manual/contrib.texi: Update.
4808 * po/pt_BR.po: Update.
4817 * po/zh_CN.po: Update.
4818 * po/zh_TW.po: Update.
4820 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4821 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4822 * sysdeps/hppa/dl-irel.h: Remove #warning.
4823 * sysdeps/hppa/entry.h: Provide prototype for
4824 __canonicalize_funcptr_for_compare and cast argument.
4825 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4826 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4827 * sysdeps/hppa/sotruss-lib.c: New file.
4828 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4829 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4830 (atomic_compare_and_exchange_bool_acq): Likewise.
4831 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4832 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4834 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4835 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4836 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4838 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4840 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4841 called function in non-PIC case.
4843 2015-01-31 David S. Miller <davem@davemloft.net>
4845 * sysdeps/sparc/sparc32/bits/atomic.h
4846 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4847 unlock not after it.
4848 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4849 volatile register usage warnings from the compiler.
4851 * sysdeps/sparc/nptl/sem_init.c: Delete.
4852 * sysdeps/sparc/nptl/sem_post.c: Delete.
4853 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4854 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4855 * sysdeps/sparc/sparc32/sem_init.c: New file.
4856 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4857 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4858 padding explicitly initialized.
4859 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4860 padding for in-semaphore spinlock.
4861 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4862 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4863 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4864 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4865 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4866 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4867 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4868 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4870 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4871 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4873 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4877 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4878 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4880 (index_AVX_Fast_Unaligned_Load): Likewise.
4881 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4882 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4883 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4884 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4885 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4886 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4887 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4888 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4889 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4891 2015-01-29 Andreas Schwab <schwab@suse.de>
4893 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4895 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4898 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4900 2015-01-28 Martin Sebor <msebor@redhat.com>
4902 * math/README.libm-test: Clarify. Add "How to read the test output."
4904 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4906 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4909 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4912 (__HAVE_64B_ATOMICS): Define to 0.
4914 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4917 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4918 value to set as new flag.
4921 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4922 and use _ARCH_PPCSQ instead.
4923 (__ieee754_sqrt): Likewise.
4924 (__ieee754_sqrtf): Likewise.
4925 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4926 _ARCH_PPCSQ is defined.
4927 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4929 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4930 _ARCH_PPCSQ is defined.
4931 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4933 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4935 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4937 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4938 bug (GCC BZ #64739).
4940 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4942 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4943 Mark _retval as used.
4944 (lll_futex_wake_unlock): Likewise.
4945 (lll_futex_timed_wait_requeue_pi): Likewise.
4947 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4948 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4951 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4954 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4955 (__bswap_64): Mark as __always_inline.
4957 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4960 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4961 when none of the search directories exist.
4963 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4966 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4967 power8 in .machine directive.
4970 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4971 set dependency from opd value.
4973 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4976 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4979 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4982 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4984 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4986 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4987 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4988 Replace 1UL with (uint64_t) 1.
4989 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4992 2015-01-23 Roland McGrath <roland@hack.frob.com>
4994 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4995 (if_freenameindex): Likewise.
4997 * resource/getrlimit64.c: Add missing libc_hidden_def.
4999 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5001 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5003 (_FP_FMA): Likewise.
5004 (_FP_TO_INT_ROUND): Likewise.
5005 (_FP_FROM_INT): Likewise.
5007 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5010 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5011 Make code racy and cancel safe.
5013 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5015 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5016 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5019 * pwd/tst-getpw.c: Rewrite.
5022 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5023 (modules-names): Add moddummy1 and moddummy2.
5024 ($(objpfx)tst-rec-dlopen): Define.
5025 * dlfcn/moddummy1.c: New file.
5026 * dlfcn/moddummy2.c: New file.
5027 * dlfcn/tst-rec-dlopen.c: New file.
5028 * elf/dl-cache.c (_dl_load_cache_lookup):
5029 Return char*. Copy result with alloca/strcpy/strdup.
5030 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5031 returns char*. Free cached. If not saving realname
5033 * elf/dl-open.c (dl_open_worker): Do not assert that
5034 _r_debug->r_state is RT_CONSISTENT.
5035 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5038 2015-01-21 Torvald Riegel <triegel@redhat.com>
5039 Carlos O'Donell <carlos@redhat.com>
5042 * nptl/sem_waitcommon.c: New file.
5043 * nptl/sem_wait.c: Include sem_waitcommon.c.
5044 (__sem_wait_cleanup, do_futex_wait): Remove.
5045 (__new_sem_wait): Adapt.
5046 (__new_sem_trywait): New function.
5047 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5048 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5049 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5050 (sem_timedwait): Adapt.
5051 * nptl/sem_post.c (__new_sem_post): Adapt.
5052 (futex_wake): New function.
5053 (__old_sem_post): Add release MO fence.
5054 * nptl/sem_open.c (sem_open): Adapt.
5055 * nptl/sem_init.c (__new_sem_init): Adapt.
5056 (futex_private_if_supported): New function.
5057 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5058 (__old_sem_getvalue): Add using previous code.
5059 * sysdeps/nptl/internaltypes.h: Adapt.
5060 * nptl/tst-sem13.c (do_test): Adapt.
5061 * nptl/tst-sem11.c (main): Adapt.
5062 * nptl/sem_trywait.c: Remove.
5063 * nptl/DESIGN-sem.txt: Remove.
5064 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5065 (gen-as-const-headers): Remove structsem.sym.
5066 * nptl/structsem.sym: Remove.
5067 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5068 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5069 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5070 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5071 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5072 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5073 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5074 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5075 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5076 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5077 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5078 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5079 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5080 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5081 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5082 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5083 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5084 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5085 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5086 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5087 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5088 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5090 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5092 * INSTALL: Regenerated.
5094 * po/libc.pot: Regenerated.
5096 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5097 Sandra Loosemore <sandra@codesourcery.com>
5098 Andrew Jenner <andrew@codesourcery.com>
5099 Joseph Myers <joseph@codesourcery.com>
5100 Nathan Sidwell <nathan@codesourcery.com>
5102 * NEWS: Mention new Nios II port.
5103 * sysdeps/nios2/Implies: New file.
5104 * sysdeps/nios2/Makefile: New file.
5105 * sysdeps/nios2/Subdirs: New file.
5106 * sysdeps/nios2/Versions: New file.
5107 * sysdeps/nios2/__longjmp.S: New file.
5108 * sysdeps/nios2/abort-instr.h: New file.
5109 * sysdeps/nios2/backtrace.c: New file.
5110 * sysdeps/nios2/bits/endian.h: New file.
5111 * sysdeps/nios2/bits/fenv.h: New file.
5112 * sysdeps/nios2/bits/link.h: New file.
5113 * sysdeps/nios2/bits/setjmp.h: New file.
5114 * sysdeps/nios2/bsd-_setjmp.S: New file.
5115 * sysdeps/nios2/bsd-setjmp.S: New file.
5116 * sysdeps/nios2/configure: New generated file.
5117 * sysdeps/nios2/configure.ac: New file.
5118 * sysdeps/nios2/crti.S: New file.
5119 * sysdeps/nios2/crtn.S: New file.
5120 * sysdeps/nios2/dl-init.c: New file.
5121 * sysdeps/nios2/dl-machine.h: New file.
5122 * sysdeps/nios2/dl-sysdep.h: New file.
5123 * sysdeps/nios2/dl-tls.h: New file.
5124 * sysdeps/nios2/dl-trampoline.S: New file.
5125 * sysdeps/nios2/gccframe.h: New file.
5126 * sysdeps/nios2/gmp-mparam.h: New file.
5127 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5128 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5129 * sysdeps/nios2/ldsodefs.h: New file.
5130 * sysdeps/nios2/libc-tls.c: New file.
5131 * sysdeps/nios2/libm-test-ulps: New file.
5132 * sysdeps/nios2/machine-gmon.h: New file.
5133 * sysdeps/nios2/math-tests.h: New file.
5134 * sysdeps/nios2/math_private.h: New file.
5135 * sysdeps/nios2/memusage.h: New file.
5136 * sysdeps/nios2/nptl/Makefile: New file.
5137 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5138 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5139 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5140 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5141 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5142 * sysdeps/nios2/nptl/tls.h: New file.
5143 * sysdeps/nios2/preconfigure: New file.
5144 * sysdeps/nios2/s_fma.c: New file.
5145 * sysdeps/nios2/s_fmaf.c: New file.
5146 * sysdeps/nios2/setjmp.S: New file.
5147 * sysdeps/nios2/sfp-machine.h: New file.
5148 * sysdeps/nios2/sotruss-lib.c: New file.
5149 * sysdeps/nios2/stackguard-macros.h: New file.
5150 * sysdeps/nios2/stackinfo.h: New file.
5151 * sysdeps/nios2/start.S: New file.
5152 * sysdeps/nios2/sysdep.h: New file.
5153 * sysdeps/nios2/tls-macros.h: New file.
5154 * sysdeps/nios2/tst-audit.h: New file.
5155 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5156 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5157 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5158 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5159 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5160 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5161 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5162 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5163 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5164 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5165 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5166 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5167 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5168 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5169 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5170 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5171 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5172 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5173 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5174 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5175 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5176 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5177 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5178 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5179 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5180 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5181 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5182 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5183 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5184 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5185 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5186 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5187 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5188 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5189 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5190 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5191 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5192 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5193 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5194 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5195 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5196 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5197 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5198 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5200 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5203 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5204 (getutent): Use weak_alias in non SHARED case
5205 and default_symbol_version in SHARED case.
5206 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5207 (getutent_r, pututline): Likewise.
5208 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5209 (getutid): Likewise.
5210 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5211 (getutid_r): Likewise.
5212 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5213 (getutline): Likewise.
5214 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5215 (getutline_r): Likewise.
5216 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5217 (updwtmp): Likewise.
5219 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5222 * sysdeps/s390/s390-32/memcmp.S
5223 (memcmp_g5): Rename to __memcmp_g5.
5224 * sysdeps/s390/s390-32/memcpy.S
5225 (memcpy_g5): Rename to __memcpy_g5.
5226 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5227 (memcpy_mvcle) Rename to __memcpy_mvcle.
5228 * sysdeps/s390/s390-32/memset.S
5229 (memset_g5): Rename to __memset_g5.
5230 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5231 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5232 and use prefixed functions.
5233 * sysdeps/s390/s390-32/multiarch/memcmp.S
5234 (memcmp_z196): Rename to __memcmp_z196.
5235 (memcmp_z10): Rename to __memcmp_z10.
5236 (memcmp): Set alias to __memcmp_g5.
5237 (bcmp): Set alias to __memcmp_g5.
5238 * sysdeps/s390/s390-32/multiarch/memcpy.S
5239 (memcpy_z196): Rename to __memcpy_z196.
5240 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5241 (memcpy_z10): Rename to __memcpy_z10.
5242 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5243 (memcpy): Set alias to __memcpy_g5.
5244 * sysdeps/s390/s390-32/multiarch/memset.S
5245 (memset_z196): Rename to __memset_z196.
5246 Jump to __memset_mvcle instead of memset_mvcle.
5247 (memset_z10): Rename to __memset_z10.
5248 Jump to __memset_mvcle instead of memset_mvcle.
5249 (memset_mvcle) Rename to __memset_mvcle.
5250 (memset): Set alias to __memset_g5.
5251 * sysdeps/s390/s390-64/memcmp.S
5252 (memcmp_z900): Rename to __memcmp_z900.
5253 * sysdeps/s390/s390-64/memcpy.S
5254 (memcpy_z900): Rename to __memcpy_z900.
5255 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5256 (memcpy_mvcle) Rename to __memcpy_mvcle.
5257 * sysdeps/s390/s390-64/memset.S
5258 (memset_z900): Rename to __memset_z900.
5259 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5260 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5261 and use prefixed functions.
5262 * sysdeps/s390/s390-64/multiarch/memcmp.S
5263 (memcmp_z196): Rename to __memcmp_z196.
5264 (memcmp_z10): Rename to __memcmp_z10.
5265 (memcmp): Set alias to __memcmp_z900.
5266 (bcmp): Set alias to __memcmp_z900.
5267 * sysdeps/s390/s390-64/multiarch/memcpy.S
5268 (memcpy_z196): Rename to __memcpy_z196.
5269 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5270 (memcpy_z10): Rename to __memcpy_z10.
5271 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5272 (memcpy): Set alias to __memcpy_z900.
5273 * sysdeps/s390/s390-64/multiarch/memset.S
5274 (memset_z196): Rename to __memset_z196.
5275 Jump to __memset_mvcle instead of memset_mvcle.
5276 (memset_z10): Rename to __memset_z10.
5277 Jump to __memset_mvcle instead of memset_mvcle.
5278 (memset_mvcle) Rename to __memset_mvcle.
5279 (memset): Set alias to __memset_z900.
5281 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5284 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5285 __fesetenv instead of fesetenv.
5287 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5289 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5292 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5294 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5297 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5298 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5299 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5300 strncmp-power8 object.
5301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5302 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5303 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5306 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5307 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5309 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5310 trailing byte check.
5312 2015-01-13 David S. Miller <davem@davemloft.net>
5314 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5316 2015-01-13 Roland McGrath <roland@hack.frob.com>
5318 * login/logout.c (logout): Use memset rather than bzero.
5319 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5320 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5321 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5322 (_gethtbyaddr): Likewise.
5323 * locale/programs/simple-hash.c (bcopy): Macro removed.
5325 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5327 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5328 Add strcmp-power8 object.
5329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5330 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5331 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5332 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5333 __strcmp_power8 implementation.
5334 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5337 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5338 Add strncpy-power8 and stpncpy-power8 objects.
5339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5340 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5342 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5343 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5344 __stpncpy_power8 implementation.
5345 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5346 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5347 __strncpy_power8 implementation.
5348 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5349 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5352 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5353 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5354 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5356 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5357 strncat-power8 object.
5358 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5359 __strcat_power8 implementation.
5360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5361 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5362 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5363 optimized strcat for power8.
5365 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5366 strcpy-power8 and stpcpy-power8 objects.
5367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5368 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5370 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5371 multiarch stpcpy implementation for POWER8.
5372 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5373 multiarch strcpy implementation for POWER8.
5374 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5375 __strcpy_power8 function.
5376 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5378 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5382 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5385 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5386 weights and rules. Use do_xfrm_cached if data fits in cache,
5387 do_xfrm otherwise. Moved former main loop to...
5388 * (do_xfrm_cached): New function.
5389 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5390 find_idx, find_position and stack_push.
5391 * (find_idx): New function.
5392 * (find_position): Likewise.
5393 * localedata/sort-test.sh: Added test run for do_xfrm.
5394 * localedata/xfrm-test.c (main): Added command line option
5395 -nocache to run the test with strings that are too large for
5398 2015-01-13 Torvald Riegel <triegel@redhat.com>
5400 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5401 variable to lll_futex_wake call, not the value itself.
5403 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5406 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5407 twom64. Adjust value to 0x1p-64L.
5408 (__scalblnl): Only return standard underflowing result for K <=
5409 -64 not K <= -63; adjust exponent for underflowing result by 64
5411 * math/libm-test.inc (scalbn_test_data): Add more tests.
5412 (scalbln_test_data): Likewise.
5415 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5417 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5419 * math/libm-test.inc (scalbn_test_data): Add more tests.
5420 (scalbln_test_data): Likewise.
5422 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5423 Stefani Seibold <stefani@seibold.net>
5425 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5426 (sysdep_routines): Add dl-vdso here, ...
5427 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5428 (sysdep_routines): ... not here.
5429 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5430 fallback when vDSO is not presented.
5431 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5432 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5433 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5434 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5435 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5436 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5437 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5439 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5441 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5442 fallback configurable symbol when vDSO is not available.
5443 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5444 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5445 be able to redefine fallback symbol when vDSO is not available.
5446 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5447 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5449 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5451 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5452 (TLS_INIT_TP): Add tm_capable initialization.
5453 (TLS_DEFINE_INIT_TP): Likewise.
5454 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5456 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5457 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5459 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5460 transactoion is lock elision is built and TCB tm_capable is set.
5461 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5463 (INTERNAL_SYSCALL_NCS): Likewise.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5465 (INTERNAL_SYSCALL_NCS): Likewise.
5466 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5468 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5470 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5471 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5472 and remove it for 32 bits case.
5473 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5476 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5477 Disable lock elision with rdlocks if elision is not available.
5479 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5480 (sysdep_routines): Add lock elision objects.
5481 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5482 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5483 [pthread_mutex_t] (__elision): Add field.
5484 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5485 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5486 elision definitions for powerpc.
5487 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5488 implementation of lock elision for powerpc.
5489 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5490 implementation of timed lock elision for powerpc.
5491 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5492 implementation of trylock with lock elision for powerpc.
5493 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5494 implementaion of unlock for lock elision for powerpc.
5495 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5496 automatic enable lock elision for mutexes.
5497 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5498 transaction execution definitions for powerpc.
5499 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5501 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5502 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5503 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5504 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5507 2015-01-09 Roland McGrath <roland@hack.frob.com>
5509 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5510 for #include of <shm-directory.h>.
5512 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5514 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5515 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5517 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5520 * NEWS: Mention bug fix.
5521 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5522 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5523 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5525 2015-01-09 Torvald Riegel <triegel@redhat.com>
5527 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5529 2015-01-09 Torvald Riegel <triegel@redhat.com>
5531 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5533 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5535 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5536 pointer and cast to uintptr_t.
5538 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5540 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5542 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5544 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5546 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5549 2015-01-08 Roland McGrath <roland@hack.frob.com>
5551 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5552 <nptl/pthreadP.h> instead.
5553 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5555 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5557 [__SIGRTMIN] (init): Function removed.
5558 [__SIGRTMIN] (initialized): Variable removed.
5559 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5560 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5561 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5562 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5563 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5564 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5565 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5566 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5567 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5568 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5569 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5570 * sysdeps/nptl/allocrtsig.c: New file.
5571 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5572 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5573 * sysdeps/generic/testrtsig.h: File removed.
5575 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5576 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5578 * nptl/nptl-init.c (pthread_functions): Conditionalize
5579 .ptr__nptl_setxid initialization on [SIGSETXID].
5581 * sysdeps/nptl/sys/procfs.h: New file.
5582 * nptl_db/Makefile (headers): Add it.
5583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5585 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5586 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5587 * nptl/pthread_attr_setaffinity.c: Include it.
5588 * nptl/pthread_setattr_default_np.c: Likewise.
5589 * nptl/check-cpuset.h: New file.
5591 2015-01-08 Richard Henderson <rth@redhat.com>
5593 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5594 (CFLAGS-tst-execstack-prog.c): Likewise.
5595 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5597 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5598 Sandra Loosemore <sandra@codesourcery.com>
5599 Andrew Jenner <andrew@codesourcery.com>
5600 Joseph Myers <joseph@codesourcery.com>
5601 Nathan Sidwell <nathan@codesourcery.com>
5603 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5604 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5605 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5606 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5607 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5608 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5609 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5610 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5611 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5612 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5613 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5614 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5615 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5616 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5617 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5618 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5619 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5621 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5623 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5624 timespec struct member in syscall macro.
5625 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5626 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5627 first timeval struct member in syscall macro.
5628 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5630 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5633 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5634 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5635 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5636 __feupdateenv and define as weak alias of __feupdateenv. Use
5638 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5640 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5641 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5642 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5643 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5645 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5646 __feupdateenv and define as weak alias of __feupdateenv. Use
5648 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5650 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5651 __feupdateenv and define as weak alias of __feupdateenv. Use
5653 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5655 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5656 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5657 (__feupdateenv): Likewise.
5658 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5659 __feupdateenv and define as weak alias of __feupdateenv. Use
5661 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5662 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5664 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5666 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5668 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5669 __feupdateenv instead of feupdateenv.
5670 (default_libc_feupdateenv_test): Likewise.
5671 (libc_feresetround_ctx): Likewise.
5673 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5675 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5678 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
5680 * posix/regcomp.c (parse_bracket_exp): Initialize type to
5681 COLL_SYM in a couple of places to avoid uninitialized variable
5682 wanings on tilegx gcc 4.8.2.
5684 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5686 * sysdeps/aarch64/strcpy.S: New file.
5687 * sysdeps/aarch64/stpcpy.S: New file.
5690 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5692 * sysdeps/aarch64/strrchr.S: New file.
5695 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5698 * stdlib/setenv.c: Fix memory leak when setting large,
5701 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5704 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5705 and tabs from buffer before parsing fstab entry.
5706 * misc/tst-mntent.c (main): Add test for mount entry with
5707 trailing spaces and tabs.
5709 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5712 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5713 * math/fesetround.c (fesetround): Rename to __fesetround and
5714 define as weak alias of __fesetround. Use libm_hidden_weak.
5715 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5716 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5717 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5718 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5719 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5720 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5721 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5722 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5723 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5724 __fesetround_inline.
5725 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5726 __fesetround_inline instead of __fesetround.
5727 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5728 __fesetround and define as weak alias of __fesetround. Use
5729 libm_hidden_weak. Call __fesetround_inline instead of
5731 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5732 __fesetround and define as weak alias of __fesetround. Use
5734 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5736 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5737 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5738 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5739 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5740 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5741 __fesetround and define as weak alias of __fesetround. Use
5743 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5744 __fesetround instead of fesetround.
5745 (default_libc_feholdexcept_setround): Likewise.
5746 (libc_feholdsetround_ctx): Likewise.
5747 (libc_feholdsetround_noex_ctx): Likewise.
5750 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5751 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5752 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5753 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5754 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5755 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5756 define as weak alias of __fesetenv. Use libm_hidden_weak.
5757 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5758 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5759 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5760 define as weak alias of __fesetenv. Use libm_hidden_weak.
5761 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5762 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5763 define as weak alias of __fesetenv. Use libm_hidden_weak.
5764 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5766 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5767 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5769 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5770 define as weak alias of __fesetenv. Use libm_hidden_weak.
5771 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5772 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5773 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5774 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5775 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5776 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5777 __fesetenv instead of fesetenv.
5778 (libc_feresetround_noex_ctx): Likewise.
5779 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5780 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5781 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5782 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5783 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5784 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5785 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5786 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5787 (__feupdateenv): Likewise.
5788 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5789 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5790 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5791 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5793 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5796 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5797 addresses have been freed.
5799 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5801 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5804 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5806 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5807 Clean up check_pf allocation pattern. addresses
5809 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5811 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5812 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5813 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5814 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5815 * nptl/pthread_join.c (pthread_join): Likewise.
5816 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5817 * sysdeps/posix/waitid.c (__waitid): Likewise.
5818 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5819 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5820 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5821 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5822 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5824 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5825 (__libc_pread64): Likewise.
5826 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5827 (__libc_pwrite): Likewise.
5828 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5829 (__libc_pwrite64): Likewsie.
5830 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5831 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5832 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5833 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5834 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5835 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5836 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5840 (__libc_pread64): Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5844 (__libc_pwrite64): Likewise.
5845 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5846 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5847 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5848 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5849 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5850 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5851 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5852 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5853 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5854 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5855 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5856 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5857 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5858 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5859 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5860 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5863 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5865 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5866 (CFLAGS-test-double.c): Likewise.
5867 (CFLAGS-test-ldouble.c): Likewise.
5868 (CPPFLAGS-test-ifloat.c): Likewise.
5869 (CPPFLAGS-test-idouble.c): Likewise.
5870 (CPPFLAGS-test-ildoubl.c): Likewise.
5871 (CFLAGS-test-test-fenv.c): Remove variable.
5872 (CFLAGS-test-misc.c): Likewise.
5874 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5877 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5878 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5879 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5880 CLOCKS_PER_SEC == 1000000.
5881 * time/clocktest.c (main): Replace %ld with %jd and cast to
5884 2015-01-05 Roland McGrath <roland@hack.frob.com>
5886 * sysdeps/generic/unwind-resume.h: New file.
5887 * sysdeps/gnu/unwind-resume.c: Include it.
5888 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5889 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5891 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5892 global rather than static.
5893 (_Unwind_Resume): Update user.
5894 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5895 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5896 rather than static. Add __attribute__ ((cold)).
5897 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5898 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5899 * sysdeps/arm/arm-unwind-resume.S: New file.
5900 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5901 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5902 * sysdeps/arm/Makefile [$(subdir) = csu]
5903 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5904 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5905 Add rt-arm-unwind-resume.
5907 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5908 Add pt-arm-unwind-resume.
5909 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5910 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5912 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5915 * include/fenv.h (__feholdexcept): Declare. Use
5917 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5918 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5919 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5920 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5921 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5922 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5923 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5924 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5925 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5926 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5927 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5928 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5929 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5930 (feholdexcept): Likewise.
5931 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5932 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5933 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5934 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5935 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5936 __feholdexcept instead of feholdexcept.
5937 (default_libc_feholdexcept_setround): Likewise.
5939 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5941 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5942 to avoid using stl/str to align destination.
5944 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5946 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5948 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5951 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5952 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5953 Define as weak alias not strong alias.
5955 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5957 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5958 bltzal with addiupc.
5959 (RTLD_START): Ditto.
5961 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5963 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5964 for __vdso_* functions in declarations.
5965 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5967 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5968 INTERNAL_VSYSCALL): Use struct return types to check for error.
5970 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5971 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5972 function with cast from llround().
5973 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5974 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5977 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5980 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5981 Define as weak alias not strong alias.
5984 * ctype/ctype-c99.c: New file. isblank implementation moved from
5986 * ctype/ctype-extn.c: ... here.
5987 (__isblank_l): Move to ...
5988 * ctype/ctype-c99_l.c: ... here. New file.
5989 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5990 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5992 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5993 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5994 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5995 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5996 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5999 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6000 (posix_fadvise64): Define as weak alias not strong alias.
6001 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6002 (posix_fallocate64): Likewise.
6003 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6005 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6006 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6007 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6008 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6009 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6011 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6014 * NEWS: Mention bug fix.
6015 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6016 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6017 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6018 (HOST_STACK_END_ADDR): Likewise.
6020 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6023 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6024 * math/fegetround.c (fegetround): Rename to __fegetround and
6025 define as weak alias of __fegetround. Use libm_hidden_weak.
6026 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6027 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6028 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6029 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6030 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6031 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6032 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6033 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6034 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6035 Undefine after rather than before function definition; use
6036 parentheses around function name in definition.
6037 (__fegetround): Also undefine macro after function definition.
6038 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6039 __fegetround and define as weak alias of __fegetround. Use
6040 libm_hidden_weak. Do not undefine as macro.
6041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6043 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6044 __fegetround and define as weak alias of __fegetround. Use
6046 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6047 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6048 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6049 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6050 __fegetround and define as weak alias of __fegetround. Use
6052 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6053 __fegetround instead of fegetround.
6056 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6057 Condition macro definition on [__USE_MISC].
6060 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6061 (struct sigaction): Change type of sa_flags field to int.
6064 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6065 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6068 * nptl/version.c (banner): Use single year in copyright notice.
6070 * NEWS: Update copyright dates.
6071 * catgets/gencat.c (print_version): Likewise.
6072 * csu/version.c (banner): Likewise.
6073 * debug/catchsegv.sh: Likewise.
6074 * debug/pcprofiledump.c (print_version): Likewise.
6075 * debug/xtrace.sh (do_version): Likewise.
6076 * elf/ldconfig.c (print_version): Likewise.
6077 * elf/ldd.bash.in: Likewise.
6078 * elf/pldd.c (print_version): Likewise.
6079 * elf/sotruss.sh: Likewise.
6080 * elf/sprof.c (print_version): Likewise.
6081 * iconv/iconv_prog.c (print_version): Likewise.
6082 * iconv/iconvconfig.c (print_version): Likewise.
6083 * locale/programs/locale.c (print_version): Likewise.
6084 * locale/programs/localedef.c (print_version): Likewise.
6085 * login/programs/pt_chown.c (print_version): Likewise.
6086 * malloc/memusage.sh (do_version): Likewise.
6087 * malloc/memusagestat.c (print_version): Likewise.
6088 * malloc/mtrace.pl: Likewise.
6089 * manual/libc.texinfo: Likewise.
6090 * nptl/version.c (banner): Likewise.
6091 * nscd/nscd.c (print_version): Likewise.
6092 * nss/getent.c (print_version): Likewise.
6093 * nss/makedb.c (print_version): Likewise.
6094 * posix/getconf.c (main): Likewise.
6095 * scripts/test-installation.pl: Likewise.
6096 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6098 2015-01-02 Will Newton <will.newton@linaro.org>
6100 * sysdeps/arm/armv7/configure: Removed.
6101 * sysdeps/arm/armv7/configure.ac: Likewise.
6103 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6105 * All files with FSF copyright notices: Update copyright dates
6106 using scripts/update-copyrights.
6107 * intl/plural.c: Regenerated.
6108 * locale/programs/charmap-kw.h: Likewise.
6109 * locale/programs/locfile-kw.h: Likewise.
6111 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6113 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6115 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6118 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6119 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6120 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6121 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6122 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6123 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6124 define as weak alias of __fegetenv. Use libm_hidden_weak.
6125 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6126 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6127 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6128 define as weak alias of __fegetenv. Use libm_hidden_weak.
6129 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6130 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6131 define as weak alias of __fegetenv. Use libm_hidden_weak.
6132 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6134 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6135 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6137 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6138 define as weak alias of __fegetenv. Use libm_hidden_weak.
6139 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6140 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6141 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6142 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6143 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6144 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6145 __fegetenv instead of fegetenv.
6146 (libc_feholdsetround_noex_ctx): Likewise.
6148 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6150 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6151 (Elf_MIPS_ABIFlags_v0): New structure.
6152 (EF_MIPS_FP64): Define.
6153 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6154 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6155 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6156 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6157 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6158 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6159 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6160 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6161 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6162 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6163 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6164 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6165 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6166 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6167 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6168 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6169 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6170 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6171 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6172 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6173 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6174 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6176 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6178 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6179 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6180 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6181 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6182 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6183 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6184 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6185 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6186 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6187 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6188 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6189 record the current FP ABI extension.
6190 (mips-mode-switch): Define to show if kernel headers support mode
6192 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6193 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6194 supported SYSV ABI version to 3.
6195 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6198 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6199 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6203 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6205 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6207 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6208 __fegetround and redefine to call __fegetround. Remove condition
6209 on [!__NO_MATH_INLINES].
6210 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6212 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6213 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6215 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6216 instead of <fenv_libc.h>.
6217 (__llrintl): Call fegetround instead of __fegetround.
6218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6219 instead of <fenv_libc.h>.
6220 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6221 (__lrintl): Call fegetround instead of __fegetround.
6222 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6223 instead of <fenv_libc.h>.
6224 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6225 (__rintl): Call fegetround instead of __fegetround.
6227 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6229 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6232 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6235 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6236 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6237 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6239 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6241 * sysdeps/i386/tls-macros.h: Include <features.h>.
6242 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6246 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6247 define for GCC >= 5.0.
6249 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6251 * math/test-fenv.c (test_single_exception, set_single_exc,
6252 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6253 feexcp_mask_test, feenable_test, fe_single_test): Add
6254 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6255 case where they are not used.
6256 * math/libm-test.inc: Likewise.
6257 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6258 unused in the absence of FP rounding/exception support.
6259 * stdio-common/tst-printf-round.c: Likewise.
6260 * stdlib/tst-strtod-round.c: Likewise.
6261 * stdlib/tst-strtod-underflow.c: Likewise.
6263 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6266 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6267 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6268 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6269 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6271 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6272 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6273 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6275 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6276 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6278 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6280 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6281 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6282 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6284 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6286 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6287 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6288 (__feraiseexcept): Likewise.
6289 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6290 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6292 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6293 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6295 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6296 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6297 Use libm_hidden_def.
6298 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6300 (feraiseexcept): Define as weak not strong alias. Use
6302 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6303 New inline function. Factored out of ...
6304 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6305 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6306 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6308 * math/w_acos.c (__acos): Likewise.
6309 * math/w_asin.c (__asin): Likewise.
6310 * math/w_ilogb.c (__ilogb): Likewise.
6311 * math/w_j0.c (y0): Likewise.
6312 * math/w_j1.c (y1): Likewise.
6313 * math/w_jn.c (yn): Likewise.
6314 * math/w_log.c (__log): Likewise.
6315 * math/w_log10.c (__log10): Likewise.
6316 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6317 * sysdeps/aarch64/fpu/math_private.h
6318 (libc_feupdateenv_test_aarch64): Likewise.
6319 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6320 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6321 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6322 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6323 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6324 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6325 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6326 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6327 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6328 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6330 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6333 * io/test-utime.c (main): Replace %ld with %jd and cast to
6335 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6336 * nptl/tst-mutex5.c: Include <stdint.h>.
6337 (do_test): Replace %ld with %jd and cast to intmax_t.
6338 * posix/tst-regex.c (run_test): Likewise.
6339 (run_test_backwards): Likewise.
6340 * rt/tst-clock.c: Include <stdint.h>.
6341 (clock_test): Replace %ld with %jd and cast to intmax_t.
6342 * rt/tst-cpuclock1.c: Include <stdint.h>.
6343 (do_test): Replace %lu with %ju and cast to uintmax_t.
6344 * rt/tst-cpuclock2.c: Include <stdint.h>.
6345 (do_test): Replace %lu with %ju and cast to uintmax_t.
6346 * rt/tst-mqueue1.c: Include <stdint.h>.
6347 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6348 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6350 * rt/tst-mqueue4.c (do_test): Likewise.
6351 * rt/tst-timer4.c: Include <stdint.h>.
6352 (check_ts): Replace %ld with %jd and cast to intmax_t.
6353 (do_test): Likewise.
6354 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6355 and cast to intmax_t.
6356 * sysdeps/pthread/tst-timer.c (main): Likewise.
6357 * time/clocktest.c (main): Likewise.
6358 * time/tst-posixtz.c (do_test): Likewise.
6359 * timezone/tst-timezone.c (main): Likewise.
6361 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6362 H.J. Lu <hongjiu.lu@intel.com>
6364 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6365 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6366 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6367 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6368 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6369 version if bit_Fast_Unaligned_Load is set.
6370 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6371 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6372 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6373 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6374 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6375 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6377 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6378 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6379 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6381 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6382 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6383 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6384 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6386 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6388 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6389 instead of #if to avoid a Wundef warning.
6390 * stdlib/tst-limits.c (do_test): Likewise.
6392 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6393 parallel other exception macros.
6394 (fegetenv): Convert from macro to extern inline so that it applies
6395 retroactively to inline functions already seen by the compiler.
6396 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6398 * posix/Makefile (before-compile): Use $(objpfx) for
6399 posix-conf-vars-def.h.
6401 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6403 * posix/getconf.c (main): Use size_t for type of I.
6404 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6407 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6408 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6409 * posix/posix-envs.def: Likewise.
6410 * sysdeps/posix/sysconf.c: Likewise.
6411 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6412 (specs): Remove array.
6413 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6416 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6417 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6418 (__sysconf): Use CONF_IS_* macros.
6420 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6421 ($(objpfx)posix-conf-vars-def.h): New target.
6422 * posix/posix-conf-vars.list: New file.
6423 * posix/posix-conf-vars.h: New file.
6424 * posix/confstr.c: Include posix-conf-vars.h.
6425 (confstr): Use CONF_IS_* macros.
6426 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6428 * scripts/gen-posix-conf-vars.awk: New file.
6430 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6432 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6433 fegetround): Add no-op macros to avoid linknamespace issues.
6435 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6436 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6438 * sysdeps/unix/sysv/linux/tile/sysdep.h
6439 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6440 assembly-specific section to avoid a redefinition warning.
6442 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6443 long before casting to pointer to avoid a cast warning.
6445 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6447 * sysdeps/tile/tilegx/Implies: New file.
6449 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6451 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6453 2014-12-23 Florian Weimer <fweimer@redhat.com>
6455 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6457 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6459 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6461 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6462 <kernel-features.h>.
6463 (__utimes) [__NR_utimes]: Make code unconditional.
6464 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6465 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6466 (__ASSUME_UTIMES): Do not undefine.
6467 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6468 (__ASSUME_UTIMES): Likewise.
6469 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6470 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6471 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6472 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6474 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6476 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6478 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6481 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6482 alias to weak alias for j0l, y0l.
6483 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6484 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6487 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6490 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6492 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6493 to zero if not already defined.
6495 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6498 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6499 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6500 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6501 (char *) casts added.
6502 * sysdeps/ieee754/k_standardf.c: New file.
6503 * sysdeps/ieee754/k_standardl.c: Likewise.
6504 * math/Makefile (libm-support): Remove k_standard.
6505 (libm-calls): Add k_standard.
6507 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6509 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6510 Optimize to avoid an unnecessary FPCR read.
6512 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6514 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6515 Optimize to reduce FPCR/FPSR accesses.
6517 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6519 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6520 Call libc_fetestexcept_aarch64.
6522 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6524 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6525 Call libc_fesetround_aarch64.
6527 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6530 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6531 (__bind): Do not define as weak alias.
6532 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6534 (__getsockname): Do not define as weak alias.
6536 2014-12-22 Will Newton <will.newton@linaro.org>
6538 * manual/install.texi: Document that we require bison 2.7
6540 * INSTALL: Regenerate.
6541 * configure.ac: Use AC_CHECK_PROG_VER instead of
6542 AC_PATH_PROG when checking for bison and check for
6543 version 2.7 or above.
6544 * configure: Regenerate.
6546 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6549 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6550 * sysdeps/tile/ffsll.c (ffsll): To here.
6552 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6554 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6556 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6558 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6560 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6561 hidden ___tls_get_addr.
6562 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6563 hidden __tls_get_addr.
6564 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6565 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6568 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6570 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6573 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6575 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6576 from "call _dl_init@PLT".
6577 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6579 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6581 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6584 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6586 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6588 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6591 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6594 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6596 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6598 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6599 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6600 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6601 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6602 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6604 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6606 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6607 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6608 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6609 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6610 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6612 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6614 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6616 * string/strncat.c (STRNCAT): Simplify implementation.
6618 2014-12-19 David S. Miller <davem@davemloft.net>
6620 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6621 access the quad as both a long double and as a series of 4 words.
6623 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6624 link_map->l_info array access.
6626 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6628 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6630 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6631 * math/atest-exp2.c (TIMEOUT): Likewise.
6632 * math/atest-sincos.c (TIMEOUT): Likewise.
6634 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6636 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6637 -Wno-error with -fno-builtin-lround.
6639 2014-12-19 Torvald Riegel <triegel@redhat.com>
6641 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6642 Contains futex constants and functions moved over from ...
6643 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6644 <lowlevellock-futex.h>.
6645 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6646 (lll_timedwait_tid): Add comments and parentheses around macro
6649 2014-12-19 Torvald Riegel <triegel@redhat.com>
6651 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6652 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6653 (__lll_private_flag): Remove.
6654 (lll_futex_wait): Likewise.
6655 (lll_futex_timed_wait): Likewise.
6656 (lll_futex_wake): Likewise.
6657 (lll_futex_requeue): Likewise.
6658 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6659 (__lll_timedwait_tid): Spell out argument names.
6660 (lll_timedwait_tid): Add comments and parentheses around macro
6662 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6663 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6665 2014-12-19 Torvald Riegel <triegel@redhat.com>
6667 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6668 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6669 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6670 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6671 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6672 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6673 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6674 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6675 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6676 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6677 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6678 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6679 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6680 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6681 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6682 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6683 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6684 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6685 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6687 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6689 * sysdeps/x86_64/x32/Makefile: New file.
6691 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6693 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6694 1L with (mp_limb_t) 1.
6696 2014-12-17 Roland McGrath <roland@hack.frob.com>
6698 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6699 * nptl/libc_pthread_init.c: ... here.
6700 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6701 * nptl/register-atfork.c: ... here.
6703 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6704 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6705 Use assert_perror to check its return value.
6706 (__gai_create_helper_thread): Likewise.
6708 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6710 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6712 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6715 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6717 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6719 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6721 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6723 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6724 (profil_counter): Likewise.
6725 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6726 (profil_counter): Likewise.
6727 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6729 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6731 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6732 (profil_counter): Likewise.
6733 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6735 [!__profil_counter] (profil_counter): Define as weak alias of
6737 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6738 (profil_counter): Rename to __profil_counter.
6739 [!__profil_counter] (profil_counter): Define as weak alias of
6741 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6742 (profil_counter): Rename to __profil_counter.
6743 [!__profil_counter] (profil_counter): Define as weak alias of
6745 * sysdeps/posix/profil.c: Update comment referring to
6747 (__profil): Use __profil_counter instead of profil_counter.
6748 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6749 __profil_counter. Use __profil_counter_ushort and
6750 __profil_counter_uint in definitions.
6751 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6752 instead of profil_counter_uint and profil_counter_ushort.
6755 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6756 define as weak alias of __inet_makeaddr.
6757 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6758 as weak alias of __inet_addr.
6759 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6760 as weak alias of __inet_pton. Use libc_hidden_weak.
6761 * include/arpa/inet.h (__inet_pton): Declare. Use
6763 (inet_makeaddr): Don't use libc_hidden_proto.
6764 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6765 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6766 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6767 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6769 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6770 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6772 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6774 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6776 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6778 * stdio-common/bug-vfprintf-nargs.c (do_test):
6779 Cast value to intptr_t to avoid format warning
6780 for usage with PRIdPTR printing macro.
6782 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6784 * libio/tst-widetext.c (do_test):
6785 Use format type %td instead of %Zd for ptrdiff_t
6786 in order to avoid format warning.
6788 2014-12-17 Andreas Schwab <schwab@suse.de>
6790 * nscd/mem.c (gc): Add size_t cast to match printf format.
6792 2014-12-16 Roland McGrath <roland@hack.frob.com>
6794 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6795 (init): Apply PTR_MANGLE to pointers before storing them.
6796 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6799 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6802 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6803 define as weak alias of __memrchr.
6804 (__memrchr): Do not define as strong alias of memrchr.
6805 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6807 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6808 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6809 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6812 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6813 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6814 (if_indextoname): Rename to __if_indextoname and define as weak
6815 alias of __if_indextoname. Use libc_hidden_weak.
6816 (if_freenameindex): Rename to __if_freenameindex and define as
6817 weak alias of __if_freenameindex.
6818 (if_nameindex): Rename to __if_nameindex and define as weak alias
6820 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6821 __if_nametoindex and define as weak alias of __if_nametoindex.
6822 Use libc_hidden_weak.
6823 (if_freenameindex): Rename to __if_freenameindex and define as
6824 weak alias of __if_freenameindex.
6825 (if_nameindex): Rename to __if_nameindex and define as weak alias
6827 (if_indextoname): Rename to __if_indextoname and define as weak
6828 alias of __if_indextoname. Use libc_hidden_weak.
6829 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6830 __if_nametoindex and define as weak alias of __if_nametoindex.
6831 Use libc_hidden_weak.
6832 (if_freenameindex): Rename to __if_freenameindex and define as
6833 weak alias of __if_freenameindex. Use libc_hidden_weak.
6834 (if_nameindex_netlink): Use __if_freenameindex instead of
6836 (if_nameindex): Rename to __if_nameindex and define as weak alias
6837 of __if_nameindex. Use libc_hidden_weak.
6838 (if_indextoname): Rename to __if_indextoname and define as weak
6839 alias of __if_indextoname. Use libc_hidden_weak.
6840 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6842 [!_ISOMAC] (__if_freenameindex): Likewise.
6843 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6845 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6847 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6848 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6849 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6850 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6851 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6852 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6853 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6855 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6857 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6858 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6860 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6862 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6863 subscript above bounds'
6865 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6868 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6870 * libio/tst-fopenloc.c: Use test-skeleton.c.
6872 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6873 (entry): Rename to ITEM.
6874 (do_test, comp): Adjust.
6876 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6878 2014-12-16 Torvald Riegel <triegel@redhat.com>
6880 * string/tester.c: Include <libc-internal.h>.
6881 (test_memset): Ignore -Wmemset-transposed-args.
6883 2014-12-16 Torvald Riegel <triegel@redhat.com>
6885 * misc/tst-mntent2.c (do_test): Fix warning.
6887 2014-12-16 Torvald Riegel <triegel@redhat.com>
6889 * elf/tst-unique4lib.cc(a): Mark as used.
6891 2014-12-16 Florian Weimer <fweimer@redhat.com>
6894 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6897 2014-12-16 Allan McRae <allan@archlinux.org>
6899 * stdio-common/Makefile (tests): Re-add bug26.
6901 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6904 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6907 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6909 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6910 (__lll_lock_wait): Likewise.
6911 (__lll_timedlock_wait): Likewise.
6912 (__lll_timedwait_tid): Likewise.
6913 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6914 (__lll_robust_timedlock_wait): Likewise.
6915 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6916 (lll_cond_trylock): Likewise.
6917 (__lll_lock): Likewise.
6918 (__lll_robust_lock): Likewise.
6919 (__lll_cond_lock): Likewise.
6920 (lll_robust_cond_lock): Likewise.
6921 (__lll_timedlock): Likewise.
6922 (__lll_robust_timedlock): Likewise.
6923 (__lll_unlock): Likewise.
6924 (__lll_robust_unlock): Likewise.
6925 (lll_wait_tid): Likewise.
6926 (lll_timedwait_tid): Likewise.
6928 2014-12-15 Torvald Riegel <triegel@redhat.com>
6930 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6932 2014-12-15 Torvald Riegel <triegel@redhat.com>
6934 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6936 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6938 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6939 * stdio-common/tst-sprintf.c: Likewise.
6941 2014-12-15 Torvald Riegel <triegel@redhat.com>
6943 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6945 2014-12-15 Jeff Law <law@redhat.com>
6948 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6949 on the heap. (CVE-2012-3406)
6950 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6951 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6952 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6954 2014-12-15 Will Newton <will.newton@linaro.org>
6956 * manual/install.texi: Bump required version of texinfo
6958 * INSTALL: Regenerated.
6959 * configure.ac: Check for makeinfo version 4.7 and above.
6960 * configure: Regenerated.
6962 2014-12-12 Roland McGrath <roland@hack.frob.com>
6964 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6965 PREFIX, string constant to insert between directory and name.
6966 * sysdeps/posix/shm_open.c: Update caller.
6967 * sysdeps/posix/shm_unlink.c: Likewise.
6968 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6969 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6970 (SEM_SHM_PREFIX): New macro.
6971 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6972 [$(have-thread-library) = no].
6973 * nptl/Makefile (libpthread-routines): Add shm-directory.
6974 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6975 * sysdeps/nptl/shm-directory.h: New file.
6976 * sysdeps/posix/shm-directory.c
6977 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6978 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6979 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6981 (__where_is_shmfs): Function removed.
6982 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6984 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6986 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6988 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6989 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6990 unconditional for use inside libpthread.
6991 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6993 2014-12-12 Roland McGrath <roland@hack.frob.com>
6995 * nptl/pthread_getaffinity.c: New file.
6996 * nptl/pthread_setaffinity.c: New file.
6997 * nptl/pthread_getname.c: New file.
6998 * nptl/pthread_setname.c: New file.
7000 * nptl/pthread_create.c (START_THREAD_DEFN)
7001 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7003 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7004 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7006 * resolv/res_send.c (send_vc): Disable warning resplen may
7007 be used uninitialized.
7009 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7012 (ATTR_NULL): New define checks ATTR against NULL.
7013 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7014 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7016 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7020 (mem2mem_check): Revert my previous change.
7021 (malloc_check_get_size): Revert my previous change.
7022 (mem2chunk_check): Revert my previous change.
7024 2014-12-11 Roland McGrath <roland@hack.frob.com>
7026 * sysdeps/posix/shm-directory.c: New file.
7027 * sysdeps/posix/shm-directory.h: New file.
7028 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7029 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7030 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7031 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7032 Transmute EPERM to EACCES.
7033 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7035 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7036 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7038 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7040 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7041 pointer and cast to uintptr_t.
7042 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7043 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7044 Add cast to avoid warning.
7045 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7047 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7049 * nptl/semaphore.h: Move to ...
7050 * sysdeps/pthread/semaphore.h: ... here.
7051 * Makefile (installed-headers): Change nptl/semaphore.h to
7052 sysdeps/pthread/semaphore.h.
7054 2014-12-11 Roland McGrath <roland@hack.frob.com>
7056 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7057 generated error format strings.
7059 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7060 -Wformat-extra-args warnings for scanf formats.
7061 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7062 test of zero-length format (duh).
7063 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7064 corner-case scanf format test.
7065 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7066 generated fprintf format string.
7067 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7068 corner-case sprintf format tests.
7069 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7070 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7071 -Wformat-extra-args warnings throughout.
7072 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7073 (CFLAGS-scanf4.c): Likewise.
7074 (CFLAGS-scanf7.c): Likewise.
7075 (CFLAGS-tst-sprintf.c): Likewise.
7076 (CFLAGS-tst-printf.c): Likewise.
7077 (CFLAGS-tst-printfsz.c): Likewise.
7079 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7081 * include/cpio.h: New file.
7082 * include/fmtmsg.h: Likewise.
7084 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7085 corresponding format argument to size_t.
7086 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7088 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7089 corresponding format argument to size_t.
7090 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7092 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7093 corresponding format argument to size_t.
7094 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7095 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7096 (CFLAGS-tst-mbswcs2.c): Likewise.
7097 (CFLAGS-tst-mbswcs3.c): Likewise.
7098 (CFLAGS-tst-mbswcs4.c): Likewise.
7099 (CFLAGS-tst-mbswcs5.c): Likewise.
7100 (CFLAGS-tst-trans.c): Likewise
7102 2014-12-11 Roland McGrath <roland@hack.frob.com>
7104 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7105 rather than assuming they won't contain any '%'s.
7107 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7109 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7110 inhibit_loop_to_libcall to avoid recursive calls.
7111 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7112 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7114 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7116 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7119 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7121 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7122 integer value instead of boolean.
7124 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7126 * malloc/malloc.c: Fix powerof2 check.
7128 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7130 * locale/programs/locfile.h (maybe_swap_uint32):
7131 Remove inline and add unused attribute.
7133 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7135 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7136 Truncating assembler expression to a .long expression.
7138 2014-12-11 Andreas Schwab <schwab@suse.de>
7140 * elf/rtld.c (struct map_args): Constify str member.
7141 (do_preload): Constify fname argument.
7143 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7146 constants definition.
7148 2014-12-11 Andreas Schwab <schwab@suse.de>
7151 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7152 FORCE_ELISION instead of DO_ELISION.
7153 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7155 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7158 * iconvdata/gconv-modules: Remove duplicate entry.
7160 2014-12-11 Will Newton <will.newton@linaro.org>
7162 Merge gettext 0.19.3 into intl/.
7164 This involves a number of cosmetic changes to comments
7165 and ANSI function definitions and prototypes throughout
7166 all the files. The gettext copyright header is used but
7167 with the date ranges taken from the glibc copy.
7169 * NEWS: Add gettext merge to 2.21.
7170 * intl/bindtextdom.c: Switch to gettext copyright.
7171 Use ANSI definitions and prototypes.
7172 Use gl_* locking primitives rather than __libc_* ones.
7173 Use __builtin_expect rather than __glibc_likely/unlikely.
7174 * intl/dcgettext.c: Switch to gettext copyright.
7175 Use ANSI definitions and prototypes.
7176 * intl/dcigettext.c: Switch to gettext copyright.
7177 Use ANSI definitions and prototypes.
7178 (INTDIV0_RAISES_SIGFPE): New define.
7179 Use gl_* locking primitives rather than __libc_* ones.
7180 Include eval-plural.h instead of plural-eval.c.
7181 Use __builtin_expect rather than __glibc_likely/unlikely.
7182 * intl/dcngettext.c: Switch to gettext copyright.
7183 Use ANSI definitions and prototypes.
7184 * intl/dgettext.c: Likewise.
7185 * intl/dngettext.c: Likewise.
7186 * intl/plural-eval.c: Renamed to...
7187 * intl/eval-plural.h: ...this.
7188 * intl/explodename.c: Switch to gettext copyright.
7189 Use ANSI definitions and prototypes.
7190 (_nl_explode_name): Use strchr instead of __rawmemchr.
7191 * intl/finddomain.c: Switch to gettext copyright.
7192 Use ANSI definitions and prototypes.
7193 Use gl_* locking primitives rather than __libc_* ones.
7194 (_nl_find_domain): Use malloc rather than alloca for
7195 allocation of temporary locale name.
7196 * intl/gettext.c: Switch to gettext copyright.
7197 Use ANSI definitions and prototypes.
7198 * intl/gettextP.h: Switch to gettext copyright.
7199 Use ANSI definitions and prototypes.
7200 Use gl_* locking primitives rather than __libc_* ones.
7201 * intl/gmo.h: Switch to gettext copyright.
7202 (struct sysdep_string): Move struct segment_pair outside of
7204 * intl/hash-string.c: Use ANSI definitions and prototypes.
7205 * intl/hash-string.h: Switch to gettext copyright.
7206 Use ANSI definitions and prototypes.
7207 * intl/l10nflist.c: Switch to gettext copyright.
7208 Use ANSI definitions and prototypes.
7209 (_nl_normalize_codeset): Avoid integer overflow.
7210 * intl/loadinfo.h: Switch to gettext copyright.
7211 Use ANSI definitions and prototypes.
7212 (LIBINTL_DLL_EXPORTED): New define.
7213 (PATH_SEPARATOR): New define.
7214 * intl/loadmsgcat.c: Switch to gettext copyright.
7215 * intl/localealias.c: Switch to gettext copyright.
7216 Use ANSI definitions and prototypes.
7217 (_nl_expand_alias): Use PATH_SEPARATOR.
7218 * intl/ngettext.c: Switch to gettext copyright.
7219 Use ANSI definitions and prototypes.
7220 * intl/plural-exp.c: Likewise.
7221 * intl/plural-exp.h: Switch to gettext copyright.
7222 Use ANSI definitions and prototypes.
7223 (struct expression): Move definition of enum operator outside
7224 of struct definition.
7225 * intl/plural.c: Regenerate.
7226 * intl/plural.y: Switch to gettext copyright.
7227 Use ANSI definitions and prototypes.
7229 * intl/textdomain.c: Switch to gettext copyright.
7230 Use ANSI definitions and prototypes.
7231 Use gl_* locking primitives rather than __libc_* ones.
7233 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7235 * debug/warning-nop.c: Add used atrribute.
7237 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7239 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7241 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7242 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7243 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7245 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7246 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7249 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7250 Undefine after defining function. Define as weak alias of
7251 __wcschr. Use libc_hidden_weak.
7252 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7253 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7254 (libc_hidden_def): Also define __GI___wcschr alias.
7255 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7256 __wcschr and define as weak alias of __wcschr.
7257 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7259 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7260 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7261 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7262 libc_hidden_weak. Do not use libc_hidden_def.
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7264 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7265 __GI___wcschr alias.
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7267 [IS_IN (libc)] (wcschr): Define as macro expanding to
7269 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7270 [IS_IN (libc)] (__wcschr_power6): Likewise.
7271 [IS_IN (libc)] (__wcschr_power7): Likewise.
7272 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7274 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7276 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7277 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7278 __wcschr and define as weak alias of __wcschr. Use
7279 libc_hidden_builtin_def.
7280 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7281 as weak alias of __wcschr. Use libc_hidden_weak.
7282 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7284 * time/era.c (_nl_init_era_entries): Likewise.
7285 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7287 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7288 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7290 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7292 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7293 format for long int variable.
7295 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7298 * manual/search.texi: (Array Sort Function): Remove claim how to make
7301 2014-12-10 Andreas Schwab <schwab@suse.de>
7304 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7305 user-controlled locks.
7307 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7309 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7312 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7314 * configure.ac (--disable-werror): New configure option.
7315 (enable_werror): New AC_SUBST.
7316 * configure: Regenerated.
7317 * config.make.in (enable-werror): New variable.
7318 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7320 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7321 * manual/install.texi (Configuring and compiling): Document
7323 * INSTALL: Regenerated.
7324 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7325 (CFLAGS-tst-chk2.c): Likewise.
7326 (CFLAGS-tst-chk3.c): Likewise.
7327 (CFLAGS-tst-chk4.cc): Likewise.
7328 (CFLAGS-tst-chk5.cc): Likewise.
7329 (CFLAGS-tst-chk6.cc): Likewise.
7330 (CFLAGS-tst-lfschk1.c): Likewise.
7331 (CFLAGS-tst-lfschk2.c): Likewise.
7332 (CFLAGS-tst-lfschk3.c): Likewise.
7333 (CFLAGS-tst-lfschk4.cc): Likewise.
7334 (CFLAGS-tst-lfschk5.cc): Likewise.
7335 (CFLAGS-tst-lfschk6.cc): Likewise.
7337 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7338 (main): Disable -Wdeprecated-declarations around calls to
7339 register_printf_function.
7341 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7342 (do_test): Disable -Wdiv-by-zero around some calls to
7343 fwrite_unlocked and fread_unlocked.
7345 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7346 (DIAG_POP_NEEDS_COMMENT): Likewise.
7347 (_DIAG_STR1): Likewise.
7348 (_DIAG_STR): Likewise.
7349 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7350 * stdio-common/bug21.c: Include <libc-internal.h>.
7351 (do_test): Disable -Wformat around call to sscanf.
7352 * stdio-common/scanf14.c: Include <libc-internal.h>.
7353 (main): Disable -Wformat around some calls to scanf functions.
7355 2014-12-09 Torvald Riegel <triegel@redhat.com>
7357 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7359 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7361 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7362 stack variable alignment.
7364 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7367 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7368 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7369 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7370 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7371 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7372 __getrlimit instead of getrlimit.
7373 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7374 __gettimeofday instead of gettimeofday.
7375 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7377 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7379 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7380 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7382 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7383 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7385 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7387 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7388 for wide-character tests.
7390 2014-12-04 Roland McGrath <roland@hack.frob.com>
7392 * io/openat64.c: #include <libc-internal.h>
7393 (__openat64): Prototypify. Use ignore_value on MODE.
7394 * io/openat.c: Likewise.
7395 * misc/reboot.c: #include <libc-internal.h>
7396 (reboot): Prototypify. Use ignore_value on HOWTO.
7397 * misc/ptrace.c: #include <libc-internal.h>
7398 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7400 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7402 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7403 XPG4, UNIX98 and XOPEN2K.
7404 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7406 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7408 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7410 * libio/fileops.c: Use ISO C style for function definitions.
7411 * libio/iofopen.c: Likewise.
7412 * libio/wfileops.c: Likewise.
7415 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7417 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7418 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7419 (fgets_func): Function pointer to fgets and fgetws.
7420 (do_ftell_test): Add test to verify ftell value after read
7422 (do_test): Set fgets_func.
7424 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7425 O_TRUNC flag for w and w+ modes.
7426 (do_rewind_test): Likewise.
7427 (do_ftell_test): Likewise.
7428 (do_write_test): Likewise.
7431 * libio/fileops.c (do_ftell): Seek only when there are
7433 * libio/wfileops.c (do_ftell_wide): Likewise.
7434 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7436 (do_one_test): Call it.
7438 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7440 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7441 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7442 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7444 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7445 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7446 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7448 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7450 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7452 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7455 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7456 as weak alias of __getifaddrs. Use libc_hidden_weak.
7457 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7458 __freeifaddrs. Use libc_hidden_weak.
7459 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7460 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7461 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7462 __freeifaddrs. Use libc_hidden_weak.
7463 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7464 __getifaddrs and define as weak alias of __getifaddrs. Use
7466 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7467 __freeifaddrs. Use libc_hidden_weak.
7468 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7470 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7471 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7473 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7476 * sysdeps/mips/start.S (__start): Use indirect jump to call
7479 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7481 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7483 * nptl/tst-mutex1.c: Include <stdbool.h>.
7484 [!ATTR] (ATTR_NULL): New macro.
7485 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7486 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7487 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7489 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7493 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7494 Change conditional to [__USE_MISC].
7497 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7499 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7501 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7503 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7505 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7506 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7507 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7508 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7509 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7510 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7511 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7512 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7513 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7515 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7517 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7519 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7520 Remove strpbrk objects.
7521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7522 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7523 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7524 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7525 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7526 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7528 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7529 Remove strcspn objects.
7530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7531 (__libc_ifunc_impl_list): Remove strcspn implementation.
7532 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7533 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7534 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7535 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7537 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7538 Remove strspn objetcs.
7539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7540 (__libc_ifunc_impl_list): Remove strspn implementation.
7541 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7542 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7543 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7544 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7546 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7550 (mem2mem_check): Add a terminator to the chain of checking blocks.
7551 (malloc_check_get_size): Use it here.
7552 (mem2chunk_check): Ditto.
7554 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7556 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7557 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7559 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7561 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7563 * nptl/nptl-init.c: Include libc-internal.h.
7564 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7566 * elf/ldconfig.c (search_dir): Expand comment.
7568 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7570 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7572 (linknamespace-symlist-stdlibs-tests): Likewise.
7573 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7574 instead of $(objpfx)symlist-stdlibs.
7575 (linknamespace-libs-isoc): New variable.
7576 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7577 (linknamespace-libs-ISO): New variable.
7578 (linknamespace-libs-ISO99): Likewise.
7579 (linknamespace-libs-ISO11): Likewise.
7580 (linknamespace-libs-XPG3): Likewise.
7581 (linknamespace-libs-XPG4): Likewise.
7582 (linknamespace-libs-POSIX): Likewise.
7583 (linknamespace-libs-UNIX98): Likewise.
7584 (linknamespace-libs-XOPEN2K): Likewise.
7585 (linknamespace-libs-POSIX2008): Likewise.
7586 (linknamespace-libs-XOPEN2K8): Likewise.
7587 ($(objpfx)symlist-stdlibs): Replace by
7588 $(linknamespace-symlist-stdlibs-tests). Use
7589 $(linknamespace-libs-$*) as set of libraries.
7590 ($(linknamespace-header-tests)): Update dependencies. Use
7591 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7592 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7593 * conform/linknamespace.pl: Remove comment about considering
7594 definitions of symbols from irrelevant libraries.
7596 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7599 * elf/dl-tls.c: Include <atomic.h>.
7600 (oom): Remove #ifdef SHARED/#endif.
7601 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7602 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7603 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7605 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7606 * nptl/Makefile (tests): Add tst-stack4.
7607 (modules-names): Add tst-stack4mod.
7608 ($(objpfx)tst-stack4): New.
7609 (tst-stack4mod.sos): Likewise.
7610 ($(objpfx)tst-stack4.out): Likewise.
7611 ($(tst-stack4mod.sos)): Likewise.
7613 * nptl/tst-stack4.c: New file.
7614 * nptl/tst-stack4mod.c: Likewise.
7616 2014-11-27 J. Brown <jb999@gmx.de>
7618 * sysdeps/x86/bits/string.h: Add recent CPUs.
7620 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7622 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7625 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7628 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7631 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7633 * nscd/connections.c: Include libc-internal.h because of macro
7636 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7638 * string/bits/string3.h (__warn_memset_zero_len): Don't
7639 declare for gcc newer than 5.0.
7640 (memset): Don't test for zero-length __LEN for gcc newer than
7643 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7645 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7646 size_t for %zu format.
7648 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7649 difference, not %ju.
7651 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7653 * include/libc-internal.h (ignore_value): New macro.
7654 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7657 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7660 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7661 pthread_cleanup_push to void *.
7663 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7669 instead of 1L << 52.
7671 * libio/bug-rewind.c (do_test): Check fwscanf return values.
7672 * libio/bug-rewind2.c (do_test): Likewise.
7674 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7675 * debug/test-strcpy_chk-ifunc.c: Likewise.
7676 * wcsmbs/test-wcschr-ifunc.c: Likewise.
7677 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7678 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7679 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7680 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7681 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7682 * Rules [$(multi-arch) = no] (tests): Do not filter out
7684 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7685 * debug/Makefile (tests-ifunc): Remove variable.
7686 (tests): Do not add $(tests-ifunc).
7687 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7688 (tests): Do not add $(tests-ifunc).
7689 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7690 [TEST_IFUNC]: Remove conditionals.
7691 * string/test-string.h (TEST_IFUNC): Remove macro.
7692 [TEST_IFUNC]: Remove conditionals.
7694 * string/test-strchr.c [!WIDE] (L): New macro.
7695 [WIDE] (L): Likewise.
7696 (check1): Use CHAR instead of char. Use L on string and character
7699 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7701 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7703 * sysdeps/powerpc/bits/atomic.h
7704 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7705 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7706 (atomic_exchange_and_add_acq): Likewise.
7707 (atomic_exchange_and_add_rel): Likewise.
7708 * sysdeps/powerpc/powerpc32/bits/atomic.h
7709 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7710 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7711 * sysdeps/powerpc/powerpc64/bits/atomic.h
7712 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7713 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7715 2014-11-26 Torvald Riegel <triegel@redhat.com>
7717 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7718 Change synchronization of __sched_fifo_min_prio and
7719 __sched_fifo_max_prio.
7720 * nptl/pthread_mutexattr_getprioceiling.c
7721 (pthread_mutexattr_getprioceiling): Likewise.
7722 * nptl/pthread_mutexattr_setprioceiling.c
7723 (pthread_mutexattr_setprioceiling): Likewise.
7724 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7725 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7728 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7730 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7733 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7735 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7736 third argument const.
7738 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7740 fnmatch: work around GCC compiler warning bug with uninit var
7741 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7742 This works around a bug with x86-64 GCC 4.9.2 and earlier
7743 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7744 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7745 used uninitialized in this function [-Wmaybe-uninitialized]".
7747 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7749 * posix/bug-regex31.c (main): Return RES not 0.
7751 2014-11-25 Anton Blanchard <anton@samba.org>
7753 * sysdeps/powerpc/bits/atomic.h
7754 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7756 2014-11-24 Sterling Augustine <saugustine@google.com>
7758 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7760 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7763 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7765 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7768 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7769 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7771 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7772 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7774 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7776 * string/strncpy.c (strncpy): Improve performance by using memset.
7778 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7780 * string/strcpy.c (strcpy):
7781 Improve performance by using strlen and memcpy.
7783 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7785 * string/strcoll_l.c (get_next_seq): __always_inline.
7786 * string/strcoll_l.c (do_compare): __always_inline.
7788 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7790 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7792 * include/mqueue.h: Likewise.
7793 * include/stdlib.h: Likewise.
7795 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7796 (get_null_defines): Adjust.
7797 * sunrpc/Makefile: Adjust comment.
7798 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7799 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7800 (CFLAGS-interp.c): Likewise.
7801 (CFLAGS-ldconfig.c): Likewise.
7802 (CPPFLAGS-.os): Likewise.
7803 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7804 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7805 * extra-modules.mk (extra-modules.mk): Likewise.
7806 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7807 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7808 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7809 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7810 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7811 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7812 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7813 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7814 * iconvdata/Makefile (CPPFLAGS): Likewise.
7815 (cpp-srcs-left): Add libof for all iconvdata routines.
7816 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7817 * include/assert.h: Likewise.
7818 * include/ctype.h: Likewise.
7819 * include/errno.h: Likewise.
7820 * include/libc-symbols.h: Likewise.
7821 * include/math.h: Likewise.
7822 * include/netdb.h: Likewise.
7823 * include/resolv.h: Likewise.
7824 * include/stdio.h: Likewise.
7825 * include/stdlib.h: Likewise.
7826 * include/string.h: Likewise.
7827 * include/sys/stat.h: Likewise.
7828 * include/wctype.h: Likewise.
7829 * intl/l10nflist.c: Likewise.
7830 * libidn/idn-stub.c: Likewise.
7831 * libio/libioP.h: Likewise.
7832 * nptl/libc_multiple_threads.c: Likewise.
7833 * nptl/pthreadP.h: Likewise.
7834 * posix/regex_internal.h: Likewise.
7835 * resolv/res_hconf.c: Likewise.
7836 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7837 * sysdeps/arm/memmove.S: Likewise.
7838 * sysdeps/arm/sysdep.h: Likewise.
7839 * sysdeps/generic/_itoa.h: Likewise.
7840 * sysdeps/generic/symbol-hacks.h: Likewise.
7841 * sysdeps/gnu/errlist.awk: Likewise.
7842 * sysdeps/gnu/errlist.c: Likewise.
7843 * sysdeps/i386/i586/memcpy.S: Likewise.
7844 * sysdeps/i386/i586/memset.S: Likewise.
7845 * sysdeps/i386/i686/memcpy.S: Likewise.
7846 * sysdeps/i386/i686/memmove.S: Likewise.
7847 * sysdeps/i386/i686/mempcpy.S: Likewise.
7848 * sysdeps/i386/i686/memset.S: Likewise.
7849 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7850 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7851 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7852 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7853 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7854 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7855 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7856 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7857 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7859 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7860 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7861 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7862 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7863 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7864 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7865 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7866 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7867 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7868 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7869 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7870 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7871 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7872 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7873 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7875 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7876 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7877 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7878 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7879 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7880 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7882 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7883 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7884 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7885 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7886 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7887 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7888 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7889 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7890 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7891 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7892 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7893 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7894 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7895 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7896 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7897 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7898 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7899 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7900 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7901 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7902 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7903 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7904 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7905 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7906 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7907 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7908 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7909 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7910 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7911 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7912 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7913 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7914 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7915 * sysdeps/posix/closedir.c: Likewise.
7916 * sysdeps/posix/opendir.c: Likewise.
7917 * sysdeps/posix/readdir.c: Likewise.
7918 * sysdeps/posix/rewinddir.c: Likewise.
7919 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7920 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7921 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7922 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7923 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7924 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7925 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7926 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7927 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7928 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7930 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7931 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7932 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7933 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7934 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7935 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7936 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7937 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7938 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7939 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7940 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7941 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7942 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7944 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7945 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7946 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7947 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7954 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7955 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7956 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7957 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7958 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7959 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7960 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7961 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7962 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7963 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7964 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7965 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7966 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7967 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7968 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7969 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7970 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7971 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7972 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7973 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7974 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7975 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7976 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7977 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7978 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7979 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7980 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7981 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7982 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7983 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7984 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7985 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7986 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7987 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7988 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7989 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7990 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7991 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7992 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7993 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7994 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7995 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7996 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7997 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7998 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7999 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8000 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8001 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8002 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8003 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8004 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8005 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8006 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8007 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8008 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8009 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8010 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8011 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8012 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8013 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8015 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8017 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8018 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8020 * sysdeps/unix/alpha/sysdep.S: Likewise.
8021 * sysdeps/unix/alpha/sysdep.h: Likewise.
8022 * sysdeps/unix/make-syscalls.sh: Likewise.
8023 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8024 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8025 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8026 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8027 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8028 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8029 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8030 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8031 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8032 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8033 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8034 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8035 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8036 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8037 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8038 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8039 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8040 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8041 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8042 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8043 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8044 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8045 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8046 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8047 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8048 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8049 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8052 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8053 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8057 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8060 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8061 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8062 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8063 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8065 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8066 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8070 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8071 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8073 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8074 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8075 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8076 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8077 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8078 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8079 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8081 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8082 * sysdeps/x86_64/memcpy.S: Likewise.
8083 * sysdeps/x86_64/memmove.c: Likewise.
8084 * sysdeps/x86_64/memset.S: Likewise.
8085 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8086 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8087 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8088 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8089 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8091 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8092 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8093 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8094 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8095 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8096 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8097 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8098 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8099 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8100 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8101 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8102 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8103 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8104 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8105 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8106 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8107 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8108 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8109 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8110 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8111 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8112 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8113 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8114 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8115 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8116 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8117 * sysdeps/x86_64/strcmp.S: Likewise.
8119 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8121 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8122 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8123 * elf/rtld-Rules: Likewise.
8124 * elf/setup-vdso.h: Likewise.
8125 * include/assert.h: Likewise.
8126 * include/bits/stdlib-float.h: Likewise.
8127 * include/errno.h: Likewise.
8128 * include/sys/stat.h: Likewise.
8129 * include/unistd.h: Likewise.
8130 * sysdeps/aarch64/setjmp.S: Likewise.
8131 * sysdeps/alpha/setjmp.S: Likewise.
8132 * sysdeps/arm/__longjmp.S: Likewise.
8133 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8134 * sysdeps/arm/setjmp.S: Likewise.
8135 * sysdeps/arm/sysdep.h: Likewise.
8136 * sysdeps/generic/_itoa.h: Likewise.
8137 * sysdeps/generic/dl-sysdep.h: Likewise.
8138 * sysdeps/generic/ldsodefs.h: Likewise.
8139 * sysdeps/i386/dl-tls.h: Likewise.
8140 * sysdeps/i386/setjmp.S: Likewise.
8141 * sysdeps/m68k/setjmp.c: Likewise.
8142 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8143 * sysdeps/mach/hurd/opendir.c: Likewise.
8144 * sysdeps/posix/getcwd.c: Likewise.
8145 * sysdeps/posix/opendir.c: Likewise.
8146 * sysdeps/posix/profil.c: Likewise.
8147 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8148 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8149 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8150 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8151 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8152 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8153 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8154 * sysdeps/s390/dl-tls.h: Likewise.
8155 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8156 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8157 * sysdeps/sh/sh3/setjmp.S: Likewise.
8158 * sysdeps/sh/sh4/setjmp.S: Likewise.
8159 * sysdeps/unix/alpha/sysdep.h: Likewise.
8160 * sysdeps/unix/arm/sysdep.S: Likewise.
8161 * sysdeps/unix/i386/sysdep.S: Likewise.
8162 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8163 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8164 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8165 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8167 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8168 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8169 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8170 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8171 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8172 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8173 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8174 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8177 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8179 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8180 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8181 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8182 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8183 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8184 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8185 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8186 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8187 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8190 * sysdeps/x86_64/setjmp.S: Likewise.
8192 * include/math.h: Use IS_IN instead of IS_IN_libm.
8193 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8205 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8213 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8214 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8215 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8216 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8217 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8218 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8220 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8221 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8222 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8223 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8224 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8225 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8236 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8237 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8238 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8239 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8240 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8241 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8247 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8248 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8249 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8250 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8251 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8252 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8253 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8254 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8255 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8256 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8257 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8259 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8260 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8262 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8264 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8265 * nptl/pthreadP.h: Likewise.
8266 * nptl_db/structs.def: Likewise.
8267 * sysdeps/arm/sysdep.h: Likewise.
8268 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8269 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8270 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8271 * sysdeps/unix/alpha/sysdep.h: Likewise.
8272 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8274 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8275 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8276 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8277 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8278 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8279 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8280 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8281 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8282 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8283 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8284 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8285 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8290 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8293 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8294 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8295 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8296 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8297 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8299 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8300 * nptl/pthreadP.h: Likewise.
8301 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8302 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8303 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8304 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8305 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8306 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8307 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8308 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8309 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8310 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8311 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8312 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8319 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8322 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8323 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8324 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8326 * dlfcn/dladdr.c: Use IS_IN.
8327 * dlfcn/dladdr1.c: Likewise.
8328 * dlfcn/dlclose.c: Likewise.
8329 * dlfcn/dlerror.c: Likewise.
8330 * dlfcn/dlinfo.c: Likewise.
8331 * dlfcn/dlmopen.c: Likewise.
8332 * dlfcn/dlopen.c: Likewise.
8333 * dlfcn/dlsym.c: Likewise.
8334 * dlfcn/dlvsym.c: Likewise.
8336 * include/ifaddrs.h: Use IS_IN.
8337 * inet/check_pf.c: Likewise.
8338 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8339 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8341 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8343 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8344 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8346 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8347 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8350 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8352 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8353 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8354 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8355 * include/libc-symbols.h (IS_IN_LIB): New macro.
8356 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8357 * include/netdb.h: Likewise.
8358 * include/stap-probe.h: Remove all uses of IN_LIB.
8360 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8361 instead of IN_MODULE.
8362 * include/libc-symbols.h (IN_MODULE): Define using
8364 (PASTE_NAME, PASTE_NAME1): New macros.
8365 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8367 (STAP_PROBE_ASM): Likewise.
8369 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8371 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8372 __mach_init in dlopened libc.
8374 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8376 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8377 * sysdeps/arm/preconfigure: Regenerate.
8379 2014-11-21 Roland McGrath <roland@hack.frob.com>
8381 * nptl/pthread_create.c (__pthread_create_2_1): Set
8382 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8383 when copying values from IATTR into PD.
8385 2014-11-21 Will Newton <will.newton@linaro.org>
8386 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8388 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8389 Refactor inline-asm. Also add comment.
8391 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8392 ElfW macro instead of hardcoded Elf64 types.
8393 (la_aarch64_gnu_pltenter): Likewise.
8394 * sysdeps/aarch64/dl-machine.h
8395 (elf_machine_runtime_setup): Use ElfW(Addr).
8397 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8398 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8399 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8400 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8401 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8402 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8403 (R_AARCH64_TLS_DTPMOD): This.
8404 (R_AARCH64_TLS_DTPREL64): Rename to ...
8405 (R_AARCH64_TLS_DTPREL): This.
8406 (R_AARCH64_TLS_TPREL64): Rename to ...
8407 (R_AARCH64_TLS_TPREL): This.
8408 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8409 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8410 R_AARCH64_TLS_TPREL64.
8411 (elf_machine_rela): Likewise.
8413 2014-11-21 Torvald Riegel <triegel@redhat.com>
8415 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8416 by setting it to 0. 64b atomics are not supported currently.
8418 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8421 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8422 search domain names.
8424 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8428 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8430 * posix/tst-getaddrinfo5.c: New.
8431 * posix/Makefile (tests): Add it.
8433 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8437 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8438 after parsing line but before break_if_match.
8439 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8440 if there is a protocol mismatch.
8442 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8444 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8445 because the potential race is on the user-supplied stream.
8447 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8449 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8450 string literal if not passed a buffer.
8451 * manual/job.texi (ctermid): Update reasoning, note deviation
8452 from posix, suggest mtasurace when not passed a buffer, for
8453 future non-preliminary safety notes.
8455 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8457 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8458 of not passing it a buffer.
8459 Reported by Peng Haitao.
8461 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8463 * manual/Makefile ($(objpfx)stamp-summary): Require
8464 check-safety.sh to pass.
8465 * manual/check-safety.sh: Wish for verification that every
8466 @deftypefn and @deftypefun is followed by a @safety remark.
8468 2014-11-20 Roland McGrath <roland@hack.frob.com>
8470 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8472 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8473 PTHREAD_CANCEL_ASYNCHRONOUS.
8474 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8477 * nptl/default-sched.h: New file.
8478 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8479 * nptl/pthread_create.c: Include it.
8480 (__pthread_create_2_1): Use collect_default_sched instead of making
8481 Linux syscalls here directly.
8483 2014-11-20 Torvald Riegel <triegel@redhat.com>
8485 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8486 __pthread_once): Use C11 atomics.
8488 2014-11-20 Torvald Riegel <triegel@redhat.com>
8490 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8492 2014-11-20 Torvald Riegel <triegel@redhat.com>
8494 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8495 atomic_thread_fence_acquire, atomic_thread_fence_release,
8496 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8497 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8498 atomic_compare_exchange_weak_relaxed,
8499 atomic_compare_exchange_weak_acquire,
8500 atomic_compare_exchange_weak_release,
8501 atomic_exchange_acquire, atomic_exchange_release,
8502 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8503 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8504 atomic_fetch_and_acquire,
8505 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8507 2014-11-20 Torvald Riegel <triegel@redhat.com>
8509 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8510 USE_ATOMIC_COMPILER_BUILTINS): Define.
8511 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8512 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8513 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8514 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8515 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8516 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8517 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8518 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8519 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8520 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8521 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8522 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8523 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8524 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8525 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8526 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8527 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8528 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8529 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8530 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8531 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8533 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8534 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8535 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8536 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8537 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8538 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8539 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8540 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8541 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8542 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8543 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8544 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8545 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8546 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8547 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8548 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8549 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8550 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8552 2014-11-19 Roland McGrath <roland@hack.frob.com>
8554 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8555 the sched_priority value here. It was already checked when the user
8556 called pthread_attr_setschedparam.
8558 * nptl/tst-bad-schedattr.c: New file.
8559 * nptl/Makefile (tests): Add it.
8561 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8562 Florian Weimer <fweimer@redhat.com>
8563 Joseph Myers <joseph@codesourcery.com>
8564 Adam Conrad <adconrad@0c3.net>
8565 Andreas Schwab <schwab@suse.de>
8566 Brooks <bmoses@google.com>
8569 * wordexp-test.c (__dso_handle): Add prototype.
8570 (__register_atfork): Likewise.
8571 (__app_register_atfork): New function.
8572 (registered_forks): New global.
8573 (register_fork): New function.
8574 (test_case): Add 3 new tests for WRDE_CMDSUB.
8575 (main): Call __app_register_atfork.
8576 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8577 fork count is non-zero fail the test.
8578 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8580 (parse_dollars): Remove check for WRDE_NOCMD.
8581 (parse_dquote): Likewise.
8583 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8585 * Makeconfig (built-modules): List non-library modules to be
8587 (module-cppflags): Include libc-modules.h for
8588 everything except shlib-versions.v.i.
8590 (before-compile): Add libc-modules.h.
8591 ($(common-objpfx)libc-modules.h,
8592 $(common-objpfx)libc-modules.stmp): New targets.
8593 (common-generated): Add libc-modules.h and libc-modules.stmp.
8594 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8595 * include/libc-symbols.h: Don't include libc-modules.h.
8596 * include/libc-modules.h: Remove file.
8597 * scripts/gen-libc-modules.awk: New script to generate
8599 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8600 Depend on libc-modules.stmp.
8602 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8604 * Makeconfig (in-module): Get value of libof set for the
8606 (CPPFLAGS): Use $(in-module).
8607 * Makerules: Don't suffix routine names for nonlib.
8608 * include/libc-modules.h: New file.
8609 * include/libc-symbols.h: Include libc-modules.h
8610 (IS_IN): New macro to replace IS_IN_* macros.
8611 * elf/Makefile: Set libof-* for each routine.
8612 * elf/rtld-Rules: Likewise.
8613 * extra-modules.mk: Likewise.
8614 * iconv/Makefile: Likewise.
8615 * iconvdata/Makefile: Likewise.
8616 * locale/Makefile: Likewise.
8617 * malloc/Makefile: Likewise.
8618 * nss/Makefile: Likewise.
8619 * sysdeps/gnu/Makefile: Likewise.
8620 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8621 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8622 * sysdeps/s390/s390-64/Makefile: Likewise.
8623 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8624 CPPFLAGS for nscd instead of nonlib.
8626 2014-11-18 Roland McGrath <roland@hack.frob.com>
8628 * nptl/createthread.c: New file.
8630 * nptl/createthread.c: Moved ...
8631 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8633 * nptl/createthread.c: Add proper top-line comment.
8634 (do_clone): Folded into ...
8635 (create_thread): ... here. Take new arguments STOPPED_START and
8636 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8637 increment __nptl_threads, do event-reporting logic, do
8638 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8639 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8640 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8641 just send SIGCANCEL.
8642 * nptl/pthread_create.c: Forward-declare create_thread before
8643 including createthread.c.
8644 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8645 declaration, and new macro START_THREAD_SELF to replace argument.
8646 Remove return statement.
8647 (report_thread_creation): New function.
8648 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8649 synchronization logic, and __nptl_nthreads increment here, around
8650 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8651 PD->parent_cancelhandling here, before create_thread. When
8652 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8653 __deallocate_stack, and ENOMEM translation here.
8655 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8658 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8659 (mptwo): Rename to __mptwo.
8660 (__inv): Use __mptwo instead of mptwo.
8661 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8662 (mptwo): Rename to __mptwo.
8663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8664 of mpone and __mptwo instead of mptwo.
8665 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8668 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8669 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8670 of mpone and __mptwo instead of mptwo.
8671 (__mpranred): Use __mpone instead of mpone.
8672 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8674 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8675 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8676 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8677 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8678 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8679 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8680 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8681 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8682 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8683 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8684 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8685 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8686 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8687 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8688 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8689 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8690 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8691 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8692 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8694 2014-11-18 Tom de Vries <tom@codesoucery.com>
8696 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8697 replace BSD Handler xref with BSD Signal Handling.
8699 2014-11-17 Richard Henderson <rth@redhat.com>
8701 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8702 (_FP_PACK_RAW_2): Remove.
8703 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8704 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8705 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8706 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8707 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8708 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8709 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8710 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8711 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8712 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8713 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8714 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8715 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8716 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8717 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8718 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8720 2014-11-14 Roland McGrath <roland@hack.frob.com>
8722 * signal/signal.h [__USE_MISC]
8723 (struct sigvec): Remove type.
8724 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8725 (sigvec): Remove declaration.
8726 * sysdeps/posix/sigvec.c: Moved ...
8727 * signal/sigvec.c: ... here, replacing old file.
8728 (struct sigvec): New type, copied from old signal.h definition.
8729 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8730 (__sigvec): Convert definition to prototype.
8731 (sigvec): Replace weak_alias with compat_symbol.
8732 * signal/Versions (libc: GLIBC_2.21): New version set.
8733 * include/signal.h: Remove __sigvec declaration.
8734 * sysdeps/unix/bsd/sigvec.c: Remove file.
8735 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8736 * manual/signal.texi (BSD Handler): Remove subsection.
8737 Move siginterrupt up to ...
8738 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8739 (Blocking in BSD): Fold subsection into its parent.
8740 * NEWS: Mention sigvec removal.
8742 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8744 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8745 (DLA_FMS): Make definition conditional only on [__FMA4__].
8746 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8749 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8750 Make definition conditional only on [PROF].
8751 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8753 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8754 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8756 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8758 * include/signal.h (__sigpause): Move declaration above call to
8760 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8762 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8763 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8765 2014-11-14 David S. Miller <davem@davemloft.net>
8767 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8768 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8770 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8772 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8773 * configure: Regenerated.
8774 * manual/install.texi (Tools for Compilation): Document a
8775 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8776 compiler verified to work.
8777 * INSTALL: Regenerated.
8779 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8780 redeclare with asm name.
8781 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8782 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8783 including <string.h>.
8784 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8785 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8786 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8787 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8788 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8789 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8790 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8792 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8794 * stdlib/strtol.c (__strtol): Use prototype definition.
8797 * stdlib/strtol.c (SYM__): New macro.
8799 (__strtol): Likewise.
8800 (strtol): Rename to __strtol and define as weak alias of
8801 __strtol. Use libc_hidden_weak.
8803 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8805 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8806 Use numbered labels in inline assembly.
8808 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8810 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8811 Add setjmp LIBC_PROBE.
8812 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8814 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8815 Add longjmp, longjmp_target LIBC_PROBE.
8816 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8819 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8821 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8822 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8823 to get rid of unused variable warning.
8825 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8827 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8828 Check for unwind_backtrace == NULL only in SHARED case.
8829 (__backchain_backtrace): Compile only in SHARED case.
8830 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8832 (__backchain_backtrace): Declare as static.
8834 2014-11-12 Roland McGrath <roland@hack.frob.com>
8836 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8837 (__libc_multiple_threads_ptr): Variable moved ...
8838 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8840 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8842 * conform/GlibcConform.pm: New file.
8843 * conform/conformtest.pl: Use GlibcConform module.
8844 * conform/linknamespace.pl: New file.
8845 * conform/list-header-symbols.pl: Likewise.
8846 * conform/Makefile (linknamespace-symlists-base): New variable.
8847 (linknamespace-symlists-tests): Likewise.
8848 (linknamespace-header-base): Likewise.
8849 (linknamespace-header-tests): Likewise.
8850 (tests-special): Add new tests.
8851 ($(linknamespace-symlists-tests)): New rule.
8852 (linknamespace-libs): New variable.
8853 ($(objpfx)symlist-stdlibs): New rule.
8854 ($(linknamespace-header-tests)): Likewise.
8855 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8856 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8857 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8858 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8859 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8860 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8861 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8862 (test-xfail-ISO/math.h/linknamespace): Likewise.
8863 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8864 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8865 (test-xfail-ISO/time.h/linknamespace): Likewise.
8866 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8867 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8868 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8869 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8870 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8871 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8872 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8873 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8874 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8875 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8876 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8877 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8878 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8879 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8880 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8881 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8882 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8883 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8884 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8885 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8886 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8887 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8888 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8889 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8890 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8891 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8892 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8893 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8894 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8895 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8896 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8897 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8898 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8899 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8900 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8901 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8902 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8903 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8904 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8905 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8906 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8907 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8908 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8909 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8910 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8911 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8912 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8913 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8914 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8915 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8916 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8917 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8918 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8919 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8920 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8921 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8922 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8923 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8924 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8925 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8926 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8927 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8928 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8929 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8930 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8931 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8932 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8933 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8934 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8935 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8936 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8937 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8938 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8939 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8940 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8941 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8942 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8943 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8944 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8945 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8946 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8947 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8948 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8949 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8950 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8951 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8952 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8953 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8954 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8955 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8956 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8957 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8958 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8959 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8960 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8961 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8962 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8963 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8964 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8965 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8966 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8967 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8968 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8969 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8970 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8971 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8972 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8973 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8974 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8975 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8976 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8977 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8978 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8979 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8980 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8981 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8982 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8983 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8984 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8985 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8986 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8987 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8988 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8989 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8990 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8991 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8992 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8993 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8994 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8995 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8996 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8997 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8998 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8999 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9000 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9001 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9002 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9003 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9004 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9005 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9006 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9007 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9008 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9009 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9010 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9011 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9012 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9013 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9014 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9015 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9018 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9022 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9023 (memmem): Rename to __memmem and define as weak alias of
9024 __memmem. Use libc_hidden_weak.
9025 (__memmem): Use libc_hidden_def.
9026 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9027 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9031 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9032 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9033 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9034 and define as weak alias of __fgets_unlocked. Use
9036 (__fgets_unlocked): Use libc_hidden_def.
9037 * include/stdio.h (__fgets_unlocked): Declare. Use
9039 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9040 __fgets_unlocked instead of fgets_unlocked.
9041 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9042 (GET_NPROCS_CONF_PARSER): Likewise.
9043 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9044 (GET_NPROCS_CONF_PARSER): Likewise.
9047 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9048 weak alias of __wmemset. Use libc_hidden_weak.
9049 (__wmemset): Use libc_hidden_def.
9050 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9051 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9055 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9056 with asm name __mempcpy.
9057 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9060 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9061 and define as weak alias of __rawmemchr.
9062 (__rawmemchr): Do not define as strong alias of rawmemchr.
9065 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9067 (qsort): Call __qsort_r instead of qsort_r.
9068 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9069 (__qsort_r): Declare. Call libc_hidden_proto.
9070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9072 * nscd/gai.c (__qsort_r): Define to qsort_r.
9073 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9074 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9075 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9078 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9079 define as weak alias of __malloc_info.
9082 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9083 as weak alias of __rewinddir. Don't use libc_hidden_def.
9084 (__rewinddir): Use libc_hidden_def.
9085 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9086 as weak alias of __rewinddir. Don't use libc_hidden_def.
9087 (__rewinddir): Use libc_hidden_def.
9088 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9089 weak alias of __rewinddir. Don't use libc_hidden_def.
9090 (__rewinddir): Use libc_hidden_def.
9091 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9092 (__rewinddir): Use libc_hidden_proto.
9093 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9095 (__getcwd): Use __rewinddir instead of rewinddir.
9098 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9099 alias of __fileno. Use libc_hidden_weak.
9100 (__fileno): Use libc_hidden_def.
9101 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9102 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9104 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9106 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9107 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9109 (fread_unlocked): Don't use libc_hidden_ver.
9110 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9111 and define as weak alias of __fread_unlocked. Don't use
9113 (__fread_unlocked): Use libc_hidden_def.
9114 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9115 (ftello): Don't use libc_hidden_proto.
9116 (__ftello): Declare. Use libc_hidden_proto.
9117 (fread_unlocked): Don't use libc_hidden_proto.
9118 (__fread_unlocked): Declare. Use libc_hidden_proto.
9119 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9120 and __ftello instead of fileno, fread_unlocked and ftello.
9122 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9124 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9126 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9128 (_dl_start_user): Likewise.
9129 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9131 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9132 Siddhesh Poyarekar <siddhesh@redhat.com>
9134 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9135 Move argv and envp down instead of moving argc up.
9136 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9138 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9141 * test-skeleton.c (main): Return successful if one of
9142 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9143 * string/tst-strcoll-overflow.c: Define expected status.
9145 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9148 * locale/iso-639.def: Define Bhili and Tulu language codes.
9150 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9152 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9154 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9157 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9159 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9161 * configure.ac: Updated check of minimal required version to
9163 * manual/install.texi (Tools for Compilation): Updated version
9165 * configure: Regenerated.
9166 * INSTALL: Likewise.
9168 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9170 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9173 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9175 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9176 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9177 (__waitpid): Don't define as alias. Use libc_hidden_def not
9179 (waitpid): Define as alias of __waitpid.
9180 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9182 (__waitpid): Don't define as alias. Use libc_hidden_def not
9184 (waitpid): Define as alias of __waitpid.
9185 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9186 __libc_waitpid alias.
9187 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9188 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9190 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9191 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9192 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9194 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9196 (__waitpid): Don't define as alias. Use libc_hidden_def not
9198 (waitpid): Define as alias of __waitpid.
9200 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9202 * manual/llio.texi: Add comment that write safety has been
9205 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9206 (localplt-build-dso): Add elf/ld.so.
9207 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9208 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9211 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9216 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9217 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9218 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9219 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9220 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9221 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9222 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9223 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9224 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9225 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9226 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9228 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9231 * include/libc-symbols.h (INTUSE): Remove macro.
9233 (INTVARDEF): Likewise.
9234 (_INTVARDEF): Likewise.
9235 (INTDEF2): Likewise.
9236 (INTVARDEF2): Likewise.
9237 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9238 rtld_hidden_def instead of INTVARDEF.
9239 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9240 (_dl_starting_up_internal): Remove declaration.
9241 (_dl_starting_up): Use rtld_hidden_proto.
9242 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9244 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9245 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9247 * elf/dl-writev.h (_dl_writev): Likewise.
9248 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9249 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9250 _dl_starting_up_internal.
9252 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9254 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9257 2014-11-05 Will Newton <will.newton@linaro.org>
9259 * benchtests/Makefile: (bench-malloc): Add malloc thread
9260 scalability benchmark.
9261 * benchtests/bench-malloc-threads.c: New file.
9263 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9265 * sysdeps/aarch64/strchrnul.S: New file.
9267 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9269 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9271 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9277 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9279 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9282 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9284 * catgets/test-gencat.c: Use test-skeleton.c.
9285 * catgets/tst-catgets.c: Likewise.
9286 * csu/tst-empty.c: Likewise.
9287 * elf/tst-audit2.c: Likewise.
9288 * elf/tst-global1.c: Likewise.
9289 * elf/tst-pathopt.c: Likewise.
9290 * elf/tst-piemod1.c: Likewise.
9291 * elf/tst-tls10.c: Likewise.
9292 * elf/tst-tls11.c: Likewise.
9293 * elf/tst-tls12.c: Likewise.
9294 * gnulib/tst-gcc.c: Likewise.
9295 * iconvdata/tst-e2big.c: Likewise.
9296 * iconvdata/tst-loading.c: Likewise.
9297 * iconv/tst-iconv1.c: Likewise.
9298 * iconv/tst-iconv2.c: Likewise.
9299 * inet/test-inet6_opt.c: Likewise.
9300 * inet/tst-gethnm.c: Likewise.
9301 * inet/tst-network.c: Likewise.
9302 * inet/tst-ntoa.c: Likewise.
9303 * intl/tst-codeset.c: Likewise.
9304 * intl/tst-gettext2.c: Likewise.
9305 * intl/tst-gettext3.c: Likewise.
9306 * intl/tst-ngettext.c: Likewise.
9307 * intl/tst-translit.c: Likewise.
9308 * io/test-stat.c: Likewise.
9309 * libio/test-fmemopen.c: Likewise.
9310 * libio/tst-freopen.c: Likewise.
9311 * libio/tst-sscanf.c: Likewise.
9312 * libio/tst-ungetwc1.c: Likewise.
9313 * libio/tst-ungetwc2.c: Likewise.
9314 * libio/tst-widetext.c: Likewise.
9315 * localedata/tst-ctype.c: Likewise.
9316 * localedata/tst-digits.c: Likewise.
9317 * localedata/tst-leaks.c: Likewise.
9318 * localedata/tst-mbswcs1.c: Likewise.
9319 * localedata/tst-mbswcs2.c: Likewise.
9320 * localedata/tst-mbswcs3.c: Likewise.
9321 * localedata/tst-mbswcs4.c: Likewise.
9322 * localedata/tst-mbswcs5.c: Likewise.
9323 * localedata/tst-setlocale.c: Likewise.
9324 * localedata/tst-trans.c: Likewise.
9325 * localedata/tst-wctype.c: Likewise.
9326 * localedata/tst-xlocale1.c: Likewise.
9327 * login/tst-grantpt.c: Likewise.
9328 * malloc/tst-calloc.c: Likewise.
9329 * malloc/tst-malloc.c: Likewise.
9330 * malloc/tst-mallocstate.c: Likewise.
9331 * malloc/tst-mcheck.c: Likewise.
9332 * malloc/tst-mtrace.c: Likewise.
9333 * malloc/tst-obstack.c: Likewise.
9334 * math/atest-exp2.c: Likewise.
9335 * math/atest-exp.c: Likewise.
9336 * math/atest-sincos.c: Likewise.
9337 * math/test-matherr.c: Likewise.
9338 * math/test-misc.c: Likewise.
9339 * math/test-powl.c: Likewise.
9340 * math/tst-definitions.c: Likewise.
9341 * misc/tst-dirname.c: Likewise.
9342 * misc/tst-efgcvt.c: Likewise.
9343 * misc/tst-fdset.c: Likewise.
9344 * misc/tst-hsearch.c: Likewise.
9345 * misc/tst-mntent2.c: Likewise.
9346 * nptl/tst-sem7.c: Likewise.
9347 * nptl/tst-sem8.c: Likewise.
9348 * nptl/tst-sem9.c: Likewise.
9349 * nss/test-netdb.c: Likewise.
9350 * posix/tst-fnmatch.c: Likewise.
9351 * posix/tst-getlogin.c: Likewise.
9352 * posix/tst-gnuglob.c: Likewise.
9353 * posix/tst-mmap.c: Likewise.
9354 * pwd/tst-getpw.c: Likewise.
9355 * resolv/tst-inet_ntop.c: Likewise.
9356 * rt/tst-timer.c: Likewise.
9357 * stdio-common/test-fseek.c: Likewise.
9358 * stdio-common/test-popen.c: Likewise.
9359 * stdio-common/test-vfprintf.c: Likewise.
9360 * stdio-common/tst-cookie.c: Likewise.
9361 * stdio-common/tst-fileno.c: Likewise.
9362 * stdio-common/tst-gets.c: Likewise.
9363 * stdio-common/tst-obprintf.c: Likewise.
9364 * stdio-common/tst-perror.c: Likewise.
9365 * stdio-common/tst-sprintf2.c: Likewise.
9366 * stdio-common/tst-sprintf3.c: Likewise.
9367 * stdio-common/tst-sprintf.c: Likewise.
9368 * stdio-common/tst-swprintf.c: Likewise.
9369 * stdio-common/tst-tmpnam.c: Likewise.
9370 * stdio-common/tst-unbputc.c: Likewise.
9371 * stdio-common/tst-wc-printf.c: Likewise.
9372 * stdlib/tst-environ.c: Likewise.
9373 * stdlib/tst-fmtmsg.c: Likewise.
9374 * stdlib/tst-limits.c: Likewise.
9375 * stdlib/tst-rand48-2.c: Likewise.
9376 * stdlib/tst-rand48.c: Likewise.
9377 * stdlib/tst-random2.c: Likewise.
9378 * stdlib/tst-random.c: Likewise.
9379 * stdlib/tst-strtol.c: Likewise.
9380 * stdlib/tst-strtoll.c: Likewise.
9381 * stdlib/tst-tls-atexit.c: Likewise.
9382 * stdlib/tst-xpg-basename.c: Likewise.
9383 * string/test-ffs.c: Likewise.
9384 * string/tst-bswap.c: Likewise.
9385 * string/tst-inlcall.c: Likewise.
9386 * string/tst-strtok.c: Likewise.
9387 * string/tst-strxfrm.c: Likewise.
9388 * sysdeps/x86_64/tst-audit10.c: Likewise.
9389 * sysdeps/x86_64/tst-audit3.c: Likewise.
9390 * sysdeps/x86_64/tst-audit4.c: Likewise.
9391 * sysdeps/x86_64/tst-audit5.c: Likewise.
9392 * time/tst-ftime_l.c: Likewise.
9393 * time/tst-getdate.c: Likewise.
9394 * time/tst-mktime3.c: Likewise.
9395 * time/tst-mktime.c: Likewise.
9396 * time/tst-posixtz.c: Likewise.
9397 * time/tst-strptime2.c: Likewise.
9398 * time/tst-strptime3.c: Likewise.
9399 * wcsmbs/tst-btowc.c: Likewise.
9400 * wcsmbs/tst-mbrtowc.c: Likewise.
9401 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9402 * wcsmbs/tst-wchar-h.c: Likewise.
9403 * wcsmbs/tst-wcpncpy.c: Likewise.
9404 * wcsmbs/tst-wcrtomb.c: Likewise.
9405 * wcsmbs/tst-wcsnlen.c: Likewise.
9406 * wcsmbs/tst-wcstof.c: Likewise.
9408 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9411 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9413 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9415 (_dl_mcount): Use rtld_hidden_proto.
9416 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9418 * elf/rtld.c (_rtld_global_ro): Likewise.
9421 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9422 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9423 of _dl_init_internal.
9424 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9425 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9426 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9427 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9428 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9429 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9430 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9431 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9432 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9433 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9434 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9435 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9436 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9437 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9438 * sysdeps/tile/dl-start.S (_start): Likewise.
9439 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9440 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9443 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9444 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9445 (rtld_progname): Make macro definition unconditional.
9446 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9448 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9449 (dl_main): Likewise.
9450 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9451 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9452 instead of _dl_argv_internal.
9453 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9454 __GI__dl_argv instead of INTUSE(_dl_argv).
9455 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9456 __GI__dl_argv instead of _dl_argv_internal.
9458 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9459 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9461 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9462 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9464 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9465 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9467 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9468 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9470 2014-11-04 Andreas Schwab <schwab@suse.de>
9472 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9474 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9476 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9477 mtvsrd instruction in binary form.
9479 2014-11-03 Andreas Schwab <schwab@suse.de>
9482 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9483 for less than MB_LEN_MAX use a local buffer of that size.
9484 * libio/tst-fputws.c: New file.
9485 * libio/Makefile (tests): Add tst-fputws.
9487 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9489 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9490 the size of the fpu_fr.fpu_dregs[] array.
9492 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9494 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9495 (__nanosleep): Do not define as alias.
9496 (nanosleep): Define as alias of __nanosleep.
9497 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9498 __libc_nanosleep name.
9500 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9502 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9503 install.texi in comment.
9505 2014-10-31 Torvald Riegel <triegel@redhat.com>
9507 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9508 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9509 ... add here and use lwsync or sync ...
9510 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9511 ... and add here using lwsync.
9513 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9515 * elf/dl-machine-reject-phdr.h: New file.
9516 * elf/dl-load.c: #include that.
9517 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9518 if that returned true.
9520 2014-10-31 Roland McGrath <roland@hack.frob.com>
9523 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9524 gen-as-const-headers chunk. Add a big scare comment after the last
9525 safe place to touch before-compile.
9527 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9529 * manual/install.texi (Tools for Compilation): Update autoconf
9530 version requirements.
9531 * INSTALL: Regenerated.
9533 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9534 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9535 (__libc_pselect): Likewise.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9543 2014-10-31 Torvald Riegel <triegel@redhat.com>
9545 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9546 correct barrier instruction.
9547 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9549 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9552 2014-10-30 Roland McGrath <roland@hack.frob.com>
9554 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9555 after defining inlines. Instead, just use parens to defeat macro
9556 expansion of __isctype in its declaration.
9558 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9560 * include/sys/uio.h (__libc_readv): Remove declaration.
9561 (__libc_writev): Likewise.
9562 * misc/readv.c (__libc_readv): Rename to __readv.
9563 (__readv): Do not define as alias.
9564 (readv): Define as alias of __readv.
9565 * misc/writev.c (__libc_writev): Rename to __writev.
9566 (__writev): Do not define as alias.
9567 (writev): Define as alias of __writev.
9568 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9569 (__readv): Do not define as alias.
9570 (readv): Define unconditionally as alias of __readv.
9571 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9572 (__writev): Do not define as alias.
9573 (writev): Define unconditionally as alias of __writev.
9574 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9576 (writev): Do not define __libc_writev name.
9578 2014-10-30 Roland McGrath <roland@hack.frob.com>
9580 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9581 (convert_charseq): New function, broken out of ...
9582 (use_from_charmap): ... here. Call it.
9583 (use_to_charmap): Use convert_charseq and free instead of duplicating
9584 its code with a variable-length stack struct.
9586 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9588 * include/fcntl.h (__libc_creat): Remove declaration.
9589 * io/creat.c (__libc_creat): Rename to creat.
9590 (creat): Do not define as alias.
9591 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9592 of creat instead of __libc_creat.
9593 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9595 (creat): Do not define as alias.
9596 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9598 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9603 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9605 * manual/llio.texi: Add comments discussing why write() may be
9606 considered MT-unsafe on Linux.
9608 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9610 * dl-load.c (local_strdup): Remove.
9611 (expand_dynamic_string_token): Use __strdup.
9612 (decompose_rpath): Likewise.
9613 (_dl_map_object): Likewise.
9615 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9618 * sysdeps/generic/unwind-dw2-fde.c
9619 (__register_frame_info_bases_internal): Do not declare.
9620 (__register_frame_info_table_bases_internal): Likewise.
9621 (__deregister_frame_info_bases_internal): Likewise.
9622 (__register_frame_info_bases): Declare and use hidden_proto before
9623 definition. Use hidden_def instead of INTDEF.
9624 (__register_frame_info_table_bases): Likewise.
9625 (__deregister_frame_info_bases): Likewise.
9626 (__register_frame_info): Do not use INTUSE.
9627 (__register_frame): Likewise.
9628 (__register_frame_info_table): Likewise.
9629 (__register_frame_table): Likewise.
9630 (__deregister_frame_info): Likewise.
9631 (__deregister_frame): Likewise.
9633 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9635 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9636 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9638 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9640 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9643 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9646 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9647 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9648 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9649 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9650 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9651 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9652 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9653 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9654 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9655 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9656 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9657 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9658 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9660 (setfsuid): Likewise.
9661 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9662 (setfsuid): Likewise.
9663 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9664 (setfsuid): Likewise.
9665 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9667 (setfsuid): Likewise.
9668 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9669 (setfsuid): Likewise.
9670 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9672 (setfsuid): Likewise.
9674 2014-10-27 Andreas Schwab <schwab@suse.de>
9677 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9678 check for Slow_SSE4_2 feature bit.
9679 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9680 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9681 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9682 Likewise. Fix check for Fast_Unaligned_Load feature bit.
9684 2014-10-24 Roland McGrath <roland@hack.frob.com>
9686 * configure.ac: Validate compiler version with a empirical test of
9687 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9689 * configure: Regenerated.
9691 * inet/htons.c (htons): Prototypify.
9692 * inet/htonl.c (htonl): Likewise.
9694 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9696 * string/strncat.c (strncat): Improve performance by using strlen.
9698 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9700 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9702 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9704 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9705 Call libc_fetestexcept_aarch64.
9707 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9709 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9710 Call libc_feholdexcept_aarch64.
9712 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9714 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9715 Call get_rounding_mode.
9717 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9719 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9722 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9724 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9727 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9730 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9731 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9732 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9733 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9734 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9735 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9736 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9737 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9738 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9739 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9740 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9741 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9742 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9743 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9744 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9745 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9746 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9747 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9748 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9749 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9750 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9751 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9752 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9753 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9754 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9755 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9756 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9757 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9758 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9759 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9760 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9761 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9762 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9763 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9764 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9765 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9766 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9767 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9768 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9769 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9770 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9772 (geteuid): Likewise.
9775 (getresgid): Likewise.
9776 (getresuid): Likewise.
9777 (getgroups): Likewise.
9778 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9779 (geteuid): Likewise.
9782 (getresgid): Likewise.
9783 (getresuid): Likewise.
9784 (getgroups): Likewise.
9785 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9786 (geteuid): Likewise.
9789 (getresgid): Likewise.
9790 (getresuid): Likewise.
9791 (getgroups): Likewise.
9792 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9794 (geteuid): Likewise.
9797 (getresgid): Likewise.
9798 (getresuid): Likewise.
9799 (getgroups): Likewise.
9800 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9801 (geteuid): Likewise.
9804 (getresgid): Likewise.
9805 (getresuid): Likewise.
9806 (getgroups): Likewise.
9807 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9809 (geteuid): Likewise.
9812 (getgroups): Likewise.
9815 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9816 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9817 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9818 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9819 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9820 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9821 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9822 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9823 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9825 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9826 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9827 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9829 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9832 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9836 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9839 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9844 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9846 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9849 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9851 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9854 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9856 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9857 Remove unused include.
9859 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9861 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9862 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9863 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9864 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9866 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9867 Helge Deller <deller@gmx.de>
9870 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9871 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9872 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9874 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9877 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9878 Remove macro definition.
9879 (__ashrdi3_v_glibc20): Likewise.
9880 (__lshrdi3_v_glibc20): Likewise.
9881 (__cmpdi2_v_glibc20): Likewise.
9882 (__ucmpdi2_v_glibc20): Likewise.
9883 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9884 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9885 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9886 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9887 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9888 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9890 2014-10-22 Roland McGrath <roland@hack.frob.com>
9892 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9893 old GNU extension [0] syntax.
9894 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9895 alloca rather than an array member with variable length.
9896 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9897 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9898 (parse_opt): ... here. Likewise use alloca there.
9899 Validate the -i argument before checking for rootness.
9900 (send_shutdown): New function, broken out of ...
9901 (parse_opt): ... here.
9903 2014-10-22 Roland McGrath <roland@hack.frob.com>
9905 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9906 macro to get at the _rt_local_ro field.
9907 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9908 ([PIC] case) or _dl_hwcap ([!PIC] case).
9909 * sysdeps/arm/setjmp.S: Likewise.
9911 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9912 * sysdeps/arm/configure.ac: New check to define it.
9913 * sysdeps/arm/configure: Regenerated.
9914 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9915 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9916 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9917 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9918 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9919 Use move/movt pair instead of a load.
9920 (LDST_GLOBAL): Macro removed.
9921 (LDR_GLOBAL): New macro replaces it.
9922 (LDR_HIDDEN): New macro.
9923 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9924 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9926 * setjmp/tst-setjmp-static.c: New file.
9927 * setjmp/Makefile (tests): Add it.
9928 (tests-static): New variable.
9930 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9933 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9935 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9938 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9940 2014-10-21 Roland McGrath <roland@hack.frob.com>
9942 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9944 2014-10-20 Roland McGrath <roland@hack.frob.com>
9946 * io/fts.c (dirent_not_directory): New function.
9947 (fts_build): Call it.
9949 2014-10-20 Roland McGrath <roland@hack.frob.com>
9951 * nptl/version.c (__nptl_main): Use normal __write rather than
9953 (banner): Update copyright years.
9955 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9957 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9958 * nptl/pthread_cond_timedwait.c: Likewise.
9959 * nptl/pthread_mutex_timedlock.c: Likewise.
9960 * nptl/sem_timedwait.c: Likewise.
9962 * sysdeps/nptl/bits/libc-lock.h
9963 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9964 (__libc_lock_init_recursive): Return void, not 0.
9965 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9966 (__libc_rwlock_init): Likewise.
9967 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9969 2014-10-20 Torvald Riegel <triegel@redhat.com>
9972 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9973 (__pthread_once_slow): ... here.
9974 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9975 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9977 2014-10-20 Torvald Riegel <triegel@redhat.com>
9980 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9981 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9982 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9983 * nptl/pthread_once.c (__pthread_once): Likewise.
9986 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9989 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9991 (writev): Use __libc_writev as strong name.
9992 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9993 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9995 2014-10-17 Roland McGrath <roland@hack.frob.com>
9997 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9999 * sysdeps/i386/nptl/tls.h
10000 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10001 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10003 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10004 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10005 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10006 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10007 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10008 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10010 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10011 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10013 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10015 (__pthread_mutex_init): ... here. Call it.
10016 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10017 Conditionalize PI cases on [__NR_futex].
10018 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10019 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10020 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10022 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10023 conditional on [SIGSETXID].
10024 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10025 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10026 is defined. Likewise for SIGSETXID.
10027 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10028 Conditionalize definitions on [SIGSETXID].
10029 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10030 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10031 unblocking on [SIGCANCEL].
10033 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10034 [__NR_set_robust_list].
10036 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10038 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10039 (do_compare): Likewise.
10041 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10044 * string/strcoll_l.c: Don't include stdio.h.
10045 (coll_seq): Remove members idxarr and rulearr.
10046 (get_next_seq_cached): Remove function.
10047 (get_next_seq): Likewise.
10048 (get_next_seq_nocache): Rename to get_next_seq.
10049 (do_compare): Remove function.
10050 (do_compare_nocache): Rename to do_compare.
10051 (STRCOLL): Remove weight and rules cache.
10053 2014-10-16 Roland McGrath <roland@hack.frob.com>
10055 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10056 * sysdeps/arm/sfp-machine.h: ... to here.
10057 * sysdeps/arm/Implies: Remove arm/soft-fp.
10059 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10061 * conform/data/sys/utsname.h-data (*_t): Allow.
10062 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10063 [POSIX] (WEXITED): Do not expect constant.
10064 [POSIX] (WSTOPPED): Likewise.
10065 [POSIX] (WNOHANG): Likewise.
10066 [POSIX] (WNOWAIT): Likewise.
10067 [POSIX] (siginfo_t): Do not expect type or elements.
10068 [POSIX] (pid_t): Do not expect type.
10069 [POSIX] (signal.h): Do not allow header.
10070 [POSIX] (sys/resource.h): Likewise.
10071 [POSIX] (si_*): Do not allow pattern.
10072 [POSIX] (W*): Likewise.
10073 [POSIX] (P_*): Likewise.
10074 [POSIX] (BUS_*): Likewise.
10075 [POSIX] (CLD_*): Likewise.
10076 [POSIX] (FPE_*): Likewise.
10077 [POSIX] (ILL_*): Likewise.
10078 [POSIX] (POLL_*): Likewise.
10079 [POSIX] (SEGV_*): Likewise.
10080 [POSIX] (SI_*): Likewise.
10081 [POSIX] (TRAP_*): Likewise.
10082 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10085 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10088 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10089 infinite loop when __recvmsg returns 0.
10091 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10093 * CANCEL-FCT-WAIVE: Remove file.
10094 * CANCEL-FILE-WAIVE: Likewise.
10097 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10098 instead of INTVARDEF.
10099 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10100 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10101 rtld_hidden_data_def instead of INTVARDEF.
10102 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10103 * elf/dl-deps.c (expand_dst): Likewise.
10104 * elf/dl-load.c (_dl_dst_count): Likewise.
10105 (_dl_dst_substitute): Likewise.
10106 (decompose_rpath): Likewise.
10107 (_dl_init_paths): Likewise.
10108 (open_path): Likewise.
10109 (_dl_map_object): Likewise.
10110 * elf/rtld.c (dl_main): Likewise.
10111 (process_dl_audit): Likewise.
10112 (process_envvars): Likewise.
10113 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10114 Remove declaration.
10115 (__libc_enable_secure): Use rtld_hidden_proto.
10117 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10120 (add_path): New function broken out of _dl_rtld_di_serinfo.
10121 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10123 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10125 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10126 parentheses around macro arguments.
10127 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10128 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10129 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10130 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10131 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10132 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10133 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10134 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10135 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10136 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10137 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10138 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10139 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10140 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10141 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10142 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10143 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10144 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10145 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10146 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10147 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10148 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10149 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10150 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10151 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10152 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10153 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10154 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10155 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10156 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10157 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10158 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10159 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10160 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10161 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10162 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10164 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10165 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10166 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10167 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10168 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10169 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10170 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10171 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10172 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10173 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10174 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10175 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10176 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10177 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10178 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10179 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10180 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10181 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10182 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10183 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10184 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10185 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10186 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10187 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10188 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10189 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10190 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10191 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10192 (_FP_FRAC_SRS_1): Likewise.
10193 (_FP_FRAC_CLZ_1): Likewise.
10194 (_FP_MUL_MEAT_1_imm): Likewise.
10195 (_FP_MUL_MEAT_1_wide): Likewise.
10196 (_FP_MUL_MEAT_1_hard): Likewise.
10197 (_FP_SQRT_MEAT_1): Likewise.
10198 (_FP_FRAC_ASSEMBLE_1): Likewise.
10199 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10200 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10201 (__FP_CLZ_2): Likewise.
10202 (_FP_MUL_MEAT_2_wide): Likewise.
10203 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10204 (_FP_MUL_MEAT_2_gmp): Likewise.
10205 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10206 (_FP_SQRT_MEAT_2): Likewise.
10207 (_FP_FRAC_ASSEMBLE_2): Likewise.
10208 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10209 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10210 (_FP_FRAC_CLZ_4): Likewise.
10211 (_FP_MUL_MEAT_4_wide): Likewise.
10212 (_FP_MUL_MEAT_4_gmp): Likewise.
10213 (_FP_SQRT_MEAT_4): Likewise.
10214 (_FP_FRAC_ASSEMBLE_4): Likewise.
10215 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10216 * soft-fp/op-common.h (_FP_CMP): Likewise.
10217 (_FP_CMP_EQ): Likewise.
10218 (_FP_CMP_UNORD): Likewise.
10219 (_FP_TO_INT): Likewise.
10220 (_FP_FROM_INT): Likewise.
10221 [!__FP_CLZ] (__FP_CLZ): Likewise.
10222 (_FP_DIV_HELP_imm): Likewise.
10223 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10225 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10226 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10227 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10228 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10229 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10230 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10231 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10233 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10234 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10235 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10236 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10237 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10238 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10239 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10240 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10241 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10242 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10243 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10244 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10245 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10246 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10247 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10248 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10250 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10251 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10252 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10253 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10254 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10255 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10256 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10257 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10258 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10259 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10260 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10261 (FP_UNPACK_RAW_SP): Likewise.
10262 (FP_PACK_RAW_S): Likewise.
10263 (FP_PACK_RAW_SP): Likewise.
10264 (FP_UNPACK_S): Likewise.
10265 (FP_UNPACK_SP): Likewise.
10266 (FP_UNPACK_SEMIRAW_S): Likewise.
10267 (FP_UNPACK_SEMIRAW_SP): Likewise.
10268 (FP_PACK_S): Likewise.
10269 (FP_PACK_SP): Likewise.
10270 (FP_PACK_SEMIRAW_S): Likewise.
10271 (FP_PACK_SEMIRAW_SP): Likewise.
10272 (_FP_SQRT_MEAT_S): Likewise.
10273 (FP_CMP_S): Likewise.
10274 (FP_CMP_EQ_S): Likewise.
10275 (FP_CMP_UNORD_S): Likewise.
10276 (FP_TO_INT_S): Likewise.
10277 (FP_FROM_INT_S): Likewise.
10279 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10281 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10282 (FP_EX_INVALID_IMZ): Likewise.
10283 (FP_EX_INVALID_IMZ_FMA): Likewise.
10284 (FP_EX_INVALID_ISI): Likewise.
10285 (FP_EX_INVALID_ZDZ): Likewise.
10286 (FP_EX_INVALID_IDI): Likewise.
10287 (FP_EX_INVALID_SQRT): Likewise.
10288 (FP_EX_INVALID_CVI): Likewise.
10289 (FP_EX_INVALID_VC): Likewise.
10290 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10291 "invalid" exceptions.
10292 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10293 (_FP_ADD_INTERNAL): Likewise.
10294 (_FP_MUL): Likewise.
10295 (_FP_FMA): Likewise.
10296 (_FP_DIV): Likewise.
10297 (_FP_CMP_CHECK_NAN): Likewise.
10298 (_FP_SQRT): Likewise.
10299 (_FP_TO_INT): Likewise.
10300 (FP_EXTEND): Likewise.
10302 2014-10-09 Allan McRae <allan@archlinux.org>
10304 * po/fr.po: Update French translation from translation project.
10306 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10309 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10311 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10312 (__cxa_atexit): Use libc_hidden_proto.
10313 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10316 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10318 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10319 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10320 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10321 [!_ISOMAC] (__iswctype_internal): Likewise.
10322 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10323 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10325 (fcntl): Remove __fcntl_internal alias.
10326 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10327 __connect_internal alias.
10328 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10331 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10332 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10334 (_FP_CHECK_FLUSH_ZERO): New macro.
10335 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10336 (_FP_CMP): Likewise.
10337 (_FP_CMP_EQ): Likewise.
10338 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10340 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10341 (FP_TRUNC): Likewise.
10343 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10344 treated as invalid conversion, not as normal exponent.
10346 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10347 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10348 (_FP_CMP_EQ): Likewise.
10349 (_FP_CMP_UNORD): Likewise.
10350 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10351 (FP_CMP_EQ_D): Likewise.
10352 (FP_CMP_UNORD_D): Likewise.
10353 * soft-fp/extended.h (FP_CMP_E): Likewise.
10354 (FP_CMP_EQ_E): Likewise.
10355 (FP_CMP_UNORD_E): Likewise.
10356 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10357 (FP_CMP_EQ_Q): Likewise.
10358 (FP_CMP_UNORD_Q): Likewise.
10359 * soft-fp/single.h (FP_CMP_S): Likewise.
10360 (FP_CMP_EQ_S): Likewise.
10361 (FP_CMP_UNORD_S): Likewise.
10362 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10363 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10364 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10365 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10366 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10367 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10368 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10369 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10370 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10371 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10372 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10373 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10374 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10376 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10378 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10379 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10381 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10383 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10384 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10385 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10386 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10388 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10390 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10391 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10393 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10395 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10396 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10397 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10398 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10401 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10402 a subnormal result, set the underflow exception if trapping on
10403 underflow is enabled.
10404 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10405 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10406 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10408 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10409 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10410 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10411 * soft-fp/extendxftf2.c (__extendxftf2): Use
10412 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10414 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10415 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10416 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10417 FP_HANDLE_EXCEPTIONS.
10418 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10419 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10420 FP_HANDLE_EXCEPTIONS.
10421 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10422 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10423 FP_HANDLE_EXCEPTIONS.
10424 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10425 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10426 FP_HANDLE_EXCEPTIONS.
10428 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10431 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10432 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10434 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10435 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10437 (__adjtimex): Define using libc_hidden_ver.
10438 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10439 Remove declaration.
10440 (ntp_gettime): Call __adjtimex directly.
10441 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10442 Remove declaration.
10443 (ntp_gettimex): Call __adjtimex directly.
10444 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10445 __adjtimex_internal alias.
10447 2014-10-08 Roland McGrath <roland@hack.frob.com>
10450 * nscd/nscd.c (more_help): Rewrite list of tables collection
10451 using xstrdup and asprintf.
10453 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10455 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10456 Roland McGrath <roland@hack.frob.com>
10458 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10459 (do_lookup_unique): ... local function 'enter' here; update callers.
10461 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10463 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10464 compat_symbol calls on [SHARED].
10465 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10466 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10468 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10469 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10470 (oldsetrlimit): Remove.
10471 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10473 (lchown): New syscall entry.
10474 (oldsetrlimit): Remove.
10475 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10476 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10477 (oldsetrlimit): Remove.
10478 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10481 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10482 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10483 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10484 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10485 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10486 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10487 (fchown): Likewise.
10488 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10489 (fchown): Likewise.
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10493 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10495 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10496 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10497 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10498 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10499 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10501 (__old_sem_post): Likewise.
10503 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10505 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10506 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10507 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10508 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10509 Use INLINE_VSYSCALL macro.
10510 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10511 __vdso_clock_gettime.
10512 * sysdeps/unix/sysv/linux/tile/init-first.c
10513 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10514 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10515 __vdso_clock_gettime.
10517 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10518 to set up frame more cleanly.
10520 * sysdeps/tile/memcmp.c: New file.
10522 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10524 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10525 * sysdeps/tile/tilegx/strcasestr.c: New file.
10526 * sysdeps/tile/tilegx/strnlen.c: New file.
10527 * sysdeps/tile/tilegx/strstr.c: New file.
10529 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10531 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10533 * nptl/tst-setuid3.c: Write errors to stdout.
10535 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10538 (preload): New functions broken out of _dl_map_object_deps.
10539 (_dl_map_object_deps): Remove a nested function. Update call sites.
10541 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10544 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10545 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10547 2014-10-01 Steve Ellcey <sellcey@mips.com>
10549 * sysdeps/mips/strcmp.S: New.
10551 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10554 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10555 (linkat): Likewise.
10556 (mkdirat): Likewise.
10557 (readlinkat): Likewise.
10558 (renameat): Likewise.
10559 (symlinkat): Likewise.
10560 (unlinkat): Likewise.
10561 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10562 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10563 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10564 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10565 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10566 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10567 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10569 2014-09-30 Will Newton <will.newton@linaro.org>
10571 * math/math.h: Define long double math functions if
10572 _LIBC_TEST is defined.
10573 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10575 * localedata/Makefile: Move assignment to tests-special
10576 into an ifdef testing run-built-tests.
10577 * timezone/Makefile: Likewise.
10579 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10581 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10582 with $(BASH) not $(SHELL).
10584 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10585 Matthew LeGendre <legendre1@llnl.gov>
10588 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10591 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10593 * stdio-common/printf_fp.c
10594 (hack_digit): New function, broken out of ...
10595 (__printf_fp): ... local function here. Update call sites.
10596 hack_digit now takes an additional parameter that is a pointer
10597 to a struct of the referenced locals. Those locals moved inside
10598 the struct and references updated.
10600 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10602 * aclocal.m4: Require autoconf 2.69.
10603 * configure: Regenerated.
10604 * sysdeps/aarch64/configure: Likewise.
10605 * sysdeps/alpha/configure: Likewise.
10606 * sysdeps/arm/armv7/configure: Likewise.
10607 * sysdeps/arm/configure: Likewise.
10608 * sysdeps/ia64/configure: Likewise.
10609 * sysdeps/mach/configure: Likewise.
10610 * sysdeps/mips/configure: Likewise.
10611 * sysdeps/s390/configure: Likewise.
10612 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10615 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10617 * sysdeps/ia64/configure.ac: Likewise.
10619 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10622 specify symbol version for ld.so. Do not include entry for
10624 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10625 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10626 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10629 * Makeconfig [$(build-shared) = yes]
10630 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10632 [$(build-shared) = yes && $(soversions.mk-done) = t]
10633 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10634 [$(build-shared) = yes && $(soversions.mk-done) = t]
10635 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10637 [$(build-shared) = yes && $(soversions.mk-done) = t]
10638 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10640 [$(build-shared) = yes && $(soversions.mk-done) = t]
10641 (common-generated): Don't append gnu/lib-names.h and
10642 gnu/lib-names.stmp here.
10643 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10644 (lib-names-h-abi): New variable.
10645 [$(build-shared) = yes && $(soversions.mk-done) = t]
10646 (lib-names-stmp-abi): Likewise.
10647 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10648 abi-variants] (before-compile): Append
10649 $(common-objpfx)$(lib-names-h-abi).
10650 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10651 abi-variants] (common-generated): Append gnu/lib-names.h.
10652 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10653 abi-variants] (install-others-nosubdir): Depend on
10654 $(inst_includedir)/$(lib-names-h-abi).
10655 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10656 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10657 [$(build-shared) = yes && $(soversions.mk-done) = t]
10658 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10659 [$(build-shared) = yes && $(soversions.mk-done) = t]
10660 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10661 [$(build-shared) = yes && $(soversions.mk-done) = t]
10662 (common-generated): Append $(lib-names-h-abi) and
10663 $(lib-names-stmp-abi).
10664 * scripts/lib-names.awk: Do not handle multi being set.
10665 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10667 (abi-lp64_be-ld-soname): Likewise.
10668 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10670 (abi-hard-ld-soname): Likewise.
10671 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10672 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10674 (abi-o32_hard-ld-soname): Likewise.
10675 (abi-o32_soft_2008-ld-soname): Likewise.
10676 (abi-o32_hard_2008-ld-soname): Likewise.
10677 (abi-n32_soft-ld-soname): Likewise.
10678 (abi-n32_hard-ld-soname): Likewise.
10679 (abi-n32_soft_2008-ld-soname): Likewise.
10680 (abi-n32_hard_2008-ld-soname): Likewise.
10681 (abi-n64_soft-ld-soname): Likewise.
10682 (abi-n64_hard-ld-soname): Likewise.
10683 (abi-n64_soft_2008-ld-soname): Likewise.
10684 (abi-n64_hard_2008-ld-soname): Likewise.
10685 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10687 (abi-64-v2-ld-soname): Likewise.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10690 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10692 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10694 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10696 (abi-64-ld-soname): Likewise.
10697 (abi-x32-ld-soname): Likewise.
10698 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10700 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10702 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10705 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10706 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10707 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10708 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10709 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10710 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10711 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10712 syscall entry for GLIBC_2.2 symbol version.
10713 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10716 (setrlimit): Likewise.
10717 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10720 2014-09-23 Will Newton <will.newton@linaro.org>
10722 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10723 _LINUX_ARM_SYSDEP_H include guard too.
10724 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10727 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10729 * sysdeps/unix/sysv/linux/eventfd.c:
10730 Make first argument unsigned.
10731 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10732 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10734 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10736 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10737 * socket/sys/socket.h: Likewise
10738 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10740 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10742 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10744 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10746 * time/tst-ftime.c: New test.
10747 * time/Makefile (tests): Add tst-ftime.
10749 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10751 * soft-fp/extended.h: Fix comment formatting.
10752 * soft-fp/op-1.h: Likewise.
10753 * soft-fp/op-2.h: Likewise.
10754 * soft-fp/op-4.h: Likewise.
10755 * soft-fp/op-8.h: Likewise.
10756 * soft-fp/op-common.h: Likewise.
10757 * soft-fp/soft-fp.h: Likewise.
10759 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10761 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10764 * Makeconfig (soversions-default-setname): Remove variable.
10765 ($(common-objpfx)soversions.i): Don't pass default_setname to
10767 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10768 oldest_abi to abi-versions.awk.
10769 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10770 * config.make.in (oldest-abi): Remove variable.
10771 * configure.ac (--enable-oldest-abi): Remove configure option.
10772 * configure: Regenerated.
10773 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10775 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10776 * scripts/soversions.awk: Do not handle default_setname variable.
10777 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10779 * sysdeps/mach/hurd/configure: Regenerated.
10780 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10782 * sysdeps/unix/sysv/linux/configure: Regenerated.
10784 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10786 * elf/Makefile (CFLAGS-interp.c): Remove.
10787 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10789 * elf/interp.c: Include generated runtime-linker.h
10791 * Makerules (lib%.so): Don't include $(+interp) in
10793 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10794 * dlfcn/eval.c: Remove file.
10796 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10800 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10804 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10806 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10807 Jakub Jelinek <jakub@redhat.com>
10810 * libio/stdio.h: Check definition of __fortify_function
10811 instead of __extern_always_inline to include bits/stdio2.h.
10812 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10813 check if __extern_always_inline is defined.
10814 [__USE_MISC || __USE_XOPEN]: Likewise.
10815 [__USE_ISOC99] Likewise.
10816 * misc/sys/cdefs.h (__fortify_function): Define only if
10817 __extern_always_inline is defined.
10818 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10819 __extern_always_inline and __extern_inline only for g++-4.3
10820 and newer or a compatible gcc.
10822 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10825 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10826 last change to handle zero prefix length.
10828 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10830 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10833 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10834 _POSIX_RAW_SOCKETS.
10836 2014-09-13 Allan McRae <allan@archlinux.org>
10838 * po/ru.po: Update Russian translation from translation project.
10840 2014-09-12 Roland McGrath <roland@hack.frob.com>
10842 * locale/programs/locale.c (show_locale_vars): Inline local function
10843 into its sole call site. Clean up some style nits.
10844 (print_item): New function, broken out of ...
10845 (show_info): ... local function here. Clean up style nits.
10847 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10849 (set_class_defaults): ... local function set_default here.
10850 Define set_default as a macro locally to pass constant parameters.
10851 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10852 rather than a shared local.
10854 * stdlib/rpmatch.c (try): New function, broken out of ...
10855 (rpmatch): ... local function here. Also, prototypify definition.
10857 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10859 * scripts/soversions.awk: Do not handle configuration names.
10860 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10861 vendor and os variables to soversions.awk.
10862 * configure.ac: Do not modify gnu-* host_os.
10863 * configure: Regenerated
10864 * shlib-versions: Remove first column with configuration names.
10865 * nptl/shlib-versions: Likewise.
10866 * nptl_db/shlib-versions: Likewise.
10867 * sysdeps/hppa/shlib-versions: Likewise.
10868 * sysdeps/m68k/shlib-versions: Likewise.
10869 * sysdeps/mach/hurd/shlib-versions: Likewise.
10870 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10871 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10872 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10873 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10874 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10875 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10876 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10877 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10880 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10881 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10882 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10883 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10885 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10886 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10887 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10890 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10893 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10895 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10897 * shlib-versions: Remove OS-specific entries. Moved to files in
10899 * sysdeps/mach/hurd/shlib-versions: New file.
10900 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10902 * nptl/shlib-versions: Remove architecture-specific entries.
10903 Moved to files in sysdeps.
10904 * shlib-versions: Likewise.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10907 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10908 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10909 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10910 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10912 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10913 (UDP_NO_CHECK6_RX): Likewise.
10915 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10917 * sysdeps/posix/sysconf.c (__sysconf): Spell
10918 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10920 2014-08-12 Florian Weimer <fweimer@redhat.com>
10922 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10924 * iconv/Versions (__gconv_transliterate): Export for use from
10926 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10927 (struct __gconv_trans_data, __gconv_trans_fct,
10928 __gconv_trans_context_fct, __gconv_trans_query_fct,
10929 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10931 (struct __gconv_step_data): Remove __trans member.
10932 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10933 longer hidden. Remove unused trans_data argument.
10934 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10935 (__gconv_translit_find): Remove declaration.
10936 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10938 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10939 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10940 trans_data argument. Add hidden definition.
10941 (__gconv_translit_find): Remove.
10942 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10943 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10944 * iconv/skeleton.c: Remove transliteration initialization.
10945 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10946 __gconv_step_data initialization.
10947 * libio/iofwide.c (__libio_translit_): Remove.
10948 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10949 * wcsmbs/btowc.c (__btowc): Likewise.
10950 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10951 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10952 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10953 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10954 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10955 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10956 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10957 * wcsmbs/wctob.c (wctob): Likewise.
10959 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10962 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10963 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10965 * sysdeps/x86/Makefile: Adjust.
10967 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10968 Roland McGrath <roland@hack.frob.com>
10970 * locale/weight.h: Add include guard.
10971 (findidx): Make static rather than auto; take new parameters
10972 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10973 * locale/weightwc.h: Likewise.
10974 * posix/fnmatch_loop.c
10975 (FCT): Change type of EXTRA from int32_t to wint_t.
10976 Don't include either header inside the function.
10977 Call FINDIDX rather than findidx, and pass new arguments.
10978 #undef FINDIDX at the end of the file.
10979 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10980 FINDIDX before including fnmatch_loop.c for the non-wide version.
10981 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10982 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10983 for the wide version.
10984 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10985 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10986 Pass new arguments to findidx.
10987 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10988 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10989 Don't #include it inside the function. Pass new arguments to findidx.
10990 * posix/regex_internal.h
10991 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10992 (re_string_elem_size_at): Don't #include it inside the function.
10993 Pass new arguments to findidx.
10994 * string/strcoll_l.c: #include WEIGHT_H at top level.
10995 (get_next_seq): Don't #include it inside the function.
10996 Pass new arguments to findidx.
10997 (get_next_seq_nocache): Likewise.
10998 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10999 (STRXFRM): Don't #include it inside the function.
11000 Pass new arguments to findidx.
11002 2014-09-11 Florian Weimer <fweimer@redhat.com>
11005 * malloc/malloc.c (unlink): Turn asserts into a call to
11008 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11011 * libio/wfileops (do_ftell_wide): Free OUT.
11013 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11015 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11017 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11020 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11021 group if the current group is empty.
11023 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11025 * benchtests/bench-memset.c (test_main): Add more test from size
11026 from 32 to 512 bytes.
11027 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11028 Add POWER8 memset object.
11029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11030 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11031 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11033 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11035 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11036 multiarch POWER8 memset optimization.
11037 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11038 POWER8 memset optimization.
11040 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11041 Remove bzero multiarch objects.
11042 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11043 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11044 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11045 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11047 [__bzero]: Redefine to specific name.
11048 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11049 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11050 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11052 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11053 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11055 2014-09-10 Florian Weimer <fweimer@redhat.com>
11057 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11058 warnings into errors.
11060 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11061 __cxa_thread_atexit_impl prototype.
11063 2014-09-09 Steve Ellcey <sellcey@mips.com>
11065 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11066 Fix capitalization of error message.
11068 2014-09-09 Steve Ellcey <sellcey@mips.com>
11070 * sysdeps/mips/preconfigure: Modify ABI tests.
11072 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11074 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11076 2014-09-07 Roland McGrath <roland@hack.frob.com>
11077 Carlos O'Donell <carlos@systemhalted.org>
11079 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11080 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11081 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11082 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11083 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11084 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11085 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11086 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11087 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11088 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11089 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11090 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11091 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11092 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11093 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11094 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11095 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11096 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11097 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11098 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11099 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11100 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11101 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11102 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11103 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11104 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11105 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11106 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11107 Deconditionalize the code that was previously under [RESET_PID].
11108 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11109 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11110 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11111 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11114 2014-09-08 Allan McRae <allan@archlinux.org>
11116 * version.h (RELEASE): Set to "development".
11117 (VERSION): Set to "2.20.90"
11119 2014-09-07 Allan McRae <allan@archlinux.org
11121 * version.h (RELEASE): Set to "stable".
11122 (VERSION): Set to "2.20"
11123 * include/features.h (__GLIBC_MINOR__): Set to 20.
11125 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11128 * po/ko.po: Update Korean translation from translation project.
11130 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11133 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11134 macro for handling signed relocations.
11136 2014-09-03 Florian Weimer <fweimer@redhat.com>
11139 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11140 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11142 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11143 * iconvdata/ibm935.c (BODY): Likewise.
11144 * iconvdata/ibm937.c (BODY): Likewise.
11145 * iconvdata/ibm939.c (BODY): Likewise.
11146 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11148 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11150 * iconvdata/run-iconv-test.sh: New test loop for checking for
11153 2014-09-02 Khem Raj <raj.khem@gmail.com>
11155 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11158 2014-09-01 Allan McRae <allan@archlinux.org>
11160 * po/eo.po: Update Esperanto translation from translation project.
11162 * po/ca.po: Update Catalan translation from translation project.
11164 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11166 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11167 __proc_dostop call.
11169 2014-08-27 Mark Wielaard <mjw@redhat.com>
11172 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11173 to call set_thread_area instead of hand written asm.
11174 (__NR_set_thread_area): Removed define.
11175 (TLS_FLAG_WRITABLE): Likewise.
11176 (__ASSUME_SET_THREAD_AREA): Remove check.
11177 (TLS_EBX_ARG): Remove define.
11178 (TLS_LOAD_EBX): Likewise.
11180 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11182 Simplify atomicity of socket creation in bind.
11184 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11185 looking up the name after linking the file.
11187 2014-08-27 Allan McRae <allan@archlinux.org>
11189 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11191 2014-08-26 Florian Weimer <fweimer@redhat.com>
11194 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11195 trans_compare, open_translit, __gconv_translit_find):
11196 Remove module loading code.
11198 2014-08-26 Allan McRae <allan@archlinux.org>
11200 * po/vi.po: Update Vietnamese translation from translation project.
11202 * po/uk.po: Update Ukrainian translation from translation project.
11204 * po/fr.po: Update French translation from translation project.
11206 * po/ru.po: Update Russian translation from translation project.
11208 * po/pl.po: Update Polish translation from translation project.
11210 * po/cs.po: Update Czech translation from translation project.
11212 * po/de.po: Update German translation from translation project.
11214 * po/bg.po: Update Bulgarian translation from translation project.
11216 * po/sv.po: Update Sweedish translation from translation project.
11218 * po/nl.po: Update Dutch translation from translation project.
11220 * po/es.po: Update Spanish translation from translation project.
11222 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11224 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11226 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11227 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11228 (CPPFLAGS-iconvconfig): Likewise.
11229 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11231 * include/libc-symbols.h: Remove unnecessary check for
11233 * nptl/pthreadP.h: Likewise.
11234 * sysdeps/aarch64/setjmp.S: Likewise.
11235 * sysdeps/alpha/setjmp.S: Likewise.
11236 * sysdeps/arm/sysdep.h: Likewise.
11237 * sysdeps/i386/setjmp.S: Likewise.
11238 * sysdeps/m68k/setjmp.c: Likewise.
11239 * sysdeps/posix/getcwd.c: Likewise.
11240 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11241 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11242 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11243 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11244 * sysdeps/sh/sh3/setjmp.S: Likewise.
11245 * sysdeps/sh/sh4/setjmp.S: Likewise.
11246 * sysdeps/unix/alpha/sysdep.h: Likewise.
11247 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11249 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11250 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11253 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11255 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11258 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11260 * sysdeps/x86_64/setjmp.S: Likewise.
11262 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11265 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11267 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11268 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11270 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11272 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11275 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11276 and __x86_64__ when disabling x87 inline functions.
11278 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11281 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11282 asm statement with __cpuid_count.
11284 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11286 * configure.ac: Change __ehdr_start code to dereference the struct.
11287 Run readelf on the output to look for relocations.
11288 * configure: Regenerated.
11290 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11293 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11295 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11297 2014-08-12 Roland McGrath <roland@hack.frob.com>
11299 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11301 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11304 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11305 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11307 2014-08-12 Sean Anderson <seanga2@gmail.com>
11309 * malloc/malloc.c: Fix typo in comment.
11311 2014-08-09 Allan McRae <allan@archlinux.org>
11313 * Regenerate libc.po.
11315 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11317 * intl/tst-gettext2.sh: Check every lang file for creation.
11319 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11321 * sysdeps/aarch64/fpu/math_private.h
11322 (libc_feholdsetround_noex_aarch64_ctx): New function.
11324 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11326 * sysdeps/arm/armv6/strcpy.S (strcpy):
11327 Fix performance issue in misaligned cases.
11329 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11331 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11332 Move definition from termios.h.
11333 (struct termio): Likewise.
11334 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11335 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11336 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11337 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11339 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11340 Move definition to ioctl-types.h
11341 (struct termio): Likewise.
11342 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11343 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11344 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11345 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11348 2014-08-05 Richard Henderson <rth@redhat.com>
11350 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11352 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11354 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11355 Use __feraiseexcept.
11356 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11357 Protect libm symbols with IS_IN_libm.
11359 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11361 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11363 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11365 2014-08-04 Will Newton <will.newton@linaro.org>
11367 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11370 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11372 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11373 variants for each function.
11375 2014-08-04 Roland McGrath <roland@hack.frob.com>
11377 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11379 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11380 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11382 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11383 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11384 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11385 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11386 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11387 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11388 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11389 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11390 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11391 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11392 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11393 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11394 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11395 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11396 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11397 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11398 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11399 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11400 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11401 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11402 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11403 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11404 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11405 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11406 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11407 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11408 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11409 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11410 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11411 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11412 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11413 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11414 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11415 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11416 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11417 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11418 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11419 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11420 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11421 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11422 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11423 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11424 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11425 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11426 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11427 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11428 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11429 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11430 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11431 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11432 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11433 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11434 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11436 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11437 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11439 2014-08-04 Roland McGrath <roland@hack.frob.com>
11441 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11442 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11443 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11444 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11445 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11446 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11448 2014-08-04 Roland McGrath <roland@hack.frob.com>
11450 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11451 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11452 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11453 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11455 2014-08-04 Roland McGrath <roland@hack.frob.com>
11457 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11458 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11459 (__libc_vfork): Define function under this name.
11460 (__vfork): Define as an alias.
11461 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11462 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11464 2014-08-04 Roland McGrath <roland@hack.frob.com>
11466 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11467 that was previously under [RESET_PID].
11468 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11470 2014-08-04 Andreas Schwab <schwab@suse.de>
11472 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11474 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11476 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11479 2014-08-01 Roland McGrath <roland@hack.frob.com>
11481 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11483 2014-08-01 Richard Henderon <rth@redhat.com>
11485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11486 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11487 typo in exact zero test.
11488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11492 2014-08-01 Roland McGrath <roland@hack.frob.com>
11494 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11495 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11496 * sysdeps/arm/sysdep.h: ... here.
11497 [!__ASSEMBLER__]: Include <stdint.h>.
11499 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11501 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11502 (HAVE_WCTYPE_H): Likewise.
11503 (HAVE_ISWCTYPE): Likewise.
11504 (ENABLE_NLS): Likewise.
11505 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11506 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11508 * posix/regex_internal.c: Check if DEBUG is defined and is
11511 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11512 (HAVE_MBSRTOWCS): Likewise.
11513 * posix/fnmatch.c: Include string.h unconditionally.
11515 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11517 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11520 2014-07-31 Roland McGrath <roland@hack.frob.com>
11522 * sysdeps/generic/safe-fatal.h: New file.
11523 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11524 * nptl/forward.c: Include it.
11525 (__pthread_unwind): Use __safe_fatal as default action, rather
11526 than a bogus use of INTERNAL_SYSCALL that could never work.
11528 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11529 * configure.ac (libc_cv_builtin_trap): New test.
11530 * configure: Regenerated.
11531 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11532 (ABORT_INSTRUCTION): Define using __builtin_trap.
11534 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11535 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11536 * sysdeps/nptl/nptl-signals.h: New file.
11537 * nptl/pthreadP.h: Include <nptl-signals.h>.
11539 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11541 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11542 (ONE_DIRECTION): Define.
11543 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11544 (ONE_DIRECTION): Define.
11545 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11546 (ONE_DIRECTION): Define.
11548 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11550 * sysdeps/s390/Makefile: Delete file.
11551 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11552 * sysdeps/s390/__longjmp.c: Delete file.
11553 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11554 Remove fields __flags and __reserved.
11555 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11556 and add versioning.
11557 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11558 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11559 * sysdeps/s390/rtld-setjmp.S: Likewise.
11560 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11561 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11562 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11563 * sysdeps/s390/s390-32/setjmp.S: ... here.
11565 (__sigsetjmp): Remove setting __flags field.
11566 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11567 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11568 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11569 * sysdeps/s390/s390-64/setjmp.S: ... here.
11571 (__sigsetjmp): Remove setting __flags field.
11572 * sysdeps/s390/setjmp.S: Delete file.
11573 * sysdeps/s390/sigjmp.c: Likewise.
11574 * sysdeps/s390/v1-longjmp.c: Likewise.
11575 * sysdeps/s390/v1-setjmp.h: Likewise.
11576 * sysdeps/s390/v1-sigjmp.c: Likewise.
11577 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11578 Remove v1-longjmp_chk.
11579 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11580 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11581 Include debug/longjmp_chk.c and add versioning.
11582 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11583 Include nptl/pt-longjmp.c and add versioning.
11584 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11585 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11586 Include __longjmp.c.
11587 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11589 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11590 (__getcontext): Remove setting __flags field.
11592 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11593 Don't restore upper high grps.
11594 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11596 (__swapcontext): Remove setting uc_flags field.
11597 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11599 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11600 Include __longjmp.c.
11601 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11603 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11604 (__getcontext): Remove setting __flags field.
11606 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11607 (__swapcontext): Remove setting uc_flags field.
11608 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11609 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11610 Remove fields uc_high_gprs and __reserved.
11611 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11612 New file with reverted content.
11613 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11614 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11616 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11619 2014-07-31 Andreas Schwab <schwab@suse.de>
11621 * config.h.in (HAVE_IFUNC): Define to 0.
11622 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11625 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11628 memmove-avx-unaligned, memcpy-avx-unaligned and
11629 mempcpy-avx-unaligned.
11630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11631 Add tests for AVX memcpy functions.
11632 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11633 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11635 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11636 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11638 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11639 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11641 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11642 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11643 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11645 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11648 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11651 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11654 * manual/llio.texi: Add section about open file description locks.
11655 * manual/examples/ofdlocks.c: Example of open file description
11657 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11658 F_OFD_SETLK, and F_OFD_SETLKW.
11660 2014-07-23 Allan McRae <allan@archlinux.org>
11662 * po/es.po: Update Spanish translation from translation project.
11664 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11666 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11668 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11671 * sysdeps/arm/dl-machine.h (elf_machine_rela)
11672 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11673 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11675 2014-07-17 Joseph Myers <joseph@codesourcery.com>
11678 * math/fesetenv.c (__fesetenv)
11679 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11680 * math/feupdateenv.c (__feupdateenv)
11681 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11683 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11684 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11685 (__ASSUME_SOCKETCALL): Do not define.
11687 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11688 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11689 (__ASSUME_SOCKETCALL): Do not define.
11690 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11691 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11692 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11693 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11694 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11695 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11696 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11697 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11699 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11700 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11701 (__ASSUME_SOCKETCALL): Do not define.
11702 (__ASSUME_IPC64): Define unconditionally.
11703 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11704 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11705 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11706 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11707 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11708 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11709 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11712 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11713 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11714 (__ASSUME_SOCKETCALL): Do not define.
11715 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11716 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11717 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11718 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11719 (__ASSUME_REQUEUE_PI): Define unconditionally.
11720 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11721 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11722 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11723 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11724 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11725 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11727 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11728 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11729 (__ASSUME_SOCKETCALL): Do not define.
11730 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11731 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11732 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11733 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11734 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11735 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11737 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11738 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11739 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11740 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11741 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11742 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11743 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11744 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11745 (__ASSUME_GETCPU_SYSCALL): Likewise.
11747 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11748 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11749 cases for individual architectures.
11750 * sysdeps/gnu/configure: Regenerated.
11751 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11752 LIBC_SLIBDIR_RTLDDIR.
11753 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11754 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11755 LIBC_SLIBDIR_RTLDDIR.
11756 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11758 LIBC_SLIBDIR_RTLDDIR.
11759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11761 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11762 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11764 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11765 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11767 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11768 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11769 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11770 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11772 * sysdeps/aarch64/shlib-versions: Move to ...
11773 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11774 * sysdeps/alpha/shlib-versions: Move to ...
11775 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11776 * sysdeps/arm/shlib-versions: Move to ...
11777 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11778 * sysdeps/hppa/shlib-versions: Move all contents except for
11779 libgcc_s entry to ...
11780 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11782 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11783 * sysdeps/ia64/shlib-versions: Move to ...
11784 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11786 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11787 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11788 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11789 * sysdeps/microblaze/shlib-versions: Move to ...
11790 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11791 * sysdeps/mips/shlib-versions: Move to ...
11792 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11794 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11795 * sysdeps/tile/shlib-versions: Move to ...
11796 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11797 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11799 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11800 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11802 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11804 2014-07-17 Will Newton <will.newton@linaro.org>
11806 * sysdeps/arm/bits/atomic.h
11807 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11808 (__arch_compare_and_exchange_bool_16_int): Likewise.
11809 (__arch_compare_and_exchange_bool_64_int): Likewise.
11811 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11812 into an #else block.
11814 2014-07-16 Roland McGrath <roland@hack.frob.com>
11816 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11817 just Linux configurations. Test empirically that the compiler sets
11818 __ARM_EABI__, rather than using the tuple to decide.
11819 * sysdeps/arm/preconfigure: Regenerated.
11820 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11821 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11822 contents appended ...
11823 * sysdeps/arm/configure.ac: ... here.
11824 * sysdeps/arm/configure: Regenerated.
11826 2014-07-15 Roland McGrath <roland@hack.frob.com>
11828 * nptl/pthread_kill.c: New file.
11829 * nptl/pthread_sigmask.c: New file.
11830 * nptl/pthread_sigqueue.c: New file.
11832 * sysdeps/nptl/lowlevellock.h: New file.
11833 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11834 * sysdeps/nptl/lowlevellock-futex.h: New file.
11836 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11837 Remove dead declarations.
11839 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11841 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11842 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11843 config-cflags-avx2.
11844 * sysdeps/x86_64/configure.ac: Likewise.
11845 * sysdeps/i386/configure: Regenerated.
11846 * sysdeps/x86_64/configure: Likewise.
11847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11848 memset-avx2 only if config-cflags-avx2 is yes.
11849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11850 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11852 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11853 only if HAVE_AVX2_SUPPORT is defined.
11854 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11856 2014-07-14 Alan Modra <amodra@gmail.com>
11859 * elf/elf.h (DT_PPC64_NUM): Correct value.
11860 * NEWS: Add to fixed bug list.
11862 2014-07-13 Jim Meyering <meyering@fb.com>
11865 regex: don't deref NULL upon heap allocation failure
11866 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11867 failure in one more place.
11868 To trigger the segfault, configure grep -with-included-regex,
11869 build it, and run these commands:
11870 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11872 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11874 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11876 2014-07-11 Richard Henderson <rth@redhat.com>
11878 * sysdeps/aarch64/libm-test-ulps: Update.
11880 2014-07-10 Florian Weimer <fweimer@redhat.com>
11883 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11884 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11885 (__nptl_setxid): Initialize error member. Call
11886 __nptl_setxid_error.
11887 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11888 * nptl/descr.h (struct xid_command): Add error member.
11889 * nptl/tst-setuid3.c: New file.
11890 * nptl/Makefile (tests): Add it.
11892 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11894 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11896 (__lll_trylock): Use __lll_base_trylock.
11897 (__lll_cond_trylock): Likewise.
11899 2014-07-10 Roland McGrath <roland@hack.frob.com>
11901 * nptl/pthread_create.c (start_thread): Use atomic_or and
11902 lll_futex_wake directly rather than lll_robust_dead.
11903 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11904 (lll_robust_dead): Macro removed.
11905 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11906 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11907 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11908 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11909 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11910 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11911 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11912 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11913 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11914 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11915 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11916 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11917 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11918 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11919 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11921 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11922 Use atomic_compare_and_exchange_val_acq directly rather than
11923 lll_robust_trylock.
11924 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11925 (__lll_robust_trylock, lll_robust_trylock): Removed.
11926 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11927 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11928 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11929 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11930 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11931 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11932 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11933 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11934 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11935 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11936 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11937 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11938 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11939 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11941 2014-07-02 Florian Weimer <fweimer@redhat.com>
11943 * manual/locale.texi (Locale Names): New section documenting
11944 locale name syntax. Adjust menu and node chaining accordingly.
11945 (Choosing Locale): Reference Locale Names, Locale Categories.
11946 Mention setting LC_ALL=C. Reflect that name syntax is now
11948 (Locale Categories): New section title. Reference Locale Names.
11949 LC_ALL is an environment variable, but not a category.
11950 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11951 description, now in Locale Name. Reference that section. Locale
11952 name syntax is now documented.
11954 2014-07-02 Florian Weimer <fweimer@redhat.com>
11957 * locale/findlocale.c (name_present, valid_locale_name): New
11959 (_nl_find_locale): Use the loc_name variable to store name
11960 candidates. Call name_present and valid_locale_name to check and
11961 validate locale names. Return an error if the locale is invalid.
11963 2014-07-02 Florian Weimer <fweimer@redhat.com>
11965 * locale/setlocale.c (setlocale): Use strdup for allocating
11966 composite name copy.
11968 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11970 Sync up with gnulib.
11971 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11972 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11973 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11974 and _GL_ARG_NONNULL.
11975 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11976 [!_LIBC]: Include code for Windows and Cygwin.
11977 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11978 Include prototype for int strerror_r.
11979 [!_LIBC] (is_open): New function.
11980 (flush_stdout): New function.
11981 (print_errno_message): Use it.
11983 (error_at_line): Likewise.
11984 (error_tail) Add function attribute macros. Use
11987 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11989 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11991 * io/ftw.c: Include sys/param.h unconditionally.
11993 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11996 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11998 (freecache): New function to free CACHE on exit.
12000 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12003 2014-07-09 David S. Miller <davem@davemloft.net>
12005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12007 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12008 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12009 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12010 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12011 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12012 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12013 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12014 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12015 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12016 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12017 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12018 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12019 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12021 2014-07-09 Andreas Schwab <schwab@suse.de>
12023 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12025 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12026 (do_test): Likewise.
12028 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12030 2014-07-09 Will Newton <will.newton@linaro.org>
12032 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12033 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12034 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12035 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12036 * sysdeps/hppa/start.S (_start): Likewise.
12038 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12040 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12042 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12045 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12047 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12048 after checking that it is non-NULL.
12050 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12052 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12054 * sysdeps/powerpc/memmove.c: Remove file.
12055 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12056 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12057 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12058 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12059 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12060 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12061 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12062 string memmove instead of removed powerpc one.
12064 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12065 [weak_alias]: Fix compiler warning due trailing data.
12066 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12067 [weak_alias]: Likewise.
12068 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12069 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12072 (__libc_ifunc_impl_list): Add memmove functions.
12074 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12076 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12078 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12080 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12082 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12084 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12086 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12088 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12090 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12092 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12094 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12096 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12098 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12100 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12102 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12104 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12106 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12108 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12111 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12113 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12114 to avoid alignment traps in non-cacheable memory.
12115 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12120 file: multiarch power7 memmove.
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12122 multiarch default memmove.
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12124 multiarch memove for powerpc32/power4.
12126 * string/bcopy.c: Use full path to include memmove.c.
12127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12129 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12130 bcopy for powerpc64.
12131 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12132 bcopy for powerpc64.
12133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12134 and memmove implementations.
12135 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12136 optimized multiarch memmove for POWER7/powerpc64.
12137 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12138 default multiarch memmove for powerpc64.
12139 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12140 multiarch for powerpc64.
12141 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12142 for POWER7/powerpc64.
12143 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12144 memmove for POWER7/powerpc64.
12146 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12149 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12150 __ELF_NATIVE_CLASS equal to 64.
12152 2014-07-07 Roland McGrath <roland@hack.frob.com>
12154 * sysdeps/nptl/lowlevellock.h: File removed.
12156 * NEWS: NPTL is no longer an add-on!
12157 * nptl/internaltypes.h: Moved ...
12158 * sysdeps/nptl/internaltypes.h: ... here.
12159 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12160 * sysdeps/nptl/fork.c: Likewise.
12161 * sysdeps/nptl/gai_misc.h: Likewise.
12162 * sysdeps/nptl/librt-cancellation.c: Likewise.
12163 * sysdeps/nptl/jmp-unwind.c: Likewise.
12164 * sysdeps/nptl/setxid.h: Likewise.
12165 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12166 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12167 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12168 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12169 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12170 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12171 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12172 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12173 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12174 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12175 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12176 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12177 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12178 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12179 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12180 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12181 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12182 * nptl/Makeconfig: Moved ...
12183 * sysdeps/nptl/Makeconfig: ... here.
12184 * nptl/configure: File removed.
12185 * nptl/ANNOUNCE: File removed.
12186 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12187 * sysdeps/unix/sysv/linux/configure: Regenerated.
12189 * nptl/Makefile (routines): Add libc_pthread_init,
12190 libc_multiple_threads, register-atfork and unregister-atfork.
12191 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12192 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12193 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12194 pthread-pi-defines.sym, structsem.sym.
12195 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12196 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12197 [$(subdir) = nptl] (tests): Add tst-setgetname.
12198 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12199 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12200 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12201 [!LIBC_SIGACTION]: Remove aliases.
12202 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12203 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12204 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12205 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12206 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12207 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12208 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12209 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12210 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12211 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12212 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12213 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12214 __libc_allocate_rtsig_private.
12215 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12216 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12217 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12218 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12219 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12220 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12221 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12222 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12223 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12224 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12225 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12226 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12227 * nptl/internaltypes.h: ... here.
12228 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12229 * sysdeps/nptl/jmp-unwind.c: ... here.
12230 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12231 * nptl/libc-lowlevellock.c: ... here.
12232 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12233 * nptl/libc_multiple_threads.c: ... here.
12234 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12235 * nptl/libc_pthread_init.c: ... here.
12236 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12237 * nptl/lowlevelbarrier.sym: ... here.
12238 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12239 * nptl/lowlevelcond.sym: ... here.
12240 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12241 * nptl/lowlevellock.c: ... here.
12242 * nptl/lowlevellock.h: Moved ...
12243 * sysdeps/nptl/lowlevellock.h: ... here.
12244 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12245 * nptl/lowlevelrobustlock.c: ... here.
12246 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12247 * nptl/lowlevelrobustlock.sym: ... here.
12248 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12249 * nptl/lowlevelrwlock.sym: ... here.
12250 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12251 * nptl/pt-fork.c: ... here.
12252 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12253 * nptl/pthread-pi-defines.sym: ... here.
12254 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12255 * nptl/pthread_attr_getaffinity.c: ... here.
12256 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12257 * nptl/pthread_attr_setaffinity.c: ... here.
12258 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12259 * nptl/pthread_mutex_cond_lock.c: ... here.
12260 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12262 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12263 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12264 * nptl/pthread_once.c: ... here, replacing old file.
12265 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12266 * nptl/pthread_yield.c: ... here.
12267 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12268 * nptl/register-atfork.c: ... here.
12269 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12270 * nptl/sem_post.c: ... here.
12271 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12272 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12273 * nptl/sem_timedwait.c: ... here.
12274 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12275 * nptl/sem_trywait.c: ... here.
12276 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12277 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12278 * nptl/sem_wait.c: ... here.
12279 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12280 * nptl/structsem.sym: ... here.
12281 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12282 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12283 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12284 * nptl/unregister-atfork.c: ... here.
12285 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12286 * nptl/unwindbuf.sym: ... here.
12287 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12288 * sysdeps/nptl/fork.c: ... here.
12289 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12290 * sysdeps/nptl/fork.h: ... here.
12291 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12292 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12293 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12294 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12295 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12296 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12297 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12298 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12299 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12300 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12301 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12302 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12303 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12304 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12305 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12306 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12307 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12308 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12309 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12310 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12311 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12312 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12313 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12314 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12315 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12316 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12317 * sysdeps/unix/sysv/linux/raise.c: ... here.
12318 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12319 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12320 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12321 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12322 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12323 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12324 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12325 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12326 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12327 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12328 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12329 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12330 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12331 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12332 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12334 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12336 * sysdeps/generic/memcopy.h: Add comment for
12337 MEMCPY_OK_FOR_FWD_MEMMOVE.
12339 2014-07-04 Will Newton <will.newton@linaro.org>
12341 * string/memchr.c: Merge from gnulib.
12342 [_LIBC]: Remove conditionals.
12343 (__ptr_t): Remove define.
12344 (LONG_MAX_32_BITS): Likewise.
12345 (LONG_MAX): Likewise.
12346 (MEMCHR): Use ANSI prototype and optimize algorithm.
12348 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12350 2014-07-03 Roland McGrath <roland@hack.frob.com>
12352 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12353 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12355 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12356 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12357 in a bare environment with no <stdlib.h> installed.
12358 * sysdeps/nptl/configure: Regenerated.
12360 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12362 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12363 AC_EGREP_CPP for kernel header checks, so they only succeed if
12364 including <linux/version.h> actually works right.
12365 * sysdeps/unix/sysv/linux/configure: Regenerated.
12367 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12368 value so it's not diagnosed as unused.
12370 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12371 thing) with "ifeq ($(subdir),rt)".
12373 2014-07-03 Richard Henderson <rth@redhat.com>
12375 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12376 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12377 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12379 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12380 (math_force_eval): New.
12382 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12383 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12385 * sysdeps/alpha/fpu/s_round.c: Remove file.
12386 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12388 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12389 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12390 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12391 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12392 (_dl_start, print_statistics): Likewise.
12393 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12394 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12396 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12397 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12398 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12399 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12401 (HP_SMALL_TIMING_AVAIL): Define.
12402 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12403 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12404 (HP_SMALL_TIMING_AVAIL): Define.
12405 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12406 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12408 * sysdeps/aarch64/hp-timing.h: New file.
12410 * sysdeps/generic/hp-timing.h: Remove dead comment.
12411 * sysdeps/generic/hp-timing-common.h: New file.
12412 * sysdeps/alpha/hp-timing.h: Include it.
12413 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12414 * sysdeps/i386/i686/hp-timing.h: Likewise.
12415 * sysdeps/ia64/hp-timing.h: Likewise.
12416 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12417 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12418 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12419 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12420 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12421 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12422 (hp_timing_t): New.
12424 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12425 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12426 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12427 * elf/rtld.c (_dl_start_final): Likewise.
12428 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12429 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12430 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12431 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12432 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12434 (HP_TIMING_DIFF_INIT): Remove.
12435 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12436 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12437 (HP_TIMING_DIFF_INIT): Remove.
12438 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12439 * sysdeps/i386/i686/hp-timing.c: Remove file.
12440 * sysdeps/x86_64/hp-timing.c: Remove file.
12441 * sysdeps/ia64/hp-timing.c: Remove file.
12442 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12443 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12444 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12445 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12447 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12448 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12449 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12450 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12451 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12452 (HP_TIMING_ACCUM): Remove.
12453 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12454 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12455 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12457 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12458 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12459 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12460 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12461 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12462 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12463 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12464 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12466 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12468 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12470 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12472 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12474 Sync up with gettext.
12475 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12476 [_MSC_VER]: Include malloc.h
12477 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12478 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12479 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12480 TEMP_FAILURE_RETRY. Cast return of alloca.
12481 [!_LIBC] Call gl_rwlock_init.
12482 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12484 2014-07-02 Roland McGrath <roland@hack.frob.com>
12486 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12487 before checking its value.
12489 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12491 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12493 * debug/memcpy_chk.c: Don't include pagecopy.h.
12494 * debug/mempcpy_chk.c: Likewise.
12495 * string/memcpy.c: Likewise.
12496 * string/memmove.c: Likewise.
12497 * sysdeps/powerpc/memmove.c: Likewise.
12498 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12499 definition of PAGE_COPY_FWD_MAYBE here...
12500 * sysdeps/generic/pagecopy.h: ... from here.
12501 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12503 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12504 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12506 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12510 (__libc_ifunc_impl_list): Likewise.
12511 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12512 multiarch strcat for PPC64.
12513 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12514 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12516 2014-07-02 Roland McGrath <roland@hack.frob.com>
12518 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12520 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12522 * intl/loadmsgcat.c: Remove declaration of
12523 get_sysdep_segment_value.
12524 (get_sysdep_segment_value): Use ISO C style.
12525 (_nl_load_domain): Use ISO C style. Get rid of redundant
12526 semicolon. Fix typo and formatting in comment.
12527 (_nl_unload_domain): Use ISO C style.
12529 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12531 2014-07-02 Will Newton <will.newton@linaro.org>
12533 * malloc/obstack.c: Merge from gnulib master.
12534 [HAVE_CONFIG_H]: Remove conditional code.
12535 [!_LIBC]: Include config.h.
12536 [!ELIDE_CODE]: Don't include inttypes.h, include
12537 stdint.h unconditionally.
12538 (print_and_abort): Mark as _Noreturn.
12539 (_obstack_allocated_p): Mark as __attribute_pure__.
12540 (obstack_free): Rename to __obstack_free.
12541 [!__attribute__]: Remove conditional code.
12542 * malloc/obstack.h: Merge from gnulib master.
12543 [__cplusplus]: Move conditional down.
12544 [!__attribute_pure__]: Define __attribute_pure__ here
12545 if it is not already defined.
12546 (_obstack_memory_used): Mark as __attribute_pure__.
12547 [!__obstack_free]: Define as obstack_free.
12548 [__GNUC__]: Remove check for ancient NeXT gcc.
12550 2014-07-02 Will Newton <will.newton@linaro.org>
12551 Paul Eggert <eggert@cs.ucla.edu>
12553 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12555 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12557 * resolv/gethnamaddr.c: Add comment warning that the file is
12560 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12562 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12565 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12566 entry for aio_cancel and aio_cancel64.
12567 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12568 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12569 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12570 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12571 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12572 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12573 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12574 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12575 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12576 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12577 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12578 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12579 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12581 2014-07-01 Roland McGrath <roland@hack.frob.com>
12583 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12584 * nptl/pthread_mutex_lock.c: Likewise.
12585 * nptl/pthread_mutex_timedlock.c: Likewise.
12586 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12588 2014-07-01 Richard henderson <rth@redhat.com>
12590 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12591 (__isnan, __isnanl): Remove.
12592 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12594 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12596 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12598 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12600 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12602 * resolv/nss_dns/dns-host.c (getanswer_r)
12603 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12605 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12607 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12608 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12610 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12611 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12613 2014-07-01 Roland McGrath <roland@hack.frob.com>
12615 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12616 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12618 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12619 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12621 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12622 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12624 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12625 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12627 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12628 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12629 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12630 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12632 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12633 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12634 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12635 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12636 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12638 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12640 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12641 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12642 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12643 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12644 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12645 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12646 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12647 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12648 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12649 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12650 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12651 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12652 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12653 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12654 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12655 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12656 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12657 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12658 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12659 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12661 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12662 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12663 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12664 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12665 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12666 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12667 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12668 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12670 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
12672 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12673 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12674 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12677 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12681 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12683 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12684 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12686 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12688 * sysdeps/arm/libm-test-ulps: Regenerated.
12690 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12691 Roland McGrath <roland@hack.frob.com>
12693 * test-skeleton.c (signal_handler): Kill the whole process group
12694 before killing the child individually.
12695 (main): Report any failure on `setpgid'.
12697 2014-06-30 Roland McGrath <roland@hack.frob.com>
12699 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12700 from _TLS_H to _ARM_NPTL_TLS_H.
12701 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12702 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12704 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12707 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12708 (__expm1l): Return argument unchanged when small but not
12711 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12712 include macro name.
12713 (_FP_UNPACK_RAW_1_P): Likewise.
12714 (_FP_PACK_RAW_1): Likewise.
12715 (_FP_PACK_RAW_1_P): Likewise.
12716 (_FP_MUL_MEAT_1_wide): Likewise.
12717 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12718 (_FP_MUL_MEAT_1_hard): Likewise.
12719 (_FP_DIV_MEAT_1_imm): Likewise.
12720 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12721 (_FP_DIV_MEAT_1_udiv): Likewise.
12722 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12723 (_FP_UNPACK_RAW_2): Likewise.
12724 (_FP_UNPACK_RAW_2_P): Likewise.
12725 (_FP_PACK_RAW_2): Likewise.
12726 (_FP_PACK_RAW_2_P): Likewise.
12727 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12728 (_FP_MUL_MEAT_2_wide): Likewise.
12729 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12730 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12731 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12732 (_FP_MUL_MEAT_2_gmp): Likewise.
12733 (_FP_DIV_MEAT_2_udiv): Likewise.
12734 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12735 (_FP_FRAC_SRL_4): Likewise.
12736 (_FP_FRAC_SRST_4): Likewise.
12737 (_FP_FRAC_SRS_4): Likewise.
12738 (_FP_UNPACK_RAW_4): Likewise.
12739 (_FP_UNPACK_RAW_4_P): Likewise.
12740 (_FP_PACK_RAW_4): Likewise.
12741 (_FP_PACK_RAW_4_P): Likewise.
12742 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12743 (_FP_MUL_MEAT_4_wide): Likewise.
12744 (_FP_MUL_MEAT_4_gmp): Likewise.
12745 (umul_ppppmnnn): Likewise.
12746 (_FP_DIV_MEAT_4_udiv): Likewise.
12747 (__FP_FRAC_ADD_4): Likewise.
12748 (__FP_FRAC_SUB_3): Likewise.
12749 (__FP_FRAC_SUB_4): Likewise.
12750 (__FP_FRAC_DEC_3): Likewise.
12751 (__FP_FRAC_DEC_4): Likewise.
12752 (__FP_FRAC_ADDI_4): Likewise.
12753 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12754 (_FP_FRAC_SRL_8): Likewise.
12755 (_FP_FRAC_SRS_8): Likewise.
12757 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12758 include macro name.
12759 (FP_UNPACK_RAW_EP): Likewise.
12760 (FP_PACK_RAW_E): Likewise.
12761 (FP_PACK_RAW_EP): Likewise.
12762 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12763 (_FP_ISSIGNAN): Likewise.
12764 (_FP_ADD_INTERNAL): Likewise.
12765 (_FP_FMA): Likewise.
12766 (_FP_CMP): Likewise.
12767 (_FP_SQRT): Likewise.
12768 (_FP_TO_INT): Likewise.
12769 (_FP_FROM_INT): Likewise.
12770 (FP_EXTEND): Likewise.
12771 (_FP_DIV_MEAT_N_loop): Likewise.
12773 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12775 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12778 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12781 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12782 result with correct sign in case of exponents that produce
12783 overflow except for X very close to 1.
12785 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12787 mktime: merge #if/#ifdef usage from glibc
12788 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12789 as that works with both Glibc's and Gnulib's style.
12790 See thread starting at Siddhesh Poyarekar's bug report at:
12791 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12793 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12795 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12796 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12797 * sysdeps/tile/tilegx/memmove.c: Remove file.
12799 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12801 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12802 abi-name definition.
12803 * scripts/soversions.awk: Do not handle or generate ABI lines.
12804 * shlib-versions: Remove ABI entries.
12805 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12806 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12808 2014-06-27 Roland McGrath <roland@hack.frob.com>
12810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12811 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12812 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12813 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12815 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12818 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12821 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12822 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12823 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12825 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12827 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12829 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12830 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12831 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12834 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12835 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12836 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12837 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12838 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12841 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12844 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12846 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12847 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12849 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12851 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12853 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12855 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12856 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12858 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12859 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12860 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12861 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12863 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12866 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12867 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12868 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12869 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12871 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12873 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12874 Identical file removed.
12875 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12877 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12878 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12879 Identical file removed.
12880 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12881 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12882 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12884 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12885 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12886 Identical file removed.
12887 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12888 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12890 Identical file removed.
12891 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12892 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12893 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12894 Identical file removed.
12895 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12896 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12897 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12898 Identical file removed.
12899 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12901 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12902 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12903 Identical file removed.
12904 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12906 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12908 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12909 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12910 Identical file removed.
12911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12913 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12915 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12916 Identical file removed.
12917 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12919 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12920 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12921 Identical file removed.
12922 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12924 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12925 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12926 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12927 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12928 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12931 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12932 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12933 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12935 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12936 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12937 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12938 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12939 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12941 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12944 * nscd/nscd.c (monitor_child): Return exit status of child
12945 instead of return value from wait syscall.
12947 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12949 * configure.ac (libc_commonpagesize): Remove variable.
12950 (libc_relro_required): Likewise.
12951 (libc_cv_z_relro): Remove configure test.
12952 * configure: Regenerated.
12953 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12955 (libc_relro_required): Likewise.
12956 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12957 (libc_relro_required): Likewise.
12958 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12959 (libc_relro_required): Likewise.
12960 * sysdeps/arm/preconfigure: Regenerated.
12961 * sysdeps/ia64/preconfigure: Remove file.
12962 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12964 (libc_relro_required): Likewise.
12968 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12969 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12970 recompute overflowing results in original rounding mode.
12971 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12972 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12973 recompute overflowing results in original rounding mode.
12974 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12975 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12976 recompute overflowing results in original rounding mode.
12977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12978 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12979 recompute overflowing results in original rounding mode.
12980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12981 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12982 recompute overflowing results in original rounding mode.
12983 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12984 (libc_feholdsetround_ctx): New macro.
12985 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12986 * sysdeps/i386/fpu/libm-test-ulps: Update.
12987 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12989 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12991 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12992 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12993 corresponding .cpsetup call.
12995 2014-06-26 Roland McGrath <roland@hack.frob.com>
12997 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12998 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12999 * sysdeps/arm/Makefile [$(subdir) = csu]
13000 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13001 (static-only-routines): Add aeabi_read_tp here.
13002 (shared-only-routines): Add libc-aeabi_read_tp here.
13003 (CFLAGS-libc-start.c): Add -fexceptions here.
13004 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13005 (sysdep_routines, static-only-routines, shared-only-routines):
13006 Don't add to these here.
13007 (CFLAGS-libc-start.c): Likewise.
13009 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13010 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13011 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13012 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13013 * sysdeps/arm/Makefile [$(subdir) = rt]
13014 (librt-sysdep_routines, librt-shared-only-routines):
13015 Append rt-aeabi_unwind_cpp_pr1 here.
13016 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13017 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13018 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13019 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13020 Append nptl-aeabi_unwind_cpp_pr1 here.
13021 (tests): Filter out tst-cleanupx4 here.
13022 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13023 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13024 Don't do those here.
13026 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13028 * scripts/list-sources.sh: Do not handle ports specially.
13030 2014-06-26 Roland McGrath <roland@hack.frob.com>
13032 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13033 * sysdeps/arm/feupdateenv.c: Likewise.
13035 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13037 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13039 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13040 trailing whitespace removed.
13041 * scripts/config.guess: Update to version 2014-03-23.
13042 * scripts/config.sub: Update to version 2014-05-01
13043 * scripts/install-sh: Update to version 2013-12-25.23.
13044 * scripts/move-if-change: Update from gnulib.
13046 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13048 * debug/memmove_chk.c: Remove pagecopy.h include.
13050 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13052 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13053 identical to gnulib mktime.
13055 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13057 * configure.ac: Do not test for machine being rs6000. Do not test
13058 for powerpc*-*soft.
13059 * configure: Regenerated.
13062 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13064 * configure: Regenerated.
13065 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13066 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13067 Remove configure test.
13068 * sysdeps/arm/configure: Regenerated.
13069 * sysdeps/nptl/configure.ac: Do not check
13070 libc_cv_asm_cfi_directives.
13071 * sysdeps/nptl/configure: Regenerated.
13072 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13073 * sysdeps/x86_64/nptl/configure: Remove generated file.
13074 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13076 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13078 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13080 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13081 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13082 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13085 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13086 instead of whether it is defined.
13087 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13088 * sysdeps/hppa/dl-machine.h: Likewise.
13089 * sysdeps/ia64/dl-machine.h: Likewise.
13090 * sysdeps/m68k/dl-machine.h: Likewise.
13091 * sysdeps/microblaze/dl-machine.h: Likewise.
13092 * sysdeps/mips/dl-machine.: Likewise.
13093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13097 * sysdeps/sh/dl-machine.h: Likewise.
13098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13100 * sysdeps/tile/dl-machine.h: Likewise.
13101 * sysdeps/x86_64/dl-machine.h: Likewise.
13103 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13105 (verify_persistent_db): Likewise.
13107 2014-06-26 Roland McGrath <roland@hack.frob.com>
13109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13110 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13112 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13115 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13118 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13120 Identical file removed.
13121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13122 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13124 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13126 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13128 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13130 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13133 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13135 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13137 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13140 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13142 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13144 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13146 Identical file removed.
13147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13148 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13150 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13153 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13158 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13160 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13162 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13164 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13167 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13170 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13172 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13175 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13177 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13179 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13181 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13182 * sysdeps/unix/sysv/linux/s390/Versions
13183 (libpthread: GLIBC_2.19): New version set.
13184 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13185 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13186 (librt: GLIBC_2.3.3): New version set.
13187 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13188 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13189 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13190 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13191 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13192 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13193 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13194 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13195 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13196 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13197 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13198 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13199 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13200 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13201 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13202 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13203 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13204 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13205 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13206 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13207 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13208 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13209 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13210 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13211 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13212 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13213 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13214 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13215 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13216 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13217 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13218 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13219 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13223 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13224 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13225 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13226 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13227 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13229 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13231 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13233 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13234 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13235 (__libc_vfork): Define the function under this name.
13236 [!NOT_IN_libc] (__vfork): Make this an alias.
13237 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13239 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13240 (__libc_vfork): Define the function under this name.
13241 [!NOT_IN_libc] (__vfork): Make this an alias.
13242 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13243 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13244 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13246 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13247 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13249 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13250 code that was previously under [RESET_PID].
13251 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13252 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13253 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13255 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13256 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13257 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13258 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13259 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13260 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13261 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13262 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13263 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13264 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13265 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13267 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13268 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13269 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13270 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13271 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13272 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13273 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13274 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13275 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13276 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13277 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13278 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13279 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13280 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13281 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13282 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13283 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13284 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13285 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13286 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13287 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13288 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13289 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13290 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13291 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13292 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13293 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13294 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13295 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13297 2014-06-25 Roland McGrath <roland@hack.frob.com>
13299 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13300 that was previously under [RESET_PID].
13301 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13303 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13305 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13306 not undefine and redefine.
13307 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13308 [O_CLOEXEC]: Make code unconditional.
13309 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13310 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13311 <kernel-features.h>.
13312 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13313 conditional variable definition.
13314 (shm_open) [O_CLOEXEC]: Make code unconditional.
13315 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13318 * configure.ac (USE_REGPARMS): Don't define here.
13319 * configure: Regenerated.
13320 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13321 * sysdeps/i386/configure: Regenerated.
13323 * nptl/createthread.c: Don't include kernel-features.h.
13324 * nptl/pthread_cancel.c: Likewise.
13325 * nptl/pthread_condattr_setclock.c: Likewise.
13326 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13327 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13328 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13329 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13330 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13331 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13332 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13333 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13334 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13335 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13336 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13337 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13338 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13339 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13340 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13341 * nscd/gai.c: Likewise.
13342 * nss/nss_db/db-open.c: Likewise.
13343 * sysdeps/generic/ldsodefs.h: Likewise.
13344 * sysdeps/sh/nptl/tls.h: Likewise.
13345 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13346 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13347 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13348 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13349 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13350 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13351 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13352 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13353 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13354 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13355 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13356 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13357 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13358 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13359 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13360 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13361 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13362 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13363 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13364 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13365 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13366 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13367 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13368 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13369 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13370 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13371 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13372 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13373 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13374 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13375 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13376 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13377 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13378 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13379 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13380 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13381 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13382 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13383 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13384 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13385 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13386 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13387 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13388 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13389 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13390 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13391 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13392 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13393 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13394 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13395 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13396 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13397 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13398 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13399 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13400 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13425 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13426 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13427 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13428 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13429 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13430 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13431 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13432 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13433 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13434 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13435 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13436 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13437 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13438 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13439 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13440 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13441 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13442 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13443 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13444 * sysdeps/unix/sysv/linux/system.c: Likewise.
13445 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13446 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13447 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13448 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13449 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13450 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13451 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13453 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13454 * configure: Regenerated.
13455 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13457 * configure.ac (base_machine): Do not set specially for particular
13459 * configure: Regenerated.
13460 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13461 settings from configure.ac.
13462 * sysdeps/i386/preconfigure: New file.
13463 * sysdeps/s390/preconfigure: Likewise.
13464 * sysdeps/sh/preconfigure: Likewise.
13465 * sysdeps/sparc/preconfigure: Likewise.
13467 2014-06-25 Roland McGrath <roland@hack.frob.com>
13469 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13470 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13471 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13472 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13473 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13474 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13475 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13476 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13477 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13478 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13479 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13480 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13481 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13482 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13483 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13484 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13485 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13486 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13487 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13489 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13490 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13491 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13492 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13493 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13494 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13495 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13496 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13497 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13498 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13499 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13500 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13501 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13502 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13503 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13504 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13505 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13506 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13507 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13508 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13509 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13510 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13511 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13512 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13513 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13514 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13515 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13516 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13517 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13518 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13519 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13520 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13521 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13522 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13523 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13524 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13525 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13526 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13529 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13531 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13534 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13537 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13539 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13542 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13544 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13546 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13548 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13551 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13554 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13556 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13559 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13561 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13563 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13565 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13567 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13570 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13573 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13575 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13578 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13580 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13582 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13584 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13587 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13590 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13592 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13595 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13597 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13599 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13601 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13603 * timezone/checktab.awk: Update from tzcode 2014e.
13604 * timezone/private.h: Likewise.
13605 * timezone/tzfile.h: Likewise.
13606 * timezone/zdump.c: Likewise.
13607 * timezone/zic.c: Likewise.
13609 * sysdeps/unix/sysv/linux/kernel-features.h
13610 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13611 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13612 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13613 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13614 Remove conditional code.
13616 2014-06-25 Will Newton <will.newton@linaro.org>
13618 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13619 (_dl_arm_cap_flags): Add HWCAP2 values.
13620 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13621 (_DL_HWCAP_COUNT): Increase to 37.
13622 (_DL_HWCAP_LAST): New define.
13623 (_DL_HWCAP2_LAST): New define.
13624 (_dl_procinfo): Add support for printing
13626 (_dl_string_hwcap): Use _dl_hwcap_string.
13628 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13632 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13634 * README: Do not mention ports directory.
13636 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13638 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13639 <kernel-features.h>.
13640 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13641 conditional variable definition.
13642 (__futimes): Update comment.
13643 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13644 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13647 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13648 arguments close to 0.
13649 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13651 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13653 * math/auto-libm-test-in: Add more tests of exp10.
13654 * math/auto-libm-test-out: Regenerated.
13655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13657 * sysdeps/unix/sysv/linux/kernel-features.h
13658 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13659 * sysdeps/unix/sysv/linux/readv.c: Do not include
13660 <kernel-features.h>.
13661 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13662 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13663 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13665 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13667 * sysdeps/unix/sysv/linux/writev.c: Do not include
13668 <kernel-features.h>.
13669 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13670 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13671 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13673 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13676 2014-06-25 Will Newton <will.newton@linaro.org>
13678 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13679 comment changes throughout the file. Remove checks
13680 for HAVE_*_H definitions that are not required.
13681 (__gen_tempname): Call abort if an unknown kind value is
13684 2014-06-25 Andreas Schwab <schwab@suse.de>
13687 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13688 scalbln, scalblnf, scalblnl in libc.
13690 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13693 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13694 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13695 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13697 2014-06-24 Roland McGrath <roland@hack.frob.com>
13699 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13700 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13701 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13702 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13704 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13705 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13707 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13708 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13709 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13710 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13711 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13712 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13713 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13714 * sysdeps/x86/bits/semaphore.h: ... here.
13715 * sysdeps/x86/nptl/elide.h: Moved ...
13716 * sysdeps/x86/elide.h: ... here.
13717 * sysdeps/x86_64/nptl/Implies: File removed.
13718 * sysdeps/i386/nptl/Implies: File removed.
13720 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13723 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13724 return the argument for normal arguments with exponent below -64.
13725 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13727 * math/auto-libm-test-in: Add another test of expm1.
13728 * math/auto-libm-test-out: Regenerated.
13731 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13732 calling __erfcl for arguments at least 16.
13733 * math/auto-libm-test-in: Add more tests of erf.
13734 * math/auto-libm-test-out: Regenerated.
13736 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13737 individual architectures.
13738 * sysdeps/unix/sysv/linux/configure: Regenerated.
13739 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13740 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13741 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13742 (ldd_rewrite_script): Define variable.
13743 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13748 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13749 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13750 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13751 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13752 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13753 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13754 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13755 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13757 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13760 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13761 Rename member __data.d to __data.__elision_data.
13763 2014-06-24 Wilco <wdijkstr@arm.com>
13765 * NEWS: Add 16918 to fixed bug list.
13767 2014-06-24 Wilco <wdijkstr@arm.com>
13769 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13771 2014-06-24 Wilco <wdijkstr@arm.com>
13773 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13774 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13775 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13776 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13777 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13778 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13779 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13782 2014-06-24 Wilco <wdijkstr@arm.com>
13784 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13786 2014-06-24 Wilco <wdijkstr@arm.com>
13788 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13789 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13790 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13791 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13793 2014-06-24 Wilco <wdijkstr@arm.com>
13796 * sysdeps/arm/feupdateenv.c (feupdateenv):
13797 Rewrite to reduce FPSCR accesses and fix return value.
13799 2014-06-24 Wilco <wdijkstr@arm.com>
13801 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13802 Optimize to avoid unnecessary FPSCR writes.
13803 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13804 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13805 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13806 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13808 2014-06-24 Wilco <wdijkstr@arm.com>
13810 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13811 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13812 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13813 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13814 Call libc_fetestexcept_vfp.
13815 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13816 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13817 __SOFTFP__ ifdef so that they can be built for softfp.
13819 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13821 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13822 argument type signed char.
13824 * Makerules (check-abi): Dump diff of symlist if the test
13827 2014-06-23 Roland McGrath <roland@hack.frob.com>
13829 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13832 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13833 Remove unused variable ST.
13835 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13839 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13840 small arguments before calling __expm1.
13841 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13842 small arguments before calling __expm1f.
13843 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13844 small arguments before calling __expm1l.
13845 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13847 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13848 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13849 spurious underflow for some cosh tests.
13850 * math/auto-libm-test-out: Regenerated.
13851 * sysdeps/i386/fpu/libm-test-ulps: Update.
13854 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13855 (__ieee754_y1): Set errno if return value overflows.
13856 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13857 (__ieee754_y1f): Set errno if return value overflows.
13858 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13859 (__ieee754_y1l): Set errno if return value overflows.
13860 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13861 (__ieee754_y1l): Set errno if return value overflows.
13862 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13863 * math/auto-libm-test-out: Regenerated.
13865 * math/gen-auto-libm-tests.c: Document use of
13866 ignore-zero-inf-sign.
13867 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13868 (input_flags): Add ignore-zero-inf-sign.
13869 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13870 * math/gen-libm-test.pl (generate_testfile): Handle
13871 ignore-zero-inf-sign.
13872 * math/auto-libm-test-in: Mark some cpow tests with
13873 ignore-zero-inf-sign and some with xfail-rounding.
13874 * math/auto-libm-test-out: Regenerated.
13875 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13876 * sysdeps/i386/fpu/libm-test-ulps: Update.
13877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13880 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13881 overflowing or underflowing operations take place with sign of
13883 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13884 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13885 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13886 (__ieee754_pow): Recompute overflowing and underflowing results in
13887 original rounding mode.
13888 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13889 (__powl_helper): Allow negative argument X and scale negated value
13890 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13891 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13892 overflowing or underflowing operations take place with sign of
13894 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13896 * math/auto-libm-test-in: Add more tests of pow.
13897 * math/auto-libm-test-out: Regenerated.
13898 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13899 (pow_tonearest_test_data): Remove.
13900 (pow_test_tonearest): Likewise.
13901 (pow_towardzero_test_data): Likewise.
13902 (pow_test_towardzero): Likewise.
13903 (pow_downward_test_data): Likewise.
13904 (pow_test_downward): Likewise.
13905 (pow_upward_test_data): Likewise.
13906 (pow_test_upward): Likewise.
13907 (main): Don't call removed functions.
13908 * sysdeps/i386/fpu/libm-test-ulps: Update.
13909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13911 2014-06-23 Roland McGrath <roland@hack.frob.com>
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14087 2014-06-23 Will Newton <will.newton@linaro.org>
14088 Wilco <wdijkstr@arm.com>
14090 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14091 implementation. Include get-rounding-mode.h.
14092 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14093 [!libc_feholdsetround_noex_ctx]: Define
14094 libc_feholdsetround_noex_ctx.
14095 [!libc_feholdsetround_noexf_ctx]: Define
14096 libc_feholdsetround_noexf_ctx.
14097 [!libc_feholdsetround_noexl_ctx]: Define
14098 libc_feholdsetround_noexl_ctx.
14099 (libc_feholdsetround_ctx): New function.
14100 (libc_feresetround_ctx): New function.
14101 (libc_feholdsetround_noex_ctx): New function.
14102 (libc_feresetround_noex_ctx): New function.
14104 2014-06-23 Roland McGrath <roland@hack.frob.com>
14106 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14107 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14108 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14109 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14110 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14111 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14113 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14114 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14115 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14116 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14117 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14118 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14119 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14120 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14122 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14125 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14127 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14128 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14130 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14131 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14133 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14134 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14135 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14137 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14138 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14139 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14142 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14143 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14145 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14146 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14147 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14148 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14150 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14151 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14152 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14153 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14154 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14155 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14156 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14157 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14158 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14161 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14163 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14164 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14165 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14166 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14167 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14168 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14169 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14170 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14171 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14172 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14173 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14174 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14175 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14177 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14178 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14179 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14181 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14184 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14185 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14186 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14187 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14188 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14190 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14191 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14192 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14193 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14194 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14195 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14196 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14197 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14199 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14200 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14201 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14202 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14203 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14204 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14205 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14206 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14207 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14208 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14209 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14210 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14211 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14212 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14213 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14214 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14215 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14216 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14217 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14219 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14222 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14223 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14224 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14225 (IPV6_PMTUDISC_INTERFACE): Likewise.
14226 (IPV6_PMTUDISC_OMIT): Likewise.
14228 2014-06-23 Andreas Schwab <schwab@suse.de>
14230 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14231 Remove unused errout label.
14233 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14235 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14236 macro: hardware supports Vector Crypto instructions.
14238 2014-06-23 Will Newton <will.newton@linaro.org>
14240 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14241 rather than __builtin_expect.
14243 * elf/dl-lookup.c (undefined_msg): Remove variable.
14244 (_dl_lookup_symbol_x): Replace undefined_msg with string
14247 * elf/dl-lookup.c (do_lookup_unique): New function.
14248 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14249 to a separate function.
14251 2014-06-23 Andreas Schwab <schwab@suse.de>
14254 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14255 before reading the next line.
14257 2014-06-23 Will Newton <will.newton@linaro.org>
14259 * test-skeleton.c (signal_handler): Use printf and %m
14260 rather than perror. Use printf rather than fprintf to
14261 stderr. Use puts rather than fputs to stderr.
14264 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14266 * nscd/nscd.c (thread_info_t): Remove typedef.
14267 (thread_info): Remove variable.
14269 2014-06-21 Allan McRae <allan@archlinux.org>
14271 * NEWS: Mention CVE-2014-4043.
14273 2014-06-20 Roland McGrath <roland@hack.frob.com>
14275 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14276 * nptl/smp.h: ... here.
14278 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14280 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14281 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14282 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14283 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14285 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14286 * nptl/stack-aliasing.h: New file.
14287 * sysdeps/i386/i686/stack-aliasing.h: New file.
14288 * sysdeps/i386/i686/nptl/Makefile: File removed.
14289 * sysdeps/x86_64/stack-aliasing.h: New file.
14290 * sysdeps/x86_64/nptl/Makefile
14291 (CFLAGS-pthread_create.c): Variable removed.
14293 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14294 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14296 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14297 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14300 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14302 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14303 (__ASSUME_SIGFRAME_V2): Remove macro.
14304 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14305 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14306 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14307 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14308 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14309 Declare as function. Remove conditional macro definitions.
14310 (__default_rt_sa_restorer): Likewise.
14311 (__default_sa_restorer_v1): Remove declaration.
14312 (__default_sa_restorer_v2): Likewise.
14313 (__default_rt_sa_restorer_v1): Likewise.
14314 (__default_rt_sa_restorer_v2): Likewise.
14315 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14316 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14317 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14319 2014-06-20 Roland McGrath <roland@hack.frob.com>
14321 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14322 (libpthread-routines): Add sysdep.
14323 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14324 * sysdeps/unix/sysv/linux/sparc/Versions
14325 (libpthread: GLIBC_2.3.3): New version set.
14326 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14327 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14328 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14329 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14330 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14331 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14333 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14334 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14335 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14336 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14337 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14338 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14339 * sysdeps/sparc/nptl/sem_init.c: ... here.
14340 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14341 * sysdeps/sparc/nptl/sem_post.c: ... here.
14342 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14343 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14344 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14345 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14346 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14347 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14348 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14349 (libpthread-routines): Add cpu_relax.
14350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14352 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14353 (librt: GLIBC_2.3.3): New version set.
14354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14355 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14356 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14357 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14360 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14363 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14365 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14367 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14369 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14371 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14374 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14378 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14382 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14384 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14386 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14390 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14394 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14397 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14403 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14405 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14408 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14410 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14412 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14414 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14416 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14417 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14418 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14419 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14420 * nscd/nscd.c: Likewise.
14421 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14422 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14423 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14424 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14426 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14427 <kernel-features.h>.
14428 (init_mq_netlink): Remove conditional have_sock_cloexec
14429 definitions. Remove code conditional on have_sock_cloexec < 0.
14430 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14431 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14432 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14433 <kernel-features.h>.
14434 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14435 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14437 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14440 Add tests for memset_chk and memset.
14442 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14445 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14448 * elf/tst-dl-iter-static.c: New file.
14449 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14451 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14454 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14456 * sysdeps/unix/sysv/linux/kernel-features.h
14457 (__ASSUME_F_GETOWN_EX): Remove macro.
14458 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14459 <kernel-features.h>.
14460 (miss_F_GETOWN_EX): Remove variable or macro.
14461 (do_fcntl): Do not check miss_F_GETOWN_EX.
14462 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14467 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14468 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14470 * sysdeps/unix/sysv/linux/kernel-features.h
14471 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14472 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14473 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14474 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14476 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14479 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14480 Fix calculation of the symbol's value.
14481 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14482 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14483 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14484 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14485 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14486 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14487 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14488 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14489 (modules-names): Add `tst-armtlsdescmod',
14490 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14491 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14492 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14493 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14494 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14495 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14496 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14497 ($(objpfx)tst-armtlsdescloc): New dependency.
14498 ($(objpfx)tst-armtlsdescextnow): Likewise.
14499 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14500 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14501 TLS scheme support.
14502 * sysdeps/arm/configure: Regenerate.
14504 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14506 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14507 (__atfct_seterrno_2): Likewise.
14508 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14509 <kernel-features.h>.
14510 (__ASSUME_ATFCTS): Do not undefine and redefine.
14511 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14512 (__have_atfcts): Remove conditional definition.
14513 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14514 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14515 unreachable if [__ASSUME_ATFCTS].
14516 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14517 not undefine and redefine.
14518 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14519 <kernel-features.h>.
14520 (faccessat) [__NR_faccessat]: Make code unconditional.
14521 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14522 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14523 <kernel-features.h>.
14524 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14525 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14526 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14527 <kernel-features.h>.
14528 (fchownat) [__NR_fchownat]: Make code unconditional.
14529 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14530 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14531 <kernel-features.h>.
14532 (futimesat) [__NR_futimesat]: Make code unconditional.
14533 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14534 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14535 <kernel-features.h>.
14536 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14537 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14538 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14539 <kernel-features.h>.
14540 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14541 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14542 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14543 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14544 <kernel-features.h>.
14545 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14546 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14547 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14548 <kernel-features.h>.
14549 (linkat) [__NR_linkat]: Make code unconditional.
14550 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14551 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14552 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14553 <kernel-features.h>.
14554 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14555 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14556 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14557 <kernel-features.h>.
14558 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14559 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14560 * sysdeps/unix/sysv/linux/openat.c: Do not include
14561 <kernel-features.h>.
14562 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14563 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14564 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14565 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14566 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14567 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14568 <kernel-features.h>.
14569 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14570 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14571 result of INLINE_SYSCALL directly, not via int variable.
14572 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14573 <kernel-features.h>.
14574 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14575 (renameat) [__NR_renameat]: Make code unconditional.
14576 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14577 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14578 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14579 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14580 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14581 (__ASSUME_ATFCTS): Do not undefine and redefine.
14582 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14583 <kernel-features.h>.
14584 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14585 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14586 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14587 <kernel-features.h>.
14588 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14589 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14590 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14591 (__ASSUME_ATFCTS): Do not undefine and redefine.
14592 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14593 <kernel-features.h>.
14594 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14595 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14596 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14597 <kernel-features.h>.
14598 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14599 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14601 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14603 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14605 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14608 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14609 constructed tree before returning error.
14610 * posix/bug-regexp36.c: Expand test case.
14612 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14615 * math/libm-test.inc (scalbln_test_date):
14616 Add errno expectations.
14617 * math/w_scalblnf.c: New File.
14618 Add wrapper which checks for setting errno to ERANGE.
14619 Add weak_alias for corresponding scalbln function.
14620 * math/w_scalbln.c: Likewise.
14621 * math/w_scalblnl.c: Likewise.
14622 * math/Makefile (libm-calls): Add w_scalbln.
14623 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14624 Remove weak_alias for corresponding scalbln function.
14625 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14627 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14629 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14630 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14631 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14632 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14633 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14634 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14635 Remove long_double_symbol for scalblnl function in libm, libc.
14636 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14637 Add wrapper which checks for setting errno to ERANGE.
14638 Add long_double_symbol for scalblnl function in libm, libc.
14639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14640 Remove long_double_symbol for scalblnl in libm.
14641 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14642 Add wrapper which checks for setting errno to ERANGE.
14643 Add long_double_symbol for scalblnl function in libm.
14644 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14645 Do not use wrapper because of own implementation.
14647 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14649 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14650 3 bytes for __pad1 for x32.
14651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14653 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14654 H.J. Lu <hongjiu.lu@intel.com>
14656 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14657 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14658 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14659 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14660 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14662 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14665 * posix/regcomp.c (parse_expression): Deallocate partially
14666 constructed tree before returning error.
14667 * posix/Makefile.c (tests): Add bug-regex36.
14668 (generated): Add bug-regex36.mtrace.
14669 (tests-special): Add $(objpfx)bug-regex36-mem.out
14670 (bug-regex36-ENV): New variable.
14671 ($(objpfx)bug-regex36-mem.out): New rule.
14672 * posix/bug-regex36.c: New file.
14674 2014-06-19 Will Newton <will.newton@linaro.org>
14676 * malloc/malloc.c (systrim): If extra is zero then return
14679 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14681 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14683 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
14685 * sysdeps/aarch64/strchr.S: New file.
14687 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14690 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14691 from arguments -2 or below.
14692 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14693 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14695 2014-06-18 Andreas Schwab <schwab@suse.de>
14698 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14699 of a bracket expr not to run off the end of the string.
14700 * posix/Makefile (tests): Add tst-fnmatch3.
14701 * posix/tst-fnmatch3.c: New file.
14703 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14705 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14706 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14707 [$(cross-compiling) = no]: Likewise.
14708 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14709 [$(cross-compiling) = no]: Likewise.
14711 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14714 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14715 double, adjusted for any remainder from the high double.
14716 * math/libm-test.inc (nearbyint): Add tests.
14719 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14721 * nptl/sysdeps/powerpc/Makefile: Moved ...
14722 * sysdeps/powerpc/nptl/Makefile: ... here.
14723 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14724 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14725 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14726 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14727 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14728 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14729 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14730 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14731 * nptl/sysdeps/powerpc/tls.h: Moved ...
14732 * sysdeps/powerpc/nptl/tls.h: ... here.
14734 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14737 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14738 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14739 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14740 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14741 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14742 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14743 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14744 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14745 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14747 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14749 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14751 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14753 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14756 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14759 2014-06-16 Florian Weimer <fweimer@redhat.com>
14762 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14763 non-executed part of the test.
14765 2014-06-16 Andreas Schwab <schwab@suse.de>
14767 * string/bits/string2.h (strdup, strndup): Update feature guard.
14769 2014-06-14 David S. Miller <davem@davemloft.net>
14771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14773 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14775 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14776 that was previously under [RESET_PID].
14777 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14779 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14780 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14781 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14782 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14783 (__libc_vfork): New strong alias.
14784 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14786 2014-06-14 Andi Kleen <ak@linux.intel.com>
14788 * sysdeps/generic/elide.h: New file.
14790 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14792 * Makefile (installed-headers): Adjust path of pthread.h header.
14794 2014-06-13 Roland McGrath <roland@hack.frob.com>
14796 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14797 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14798 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14799 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14801 * nptl/sysdeps/s390/Makefile: Moved ...
14802 * sysdeps/s390/nptl/Makefile: ... here.
14803 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14804 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14805 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14806 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14807 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14808 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14809 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14810 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14811 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14812 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14813 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14814 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14815 * nptl/sysdeps/s390/tls.h: Moved ...
14816 * sysdeps/s390/nptl/tls.h: ... here.
14818 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14819 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14821 2014-06-13 David S. Miller <davem@davemloft.net>
14823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14826 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14830 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14831 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14832 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14833 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14834 Remove RESET_PID cpp guards.
14835 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14836 Remove RESET_PID cpp guards.
14837 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14839 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14841 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14844 2014-06-13 Andi Kleen <ak@linux.intel.com>
14846 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14847 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14848 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14849 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14850 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14851 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14852 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14853 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14854 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14855 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14857 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14858 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14859 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14860 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14861 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14862 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14863 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14864 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14867 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14868 (pthread_rwlock_rdlock): Add elision.
14869 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14870 (pthread_rwlock_wrlock): Add elision.
14871 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14872 (pthread_rwlock_trywrlock): Add elision.
14873 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14874 (pthread_rwlock_tryrdlock): Add elision.
14875 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14876 (pthread_rwlock_tryrdlock): Add elision unlock.
14877 * nptl/sysdeps/pthread/pthread.h:
14878 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14879 (PTHREAD_RWLOCK_INITIALIZER,
14880 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14881 Handle new elision field.
14882 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14883 * sysdeps/arm/nptl/bits/pthreadtypes.h
14884 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14885 * sysdeps/sh/nptl/bits/pthreadtypes.h
14886 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14887 * sysdeps/tile/nptl/bits/pthreadtypes.h
14888 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14889 * sysdeps/a/nptl/bits/pthreadtypes.h
14890 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14891 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14893 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14894 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14895 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14896 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14897 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14898 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14899 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14900 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14901 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14902 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14903 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14904 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14905 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14906 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14907 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14908 (elision_init): Set try_xbegin to zero when no RTM.
14909 * sysdeps/x86/nptl/bits/pthreadtypes.h
14910 (pthread_rwlock_t): Change __pad1 to __rwelision.
14911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14913 2014-06-13 Andi Kleen <ak@linux.intel.com>
14915 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14916 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14917 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14918 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14920 2014-06-13 Meador Inge <meadori@codesourcery.com>
14923 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14924 that the cached result has been set before returning it.
14926 2014-06-12 Roland McGrath <roland@hack.frob.com>
14928 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14929 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14930 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14931 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14932 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14933 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14935 * nptl/sysdeps/sparc/Makefile: Moved ...
14936 * sysdeps/sparc/nptl/Makefile: ... here.
14937 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14938 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14939 * nptl/sysdeps/sparc/tls.h: Moved ...
14940 * sysdeps/sparc/nptl/tls.h: ... here.
14941 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14942 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14943 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14944 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14945 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14946 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14947 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14948 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14949 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14950 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14951 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14952 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14953 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14954 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14955 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14956 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14957 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14958 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14960 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14963 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14964 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14966 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14967 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14970 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14972 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14973 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14975 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14976 (struct list_links): Type removed.
14977 (struct thread_node, struct timer_node): Replace struct list_links
14978 with struct list_head.
14979 (list_unlink_ip): Likewise.
14980 * sysdeps/pthread/timer_routines.c
14981 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14982 (list_append, list_insbefore): Likewise.
14983 (list_init): Function removed.
14984 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14985 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14986 * sysdeps/pthread/Makefile: ... here, new file.
14988 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14989 * sysdeps/nptl/Implies: ... here.
14990 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14991 * nptl/sysdeps/pthread/list.h: Moved ...
14992 * include/list.h: ... here.
14993 * nptl/sysdeps/pthread/createthread.c: Moved ...
14994 * nptl/createthread.c: ... here.
14995 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14996 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14997 * nptl/pt-longjmp.c: ... here.
14998 * nptl/sysdeps/pthread/Makefile: Moved ...
14999 * sysdeps/nptl/Makefile: ... here.
15000 * nptl/sysdeps/pthread/Subdirs: Moved ...
15001 * sysdeps/nptl/Subdirs: ... here.
15002 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15003 * sysdeps/nptl/aio_misc.h: ... here.
15004 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15005 * sysdeps/nptl/bits/libc-lock.h: ... here.
15006 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15007 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15008 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15009 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15010 * nptl/sysdeps/pthread/configure: Moved ...
15011 * sysdeps/nptl/configure: ... here.
15012 * nptl/sysdeps/pthread/configure.ac: Moved ...
15013 * sysdeps/nptl/configure.ac: ... here.
15014 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15015 * sysdeps/nptl/gai_misc.h: ... here.
15016 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15017 * sysdeps/nptl/librt-cancellation.c: ... here.
15018 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15019 * sysdeps/nptl/malloc-machine.h: ... here.
15020 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15021 * sysdeps/nptl/pthread-functions.h: ... here.
15022 * nptl/sysdeps/pthread/pthread.h: Moved ...
15023 * sysdeps/nptl/pthread.h: ... here.
15024 * nptl/sysdeps/pthread/setxid.h: Moved ...
15025 * sysdeps/nptl/setxid.h: ... here.
15026 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15027 * sysdeps/nptl/sigfillset.c: ... here.
15028 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15029 * sysdeps/nptl/tcb-offsets.h: ... here.
15030 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15031 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15032 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15033 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15034 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15035 * sysdeps/pthread/allocalim.h: ... here.
15036 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15037 * sysdeps/pthread/bits/sigthread.h: ... here.
15038 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15039 * sysdeps/pthread/flockfile.c: ... here.
15040 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15041 * sysdeps/pthread/ftrylockfile.c: ... here.
15042 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15043 * sysdeps/pthread/funlockfile.c: ... here.
15044 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15045 * sysdeps/pthread/posix-timer.h: ... here.
15046 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15047 * sysdeps/pthread/timer_create.c: ... here.
15048 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15049 * sysdeps/pthread/timer_delete.c: ... here.
15050 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15051 * sysdeps/pthread/timer_getoverr.c: ... here.
15052 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15053 * sysdeps/pthread/timer_gettime.c: ... here.
15054 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15055 * sysdeps/pthread/timer_routines.c: ... here.
15056 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15057 * sysdeps/pthread/timer_settime.c: ... here.
15058 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15059 * sysdeps/pthread/tst-timer.c: ... here.
15060 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15061 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15063 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15064 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15066 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15067 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15068 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15069 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15070 Update #include target.
15071 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15072 * sysdeps/i386/i686/nptl/Makefile: ... here.
15073 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15074 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15075 Update #include target.
15076 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15077 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15078 * nptl/sysdeps/i386/Makefile: Moved ...
15079 * sysdeps/i386/nptl/Makefile: ... here.
15080 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15081 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15082 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15083 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15084 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15085 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15086 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15087 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15088 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15089 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15090 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15091 * nptl/sysdeps/i386/tls.h: Moved ...
15092 * sysdeps/i386/nptl/tls.h: ... here.
15094 * sysdeps/sh/Makefile [$(subdir) = csu]
15095 (gen-as-const-headers): Add tcb-offsets.sym.
15096 * nptl/sysdeps/sh/Makefile: File removed.
15097 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15098 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15099 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15100 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15101 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15102 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15103 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15104 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15105 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15106 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15107 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15108 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15109 * nptl/sysdeps/sh/tls.h: Moved ...
15110 * sysdeps/sh/nptl/tls.h: ... here.
15111 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15112 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15113 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15114 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15115 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15116 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15117 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15118 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15119 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15120 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15121 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15122 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15123 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15124 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15125 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15126 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15127 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15128 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15129 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15130 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15131 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15132 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15133 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15134 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15135 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15137 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15140 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15141 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15142 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15143 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15144 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15145 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15146 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15147 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15148 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15149 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15150 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15151 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15152 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15153 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15154 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15155 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15156 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15157 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15158 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15160 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15162 * posix/spawn_faction_addopen.c: Include string.h.
15164 2014-06-11 Roland McGrath <roland@hack.frob.com>
15166 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15167 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15168 * nptl/sysdeps/x86_64/Makefile: Moved ...
15169 * sysdeps/x86_64/nptl/Makefile: ... here.
15170 * nptl/sysdeps/x86_64/configure: Moved ...
15171 * sysdeps/x86_64/nptl/configure: ... here.
15172 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15173 * sysdeps/x86_64/nptl/configure.ac: ... here.
15174 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15175 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15176 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15177 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15178 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15179 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15180 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15181 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15182 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15183 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15184 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15185 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15186 * nptl/sysdeps/x86_64/tls.h: Moved ...
15187 * sysdeps/x86_64/nptl/tls.h: ... here.
15188 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15189 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15190 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15191 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15193 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15195 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15199 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15201 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15203 [POSIX] (off_t): Likewise.
15204 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15205 [POSIX] (S_ISBLK): Require macro.
15206 [POSIX] (S_ISCHR): Likewise.
15207 [POSIX] (S_ISDIR): Likewise.
15208 [POSIX] (S_ISFIFO): Likewise.
15209 [POSIX] (S_ISREG): Likewise.
15210 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15212 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15214 [POSIX] (time_t): Likewise.
15215 [POSIX] (timer_t): Likewise.
15217 2014-06-11 Florian Weimer <fweimer@redhat.com>
15220 * posix/spawn_int.h (struct __spawn_action): Make the path string
15221 non-const to support deallocation.
15222 * posix/spawn_faction_addopen.c
15223 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15224 * posix/spawn_faction_destroy.c
15225 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15226 path in all spawn_do_open actions.
15227 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15228 posix_spawn_file_actions_addopen.
15230 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15232 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15233 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15234 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15235 conditional code always true.
15236 (__libc_vfork): New alias.
15238 2014-06-11 Roland McGrath <roland@hack.frob.com>
15240 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15241 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15243 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15245 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15246 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15248 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15249 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15251 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15252 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15254 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15256 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15257 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15258 multiarch strcmp for PPC64.
15259 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15260 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15262 multiarch optimizations.
15263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15264 (__libc_ifunc_impl_list): Likewise.
15266 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15268 * benchtests/scripts/validate_benchout.py: New script.
15269 * benchtests/Makefile (bench-func): Call it.
15270 * benchtests/scripts/benchout.schema.json: New file.
15272 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15274 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15275 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15276 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15277 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15278 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15279 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15280 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15281 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15282 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15283 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15284 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15285 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15286 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15287 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15288 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15289 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15393 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15394 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15395 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15396 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15397 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15399 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15401 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15402 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15403 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15404 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15406 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15407 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15408 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15409 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15410 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15411 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15412 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15415 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15418 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15419 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15420 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15423 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15424 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15425 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15426 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15427 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15428 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15429 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15431 2014-06-10 Wilco <wdijkstr@arm.com>
15433 * math/test-fenv-return.c: New file.
15434 * math/Makefile: Add new test test-fenv-return.
15436 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15439 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15440 when x - 1 is zero.
15441 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15442 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15443 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15444 0.0L for an argument of 1.0L.
15445 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15447 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15448 value when x - 1 is zero.
15449 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15450 * sysdeps/i386/fpu/libm-test-ulps: Update.
15451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15453 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15456 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15458 2014-06-09 Roland McGrath <roland@hack.frob.com>
15460 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15461 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15463 2014-06-09 Roland McGrath <roland@hack.frob.com>
15465 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15466 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15468 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15469 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15471 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15472 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15474 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15475 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15477 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15478 if not already defined.
15479 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15480 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15481 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15482 (TLS_INIT_TP): Use it.
15483 (TLS_DEFINE_INIT_TP): New macro.
15484 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15486 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15488 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15490 [POSIX] (IXANY): Likewise.
15491 [POSIX] (OLCUC): Likewise.
15492 [POSIX || POSIX2008] (CBAUD): Do not allow.
15493 [POSIX || POSIX2008] (DEFECHO): Likewise.
15494 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15495 [POSIX || POSIX2008] (ECHOKE): Likewise.
15496 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15497 [POSIX || POSIX2008] (EXTA): Likewise.
15498 [POSIX || POSIX2008] (EXTB): Likewise.
15499 [POSIX || POSIX2008] (FLUSHO): Likewise.
15500 [POSIX || POSIX2008] (LOBLK): Likewise.
15501 [POSIX || POSIX2008] (PENDIN): Likewise.
15502 [POSIX || POSIX2008] (SWTCH): Likewise.
15503 [POSIX || POSIX2008] (VDISCARD): Likewise.
15504 [POSIX || POSIX2008] (VDSUSP): Likewise.
15505 [POSIX || POSIX2008] (VLNEXT): Likewise.
15506 [POSIX || POSIX2008] (VREPRINT): Likewise.
15507 [POSIX || POSIX2008] (VSTATUS): Likewise.
15508 [POSIX || POSIX2008] (VWERASE): Likewise.
15509 (B*): Change to B[0123456789]*.
15510 * conform/data/time.h-data [POSIX || UNIX98]
15511 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15512 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15513 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15514 [POSIX] (tm_*): Do not allow.
15516 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15518 * Makefile (install): Don't set LANGUAGE.
15519 * Makefile.in (install): Likewise.
15520 * assert/Makefile (test-assert-ENV): Remove variable.
15521 (test-assert-perr-ENV): Likewise.
15522 * elf/Makefile (neededtest4-ENV): Likewise.
15523 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15524 [$(cross-compiling) = no]: Don't set LANGUAGE.
15525 * io/ftwtest-sh (LANG): Remove variable.
15526 * libio/Makefile (tst-widetext-ENV): Likewise.
15527 * manual/install.texi (Running make install): Don't refer to
15528 environment settings for make install.
15529 * INSTALL: Regenerated.
15530 * nptl/tst-tls6.sh: Don't set LANG.
15531 * posix/globtest.sh (LANG): Remove variable.
15532 * string/Makefile (tester-ENV): Likewise.
15533 (inl-tester-ENV): Likewise.
15534 (noinl-tester-ENV): Likewise.
15535 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15536 [$(cross-compiling) = no]: Don't set LANGUAGE.
15537 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15538 without explicit environment settings.
15540 2014-06-06 Roland McGrath <roland@hack.frob.com>
15542 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15543 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15544 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15545 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15547 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15549 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15550 other files in the crypt directory.
15551 * crypt/crypt.c: Remove duplicate includes.
15552 * crypt/crypt-entry.c: Likewise.
15553 * crypt/crypt_util.c: Likewise.
15555 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15557 * Makeconfig (run-program-env): New variable.
15558 (run-program-prefix-before-env): Likewise.
15559 (run-program-prefix-after-env): Likewise.
15560 (run-program-prefix): Define in terms of new variables.
15561 (built-program-cmd-before-env): New variable.
15562 (built-program-cmd-after-env): Likewise.
15563 (built-program-cmd): Define in terms of new variables.
15564 (test-program-prefix-before-env): New variable.
15565 (test-program-prefix-after-env): Likewise.
15566 (test-program-prefix): Define in terms of new variables.
15567 (test-program-cmd-before-env): New variable.
15568 (test-program-cmd-after-env): Likewise.
15569 (test-program-cmd): Define in terms of new variables.
15570 * Rules (make-test-out): Use $(run-program-env).
15571 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15572 (help): Do not mention environment variables. Mention
15573 --timeoutfactor option.
15574 (timeoutfactor): New variable.
15575 (blacklist_exports): Remove function.
15576 (exports): Remove variable.
15577 (command): Do not include ${exports}.
15578 * manual/install.texi (Configuring and compiling): Do not mention
15579 test wrappers preserving environment variables. Mention that last
15580 assignment to a variable must take precedence.
15581 * INSTALL: Regenerated.
15582 * benchtests/Makefile (run-bench): Use $(run-program-env).
15583 * catgets/Makefile ($(objpfx)test1.cat): Use
15584 $(built-program-cmd-before-env), $(run-program-env) and
15585 $(built-program-cmd-after-env).
15586 ($(objpfx)test2.cat): Do not specify environment variables
15588 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15589 $(run-program-env) and $(built-program-cmd-after-env).
15590 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15591 $(run-program-env) and $(test-program-cmd-after-env).
15592 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15594 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15595 run_program_env and test_program_cmd_after_env arguments.
15596 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15597 * elf/tst-pathopt.sh: Use run_program_env argument.
15598 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15599 $(test-wrapper-env) and $(run-program-env).
15600 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15601 run_program_env arguments.
15602 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15603 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15604 $(test-program-prefix-before-env), $(run-program-env) and
15605 $(test-program-prefix-after-env).
15606 ($(objpfx)tst-gettext2.out): Likewise.
15607 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15608 run_program_env and test_program_prefix_after_env arguments.
15609 * intl/tst-gettext2.sh: Likewise.
15610 * intl/tst-gettext4.sh: Do not set environment variables
15612 * intl/tst-gettext6.sh: Likewise.
15613 * intl/tst-translit.sh: Likewise.
15614 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15615 $(test-program-prefix-before-env), $(run-program-env) and
15616 $(test-program-prefix-after-env).
15617 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15618 run_program_env and test_program_prefix_after_env arguments.
15619 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15620 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15621 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15622 explicitly with each use of ${test_wrapper_env}.
15623 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15624 $(test-program-prefix-before-env), $(run-program-env) and
15625 $(test-program-prefix-after-env).
15626 * posix/tst-getconf.sh: Do not set environment variables
15628 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15629 run_program_env and test_program_prefix_after_env arguments.
15630 * stdio-common/tst-printf.sh: Do not set environment variables
15632 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15633 $(test-program-prefix-before-env), $(run-program-env) and
15634 $(test-program-prefix-after-env).
15635 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15636 run_program_env and test_program_prefix_after_env arguments.
15637 Split $test calls into $test_pre and $test.
15638 * timezone/Makefile (build-testdata): Use
15639 $(built-program-cmd-before-env), $(run-program-env) and
15640 $(built-program-cmd-after-env).
15642 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15644 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15645 strlen for non SHARED builds.
15647 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15649 * nptl/allocatestack.c (check_list): Inlined function...
15650 (__reclaim_stacks): ... here.
15652 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15655 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15658 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15660 * Rules (make-test-out): Include
15661 LOCPATH=$(common-objpfx)localedata in default environment.
15662 * debug/Makefile (tst-chk1-ENV): Remove variable.
15663 (tst-chk2-ENV): Likewise.
15664 (tst-chk3-ENV): Likewise.
15665 (tst-chk4-ENV): Likewise.
15666 (tst-chk5-ENV): Likewise.
15667 (tst-chk6-ENV): Likewise.
15668 (tst-lfschk1-ENV): Likewise.
15669 (tst-lfschk2-ENV): Likewise.
15670 (tst-lfschk3-ENV): Likewise.
15671 (tst-lfschk4-ENV): Likewise.
15672 (tst-lfschk5-ENV): Likewise.
15673 (tst-lfschk6-ENV): Likewise.
15674 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15675 (tst-iconv7-ENV): Likewise.
15676 * intl/Makefile (LOCPATH-ENV): Likewise.
15677 (tst-codeset-ENV): Likewise.
15678 (tst-gettext3-ENV): Likewise.
15679 (tst-gettext5-ENV): Likewise.
15680 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15681 (tst-fopenloc-ENV): Likewise.
15682 (tst-fgetws-ENV): Remove variable.
15683 (tst-ungetwc1-ENV): Likewise.
15684 (tst-ungetwc2-ENV): Likewise.
15685 (bug-ungetwc2-ENV): Likewise.
15686 (tst-swscanf-ENV): Likewise.
15687 (bug-ftell-ENV): Likewise.
15688 (tst-fgetwc-ENV): Likewise.
15689 (tst-fseek-ENV): Likewise.
15690 (tst-ftell-partial-wide-ENV): Likewise.
15691 (tst-ftell-active-handler-ENV): Likewise.
15692 (tst-ftell-append-ENV): Likewise.
15693 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15694 (tst-regexloc-ENV): Likewise.
15695 (bug-regex1-ENV): Likewise.
15696 (tst-regex-ENV): Likewise.
15697 (tst-regex2-ENV): Likewise.
15698 (bug-regex5-ENV): Likewise.
15699 (bug-regex6-ENV): Likewise.
15700 (bug-regex17-ENV): Likewise.
15701 (bug-regex18-ENV): Likewise.
15702 (bug-regex19-ENV): Likewise.
15703 (bug-regex20-ENV): Likewise.
15704 (bug-regex22-ENV): Likewise.
15705 (bug-regex23-ENV): Likewise.
15706 (bug-regex25-ENV): Likewise.
15707 (bug-regex26-ENV): Likewise.
15708 (bug-regex30-ENV): Likewise.
15709 (bug-regex32-ENV): Likewise.
15710 (bug-regex33-ENV): Likewise.
15711 (bug-regex34-ENV): Likewise.
15712 (bug-regex35-ENV): Likewise.
15713 (tst-rxspencer-ENV): Likewise.
15714 (tst-rxspencer-no-utf8-ENV): Likewise.
15715 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15716 (tst-sscanf-ENV): Likewise.
15717 (tst-swprintf-ENV): Likewise.
15718 (tst-swscanf-ENV): Likewise.
15719 (test-vfprintf-ENV): Likewise.
15720 (scanf13-ENV): Likewise.
15721 (bug14-ENV): Likewise.
15722 (tst-grouping-ENV): Likewise.
15723 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15724 (tst-strtod3-ENV): Likewise.
15725 (tst-strtod4-ENV): Likewise.
15726 (tst-strtod5-ENV): Likewise.
15727 (testmb2-ENV): Likewise./
15728 * string/Makefile (tst-strxfrm-ENV): Likewise.
15729 (tst-strxfrm2-ENV): Likewise.
15730 (bug-strcoll1-ENV): Likewise.
15731 (test-strcasecmp-ENV): Likewise.
15732 (test-strncasecmp-ENV): Likewise.
15733 * time/Makefile (tst-strptime-ENV): Likewise.
15734 (tst-ftime_l-ENV): Likewise.
15735 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15736 (tst-mbrtowc-ENV): Likewise.
15737 (tst-wcrtomb-ENV): Likewise.
15738 (tst-mbrtowc2-ENV): Likewise.
15739 (tst-c16c32-1-ENV): Likewise.
15740 (tst-mbsnrtowcs-ENV): Likewise.
15742 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15744 * manual/resource.texi (How to get information about the memory
15745 subsystem?): Fix typo.
15746 Reported by Peon de la Parra Ivan <peon@keba.com>
15748 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15751 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15752 (pthread_spin_lock): Branch out of spin loop to proper location.
15753 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15754 (pthread_spin_lock): Likewise.
15756 * nptl/tst-spin4.c: New test.
15757 * nptl/Makefile (tests): Add tst-spin4.
15759 2014-06-03 Andreas Schwab <schwab@suse.de>
15762 * resolv/res_send.c (send_dg): Reload file descriptor after
15765 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15767 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15769 2014-06-03 Richard Henderson <rth@redhat.com>
15771 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15772 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15773 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15774 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15775 in the SAVE_PID block.
15776 (__libc_vfork): New alias.
15777 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15779 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15780 child in registers, not on the stack. Remove RESET_PID conditionals.
15781 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15783 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15785 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15787 2014-06-03 Wilco <wdijkstr@arm.com>
15789 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15790 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15791 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15792 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15793 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15796 2014-06-03 Wilco <wdijkstr@arm.com>
15798 * sysdeps/aarch64/fpu/math_private.h
15799 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15800 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15801 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15802 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15805 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15807 * crypt/crypt-private.h: Include ufc-crypt.h.
15808 (__b64_from_24bit): Declare extern.
15809 * crypt/crypt_util.c(__b64_from_24bit): New function.
15810 (b64t): New static const variable.
15811 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15812 (b64t): Remove variable.
15813 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15814 * crypt/sha256-crypt.c: Include crypt-private.h.
15815 (b64t): Remove variable.
15816 (__sha256_crypt_r): Remove b64_from_24bit and replace
15817 with __b64_from_24bit.
15818 * crypt/sha512-crypt.c: Likewise.
15820 2014-06-02 Roland McGrath <roland@hack.frob.com>
15822 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15823 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15824 Label the code __libc_vfork rather than __vfork.
15825 [!NOT_IN_libc] (vfork): Define as weak alias.
15826 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15827 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15828 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15830 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15832 * malloc/malloc.c (malloc_info): Fix format specifier for
15835 2014-06-02 Wilco <wdijkstr@arm.com>
15837 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15840 2014-06-02 Wilco <wdijkstr@arm.com>
15843 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15844 Rewrite to reduce FPCR/FPSR accesses.
15846 2014-06-01 David S. Miller <davem@davemloft.net>
15848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15850 2014-05-31 David S. Miller <davem@davemloft.net>
15852 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15853 to occur in round to nearest mode when |x| >= 2.0
15855 2014-05-30 Richard Henderson <rth@twiddle.net>
15857 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15858 (PSEUDO_RET_NOERRNO): Remove.
15859 (ret): Don't redefine.
15860 (ret_NOERRNO): Define in terms of ret.
15861 (ret_ERRVAL): Likewise.
15863 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15864 use of PSEUDO_RET; perform the error check directly.
15866 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15868 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15871 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15873 * malloc/malloc (malloc_info): Fix formatting.
15875 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15876 Roland McGrath <roland@hack.frob.com>
15878 * malloc/malloc (malloc_info): Also print mmapped statistics.
15880 2014-05-30 Roland McGrath <roland@hack.frob.com>
15882 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15883 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15885 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15887 * malloc/malloc.c (malloc_info): Inline mi_arena.
15889 2014-05-29 Richard Henderson <rth@twiddle.net>
15891 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15892 Remove comma before expanding ASM_ARGS_##nr.
15893 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15894 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15896 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15897 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15898 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15899 (ASM_ARGS_1): Add leading comma.
15901 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15902 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15903 to __errno_location.
15904 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15905 Remove the expected plt for __errno_location.
15907 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15908 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15911 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15912 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15913 it and break it down.
15914 (DOCARGS_0, DOCARGS_1): Do nothing.
15915 (DOCARGS_2): Update to store into the new stack frame.
15916 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15917 (UNDOCARGS_1): Update to restore from the new stack frame.
15918 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15919 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15921 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15922 (SINGLE_THREAD_P): New parameter for result regno.
15923 (PSEUDO): Update to match; use cbz instead of beq.
15925 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15926 Use ENTRY to define the _nocancel entry point. Share the syscall
15927 and syscall error check paths with the cancel path.
15930 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15931 whitespace; tabs before and after asm mnemonics.
15933 2014-05-29 Eric Wong <normalperson@yhbt.net>
15936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15937 Call fstat64 or stat64 internally, depending on arguments passed.
15938 Replace stat buffer argument with file descriptor argument.
15939 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15940 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15941 Pass fd to __internal_statvfs instead of calling fstat64.
15942 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15943 Pass fd to __internal_statvfs64 instead of calling fstat64.
15944 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15945 Pass -1 to __internal_statvfs instead of calling stat64.
15946 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15947 Pass -1 to __internal_statvfs64 instead of calling stat64.
15949 2014-05-28 Roland McGrath <roland@hack.frob.com>
15951 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15952 that was previously under [RESET_PID].
15953 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15955 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15956 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15958 2014-05-27 Roland McGrath <roland@hack.frob.com>
15960 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15962 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15963 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15965 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15967 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15969 2014-05-27 Andreas Schwab <schwab@suse.de>
15971 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15973 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15974 * elf/rtld.c (init_tls, dl_main): Likewise.
15975 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15976 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15977 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15978 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15979 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15980 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15981 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15982 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15983 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15984 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15985 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15986 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15987 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15988 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15989 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15990 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15991 * sysdeps/generic/tls.h: Update description.
15993 2014-05-27 Will Newton <will.newton@linaro.org>
15996 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15997 and restore r2 rather than just restoring.
15999 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16002 * libio/tst-ftell-append.c: New test case.
16003 * libio/Makefile (tests): Add test case.
16004 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16006 * libio/wfileops.c (do_ftell_wide): Likewise.
16008 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16012 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16016 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16017 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16018 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16019 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16020 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16021 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16028 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16029 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16030 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16031 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16032 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16034 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16035 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16037 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16039 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16041 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16042 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16043 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16045 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16046 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16047 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16048 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16050 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16053 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16059 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16066 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16071 conditional [RESET_PID].
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16075 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16080 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16081 (__libc_vfork): New strong alias.
16082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16089 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16090 (__libc_vfork): New strong alias.
16091 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16096 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16098 * malloc/malloc.c (mi_arena): New function.
16099 (malloc_info): Remove nested function mi_arena. Call non-nosted
16102 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16104 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16106 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16107 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16108 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16109 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16110 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16111 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16112 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16114 2014-05-26 Andreas Schwab <schwab@suse.de>
16117 * locale/programs/repertoire.c (repertoire_read): Add slash
16118 between I18NPATH element and file name.
16119 * locale/programs/locfile.c (locfile_read): Likewise.
16121 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16123 * nptl/pthread_mutexattr_settype.c
16124 (__pthread_mutexattr_settype):
16125 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16127 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16129 * nptl/tst-mutex5 (do_test):
16130 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16132 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16134 * benchtests/README: Document 'init' directive.
16135 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16137 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16138 (parse_file): Recognize 'init' directive.
16140 2014-05-26 Kyle McMartin <kyle@redhat.com>
16143 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16144 alignment of struct pthread.
16146 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16149 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16150 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16151 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16152 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16154 2014-05-25 Richard Henderson <rth@twiddle.net>
16156 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16157 (SINGLE_THREAD_P_PIC): Remove.
16158 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16159 (SINGLE_THREAD_P_PIC): Remove.
16161 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16162 branch to syscall error ...
16163 (PSEUDO): ... here.
16164 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16165 from __local_syscall_error to .Lsyscall_error.
16166 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16167 (SYSCALL_ERROR): Update label name.
16169 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16170 Do not use DOARGS/UNDOARGS.
16171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16172 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16173 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16174 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16175 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16177 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16180 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16181 define if !NOT_IN_libc.
16182 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16183 define with non-default symbol versions.
16185 2014-05-23 Richard Henderson <rth@twiddle.net>
16187 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16188 (vfork, __vfork): Define via compat_symbol.
16190 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16191 [!HAVE_IFUNC] (vfork_compat): Remove.
16192 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16194 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16197 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16198 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16201 2014-05-23 Richard Henderson <rth@twiddle.net>
16203 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16204 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16205 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16206 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16208 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16209 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16210 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16211 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16212 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16213 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16214 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16215 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16216 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16217 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16218 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16219 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16220 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16221 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16222 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16223 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16224 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16225 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16226 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16227 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16228 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16229 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16230 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16231 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16232 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16233 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16234 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16235 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16236 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16237 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16238 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16239 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16240 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16241 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16242 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16243 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16244 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16245 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16246 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16247 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16248 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16249 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16250 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16251 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16252 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16253 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16254 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16255 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16256 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16257 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16258 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16259 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16260 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16261 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16262 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16263 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16265 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16266 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16267 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16268 before exiting on error.
16269 (__libc_vfork): New strong alias.
16270 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16271 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16273 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16274 that was previously under [RESET_PID].
16275 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16277 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16279 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16282 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16283 value when x - 1 is zero.
16284 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16285 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16286 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16287 0.0L for an argument of 1.0L.
16288 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16290 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16291 value when x - 1 is zero.
16292 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16293 * sysdeps/i386/fpu/libm-test-ulps: Update.
16294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16296 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16298 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16299 alphasort and versionsort.
16301 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16303 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16305 [copysignf]: Likewise.
16307 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16309 * crypt/md5-crypt.c: Fix formatting.
16311 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16313 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16314 (b64_from_24bit): New function.
16316 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16318 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16319 libc_hidden_builtin_def to ifunc.
16320 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16321 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16323 2014-05-21 Roland McGrath <roland@hack.frob.com>
16325 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16326 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16328 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16330 * nscd/Depend (linuxthreads): Remove.
16332 * resolv/Depend (linuxthreads): Remove.
16333 * rt/Depend (linuxthreads): Remove.
16335 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16336 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16337 $(common-objpfx)elf/.
16338 (link-libc-before-gnulib): Likewise.
16339 (elfobjdir): Remove variable.
16340 * Makefile (install): Use $(elf-objpfx) instead of
16341 $(common-objpfx)elf/.
16342 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16344 (link-libc-deps): Likewise.
16345 ($(common-objpfx)libc.so): Likewise.
16346 ($(common-objpfx)linkobj/libc.so): Likewise.
16347 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16348 instead of $(common-objpfx)elf/.
16349 (symbolic-link-list): Likewise.
16350 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16351 [$(cross-compiling) = no]: Likewise.
16352 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16354 (static-gnulib-arch): Likewise.
16355 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16356 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16357 $(common-objpfx)elf/.
16359 2014-05-21 Richard Henderson <rth@redhat.com>
16361 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16362 (SINGLE_THREAD_P): Use the correct width load. Fold
16363 into the ldr offset.
16365 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16366 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16368 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16370 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16371 (libgcc_s_resume): Use __attribute_used__.
16372 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16375 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16377 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16378 optimization when used with float constants.
16380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16382 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16385 * locale/nl_langinfo_l.c: Make direct reference to every
16386 _nl_current_CATEGORY symbol.
16387 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16388 (tests-static): Add tst-langinfo-static.
16389 (tests-special): Add tst-langinfo-static.out.
16390 ($(objpfx)tst-langinfo.out): Redirect output.
16391 ($(objpfx)tst-langinfo-static.out): New.
16392 * localedata/tst-langinfo.sh: Send output to stdout.
16393 * localedata/tst-langinfo-static.c: New file.
16396 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16397 when the shift amount is modulo the limb size.
16399 2014-05-20 Richard Henderson <rth@redhat.com>
16402 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16403 Change type of sa_flags from unsigned int to int.
16406 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16408 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16410 2014-05-20 Will Newton <will.newton@linaro.org>
16412 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16413 Test the return value of the system call in the nocancel case.
16415 2014-05-20 Will Newton <will.newton@linaro.org>
16416 Yvan Roux <yvan.roux@linaro.org>
16418 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16419 #include of asm/ptrace.h.
16420 (PTRACE_GET_THREAD_AREA): Remove #undef.
16421 (PTRACE_GETHBPREGS): Likewise.
16422 (PTRACE_SETHBPREGS): Likewise.
16423 (struct user_regs_struct): New structure.
16424 (struct user_fpsimd_struct): New structure.
16425 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16426 #include of asm/ptrace.h and second #include of sys/user.h.
16427 (PTRACE_GET_THREAD_AREA): Remove #undef.
16428 (PTRACE_GETHBPREGS): Likewise.
16429 (PTRACE_SETHBPREGS): Likewise.
16430 (ELF_NGREG): Use new struct user_regs_struct.
16431 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16433 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16438 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16441 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16442 membar to avoid block loads/stores to overlap previous stores.
16444 2014-05-17 Richard Henderson <rth@redhat.com>
16446 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16447 Create the __##syscall_name##_nocancel entry point.
16448 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16449 Remove; let the sysdep-cancel.h code create it.
16451 2014-05-17 David S. Miller <davem@davemloft.net>
16453 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16454 Protect with __USE_GNU.
16455 (TIOCSET_TEMPT): Likewise.
16456 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16457 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16458 these are already provided in bits/ioctl-types.h
16460 2014-05-16 Roland McGrath <roland@hack.frob.com>
16462 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16463 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16465 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16466 Use wait4 regardless of [__NR_waitpid].
16468 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16471 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16472 (_FP_NANSIGN_Q): Set the quiet bit.
16474 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16476 * benchtests/Makefile
16477 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16478 not $(common-objpfx)math/libm.so.
16479 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16480 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16481 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16482 $(common-objpfx)dlfcn/libdl.so.
16483 ($(objpfx)tst-audit8): Depend on $(libm), not
16484 $(common-objpfx)math/libm.so.
16485 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16486 not $(common-objpfx)dlfcn/libdl.so.
16488 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16489 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16490 [$(build-shared) = yes].
16491 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16492 $(common-objpfx)nptl/libpthread.so.
16493 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16494 $(common-objpfx)math/libm.so$(libm.so-version) or
16495 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16496 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16497 $(common-objpfx)dlfcn/libdl.so.
16498 * setjmp/Makefile (link-libm): Remove variable.
16499 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16500 * stdio-common/Makefile (link-libm): Remove variable.
16501 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16502 * stdlib/Makefile (link-libm): Remove variable.
16503 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16504 ($(objpfx)tst-strtod-round): Likewise.
16505 ($(objpfx)tst-tininess): Likewise.
16506 ($(objpfx)tst-strtod-underflow): Likewise.
16507 ($(objpfx)tst-strtod6): Likewise.
16508 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16509 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16510 $(common-objpfx)dlfcn/libdl.so.
16512 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16514 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16515 BSD terminal modes definitions.
16517 2014-05-16 Roland McGrath <roland@hack.frob.com>
16519 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16520 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16522 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16523 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16524 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16525 Don't do #include_next.
16526 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16527 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16528 Don't do #include_next.
16529 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16530 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16531 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16532 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16534 2014-05-16 Allan McRae <allan@archlinux.org>
16536 * po/sv.po: Update Swedish translation from translation project.
16538 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16541 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16544 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16545 errno if the TIOCGPTN ioctl fails with an error different than
16547 * login/tst-ptsname.c: New file.
16548 * login/Makefile (tests): Add tst-ptsname.
16551 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16554 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16558 herrno to return EAI_AGAIN.
16560 2014-05-14 Roland McGrath <roland@hack.frob.com>
16562 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16563 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16564 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16565 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16566 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16567 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16568 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16569 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16570 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16571 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16572 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16573 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16574 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16575 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16576 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16577 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16578 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16579 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16580 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16581 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16582 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16583 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16584 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16585 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16586 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16587 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16588 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16589 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16590 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16591 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16593 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16595 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16598 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16600 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16602 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16604 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16606 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16608 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16610 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16612 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16614 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16616 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16618 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16620 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16622 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16624 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16627 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16629 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16631 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16633 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16635 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16637 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16639 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16641 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16643 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16645 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16648 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16650 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16652 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16653 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16654 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16655 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16656 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16657 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16658 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16659 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16660 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16661 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16662 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16663 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16664 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16665 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16666 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16667 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16668 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16669 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16670 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16671 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16672 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16673 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16674 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16675 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16676 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16677 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16678 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16679 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16680 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16681 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16682 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16684 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16685 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16687 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16688 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16689 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16690 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16691 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16694 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16695 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16697 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16698 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16700 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16701 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16703 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16704 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16705 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16706 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16708 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16709 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16710 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16711 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16712 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16713 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16714 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16717 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16718 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16720 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16722 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16723 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16724 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16725 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16726 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16728 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16730 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16732 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16733 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16734 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16735 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16736 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16739 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16740 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16742 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16743 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16745 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16746 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16748 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16749 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16750 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16751 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16753 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16754 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16755 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16756 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16757 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16758 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16759 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16762 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16763 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16765 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16767 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16768 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16769 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16770 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16771 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16773 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16775 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16777 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16778 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16779 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16780 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16781 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16782 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16783 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16784 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16785 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16788 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16789 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16791 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16792 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16794 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16795 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16797 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16798 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16799 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16800 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16801 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16802 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16804 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16805 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16806 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16808 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16809 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16810 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16811 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16813 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16814 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16816 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16818 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16819 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16820 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16821 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16822 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16824 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16826 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16828 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16829 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16830 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16831 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16832 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16833 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16834 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16835 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16836 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16837 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16838 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16840 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16841 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16843 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16844 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16846 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16847 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16848 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16849 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16850 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16851 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16852 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16853 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16854 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16855 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16856 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16857 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16858 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16859 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16860 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16861 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16862 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16863 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16865 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16867 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16870 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16871 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16872 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16873 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16874 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16875 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16876 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16879 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16880 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16882 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16883 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16884 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16885 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16886 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16887 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16888 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16889 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16890 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16891 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16892 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16893 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16894 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16895 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16896 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16897 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16898 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16900 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16901 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16902 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16903 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16904 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16906 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16907 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16908 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16909 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16910 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16911 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16912 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16913 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16914 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16915 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16918 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16920 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16921 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16922 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16923 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16924 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16925 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16926 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16927 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16928 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16929 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16930 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16931 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16932 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16933 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16934 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16936 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16938 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16940 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16942 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16954 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16955 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16957 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16959 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16960 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16961 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16962 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16963 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16964 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16965 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16966 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16967 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16968 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16970 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16971 that was previously under [RESET_PID].
16972 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16973 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16974 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16976 * sysdeps/i386/nptl/Implies: New file.
16977 * sysdeps/x86_64/nptl/Implies: New file.
16978 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16979 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16980 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16981 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16983 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16984 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16985 (__libc_vfork): New strong alias.
16986 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16987 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16989 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16990 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16991 (__libc_vfork): New strong alias.
16992 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16993 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16995 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16996 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16997 (__libc_vfork): New strong alias.
16998 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16999 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17000 * nptl/pt-vfork.c: New file.
17001 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17002 (libpthread: GLIBC_2.20): New version set (empty).
17004 2014-05-14 Will Newton <will.newton@linaro.org>
17006 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17009 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17012 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17013 arguments with exponent 65 or above.
17014 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17015 arguments 0x1p113L or above.
17016 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17017 to arguments 0x1p107L or above.
17018 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17019 positive arguments with exponent 65 or above.
17020 * math/auto-libm-test-in: Add more tests of log1p.
17021 * math/auto-libm-test-out: Regenerated.
17024 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17025 non-finite arguments is +0.
17026 * math/s_cacosf.c (__cacosf): Likewise.
17027 * math/s_cacosl.c (__cacosl): Likewise.
17028 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17029 * sysdeps/i386/fpu/libm-test-ulps: Update.
17030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17033 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17035 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17036 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17037 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17038 for explicit high bit of mantissa when testing for argument equal
17040 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17041 * sysdeps/i386/fpu/libm-test-ulps: Update.
17042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17045 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17046 (__erf): Scale by 16 instead of 8 in potentially underflowing
17047 case. Ensure exception if result actually underflows.
17048 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17049 (__erff): Scale by 16 instead of 8 in potentially underflowing
17050 case. Ensure exception if result actually underflows.
17051 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17052 (efx8): Remove variable.
17053 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17054 case. Ensure exception if result actually underflows.
17055 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17056 (efx8): Remove variable.
17057 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17058 case. Ensure exception if result actually underflows.
17059 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17060 (efx8): Remove variable.
17061 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17062 case. Ensure exception if result actually underflows.
17063 * math/auto-libm-test-in: Add more tests of erf.
17064 * math/auto-libm-test-out: Regenerated.
17066 2014-05-14 Andreas Schwab <schwab@suse.de>
17068 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17069 Remove code conditionalized on USE___THREAD.
17071 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17072 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17075 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17078 Define unconditionally.
17079 (__ASSUME_O_CLOEXEC): Likewise.
17080 (__ASSUME_SOCK_CLOEXEC): Likewise.
17081 (__ASSUME_IN_NONBLOCK): Likewise.
17082 (__ASSUME_PIPE2): Likewise.
17083 (__ASSUME_EVENTFD2): Likewise.
17084 (__ASSUME_SIGNALFD4): Likewise.
17085 (__ASSUME_DUP3): Likewise.
17086 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17087 (__ASSUME_DUP3): Do not define.
17088 (__ASSUME_EVENTFD2): Likewise.
17089 (__ASSUME_IN_NONBLOCK): Likewise.
17090 (__ASSUME_O_CLOEXEC): Likewise.
17091 (__ASSUME_PIPE2): Likewise.
17092 (__ASSUME_SIGNALFD4): Likewise.
17093 (__ASSUME_SOCK_CLOEXEC): Likewise.
17094 (__ASSUME_UTIMES): Undefine.
17095 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17096 (__ASSUME_UTIMES): Do not define.
17097 (__ASSUME_O_CLOEXEC): Likewise.
17098 (__ASSUME_SOCK_CLOEXEC): Likewise.
17099 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17100 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17102 (__ASSUME_PIPE2): Likewise.
17103 (__ASSUME_EVENTFD2): Likewise.
17104 (__ASSUME_SIGNALFD4): Likewise.
17105 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17106 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17108 (__ASSUME_EVENTFD2): Likewise.
17109 (__ASSUME_SIGNALFD4): Likewise.
17110 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17111 (__ASSUME_32BITUIDS): Likewise.
17112 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17113 (__ASSUME_IPC64): Likewise.
17114 (__ASSUME_ST_INO_64_BIT): Likewise.
17115 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17116 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17117 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17118 (__ASSUME_UTIMES): Do not define.
17119 (__ASSUME_PSELECT): Likewise.
17120 (__ASSUME_PPOLL): Likewise.
17121 (__ASSUME_O_CLOEXEC): Likewise.
17122 (__ASSUME_SOCK_CLOEXEC): Likewise.
17123 (__ASSUME_IN_NONBLOCK): Likewise.
17124 (__ASSUME_PIPE2): Likewise.
17125 (__ASSUME_EVENTFD2): Likewise.
17126 (__ASSUME_SIGNALFD4): Likewise.
17127 (__ASSUME_DUP3): Likewise.
17128 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17129 (__ASSUME_UTIMES): Likewise.
17130 (__ASSUME_O_CLOEXEC): Likewise.
17131 (__ASSUME_SOCK_CLOEXEC): Likewise.
17132 (__ASSUME_IN_NONBLOCK): Likewise.
17133 (__ASSUME_PIPE2): Likewise.
17134 (__ASSUME_EVENTFD2): Likewise.
17135 (__ASSUME_SIGNALFD4): Likewise.
17136 (__ASSUME_DUP3): Likewise.
17137 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17138 (__ASSUME_UTIMES): Likewise.
17139 (__ASSUME_O_CLOEXEC): Likewise.
17140 (__ASSUME_SOCK_CLOEXEC): Likewise.
17141 (__ASSUME_IN_NONBLOCK): Likewise.
17142 (__ASSUME_PIPE2): Likewise.
17143 (__ASSUME_EVENTFD2): Likewise.
17144 (__ASSUME_SIGNALFD4): Likewise.
17145 (__ASSUME_DUP3): Likewise.
17146 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17148 (__ASSUME_UTIMES): Likewise.
17149 (__ASSUME_EVENTFD2): Likewise.
17150 (__ASSUME_SIGNALFD4): Likewise.
17151 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17152 (__ASSUME_O_CLOEXEC): Likewise.
17153 (__ASSUME_SOCK_CLOEXEC): Likewise.
17154 (__ASSUME_IN_NONBLOCK): Likewise.
17155 (__ASSUME_PIPE2): Likewise.
17156 (__ASSUME_EVENTFD2): Likewise.
17157 (__ASSUME_SIGNALFD4): Likewise.
17158 (__ASSUME_DUP3): Likewise.
17159 (__ASSUME_UTIMES): Undefine.
17161 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17162 feclearexcept. Remove symbol versioning code.
17163 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17164 symbol versioning code.
17165 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17166 symbol versioning code.
17167 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17168 feupdateenv. Remove symbol versioning code.
17169 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17170 fegetexceptflag. Remove symbol versioning code.
17171 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17172 fesetexceptflag. Remove symbol versioning code.
17173 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17174 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17175 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17176 (__posix_fadvise64_l32): Remove prototype.
17177 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17180 2014-05-13 Roland McGrath <roland@hack.frob.com>
17182 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17183 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17184 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17185 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17187 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17189 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17190 current working directory
17192 2014-05-13 Roland McGrath <roland@hack.frob.com>
17194 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17195 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17196 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17197 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17198 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17199 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17200 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17201 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17202 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17203 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17204 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17205 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17206 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17207 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17208 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17209 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17210 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17211 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17212 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17213 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17214 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17215 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17216 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17217 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17218 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17219 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17220 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17221 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17222 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17223 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17224 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17225 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17226 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17227 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17228 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17229 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17230 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17231 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17232 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17233 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17234 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17235 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17237 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17238 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17240 * sysdeps/unix/sysv/linux/arm/Makefile
17241 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17242 Add rt-aeabi_unwind_cpp_pr1.
17243 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17244 Add nptl-aeabi_unwind_cpp_pr1.
17245 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17246 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17247 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17248 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17249 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17250 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17252 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17253 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17254 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17255 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17257 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17258 Deconditionalize the code that was previously under [RESET_PID].
17259 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17261 * sysdeps/generic/exit-thread.h: New file.
17262 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17263 * include/unistd.h (__exit_thread): Remove declaration.
17264 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17265 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17266 * csu/libc-start.c: Include <exit-thread.h>.
17267 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17268 * nptl/pthread_create.c: Include <exit-thread.h>.
17269 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17270 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17271 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17272 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17273 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17274 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17275 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17276 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17277 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17278 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17279 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17280 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17281 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17282 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17283 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17284 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17285 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17287 2014-05-13 Andreas Schwab <schwab@suse.de>
17289 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17291 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17293 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17294 (__ASSUME_UTIMES): Do not condition on kernel version.
17295 (__ASSUME_PSELECT): Define unconditionally.
17296 (__ASSUME_PPOLL): Likewise.
17297 (__ASSUME_ATFCTS): Likewise.
17298 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17299 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17300 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17301 (__ASSUME_UTIMENSAT): Define unconditionally.
17302 (__ASSUME_PRIVATE_FUTEX): Likewise.
17303 (__ASSUME_FALLOCATE): Likewise.
17304 (__ASSUME_O_CLOEXEC): Likewise.
17305 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17306 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17307 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17308 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17309 (__ASSUME_IN_NONBLOCK): Likewise.
17310 (__ASSUME_PIPE2): Likewise.
17311 (__ASSUME_EVENTFD2): Likewise.
17312 (__ASSUME_SIGNALFD4): Likewise.
17313 (__ASSUME_DUP3): Likewise.
17314 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17315 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17316 (__ASSUME_AT_RANDOM): Likewise.
17317 (__ASSUME_PREADV): Likewise.
17318 (__ASSUME_PWRITEV): Likewise.
17319 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17320 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17321 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17322 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17323 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17324 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17325 (__ASSUME_O_CLOEXEC): Define unconditionally.
17326 (__ASSUME_PSELECT): Do not undefine conditionally.
17327 (__ASSUME_PPOLL): Likewise.
17328 (__ASSUME_ATFCTS): Likewise.
17329 (__ASSUME_SET_ROBUST_LIST): Likewise.
17330 (__ASSUME_UTIMENSAT): Likewise.
17331 (__ASSUME_FDATASYNC): Define unconditionally.
17332 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17333 (__ASSUME_SIGFRAME_V2): Likewise.
17334 )__ASSUME_EVENTFD2): Likewise.
17335 (__ASSUME_SIGNALFD4): Likewise.
17336 (__ASSUME_PSELECT): Do not undefine conditionally.
17337 (__ASSUME_PPOLL): Likewise.
17338 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17339 (__ASSUME_PSELECT): Define unconditionally.
17340 (__ASSUME_PPOLL): Likewise.
17341 (__ASSUME_O_CLOEXEC): Likewise.
17342 (__ASSUME_SOCK_CLOEXEC): Likewise.
17343 (__ASSUME_IN_NONBLOCK): Likewise.
17344 (__ASSUME_PIPE2): Likewise.
17345 (__ASSUME_EVENTFD2): Likewise.
17346 (__ASSUME_SIGNALFD4): Likewise.
17347 (__ASSUME_DUP3): Likewise.
17348 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17349 (__ASSUME_O_CLOEXEC): Likewise.
17350 (__ASSUME_SOCK_CLOEXEC): Likewise.
17351 (__ASSUME_IN_NONBLOCK): Likewise.
17352 (__ASSUME_PIPE2): Likewise.
17353 (__ASSUME_EVENTFD2): Likewise.
17354 (__ASSUME_SIGNALFD4): Likewise.
17355 (__ASSUME_DUP3): Likewise.
17356 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17357 (__ASSUME_EVENTFD2): Likewise.
17358 (__ASSUME_SIGNALFD4): Likewise.
17359 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17361 2014-05-12 Andreas Schwab <schwab@suse.de>
17364 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17365 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17366 than maximum RPC packet size.
17367 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17368 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17369 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17370 (_nss_nis_getservbyport_r): Likewise.
17372 2014-05-12 Will Newton <will.newton@linaro.org>
17374 * malloc/Makefile (tests): Add tst-mallopt.
17375 * malloc/tst-mallopt.c: New file.
17377 2014-05-09 Roland McGrath <roland@hack.frob.com>
17379 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17380 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17382 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17384 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17385 (tst-tlsmod6.so): Likewise.
17387 2014-05-09 Roland McGrath <roland@hack.frob.com>
17389 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17391 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17394 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17395 and <dl-procinfo.h>.
17396 (__fegetenv): Save SSE state in envp->__eip if supported.
17397 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17398 envp->__eip if supported.
17399 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17400 and <dl-procinfo.h>.
17401 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17402 __data_offset and __data_selector in environment to 0. Set SSE
17403 state if supported.
17404 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17406 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17408 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17410 2014-05-09 Will Newton <will.newton@linaro.org>
17412 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17413 and libc_relro_required for ARM.
17414 * sysdeps/arm/preconfigure: Regenerate.
17416 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17417 Stefan Liebler <stli@linux.vnet.ibm.com>
17419 * config.make.in (enable-lock-elision): New Makefile variable.
17420 * configure.ac: Likewise.
17421 * configure: Regenerate.
17422 * sysdeps/s390/configure.ac:
17423 Add check for gcc transactions support.
17424 * sysdeps/s390/configure: Regenerate.
17425 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17426 Build elision files if enabled.
17427 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17428 Add lock elision support for s390.
17429 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17430 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17431 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17432 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17433 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17434 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17435 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17437 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17439 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17441 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17443 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17444 (__lll_timedlock_elision, __lll_lock_elision)
17445 (__lll_unlock_elision, __lll_trylock_elision)
17446 (lll_timedlock_elision, lll_lock_elision)
17447 (lll_unlock_elision, lll_trylock_elision): Add.
17448 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17449 (pthread_mutex_t): Add lock elision support for s390.
17451 2014-05-14 Wilco <wdijkstr@arm.com>
17453 * sysdeps/arm/fclrexcpt.c: Cleanup.
17454 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17455 * sysdeps/arm/feenablxcpt.c: Cleanup.
17456 * sysdeps/arm/fegetenv.c: Cleanup.
17457 * sysdeps/arm/fegetexcept.c: Cleanup.
17458 * sysdeps/arm/fegetround.c: Cleanup.
17459 * sysdeps/arm/feholdexcpt.c: Cleanup.
17460 * sysdeps/arm/fesetenv.c: Cleanup.
17461 * sysdeps/arm/fesetround.c: Cleanup.
17462 * sysdeps/arm/feupdateenv.c: Cleanup.
17463 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17464 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17465 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17466 * sysdeps/arm/ftestexcept.c: Cleanup.
17467 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17468 * sysdeps/arm/setfpucw.c: Cleanup.
17470 2014-05-09 Will Newton <will.newton@linaro.org>
17472 * sysdeps/arm/armv7/strcmp.S: New file.
17473 * NEWS: Mention addition of ARMv7 optimized strcmp.
17475 2014-05-08 Roland McGrath <roland@hack.frob.com>
17477 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17478 look for %.ac rather than %.in.
17480 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17481 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17482 * sysdeps/mach/hurd/configure: Regenerated.
17483 * sysdeps/unix/sysv/linux/configure: Regenerated.
17485 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17487 2014-05-07 Steve Ellcey <sellcey@mips.com>
17490 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17494 2014-05-07 Andreas Schwab <schwab@suse.de>
17496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17497 when skipping over non-matching result from nscd.
17499 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17502 * nptl/sockperf.c (client): Check socket return value.
17505 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17506 nscd security class.
17508 2014-05-06 Roland McGrath <roland@hack.frob.com>
17510 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17511 * sysdeps/arm/unwind.h: ... here.
17513 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17516 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17519 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17521 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17522 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17523 multiarch strncpy for PPC64.
17524 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17525 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17527 multiarch optimizations.
17528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17529 (__libc_ifunc_impl_list): Likewise.
17530 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17531 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17532 multiarch stpncpy for PPC64.
17533 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17534 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17536 2014-05-06 Andreas Schwab <schwab@suse.de>
17539 * gmon/mcount.c (_MCOUNT_DECL): Use
17540 atomic_compare_and_exchange_bool_acq instead of
17541 catomic_compare_and_exchange_bool_acq.
17543 2014-05-05 Roland McGrath <roland@hack.frob.com>
17545 * elf/Makefile (others, install-bin): Remove pldd.
17546 (pldd-modules): Variable removed.
17547 ($(objpfx)pldd): Target removed.
17548 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17549 (others, install-bin): Append pldd here.
17550 ($(objpfx)pldd): New target.
17552 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17553 to 0, so the first #if test emitted later doesn't see it undefined.
17554 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17555 * sysdeps/gnu/errlist.c: Regenerated.
17557 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17559 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17560 [libc_hidden_builtin_def]: Define to empty value.
17561 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17562 [libc_hidden_builtin_def]: Likewise.
17563 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17564 [libc_hidden_builtin_def]: Likewise.
17565 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17566 [libc_hidden_builtin_def]: Likewise.
17567 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17568 __redirect_memcpy and define ifunc as default hidden symbol.
17569 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17570 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17572 2014-05-04 Adam Conrad <adconrad@0c3.net>
17574 * locale/iso-4217.def: Reintroduce XDR currency.
17576 2014-05-04 Allan McRae <allan@archlinux.org>
17578 * po/eo.po: Update Esperanto translation from translation project.
17580 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17582 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17583 and FEATURE_INDEX_MAX to 1.
17584 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17586 2014-05-01 Steve Ellcey <sellcey@mips.com>
17588 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17589 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17590 * iconvdata/big5.c (ONE_DIRECTION): Define.
17591 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17592 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17593 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17594 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17595 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17596 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17597 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17598 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17599 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17600 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17601 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17602 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17603 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17604 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17605 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17606 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17607 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17608 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17609 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17610 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17611 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17612 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17613 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17614 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17615 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17616 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17617 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17618 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17619 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17620 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17621 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17622 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17623 * iconvdata/johab.c (ONE_DIRECTION): Define.
17624 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17625 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17626 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17627 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17628 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17629 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17630 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17631 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17632 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17633 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17635 2014-05-01 Roland McGrath <roland@hack.frob.com>
17637 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17638 (_IO_JUMPS_OFFSET): Define to 0.
17640 * nptl/sysdeps/pthread/bits/libc-lock.h
17641 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17642 (__libc_lock_define_initialized_recursive): Always define using
17643 initializer. Modern compilers treat uninitialized (implicit zero) and
17644 explicit zero initializers the same (i.e. put the datum in bss).
17646 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17648 * nscd/nscd-client.h: Include <string.h>.
17650 2014-05-01 David S. Miller <davem@davemloft.net>
17653 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17654 multiple zero bytes exist at the end of a string.
17655 Reported by Aurelien Jarno <aurelien@aurel32.net>
17657 * string/test-strcmp.c (check): Add explicit test for situations where
17658 there are multiple zero bytes after the first.
17660 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17663 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17664 when compiling wprintf.
17665 * stdio-common/tstdiomisc.c (t3): New function.
17668 2014-05-01 Steve Ellcey <sellcey@mips.com>
17670 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17671 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17672 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17673 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17675 2014-05-01 Steve Ellcey <sellcey@mips.com>
17677 * stdlib/longlong.h: Updated from GCC.
17679 2014-05-01 Will Newton <will.newton@linaro.org>
17680 Bernard Ogden <bernie.ogden@linaro.org>
17682 * NEWS: Update fixed bug list.
17685 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17687 2014-04-30 David S. Miller <davem@davemloft.net>
17689 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17690 (libc_feholdexcept_setround_sparc_ctx): New function.
17691 (libc_fesetenv_sparc_ctx): Likewise.
17692 (libc_feupdateenv_sparc_ctx): Likewise.
17693 (libc_feholdsetround_sparc_ctx): Likewise.
17694 (libc_feholdexcept_setround_ctx): Define.
17695 (libc_feholdexcept_setroundf_ctx): Likewise.
17696 (libc_feholdexcept_setroundl_ctx): Likewise.
17697 (libc_fesetenv_ctx): Likewise.
17698 (libc_fesetenvf_ctx): Likewise.
17699 (libc_fesetenvl_ctx): Likewise.
17700 (libc_feupdateenv_ctx): Likewise.
17701 (libc_feupdateenvf_ctx): Likewise.
17702 (libc_feupdateenvl_ctx): Likewise.
17703 (libc_feresetround_ctx): Likewise.
17704 (libc_feresetroundf_ctx): Likewise.
17705 (libc_feresetroundl_ctx): Likewise.
17706 (libc_feholdsetround_ctx): Likewise.
17707 (libc_feholdsetroundf_ctx): Likewise.
17708 (libc_feholdsetroundl_ctx): Likewise.
17710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17711 with __USE_GNU instead of XOPEN cpp guards.
17713 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17717 with XOPEN cpp guards.
17719 2014-04-30 Julian Brown <julian@codesourcery.com>
17722 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17725 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17728 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17730 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17731 * sysdeps/unix/sysv/linux/configure: Regenerated.
17732 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17733 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17734 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17735 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17736 * README: Update reference to required Linux kernel version.
17737 * manual/install.texi (Linux): Update reference to required Linux
17738 kernel headers version.
17739 * INSTALL: Regenerated.
17741 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17743 [POSIX] (limits.h): Likewise.
17744 [POSIX] (math.h): Likewise.
17745 [POSIX] (sys/wait.h): Likewise.
17746 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17748 [POSIX] (stddef.h): Do not allow header inclusion.
17750 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17752 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17754 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17756 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17757 Return immediately after lll_futex_wake.
17759 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17762 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17764 (datahead_init_pos): Call datahead_init_common early.
17765 (datahead_init_neg): Likewise.
17767 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17768 datahead_init_neg): New functions.
17769 * nscd/aicache.c (addhstaiX): Use them.
17770 * nscd/grpcache.c (cache_addgr): Likewise.
17771 * nscd/hstcache.c (cache_addhst): Likewise.
17772 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17773 * nscd/netgroupcache.c (do_notfound): Likewise.
17774 (addgetnetgrentX): Likewise.
17775 (addinnetgrX): Likewise.
17776 * nscd/pwdcache.c (cache_addpw): Likewise.
17777 * nscd/servicescache.c (cache_addserv): Likewise.
17779 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17780 Atsushi Onoe <atsushi@onoe.org>
17785 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17786 one response is valid.
17787 * resolv/res_send.c (send_dg): Check for validity of other
17788 response if the current response is a referral.
17790 2014-04-29 Steve Ellcey <sellcey@mips.com>
17792 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17794 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17797 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17798 Always divide by positive zero when computing -Inf result.
17799 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17800 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17802 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17804 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17805 FPSCR if value do not change.
17806 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17807 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17808 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17809 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17810 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17811 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17814 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17816 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17817 * sysdeps/unix/sysv/linux/hppa: Move directory from
17818 ports/systeps/unix/sysv/linux/hppa.
17819 * README: Update listing for hppa-*-linux-gnu.
17821 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17824 * manual/stdio.texi (Hook functions): Fix types of stream hook
17827 * socket/sys/socket.h: Fix typo in comment.
17829 2014-04-28 Wilco <wdijkstr@arm.com>
17831 * sysdeps/arm/fenv_private.h: New file.
17832 * sysdeps/arm/math_private.h: New file.
17833 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17835 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17837 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17839 (La_x86_64_retval): Likewise.
17841 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17843 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17844 fpsr if value didn't change.
17845 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17846 to fpcr if value didn't change.
17847 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17848 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17849 fpsr or fpcr if value didn't change.
17850 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17851 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17852 fpcr if value didn't change.
17853 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17854 to fpsr if value didn't change.
17856 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17858 * nptl/tst-sem3.c: Use test-skeleton.c
17859 (main): Rename to do_test. Use return instead of
17861 * nptl/tst-sem4.c: Use test-skeleton.c
17862 (main): Rename to do_test.
17864 2014-04-22 David S. Miller <davem@davemloft.net>
17866 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17867 (struct sigaction): New struct member __glibc_reserved0, change
17868 type of sa_flags to int.
17870 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17872 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17873 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17875 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17877 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17878 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17880 2014-04-22 Will Newton <will.newton@linaro.org>
17881 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17883 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17884 (__longjmp): Add longjmp and longjmp_target SystemTap
17886 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17887 (__sigsetjmp): Add setjmp SystemTap probe.
17889 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17891 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17892 match manual order.
17894 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17896 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17898 * sysdeps/powerpc/fpu/fenv_private.h
17899 (libc_feholdexcept_setroundl_ctx): Define to
17900 libc_feholdexcept_setround_ppc_ctx.
17901 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17902 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17903 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17904 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17906 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17908 * sysdeps/aarch64/math-tests.h: New file.
17910 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17912 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17915 Check and set bit_AVX2_Usable.
17916 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17918 (bit_AVX2): Likewise.
17919 (index_AVX2_Usable): Likewise.
17920 (CPUID_AVX2): Likewise.
17921 (HAS_AVX2): Likewise.
17923 2014-04-17 Will Newton <will.newton@linaro.org>
17925 * manual/setjmp.texi (System V contexts): Add note that
17926 calling setcontext on a context created by a call to a
17927 signal handler is undefined. Update text to note that
17928 setcontext from a signal handler is possible but not
17932 * stdlib/tst-setcontext.c: Include signal.h.
17933 (main): Check that the signal stack before and
17934 after swapcontext is the same.
17936 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17937 Re-implement to restore registers in user code and avoid
17938 rt_sigreturn system call.
17940 2014-04-17 Wilco <wdijkstr@arm.com>
17942 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17943 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17944 * math/test-fenv.c: Skip exception trap tests on targets which only
17945 support non-stop mode.
17947 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17948 Wilco Dijkstra <wilco.dijkstra@arm.com>
17950 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17951 (libc_feholdsetround_aarch64_ctx)
17952 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17953 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17954 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17955 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17956 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17957 (libc_feresetround_noexl_ctx): Define.
17959 2014-04-16 Richard Henderson <rth@redhat.com>
17961 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17963 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17966 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17967 const from the non-libc, non-ldso copy.
17969 * sysdeps/alpha/libm-test-ulps: Regenerate.
17971 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17972 Wilco Dijkstra <wilco.dijkstra@arm.com>
17974 * sysdeps/aarch64/fpu/math_private.h: New file.
17976 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17978 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17980 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17983 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17984 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17986 Intel MPX bound registers before _dl_profile_fixup.
17987 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17988 registers after _dl_profile_fixup. Save and restore bound
17989 registers bnd0/bnd1 when calling _dl_call_pltexit.
17990 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17991 (LR_BND_OFFSET): Likewise.
17992 (LRV_BND0_OFFSET): Likewise.
17993 (LRV_BND1_OFFSET): Likewise.
17995 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17997 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17999 * sysdeps/mach/hurd/i386/tls.h: ... here.
18000 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18001 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18004 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18006 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18008 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18010 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18012 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18015 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18016 * sysdeps/s390/configure: Regenerate.
18019 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18020 Set round-to-nearest internally to reduce error accumulation.
18022 2014-04-16 Alan Modra <amodra@gmail.com>
18026 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18027 * math/libm-test.inc (frexp_test_data): Add tests.
18028 * NEWS: Update fixed bug list.
18030 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18032 * benchtests/Makefile: Depend on libraries in build directory.
18033 (bench-math): Separate out math tests.
18034 (bench-pthread): Separate out pthread tests.
18035 (bench): Include math and pthread tests.
18037 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18040 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18041 _dl_debug_initialize.
18043 * configure.ac: Remove SELinux header check.
18044 * configure: Regenerate.
18045 * nscd/selinux.c (perms): Array of const char* to permission names.
18046 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18047 default policy. Call string_to_security_class and string_to_av_perm to
18048 translate strings. Enforce default policy and call avs_has_perm with
18049 results of translated strings.
18051 2014-04-13 David S. Miller <davem@davemloft.net>
18053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18055 2014-04-12 Allan McRae <allan@archlinux.org>
18058 * manual/string.texi (Collation Functions): Fix qsort argument
18060 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18062 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18064 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18065 Make the test a no-op if there are no exceptions defined.
18067 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18069 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18070 enable-hardcoded-path-in-tests
18072 2014-04-11 Will Newton <will.newton@linaro.org>
18074 * benchtests/Makefile (extra-objs): Add json-lib.o.
18075 (bench-func): Tidy up JSON output.
18076 * benchtests/bench-skeleton.c: Include json-lib.h.
18077 (main): Use JSON library functions to do output of
18079 * benchtests/bench-timing-type.c (main): Output the
18080 timing type simply, leaving formatting to the user.
18081 * benchtests/json-lib.c: New file.
18082 * benchtests/json-lib.h: Likewise.
18084 2014-04-11 Torvald Riegel <triegel@redhat.com>
18087 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18088 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18089 memory barriers. Add comments.
18090 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18091 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18092 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18093 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18094 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18095 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18097 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18099 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18100 * sysdeps/s390/s390-64/configure.ac: ... this ...
18101 * sysdeps/s390/configure.ac: ... to here.
18102 * sysdeps/s390/s390-32/configure: Delete file.
18103 * sysdeps/s390/s390-64/configure: Delete file.
18104 * sysdeps/s390/configure: Regenerate.
18106 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18108 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18110 2014-04-11 Will Newton <will.newton@linaro.org>
18112 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18113 to zero if it is not defined elsewhere. (mtrim): Test
18114 the value of MALLOC_DEBUG with #if rather than #ifdef.
18116 2014-04-10 Torvald Riegel <triegel@redhat.com>
18118 * benchtests/pthread_once-inputs: New file.
18119 * benchtests/pthread_once-source.c: New file.
18120 * benchtests/README: Update documentation.
18122 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18123 H.J. Lu <hongjiu.lu@intel.com>
18126 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18127 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18128 * sysdeps/x86_64/configure: Regenerated.
18129 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18131 (REGISTER_SAVE_RAX): Likewise.
18132 (REGISTER_SAVE_RCX): Likewise.
18133 (REGISTER_SAVE_RDX): Likewise.
18134 (REGISTER_SAVE_RSI): Likewise.
18135 (REGISTER_SAVE_RDI): Likewise.
18136 (REGISTER_SAVE_R8): Likewise.
18137 (REGISTER_SAVE_R9): Likewise.
18138 (REGISTER_SAVE_BND0): Likewise.
18139 (REGISTER_SAVE_BND1): Likewise.
18140 (REGISTER_SAVE_BND2): Likewise.
18141 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18142 bound registers when calling _dl_fixup.
18144 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18146 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18147 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18149 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18150 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18151 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18152 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18153 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18154 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18155 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18157 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18160 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18161 pathconf(_PC_NAME_MAX).
18163 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18165 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18166 Remove macro usage.
18167 (__PTHREAD_SPINS): Move definition to ...
18168 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18169 (__PTHREAD_SPINS): ... here.
18170 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18171 (__PTHREAD_SPIN): Likewise.
18172 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18173 (__PTHREAD_SPIN): Likewise.
18174 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18175 (__PTHREAD_SPIN): Likewise.
18176 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18177 (__PTHREAD_SPIN): Likewise.
18178 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18179 (__PTHREAD_SPIN): Likewise.
18180 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18181 (__PTHREAD_SPIN): Likewise.
18182 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18183 (__PTHREAD_SPIN): Likewise.
18184 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18185 (__PTHREAD_SPIN): Likewise.
18186 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18187 (__PTHREAD_SPIN): Likewise.
18188 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18189 (__PTHREAD_SPIN): Likewise.
18190 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18191 (__PTHREAD_SPIN): Likewise.
18192 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18193 (__PTHREAD_SPIN): Likewise.
18195 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18196 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18197 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18198 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18200 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18201 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18202 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18203 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18204 correct imply path.
18205 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18206 strlen symbol for non multi-arch builds.
18207 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18208 missing hidden_def and weak_alias.
18210 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18212 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18214 2014-04-07 Will Newton <will.newton@linaro.org>
18216 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18217 and contents. [!_LIBC] Remove #ifndef and contents.
18218 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18219 * string/memccpy.c (__memccpy): Use ANSI prototype.
18220 * string/memfrob.c (memfrob): Likewise.
18221 * string/strcoll.c (STRCOLL): Likewise.
18222 * string/strlen.c (strlen): Likewise.
18223 * string/strtok.c (STRTOK): Likewise.
18224 * string/strcat.c: Remove unused #include of memcopy.h.
18225 (strcat): Use ANSI prototype.
18226 * string/strchr.c: Remove unused #include of memcopy.h.
18227 (strchr): Use ANSI prototype.
18228 * string/strcmp.c: Remove unused #include of memcopy.h.
18229 (strcmp): Use ANSI prototype.
18230 * string/strcpy.c: Remove unused #include of memcopy.h.
18231 (strcpy): Use ANSI prototype.
18233 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18235 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18236 * config.make.in (config-extra-cppflags): Set it from
18237 libc_extra_cppflags.
18238 * configure.ac (libc_extra_cflags): Make it accumulate over
18239 configure fragments.
18240 (libc_extra_cppflags): New flag.
18241 * configure. Regenerate.
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18243 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18244 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18248 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18249 result for FE_DOWNWARD rounding mode.
18250 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18254 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18256 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18257 in function argument name.
18259 2014-04-03 David Svoboda <svoboda@cert.org>
18262 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18265 2014-04-03 Roland McGrath <roland@hack.frob.com>
18267 * elf/dl-unmap-segments.h: New file.
18268 * sysdeps/generic/ldsodefs.h
18269 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18270 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18271 * elf/dl-fptr.c: Likewise.
18272 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18273 * sysdeps/aarch64/tlsdesc.c: Likewise.
18274 * sysdeps/arm/tlsdesc.c: Likewise.
18275 * sysdeps/i386/tlsdesc.c: Likewise.
18276 * sysdeps/tile/dl-runtime.c: Likewise.
18277 * sysdeps/x86_64/tlsdesc.c: Likewise.
18278 * elf/dl-load.h: New file.
18279 * elf/dl-load.c: Include it.
18280 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18281 Macros moved to dl-load.h.
18282 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18283 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18284 Use _dl_unmap_segments in place of __munmap.
18285 Break out segment-mapping loop into ...
18286 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18288 2014-04-03 Will Newton <will.newton@linaro.org>
18290 * elf/dl-lookup.c (do_lookup_x): Remove comment
18291 referring to nested function and move variable
18292 declarations down to before first use.
18294 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18298 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18300 * math/s_catanf.c (__catanf): Likewise.
18301 * math/s_catanh.c (__catanh): Likewise.
18302 * math/s_catanhf.c (__catanhf): Likewise.
18303 * math/s_catanhl.c (__catanhl): Likewise.
18304 * math/s_catanl.c (__catanl): Likewise.
18305 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18306 by positive zero when computing -Inf result.
18307 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18308 (catanh_test): Likewise.
18309 * sysdeps/i386/fpu/libm-test-ulps: Update.
18310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18313 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18314 instead of using underflowing value in computing result.
18315 * math/s_clog10.c (__clog10): Likewise.
18316 * math/s_clog10f.c (__clog10f): Likewise.
18317 * math/s_clog10l.c (__clog10l): Likewise.
18318 * math/s_clogf.c (__clogf): Likewise.
18319 * math/s_clogl.c (__clogl): Likewise.
18320 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18321 (clog10_test): Likewise.
18322 * sysdeps/i386/fpu/libm-test-ulps: Update.
18323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18325 2014-04-02 Alan Modra <amodra@gmail.com>
18328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18329 output when value is near a power of two. Use int64_t for lx and
18330 remove casts. Use decimal rather than hex exponent constants.
18331 Don't use long double multiplication when double will suffice.
18332 * math/libm-test.inc (nextafter_test_data): Add tests.
18333 * NEWS: Add 16739 and 16786 to bug list.
18335 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18337 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18339 2014-04-01 Will Newton <will.newton@linaro.org>
18341 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18342 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18344 2014-04-01 Florian Weimer <fweimer@redhat.com>
18347 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18348 * nptl/tst-setuid2.c: New file.
18349 * nptl/Makefile (xtests): Add tst-setuid2.
18351 2014-04-01 Alan Modra <amodra@gmail.com>
18354 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18356 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18360 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18361 set errno as appropriate.
18362 * math/w_scalbf.c (__scalbf): Likewise.
18363 * math/w_scalbl.c (__scalbl): Likewise.
18364 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18365 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18366 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18367 Add more NaN tests.
18370 * math/w_atan2.c: Include <errno.h>.
18371 (__atan2): Set errno for result underflowing to zero.
18372 * math/w_atan2f.c: Include <errno.h>.
18373 (__atan2f): Set errno for result underflowing to zero.
18374 * math/w_atan2l.c: Include <errno.h>.
18375 (__atan2l): Set errno for result underflowing to zero.
18376 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18378 * math/auto-libm-test-out: Regenerated.
18380 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18382 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18383 Encode instruction correctly in little endian.
18384 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18386 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18388 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18390 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18393 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18396 * sysdeps/unix/sysv/linux/kernel-features.h
18397 [__sparc__ && !__arch64__ && !__sparc_v9__]
18398 (__ASSUME_SET_ROBUST_LIST): Do not define.
18399 [__sparc__ && !__arch64__ && !__sparc_v9__]
18400 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18401 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18404 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18405 (__ASSUME_REQUEUE_PI): Likewise.
18406 (__ASSUME_SET_ROBUST_LIST): Likewise.
18407 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18408 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18411 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18413 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18415 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18417 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18418 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18420 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18421 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18425 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18426 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18427 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18429 2014-03-31 Will Newton <will.newton@linaro.org>
18431 * benchtests/Makefile (bench): Add ffs and ffsll to list
18433 * benchtests/ffs-inputs: New file.
18434 * benchtests/ffsll-inputs: Likewise.
18436 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18439 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18440 too large before casting to int.
18441 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18442 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18443 * math/libm-test.inc (scalb_test_data): Add more tests.
18445 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18447 * benchtests/Makefile (DETAILED_OPT): New make option.
18448 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18450 * benchtests/bench-skeleton.c: Include stdbool.h.
18451 (main): Store and print timings per input.
18452 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18453 member to each argument value.
18454 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18455 (_print_arg_data): Initialize per-input timing to 0.
18457 * benchtests/Makefile (timing-type): New binary.
18458 (bench-clean): Also remove bench-timing-type.
18459 (bench): New target for timing-type.
18460 (bench-func): Print output in JSON format.
18461 * benchtests/bench-skeleton.c (main): Print output in JSON
18463 * benchtests/bench-timing-type.c: New file.
18464 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18465 (TIMING_PRINT_STATS): Remove.
18466 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18469 * benchtests/bench-modf.c: Remove.
18470 * benchtests/modf-inputs: New inputs file.
18472 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18475 * math/s_clog10.c (M_PI_LOG10E): New macro.
18476 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18477 imaginary parts are 0.
18478 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18479 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18480 imaginary parts are 0.
18481 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18482 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18483 imaginary parts are 0.
18484 * math/libm-test.inc (clog10_test_data): Update expected results
18485 for when real and imaginary parts are 0.
18487 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18489 * elf/dl-load.c: Finish conversion of __builtin_expect into
18490 __glibc_{un}likely.
18492 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18495 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18496 1+x for argument with exponent below -67.
18497 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18499 * math/auto-libm-test-in: Add more tests of exp.
18500 * math/auto-libm-test-out: Regenerated.
18502 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18505 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18506 (nscd_getnetgrent): Use it.
18509 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18512 2014-03-27 Andi Kleen <ak@linux.intel.com>
18514 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18515 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18516 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18517 (lll_robust_unlock): Remove out of line section. Use cfi
18519 (LLL_STUB_UNWIND_INFO*): Remove.
18520 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18521 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18522 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18523 (lll_robust_unlock): Remove out of line section. Use cfi
18525 (LLL_STUB_UNWIND_INFO*): Remove.
18527 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18530 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18533 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18535 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18537 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18540 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18542 * math/test-fenv-preserve.c: New file.
18543 * math/Makefile (tests): Add test-fenv-preserve.
18545 2014-03-26 Will Newton <will.newton@linaro.org>
18547 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18549 2014-03-25 Roland McGrath <roland@hack.frob.com>
18551 * scripts/versionlist.awk: Partition the version sets and emit all
18552 GLIBC_* (sorted) before all others (sorted).
18554 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18556 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18557 GLIBC_2.2.5 version.
18559 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18561 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18564 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18569 2014-03-25 Andreas Schwab <schwab@suse.de>
18571 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18572 label to be used after in6ailist is initialized.
18574 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18576 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18577 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18579 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18583 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18585 (fp_formats): Update initializers.
18586 (init_fp_formats): Initialize new field.
18587 (output_for_one_input_case): Allow underflow for results up to
18589 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18590 * math/auto-libm-test-in: Don't mark some underflows from asin and
18592 * math/auto-libm-test-out: Regenerated.
18593 * sysdeps/i386/fpu/libm-test-ulps: Update.
18594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18596 2014-03-25 Andreas Schwab <schwab@suse.de>
18598 * libio/Makefile (tst-ftell-partial-wide-ENV)
18599 (tst-ftell-active-handler-ENV): Define.
18601 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18603 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18605 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18607 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18609 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18612 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18613 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18615 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18618 * elf/dl-load.c (open_verify): Add mode parameter.
18619 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18620 (open_path): Change from boolean 'secure' to complete flag 'mode'
18621 (_dl_map_object): Adjust.
18622 * elf/Makefile (tests): Add tst-dlopen-aout.
18623 * elf/tst-dlopen-aout.c: New test.
18625 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18628 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18629 (struct stat): Rename member pad0 to __glibc_reserved0.
18632 * sysdeps/s390/s390-32/bits/wordsize.h
18633 (__WORDSIZE32_SIZE_ULONG): New define.
18634 * sysdeps/s390/s390-64/bits/wordsize.h
18635 (__WORDSIZE32_SIZE_ULONG): Likewise.
18636 * sysdeps/generic/stdint.h (SIZE_MAX):
18637 Define as UL if __WORDSIZE32_SIZE_ULONG.
18640 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18641 (__glibc_reserved0): New variable.
18642 (sa_flags): Change type to int.
18644 * posix/Makefile (before-compile): Use += before-compile instead
18647 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18648 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18650 2014-03-20 Andreas Schwab <schwab@suse.de>
18653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18654 non-matching result from nscd.
18656 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18658 * scripts/bench.py: Moved to ...
18659 * benchtests/scripts/bench.py: ... here.
18660 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18662 2014-03-24 Andreas Schwab <schwab@suse.de>
18665 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18666 alloca_account and account alloca use for struct in6ailist.
18668 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18671 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18672 rounding mode to recompute results that overflow to infinity or
18674 * math/auto-libm-test-in: Don't mark tests as expected to fail for
18676 * math/auto-libm-test-out: Regenerated.
18677 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18678 (ccosh_test): Likewise.
18679 (csin_test_data): Use plus_oflow.
18680 (csin_test): Use ALL_RM_TEST.
18681 (csinh_test_data): Use plus_oflow.
18682 (csinh_test): Use ALL_RM_TEST.
18683 * sysdeps/i386/fpu/libm-test-ulps: Update.
18684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18686 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18688 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18689 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18690 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18693 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18694 when x - 1 is zero.
18695 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18696 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18697 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18698 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18700 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18701 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18703 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18704 * sysdeps/i386/fpu/libm-test-ulps: Update.
18705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18707 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18709 * scripts/bench.pl: Remove file.
18710 * scripts/bench.py: New benchmark script.
18711 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18712 * benchtests/README: Mention python dependency.
18713 * scripts/pylintrc: New file.
18714 * scripts/pylint: New file.
18716 * bits/mathdef.h: Use #ifdef instead of #if.
18717 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18718 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18719 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18720 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18721 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18722 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18724 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18725 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18727 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18729 and strpbrk-ppc64 objects.
18730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18731 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18732 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18733 multiarch strpbrk for POWER7.
18734 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18735 multiarch strpbrk for PPC64.
18736 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18738 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18739 strpbrk for POWER7.
18741 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18743 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18744 (atan_test): Likewise.
18745 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18746 (atanh_test): Use ALL_RM_TEST.
18747 (atan2_test_data): Likewise.
18748 (cabs_test): Likewise.
18749 (cacosh_test): Likewise.
18750 (carg_test): Likewise.
18751 (casin_test): Likewise.
18752 (casinh_test): Likewise.
18753 (cbrt_test): Likewise.
18754 (csqrt_test): Likewise.
18755 (erf_test): Likewise.
18756 (erfc_test): Likewise.
18757 (pow10_test): Likewise.
18758 (exp2_test): Likewise.
18759 (hypot_test): Likewise.
18760 (j0_test): Likewise.
18761 (j1_test): Likewise.
18762 (lgamma_test): Likewise.
18763 (gamma_test): Likewise.
18764 (sincos_test): Likewise.
18765 (tanh_test): Likewise.
18766 (y0_test): Likewise.
18767 (y1_test): Likewise.
18768 * sysdeps/i386/fpu/libm-test-ulps: Update.
18769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18771 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18773 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18775 and strcspn-ppc64 objects.
18776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18777 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18778 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18779 multiarch strcspn for POWER7.
18780 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18781 multiarch strcspn for PPC64.
18782 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18784 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18785 strcspn for POWER7.
18787 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18789 * math/gen-libm-test.pl (generate_testfile): Expect only function
18790 name as argument to AUTO_TESTS_* and pass results for all rounding
18791 modes to parse_args.
18792 (parse_auto_input): Separate inputs of automatic tests from
18793 outputs before storing in %auto_tests.
18794 * math/libm-test.inc (acos_test_data): Update call to
18796 (acos_test): Use ALL_RM_TEST.
18797 (acos_tonearest_test_data): Remove.
18798 (acos_test_tonearest): Likewise.
18799 (acos_towardzero_test_data): Likewise.
18800 (acos_test_towardzero): Likewise.
18801 (acos_downward_test_data): Likewise.
18802 (acos_test_downward): Likewise.
18803 (acos_upward_test_data): Likewise.
18804 (acos_test_upward): Likewise.
18805 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18806 (asin_test_data): Likewise.
18807 (asin_test): Use ALL_RM_TEST.
18808 (asin_tonearest_test_data): Remove.
18809 (asin_test_tonearest): Likewise.
18810 (asin_towardzero_test_data): Likewise.
18811 (asin_test_towardzero): Likewise.
18812 (asin_downward_test_data): Likewise.
18813 (asin_test_downward): Likewise.
18814 (asin_upward_test_data): Likewise.
18815 (asin_test_upward): Likewise.
18816 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18817 (atan_test_data): Likewise.
18818 (atanh_test_data): Likewise.
18819 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18820 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18821 (carg_test_data): Likewise.
18822 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18823 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18824 (ccosh_test_data): Likewise.
18825 (cexp_test_data): Likewise.
18826 (clog_test_data): Likewise.
18827 (clog10_test_data): Likewise.
18828 (cos_test_data): Update call to AUTO_TESTS_f_f.
18829 (cos_test): Use ALL_RM_TEST.
18830 (cos_tonearest_test_data): Remove.
18831 (cos_test_tonearest): Likewise.
18832 (cos_towardzero_test_data): Likewise.
18833 (cos_test_towardzero): Likewise.
18834 (cos_downward_test_data): Likewise.
18835 (cos_test_downward): Likewise.
18836 (cos_upward_test_data): Likewise.
18837 (cos_test_upward): Likewise.
18838 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18839 (cosh_test): Use ALL_RM_TEST.
18840 (cosh_tonearest_test_data): Remove.
18841 (cosh_test_tonearest): Likewise.
18842 (cosh_towardzero_test_data): Likewise.
18843 (cosh_test_towardzero): Likewise.
18844 (cosh_downward_test_data): Likewise.
18845 (cosh_test_downward): Likewise.
18846 (cosh_upward_test_data): Likewise.
18847 (cosh_test_upward): Likewise.
18848 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18849 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18850 (ctan_test_data): Likewise.
18851 (ctan_test): Use ALL_RM_TEST.
18852 (ctan_tonearest_test_data): Remove.
18853 (ctan_test_tonearest): Likewise.
18854 (ctan_towardzero_test_data): Likewise.
18855 (ctan_test_towardzero): Likewise.
18856 (ctan_downward_test_data): Likewise.
18857 (ctan_test_downward): Likewise.
18858 (ctan_upward_test_data): Likewise.
18859 (ctan_test_upward): Likewise.
18860 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18861 (ctanh_test): Use ALL_RM_TEST.
18862 (ctanh_tonearest_test_data): Remove.
18863 (ctanh_test_tonearest): Likewise.
18864 (ctanh_towardzero_test_data): Likewise.
18865 (ctanh_test_towardzero): Likewise.
18866 (ctanh_downward_test_data): Likewise.
18867 (ctanh_test_downward): Likewise.
18868 (ctanh_upward_test_data): Likewise.
18869 (ctanh_test_upward): Likewise.
18870 (erf_test_data): Update call to AUTO_TESTS_f_f.
18871 (erfc_test_data): Likewise.
18872 (exp_test_data): Likewise.
18873 (exp_test): Use ALL_RM_TEST.
18874 (exp_tonearest_test_data): Remove.
18875 (exp_test_tonearest): Likewise.
18876 (exp_towardzero_test_data): Likewise.
18877 (exp_test_towardzero): Likewise.
18878 (exp_downward_test_data): Likewise.
18879 (exp_test_downward): Likewise.
18880 (exp_upward_test_data): Likewise.
18881 (exp_test_upward): Likewise.
18882 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18883 (exp10_test): Use ALL_RM_TEST.
18884 (exp10_tonearest_test_data): Remove.
18885 (exp10_test_tonearest): Likewise.
18886 (exp10_towardzero_test_data): Likewise.
18887 (exp10_test_towardzero): Likewise.
18888 (exp10_downward_test_data): Likewise.
18889 (exp10_test_downward): Likewise.
18890 (exp10_upward_test_data): Likewise.
18891 (exp10_test_upward): Likewise.
18892 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18893 (expm1_test_data): Likewise.
18894 (expm1_test): Use ALL_RM_TEST.
18895 (expm1_tonearest_test_data): Remove.
18896 (expm1_test_tonearest): Likewise.
18897 (expm1_towardzero_test_data): Likewise.
18898 (expm1_test_towardzero): Likewise.
18899 (expm1_downward_test_data): Likewise.
18900 (expm1_test_downward): Likewise.
18901 (expm1_upward_test_data): Likewise.
18902 (expm1_test_upward): Likewise.
18903 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18904 (fma_test): Use ALL_RM_TEST.
18905 (fma_towardzero_test_data): Remove.
18906 (fma_test_towardzero): Likewise.
18907 (fma_downward_test_data): Likewise.
18908 (fma_test_downward): Likewise.
18909 (fma_upward_test_data): Likewise.
18910 (fma_test_upward): Likewise.
18911 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18912 (j0_test_data): Update call to AUTO_TESTS_f_f.
18913 (j1_test_data): Likewise.
18914 (jn_test_data): Update call to AUTO_TESTS_if_f.
18915 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18916 (log_test_data): Update call to AUTO_TESTS_f_f.
18917 (log10_test_data): Likewise.
18918 (log1p_test_data): Likewise.
18919 (log2_test_data): Likewise.
18920 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18921 (pow_tonearest_test_data): Likewise.
18922 (sin_test_data): Update call to AUTO_TESTS_f_f.
18923 (sin_test): Use ALL_RM_TEST.
18924 (sin_tonearest_test_data): Remove.
18925 (sin_test_tonearest): Likewise.
18926 (sin_towardzero_test_data): Likewise.
18927 (sin_test_towardzero): Likewise.
18928 (sin_downward_test_data): Likewise.
18929 (sin_test_downward): Likewise.
18930 (sin_upward_test_data): Likewise.
18931 (sin_test_upward): Likewise.
18932 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18933 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18934 (sinh_test): Use ALL_RM_TEST.
18935 (sinh_tonearest_test_data): Remove.
18936 (sinh_test_tonearest): Likewise.
18937 (sinh_towardzero_test_data): Likewise.
18938 (sinh_test_towardzero): Likewise.
18939 (sinh_downward_test_data): Likewise.
18940 (sinh_test_downward): Likewise.
18941 (sinh_upward_test_data): Likewise.
18942 (sinh_test_upward): Likewise.
18943 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18944 (sqrt_test): Use ALL_RM_TEST.
18945 (sqrt_tonearest_test_data): Remove.
18946 (sqrt_test_tonearest): Likewise.
18947 (sqrt_towardzero_test_data): Likewise.
18948 (sqrt_test_towardzero): Likewise.
18949 (sqrt_downward_test_data): Likewise.
18950 (sqrt_test_downward): Likewise.
18951 (sqrt_upward_test_data): Likewise.
18952 (sqrt_test_upward): Likewise.
18953 (tan_test_data): Update call to AUTO_TESTS_f_f.
18954 (tan_test): Use ALL_RM_TEST.
18955 (tan_tonearest_test_data): Remove.
18956 (tan_test_tonearest): Likewise.
18957 (tan_towardzero_test_data): Likewise.
18958 (tan_test_towardzero): Likewise.
18959 (tan_downward_test_data): Likewise.
18960 (tan_test_downward): Likewise.
18961 (tan_upward_test_data): Likewise.
18962 (tan_test_upward): Likewise.
18963 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18964 (tgamma_test_data): Likewise.
18965 (y0_test_data): Likewise.
18966 (y1_test_data): Likewise.
18967 (yn_test_data): Update call to AUTO_TESTS_if_f.
18968 (main): Do not call removed functions.
18970 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18972 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18973 (ldexp_test_data): Remove.
18974 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18976 (scalb_test): Use ALL_RM_TEST.
18978 2014-03-19 Andreas Schwab <schwab@suse.de>
18980 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18982 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18985 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18986 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18987 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18988 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18989 (__ASSUME_PREADV): Undefine.
18990 (__ASSUME_PWRITEV): Likewise.
18992 2014-03-18 Roland McGrath <roland@hack.frob.com>
18994 * bits/mman-linux.h: Add comment about non-Linux use.
18995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18996 bits/mman-linux.h resting place.
18998 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18999 * bits/mman-linux.h: ... here.
19001 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19003 * conform/conformtest.pl: Add standard definition when calling C
19004 preprocessor on data files.
19005 (checknamespace): Remove unused variable.
19007 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19009 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19010 minus_oflow, plus_uflow and minus_uflow in expected results.
19011 * math/libm-test.inc (scalbn_test_data): Add more tests of
19012 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19014 (scalbn_test): Use ALL_RM_TEST.
19015 (scalbln_test_data): Add more tests of negative arguments. Use
19016 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19017 (scalbln_test): Use ALL_RM_TEST.
19019 2014-03-18 Roland McGrath <roland@hack.frob.com>
19021 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19023 2014-03-18 Will Newton <will.newton@linaro.org>
19025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19026 inaccurate comment.
19028 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19030 * Makerules [!subdir] (check-abi): Exit with error status if a
19033 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19035 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19036 for rint. Include results for all rounding modes.
19037 (nearbyint_test): Use ALL_RM_TEST.
19038 (rint_test_data): Include all tests used for nearbyint.
19040 2014-03-17 Will Newton <will.newton@linaro.org>
19042 * nptl/sysdeps/pthread/pthread.h: Revert previous
19045 * sysdeps/generic/ldsodefs.h: Revert previous
19048 * libio/genops.c: Revert previous change.
19049 * libio/libioP.h: Likewise.
19050 * stdio-common/vfprintf.c: Likewise.
19052 * sysdeps/generic/math_private.h: Revert previous
19055 * sysdeps/generic/math_private.h: Check whether
19056 HAVE_RM_CTX is defined with #ifdef rather
19059 * argp/argp-fmtstream.h: Check whether
19060 __STRICT_ANSI__ is defined with #ifdef rather
19062 * argp/argp.h: Likewise.
19064 * libio/genops.c: Check whether
19065 _IO_JUMPS_OFFSET is defined with #ifdef rather
19067 * libio/libioP.h: Likewise.
19068 * stdio-common/vfprintf.c: Likewise.
19070 * sysdeps/generic/ldsodefs.h: Check whether
19071 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19074 * nptl/sysdeps/pthread/pthread.h: Check
19075 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19078 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19080 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19082 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19086 * libio/fileops.c (_IO_file_open): Seek to end of file but
19087 don't cache the offset.
19088 (get_file_offset): Remove function.
19089 (do_ftell): Use cached offset when available.
19090 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19091 don't cache the offset.
19092 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19094 (do_one_test): Call it.
19095 (do_ftell_test): Fix up expected old offset for a+ mode.
19096 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19099 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19100 up test status with function return status.
19101 (do_write_test): Likewise.
19102 (do_append_test): Likewise.
19104 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19105 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19108 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19110 * math/gen-libm-test.pl (parse_args): Handle results specified for
19111 each rounding mode separately.
19112 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19113 tests and results from lrint_tonearest_test_data,
19114 lrint_towardzero_test_data, lrint_downward_test_data and
19115 lrint_upward_test_data.
19116 (lrint_test): Use ALL_RM_TEST.
19117 (lrint_tonearest_test_data): Remove.
19118 (lrint_test_tonearest): Likewise.
19119 (lrint_towardzero_test_data): Likewise.
19120 (lrint_test_towardzero): Likewise.
19121 (lrint_downward_test_data): Likewise.
19122 (lrint_test_downward): Likewise.
19123 (lrint_upward_test_data): Likewise.
19124 (lrint_test_upward): Likewise.
19125 (llrint_test_data): Merge in per-rounding-mode tests and results
19126 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19127 llrint_downward_test_data and llrint_upward_test_data.
19128 (llrint_test): Use ALL_RM_TEST.
19129 (llrint_tonearest_test_data): Remove.
19130 (llrint_test_tonearest): Likewise.
19131 (llrint_towardzero_test_data): Likewise.
19132 (llrint_test_towardzero): Likewise.
19133 (llrint_downward_test_data): Likewise.
19134 (llrint_test_downward): Likewise.
19135 (llrint_upward_test_data): Likewise.
19136 (llrint_test_upward): Likewise.
19137 (rint_test_data): Merge in per-rounding-mode tests and results
19138 from rint_tonearest_test_data, rint_towardzero_test_data,
19139 rint_downward_test_data and rint_upward_test_data. Add
19140 per-rounding-mode results for tests not in those arrays.
19141 (rint_test): Use ALL_RM_TEST.
19142 (rint_tonearest_test_data): Remove.
19143 (rint_test_tonearest): Likewise.
19144 (rint_towardzero_test_data): Likewise.
19145 (rint_test_towardzero): Likewise.
19146 (rint_downward_test_data): Likewise.
19147 (rint_test_downward): Likewise.
19148 (rint_upward_test_data): Likewise.
19149 (rint_test_upward): Likewise.
19150 (main): Don't call removed functions.
19152 2014-03-14 Roland McGrath <roland@hack.frob.com>
19154 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19155 "Compiled on ..." crapola. It is anti-useful.
19157 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19159 * scripts/evaluate-test.sh: Handle fourth argument to determine
19160 whether test run should stop on failure.
19161 * Makeconfig (stop-on-test-failure): New variable.
19162 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19163 $(stop-on-test-failure).
19164 * Makefile (tests): Give a summary of results from testing and
19165 exit with failure status if they include an ERROR or FAIL.
19166 (xtests): Likewise.
19167 * manual/install.texi (Configuring and compiling): Mention
19168 stop-on-test-failure=y.
19169 * INSTALL: Regenerated.
19171 2014-03-14 Roland McGrath <roland@hack.frob.com>
19173 * scripts/versionlist.awk: New file.
19174 * Makerules [$(build-shared) = yes]
19175 (postclean-generated): Add Versions.def, not Versions.def.v and
19177 ($(common-objpfx)Versions.def.v.i): Target removed.
19178 ($(common-objpfx)Versions.def): New target.
19179 ($(common-objpfx)Versions.all): Depend on that rather that
19180 $(common-objpfx)Versions.def.v.
19181 * Versions.def: File removed.
19183 * Makeconfig (+gccwarn): Add -Wundef.
19184 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19185 a dl-sysdep.h breaking its contract.
19186 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19187 * include/stackinfo.h: New file.
19188 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19189 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19190 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19191 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19192 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19193 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19194 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19195 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19196 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19197 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19198 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19199 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19200 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19201 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19202 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19204 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19207 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19209 * math/libm-test.inc (round_test_data): Add more tests.
19212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19214 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19217 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19219 * math/libm-test.inc (ceil_test_data): Add more tests.
19221 * math/libm-test.inc (trunc_test_data): Add more tests related to
19224 2014-03-14 Roland McGrath <roland@hack.frob.com>
19226 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19227 with #if rather than #ifdef.
19228 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19230 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19232 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19233 first. Disable AVX-512 GCC support if assembler doesn't support
19235 * sysdeps/x86_64/configure: Regenerated.
19237 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19239 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19240 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19241 (__old_pthread_attr_setstack): Likewise.
19242 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19243 [!_STACK_GROWS_DOWN]: Likewise.
19245 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19247 * config.make.in (have-bash2): Delete.
19248 * configure.ac (libc_cv_have_bash2): Delete.
19249 * configure: Regenerate.
19250 * elf/Makefile (common-ldd-rewrite): Rename to ...
19251 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19252 (sh-ldd-rewrite): Delete.
19253 (bash-ldd-rewrite): Delete.
19254 (have-bash2): Delete checks.
19255 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19258 * config.make.in (have-ksh): Delete.
19260 * configure.ac (libc_cv_have_ksh): Delete.
19261 * configure: Regenerate.
19263 * elf/Makefile: Delete $(have-ksh) check.
19264 ($(objpfx)sotruss): Change KSH to BASH.
19265 * elf/sotruss.ksh: Rename to ...
19266 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19267 function style to match POSIX. Drop ksh vim mode setting.
19269 * manual/time.texi (Specifying the Time Zone with TZ): Change
19270 Tuesday to Thursday.
19272 * debug/tst-longjmp_chk2.c: Update header comment.
19273 (stackoverflow_handler): Add comment. Call assert on pass value.
19275 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19278 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19279 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19280 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19281 (La_x86_64_vector): Add zmm.
19282 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19283 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19284 ($(objpfx)tst-audit10): New target.
19285 ($(objpfx)tst-audit10.out): Likewise.
19286 (tst-audit10-ENV): New.
19287 (AVX512-CFLAGS): Likewise.
19288 (CFLAGS-tst-audit10.c): Likewise.
19289 (CFLAGS-tst-auditmod10a.c): Likewise.
19290 (CFLAGS-tst-auditmod10b.c): Likewise.
19291 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19292 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19293 * sysdeps/x86_64/configure: Regenerated.
19294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19295 AVX-512 zmm register support.
19296 (_dl_x86_64_save_sse): Likewise.
19297 (_dl_x86_64_restore_sse): Likewise.
19298 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19299 size vector registers.
19300 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19301 (ZMM_SIZE): Likewise.
19302 * sysdeps/x86_64/tst-audit10.c: New file.
19303 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19304 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19306 2014-03-13 Roland McGrath <roland@hack.frob.com>
19308 * configure.ac (HAVE_EHDR_START): New check.
19309 * configure: Regenerated.
19310 * config.h.in (HAVE_EHDR_START): New #undef.
19311 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19312 assuming the lowest-addressed segment maps the start of the file.
19314 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19316 * INSTALL: Regenerated.
19318 2014-03-13 Will Newton <will.newton@linaro.org>
19320 * manual/setjmp.texi (System V contexts): Improve
19321 clarity and grammar of documentation.
19323 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19326 * elf/Makefile (tests): Add tst-pie2.
19327 (tests-pie): Add tst-pie2.
19328 * elf/tst-pie2.c: New file.
19329 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19331 * elf/rtld.c (map_doit): Load executable as lt_executable.
19332 (dl_main): Likewise.
19334 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19337 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19338 (__ASSUME_PSELECT): Undefine.
19340 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19343 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19344 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19346 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19347 selector for static builds.
19349 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19352 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19355 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19357 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19358 IFUNC selector for static builds.
19360 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19362 * sysdeps/mips/math_private.h [__mips_hard_float]
19363 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19364 libc_feresetround_mips_ctx.
19365 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19366 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19367 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19370 * math/s_nextafter.c (__nextafter): Do not return value from
19371 overflowing computation.
19372 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19373 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19374 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19376 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19378 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19379 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19381 2014-03-11 Roland McGrath <roland@hack.frob.com>
19383 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19384 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19385 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19386 the new mov targetting sp.
19388 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19391 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19392 Define it for static builds as well.
19393 (NO_BZERO_IMPL): Likewise.
19395 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19397 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19398 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19399 multiarch strspn for PPC64.
19400 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19401 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19403 (__libc_ifunc_impl_list): Likewise.
19404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19405 multiarch optimizations
19406 * string/strspn.c (strspn): Using macro to redefine symbol name.
19408 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19409 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19411 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19412 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19413 multiarch strncat for PPC64.
19414 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19415 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19417 (__libc_ifunc_impl_list): Likewise.
19418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19419 multiarch optimizations
19421 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19424 * nscd/nscd.service: Make service type forking.
19426 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19428 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19429 sign in non default rounding modes.
19430 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19432 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19434 * math/libm-test.inc (ALL_RM_TEST): New macro.
19435 (ceil_test): Use ALL_RM_TEST.
19436 (cimag_test): Likewise.
19437 (conj_test): Likewise.
19438 (copysign_test): Likewise.
19439 (cproj_test): Likewise.
19440 (creal_test): Likewise.
19441 (fabs_test): Likewise.
19442 (floor_test): Likewise.
19443 (fmax_test): Likewise.
19444 (fmin_test): Likewise.
19445 (fmod_test): Likewise.
19446 (fpclassify_test): Likewise.
19447 (frexp_test): Likewise.
19448 (ilogb_test): Likewise.
19449 (isfinite_test): Likewise.
19450 (finite_test): Likewise.
19451 (isgreater_test): Likewise.
19452 (isgreaterequal_test): Likewise.
19453 (isinf_test): Likewise.
19454 (isless_test): Likewise.
19455 (islessequal_test): Likewise.
19456 (islessgreater_test): Likewise.
19457 (isnan_test): Likewise.
19458 (isnormal_test): Likewise.
19459 (issignaling_test): Likewise.
19460 (isunordered_test): Likewise.
19461 (logb_test): Likewise.
19462 (logb_downward_test_data): Remove.
19463 (logb_test_downward): Likewise.
19464 (lround_test): Use ALL_RM_TEST.
19465 (llround_test): Likewise.
19466 (modf_test): Likewise.
19467 (nexttoward_test): Likewise.
19468 (remainder_test): Likewise.
19469 (drem_test): Likewise.
19470 (remainder_tonearest_test_data): Likewise.
19471 (remainder_test_tonearest): Likewise.
19472 (drem_test_tonearest): Likewise.
19473 (remainder_towardzero_test_data): Likewise.
19474 (remainder_test_towardzero): Likewise.
19475 (drem_test_towardzero): Likewise.
19476 (remainder_downward_test_data): Likewise.
19477 (remainder_test_downward): Likewise.
19478 (drem_test_downward): Likewise.
19479 (remainder_upward_test_data): Likewise.
19480 (remainder_test_upward): Likewise.
19481 (drem_test_upward): Likewise.
19482 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19483 (round_test): Use ALL_RM_TEST.
19484 (signbit_test): Likewise.
19485 (trunc_test): Likewise.
19486 (significand_test): Likewise.
19487 (main): Don't call removed functions.
19489 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19492 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19493 || __USE_XOPEN2K8].
19494 (ILL_ILLOPN): Likewise.
19495 (ILL_ILLADR): Likewise.
19496 (ILL_ILLTRP): Likewise.
19497 (ILL_PRVOPC): Likewise.
19498 (ILL_PRVREG): Likewise.
19499 (ILL_COPROC): Likewise.
19500 (ILL_BADSTK): Likewise.
19501 (FPE_INTDIV): Likewise.
19502 (FPE_INTOVF): Likewise.
19503 (FPE_FLTDIV): Likewise.
19504 (FPE_FLTOVF): Likewise.
19505 (FPE_FLTUND): Likewise.
19506 (FPE_FLTRES): Likewise.
19507 (FPE_FLTINV): Likewise.
19508 (FPE_FLTSUB): Likewise.
19509 (SEGV_MAPERR): Likewise.
19510 (SEGV_ACCERR): Likewise.
19511 (BUS_ADRALN): Likewise.
19512 (BUS_ADRERR): Likewise.
19513 (BUS_OBJERR): Likewise.
19514 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19515 (TRAP_TRACE): Likewise.
19516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19518 (CLD_KILLED): Likewise.
19519 (CLD_DUMPED): Likewise.
19520 (CLD_TRAPPED): Likewise.
19521 (CLD_STOPPED): Likewise.
19522 (CLD_CONTINUED): Likewise.
19523 (POLL_IN): Likewise.
19524 (POLL_OUT): Likewise.
19525 (POLL_MSG): Likewise.
19526 (POLL_ERR): Likewise.
19527 (POLL_PRI): Likewise.
19528 (POLL_HUP): Likewise.
19529 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19531 (ILL_ILLOPN): Likewise.
19532 (ILL_ILLADR): Likewise.
19533 (ILL_ILLTRP): Likewise.
19534 (ILL_PRVOPC): Likewise.
19535 (ILL_PRVREG): Likewise.
19536 (ILL_COPROC): Likewise.
19537 (ILL_BADSTK): Likewise.
19538 (FPE_INTDIV): Likewise.
19539 (FPE_INTOVF): Likewise.
19540 (FPE_FLTDIV): Likewise.
19541 (FPE_FLTOVF): Likewise.
19542 (FPE_FLTUND): Likewise.
19543 (FPE_FLTRES): Likewise.
19544 (FPE_FLTINV): Likewise.
19545 (FPE_FLTSUB): Likewise.
19546 (SEGV_MAPERR): Likewise.
19547 (SEGV_ACCERR): Likewise.
19548 (BUS_ADRALN): Likewise.
19549 (BUS_ADRERR): Likewise.
19550 (BUS_OBJERR): Likewise.
19551 (BUS_MCEERR_AR): Likewise.
19552 (BUS_MCEERR_AO): Likewise.
19553 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19554 (TRAP_TRACE): Likewise.
19555 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19557 (CLD_KILLED): Likewise.
19558 (CLD_DUMPED): Likewise.
19559 (CLD_TRAPPED): Likewise.
19560 (CLD_STOPPED): Likewise.
19561 (CLD_CONTINUED): Likewise.
19562 (POLL_IN): Likewise.
19563 (POLL_OUT): Likewise.
19564 (POLL_MSG): Likewise.
19565 (POLL_ERR): Likewise.
19566 (POLL_PRI): Likewise.
19567 (POLL_HUP): Likewise.
19568 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19569 (ILL_ILLOPN): Likewise.
19570 (ILL_ILLADR): Likewise.
19571 (ILL_ILLTRP): Likewise.
19572 (ILL_PRVOPC): Likewise.
19573 (ILL_PRVREG): Likewise.
19574 (ILL_COPROC): Likewise.
19575 (ILL_BADSTK): Likewise.
19576 (FPE_INTDIV): Likewise.
19577 (FPE_INTOVF): Likewise.
19578 (FPE_FLTDIV): Likewise.
19579 (FPE_FLTOVF): Likewise.
19580 (FPE_FLTUND): Likewise.
19581 (FPE_FLTRES): Likewise.
19582 (FPE_FLTINV): Likewise.
19583 (FPE_FLTSUB): Likewise.
19584 (SEGV_MAPERR): Likewise.
19585 (SEGV_ACCERR): Likewise.
19586 (BUS_ADRALN): Likewise.
19587 (BUS_ADRERR): Likewise.
19588 (BUS_OBJERR): Likewise.
19589 (BUS_MCEERR_AR): Likewise.
19590 (BUS_MCEERR_AO): Likewise.
19591 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19592 (TRAP_TRACE): Likewise.
19593 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19595 (CLD_KILLED): Likewise.
19596 (CLD_DUMPED): Likewise.
19597 (CLD_TRAPPED): Likewise.
19598 (CLD_STOPPED): Likewise.
19599 (CLD_CONTINUED): Likewise.
19600 (POLL_IN): Likewise.
19601 (POLL_OUT): Likewise.
19602 (POLL_MSG): Likewise.
19603 (POLL_ERR): Likewise.
19604 (POLL_PRI): Likewise.
19605 (POLL_HUP): Likewise.
19606 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19608 (ILL_ILLOPN): Likewise.
19609 (ILL_ILLADR): Likewise.
19610 (ILL_ILLTRP): Likewise.
19611 (ILL_PRVOPC): Likewise.
19612 (ILL_PRVREG): Likewise.
19613 (ILL_COPROC): Likewise.
19614 (ILL_BADSTK): Likewise.
19615 (ILL_BADIADDR): Likewise.
19616 (ILL_BREAK): Likewise.
19617 (FPE_INTDIV): Likewise.
19618 (FPE_INTOVF): Likewise.
19619 (FPE_FLTDIV): Likewise.
19620 (FPE_FLTOVF): Likewise.
19621 (FPE_FLTUND): Likewise.
19622 (FPE_FLTRES): Likewise.
19623 (FPE_FLTINV): Likewise.
19624 (FPE_FLTSUB): Likewise.
19625 (FPE_DECOVF): Likewise.
19626 (FPE_DECDIV): Likewise.
19627 (FPE_DECERR): Likewise.
19628 (FPE_INVASC): Likewise.
19629 (FPE_INVDEC): Likewise.
19630 (SEGV_MAPERR): Likewise.
19631 (SEGV_ACCERR): Likewise.
19632 (SEGV_PSTKOVF): Likewise.
19633 (BUS_ADRALN): Likewise.
19634 (BUS_ADRERR): Likewise.
19635 (BUS_OBJERR): Likewise.
19636 (BUS_MCEERR_AR): Likewise.
19637 (BUS_MCEERR_AO): Likewise.
19638 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19639 (TRAP_TRACE): Likewise.
19640 (TRAP_BRANCH): Likewise.
19641 (TRAP_HWBKPT): Likewise.
19642 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19644 (CLD_KILLED): Likewise.
19645 (CLD_DUMPED): Likewise.
19646 (CLD_TRAPPED): Likewise.
19647 (CLD_STOPPED): Likewise.
19648 (CLD_CONTINUED): Likewise.
19649 (POLL_IN): Likewise.
19650 (POLL_OUT): Likewise.
19651 (POLL_MSG): Likewise.
19652 (POLL_ERR): Likewise.
19653 (POLL_PRI): Likewise.
19654 (POLL_HUP): Likewise.
19655 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19656 (ILL_ILLOPN): Likewise.
19657 (ILL_ILLADR): Likewise.
19658 (ILL_ILLTRP): Likewise.
19659 (ILL_PRVOPC): Likewise.
19660 (ILL_PRVREG): Likewise.
19661 (ILL_COPROC): Likewise.
19662 (ILL_BADSTK): Likewise.
19663 (FPE_INTDIV): Likewise.
19664 (FPE_INTOVF): Likewise.
19665 (FPE_FLTDIV): Likewise.
19666 (FPE_FLTOVF): Likewise.
19667 (FPE_FLTUND): Likewise.
19668 (FPE_FLTRES): Likewise.
19669 (FPE_FLTINV): Likewise.
19670 (FPE_FLTSUB): Likewise.
19671 (SEGV_MAPERR): Likewise.
19672 (SEGV_ACCERR): Likewise.
19673 (BUS_ADRALN): Likewise.
19674 (BUS_ADRERR): Likewise.
19675 (BUS_OBJERR): Likewise.
19676 (BUS_MCEERR_AR): Likewise.
19677 (BUS_MCEERR_AO): Likewise.
19678 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19679 (TRAP_TRACE): Likewise.
19680 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19682 (CLD_KILLED): Likewise.
19683 (CLD_DUMPED): Likewise.
19684 (CLD_TRAPPED): Likewise.
19685 (CLD_STOPPED): Likewise.
19686 (CLD_CONTINUED): Likewise.
19687 (POLL_IN): Likewise.
19688 (POLL_OUT): Likewise.
19689 (POLL_MSG): Likewise.
19690 (POLL_ERR): Likewise.
19691 (POLL_PRI): Likewise.
19692 (POLL_HUP): Likewise.
19693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19694 (ILL_ILLOPN): Likewise.
19695 (ILL_ILLADR): Likewise.
19696 (ILL_ILLTRP): Likewise.
19697 (ILL_PRVOPC): Likewise.
19698 (ILL_PRVREG): Likewise.
19699 (ILL_COPROC): Likewise.
19700 (ILL_BADSTK): Likewise.
19701 (FPE_INTDIV): Likewise.
19702 (FPE_INTOVF): Likewise.
19703 (FPE_FLTDIV): Likewise.
19704 (FPE_FLTOVF): Likewise.
19705 (FPE_FLTUND): Likewise.
19706 (FPE_FLTRES): Likewise.
19707 (FPE_FLTINV): Likewise.
19708 (FPE_FLTSUB): Likewise.
19709 (SEGV_MAPERR): Likewise.
19710 (SEGV_ACCERR): Likewise.
19711 (BUS_ADRALN): Likewise.
19712 (BUS_ADRERR): Likewise.
19713 (BUS_OBJERR): Likewise.
19714 (BUS_MCEERR_AR): Likewise.
19715 (BUS_MCEERR_AO): Likewise.
19716 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19717 (TRAP_TRACE): Likewise.
19718 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19720 (CLD_KILLED): Likewise.
19721 (CLD_DUMPED): Likewise.
19722 (CLD_TRAPPED): Likewise.
19723 (CLD_STOPPED): Likewise.
19724 (CLD_CONTINUED): Likewise.
19725 (POLL_IN): Likewise.
19726 (POLL_OUT): Likewise.
19727 (POLL_MSG): Likewise.
19728 (POLL_ERR): Likewise.
19729 (POLL_PRI): Likewise.
19730 (POLL_HUP): Likewise.
19731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19732 (ILL_ILLOPN): Likewise.
19733 (ILL_ILLADR): Likewise.
19734 (ILL_ILLTRP): Likewise.
19735 (ILL_PRVOPC): Likewise.
19736 (ILL_PRVREG): Likewise.
19737 (ILL_COPROC): Likewise.
19738 (ILL_BADSTK): Likewise.
19739 (FPE_INTDIV): Likewise.
19740 (FPE_INTOVF): Likewise.
19741 (FPE_FLTDIV): Likewise.
19742 (FPE_FLTOVF): Likewise.
19743 (FPE_FLTUND): Likewise.
19744 (FPE_FLTRES): Likewise.
19745 (FPE_FLTINV): Likewise.
19746 (FPE_FLTSUB): Likewise.
19747 (SEGV_MAPERR): Likewise.
19748 (SEGV_ACCERR): Likewise.
19749 (BUS_ADRALN): Likewise.
19750 (BUS_ADRERR): Likewise.
19751 (BUS_OBJERR): Likewise.
19752 (BUS_MCEERR_AR): Likewise.
19753 (BUS_MCEERR_AO): Likewise.
19754 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19755 (TRAP_TRACE): Likewise.
19756 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19758 (CLD_KILLED): Likewise.
19759 (CLD_DUMPED): Likewise.
19760 (CLD_TRAPPED): Likewise.
19761 (CLD_STOPPED): Likewise.
19762 (CLD_CONTINUED): Likewise.
19763 (POLL_IN): Likewise.
19764 (POLL_OUT): Likewise.
19765 (POLL_MSG): Likewise.
19766 (POLL_ERR): Likewise.
19767 (POLL_PRI): Likewise.
19768 (POLL_HUP): Likewise.
19769 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19770 (ILL_ILLOPN): Likewise.
19771 (ILL_ILLADR): Likewise.
19772 (ILL_ILLTRP): Likewise.
19773 (ILL_PRVOPC): Likewise.
19774 (ILL_PRVREG): Likewise.
19775 (ILL_COPROC): Likewise.
19776 (ILL_BADSTK): Likewise.
19777 (ILL_DBLFLT): Likewise.
19778 (ILL_HARDWALL): Likewise.
19779 (FPE_INTDIV): Likewise.
19780 (FPE_INTOVF): Likewise.
19781 (FPE_FLTDIV): Likewise.
19782 (FPE_FLTOVF): Likewise.
19783 (FPE_FLTUND): Likewise.
19784 (FPE_FLTRES): Likewise.
19785 (FPE_FLTINV): Likewise.
19786 (FPE_FLTSUB): Likewise.
19787 (SEGV_MAPERR): Likewise.
19788 (SEGV_ACCERR): Likewise.
19789 (BUS_ADRALN): Likewise.
19790 (BUS_ADRERR): Likewise.
19791 (BUS_OBJERR): Likewise.
19792 (BUS_MCEERR_AR): Likewise.
19793 (BUS_MCEERR_AO): Likewise.
19794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19795 (TRAP_TRACE): Likewise.
19796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19798 (CLD_KILLED): Likewise.
19799 (CLD_DUMPED): Likewise.
19800 (CLD_TRAPPED): Likewise.
19801 (CLD_STOPPED): Likewise.
19802 (CLD_CONTINUED): Likewise.
19803 (POLL_IN): Likewise.
19804 (POLL_OUT): Likewise.
19805 (POLL_MSG): Likewise.
19806 (POLL_ERR): Likewise.
19807 (POLL_PRI): Likewise.
19808 (POLL_HUP): Likewise.
19809 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19810 (ILL_ILLOPN): Likewise.
19811 (ILL_ILLADR): Likewise.
19812 (ILL_ILLTRP): Likewise.
19813 (ILL_PRVOPC): Likewise.
19814 (ILL_PRVREG): Likewise.
19815 (ILL_COPROC): Likewise.
19816 (ILL_BADSTK): Likewise.
19817 (FPE_INTDIV): Likewise.
19818 (FPE_INTOVF): Likewise.
19819 (FPE_FLTDIV): Likewise.
19820 (FPE_FLTOVF): Likewise.
19821 (FPE_FLTUND): Likewise.
19822 (FPE_FLTRES): Likewise.
19823 (FPE_FLTINV): Likewise.
19824 (FPE_FLTSUB): Likewise.
19825 (SEGV_MAPERR): Likewise.
19826 (SEGV_ACCERR): Likewise.
19827 (BUS_ADRALN): Likewise.
19828 (BUS_ADRERR): Likewise.
19829 (BUS_OBJERR): Likewise.
19830 (BUS_MCEERR_AR): Likewise.
19831 (BUS_MCEERR_AO): Likewise.
19832 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19833 (TRAP_TRACE): Likewise.
19834 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19836 (CLD_KILLED): Likewise.
19837 (CLD_DUMPED): Likewise.
19838 (CLD_TRAPPED): Likewise.
19839 (CLD_STOPPED): Likewise.
19840 (CLD_CONTINUED): Likewise.
19841 (POLL_IN): Likewise.
19842 (POLL_OUT): Likewise.
19843 (POLL_MSG): Likewise.
19844 (POLL_ERR): Likewise.
19845 (POLL_PRI): Likewise.
19846 (POLL_HUP): Likewise.
19847 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19848 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19851 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19852 before #include of <time.h>.
19853 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19854 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19855 (test-xfail-UNIX98/sched.h/conform): Likewise.
19857 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19859 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19860 error absence of trapping exception support.
19861 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19863 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19865 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19866 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19867 * timezone/Makefile (testdata): Move definition above include of
19869 (test-zones): New variable.
19870 (tests-special): Add zone files.
19871 (build-testdata): Use $(evaluate-test).
19873 * elf/Makefile (tests-special): Rename tests to end with .out.
19874 ($(objpfx)noload-mem): Likewise.
19875 ($(objpfx)tst-leaks1-mem): Likewise.
19876 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19877 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19878 $(objpfx)test-iconvconfig.out.
19879 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19880 set -e inside subshell and redirect output to file.
19881 * iconvdata/Makefile (generated): Rename tests to end with .out.
19883 (tests-special): Rename tests to end with .out.
19884 ($(objpfx)mtrace-tst-loading): Likewise.
19885 * intl/Makefile (generated): Likewise.
19886 (tests-special): Likewise.
19887 ($(objpfx)mtrace-tst-gettext): Likewise.
19888 * misc/Makefile (generated): Likewise.
19889 (tests-special): Likewise.
19890 ($(objpfx)tst-error1-mem): Likewise.
19891 * nptl/Makefile (tests-special): Likewise.
19892 ($(objpfx)tst-stack3-mem): Likewise.
19893 (generated): Likewise.
19894 * posix/Makefile (generated): Likewise.
19895 (tests-special): Likewise.
19896 (xtests-special): Likewise.
19897 ($(objpfx)tst-fnmatch-mem): Likewise.
19898 ($(objpfx)bug-regex2-mem): Likewise.
19899 ($(objpfx)bug-regex14-mem): Likewise.
19900 ($(objpfx)bug-regex21-mem): Likewise.
19901 ($(objpfx)bug-regex31-mem): Likewise.
19902 ($(objpfx)tst-vfork3-mem): Likewise.
19903 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19904 ($(objpfx)tst-pcre-mem): Likewise.
19905 ($(objpfx)tst-boost-mem): Likewise.
19906 ($(objpfx)bug-ga2-mem): Likewise.
19907 ($(objpfx)bug-glob2-mem): Likewise.
19908 * resolv/Makefile (generate): Likewise.
19909 (tests-special): Likewise.
19910 (xtests-special): Likewise.
19911 (generated): Likewise.
19912 ($(objpfx)mtrace-tst-leaks): Likewise.
19913 ($(objpfx)mtrace-tst-leaks2): Likewise.
19915 * scripts/merge-test-results.sh: New file.
19916 * Makefile (tests-special-notdir): New variable.
19917 (tests): Run merge-test-results.sh.
19918 (xtests): Likewise.
19919 * Rules (tests-special-notdir): New variable.
19920 (xtests-special-notdir): Likewise.
19921 (tests): Run merge-test-results.sh
19922 (xtests): Likewise.
19924 * Makeconfig (test-xfail-name): New variable.
19925 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19926 compute variable name for expected failures.
19927 * conform/Makefile (conformtest-headers-data): New variable.
19928 (conformtest-standards): Likewise.
19929 (conformtest-headers-ISO): Likewise.
19930 (conformtest-headers-ISO99): Likewise.
19931 (conformtest-headers-ISO11): Likewise.
19932 (conformtest-headers-POSIX): Likewise.
19933 (conformtest-headers-XPG3): Likewise.
19934 (conformtest-headers-XPG4): Likewise.
19935 (conformtest-headers-UNIX98): Likewise.
19936 (conformtest-headers-XOPEN2K): Likewise.
19937 (conformtest-headers-POSIX2008): Likewise.
19938 (conformtest-headers-XOPEN2K8): Likewise.
19939 (conformtest-header-list-base): Likewise.
19940 (conformtest-header-list-tests): Likewise.
19941 (conformtest-header-base): Likewise.
19942 (conformtest-header-tests): Likewise.
19943 (tests-special): Add $(conformtest-header-list-tests). If
19944 [$(fast-check) && !$(cross-compiling)], add
19945 $(conformtest-header-tests) instead of
19946 $(objpfx)run-conformtest.out.
19947 (generated): Add $(conformtest-header-list-base). If
19948 [$(fast-check) && !$(cross-compiling)], add
19949 $(conformtest-header-base). Remove previous setting.
19950 ($(conformtest-header-list-tests)): New target.
19951 (test-xfail-run-conformtest): Remove variable.
19952 ($(objpfx)run-conformtest.out): Remove target.
19953 (test-xfail-ISO11/complex.h/conform): New variable.
19954 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19955 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19956 (test-xfail-XPG3/varargs.h/conform): Likewise.
19957 (test-xfail-XPG4/varargs.h/conform): Likewise.
19958 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19959 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19960 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19961 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19962 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19963 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19964 (test-xfail-XPG3/ftw.h/conform): Likewise.
19965 (test-xfail-XPG3/grp.h/conform): Likewise.
19966 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19967 (test-xfail-XPG3/limits.h/conform): Likewise.
19968 (test-xfail-XPG3/pwd.h/conform): Likewise.
19969 (test-xfail-XPG3/search.h/conform): Likewise.
19970 (test-xfail-XPG3/signal.h/conform): Likewise.
19971 (test-xfail-XPG3/stdio.h/conform): Likewise.
19972 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19973 (test-xfail-XPG3/string.h/conform): Likewise.
19974 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19975 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19976 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19977 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19978 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19979 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19980 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19981 (test-xfail-XPG3/termios.h/conform): Likewise.
19982 (test-xfail-XPG3/time.h/conform): Likewise.
19983 (test-xfail-XPG3/unistd.h/conform): Likewise.
19984 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19985 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19986 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19987 (test-xfail-XPG4/netdb.h/conform): Likewise.
19988 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19989 (test-xfail-XPG4/signal.h/conform): Likewise.
19990 (test-xfail-XPG4/stdio.h/conform): Likewise.
19991 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19992 (test-xfail-XPG4/stropts.h/conform): Likewise.
19993 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19994 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19995 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19996 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19997 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19998 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19999 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20000 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20001 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20002 (test-xfail-XPG4/termios.h/conform): Likewise.
20003 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20004 (test-xfail-XPG4/unistd.h/conform): Likewise.
20005 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20006 (test-xfail-POSIX/sched.h/conform): Likewise.
20007 (test-xfail-POSIX/signal.h/conform): Likewise.
20008 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20009 (test-xfail-POSIX/tar.h/conform): Likewise.
20010 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20011 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20012 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20013 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20014 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20015 (test-xfail-UNIX98/sched.h/conform): Likewise.
20016 (test-xfail-UNIX98/signal.h/conform): Likewise.
20017 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20018 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20019 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20020 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20021 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20022 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20023 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20024 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20025 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20026 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20027 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20028 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20029 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20030 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20031 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20032 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20033 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20034 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20035 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20036 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20037 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20038 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20039 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20040 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20041 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20042 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20043 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20044 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20045 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20046 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20047 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20048 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20049 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20050 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20051 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20052 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20053 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20054 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20055 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20056 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20057 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20058 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20059 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20060 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20061 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20062 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20063 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20064 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20065 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20066 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20067 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20068 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20069 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20070 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20071 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20072 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20073 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20074 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20075 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20076 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20077 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20078 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20079 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20080 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20081 (conformtest-cc-flags): Likewise.
20082 ($(conformtest-header-tests): New target.
20083 * conform/check-header-lists.sh: New file.
20084 * conform/run-conformtest.sh: Remove.
20086 * conform/conformtest.pl: Allow ' and \ in values given for
20088 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20090 [POSIX] (sys/types.h): Likewise.
20091 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20093 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20095 * conform/data/signal.h-data (SIGIO): Remove expectation.
20096 [XPG3] (SIGBUS): Do not expect.
20097 [POSIX || XPG3] (SIGPOLL): Likewise.
20098 [POSIX || XPG3] (SIGPROF): Likewise.
20099 [POSIX || XPG3] (SIGSYS): Likewise.
20100 [XPG3] (SIGTRAP): Likewise.
20101 [POSIX || XPG3] (SIGURG): Likewise.
20102 [POSIX || XPG3] (SIGVTALRM): Likewise.
20103 [POSIX || XPG3] (SIGXCPU): Likewise.
20104 [POSIX || XPG3] (SIGXFSZ): Likewise.
20105 [POSIX] (SA_SIGINFO): Expect.
20106 [XPG3] (siginfo_t): Do not expect type or contents.
20107 [POSIX] (si_pid): Do not expect element.
20108 [POSIX] (si_uid): Likewise.
20109 [POSIX] (si_addr): Likewise.
20110 [POSIX] (si_status): Likewise.
20111 [POSIX] (si_band): Likewise.
20112 [XPG4] (si_value): Likewise.
20113 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20114 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20115 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20116 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20117 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20118 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20119 [POSIX || XPG3] (ILL_COPROC): Likewise.
20120 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20121 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20122 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20123 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20124 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20125 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20126 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20127 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20128 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20129 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20130 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20131 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20132 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20133 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20134 [POSIX || XPG3] (CLD_EXITED): Likewise.
20135 [POSIX || XPG3] (CLD_KILLED): Likewise.
20136 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20137 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20138 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20139 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20140 [POSIX || XPG3] (POLL_IN): Likewise.
20141 [POSIX || XPG3] (POLL_OUT): Likewise.
20142 [POSIX || XPG3] (POLL_MSG): Likewise.
20143 [POSIX || XPG3] (POLL_ERR): Likewise.
20144 [POSIX || XPG3] (POLL_PRI): Likewise.
20145 [POSIX || XPG3] (POLL_HUP): Likewise.
20146 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20147 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20148 (SIG*): Do not allow.
20149 [XPG3] (si_*): Likewise.
20150 [XPG3] (SI_*): Likewise.
20151 [XPG3 || XPG4] (sigev_*): Likewise.
20152 [XPG3 || XPG4] (SIGEV_*): Likewise.
20153 [XPG3 || XPG4] (sival_*): Likewise.
20154 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20155 [POSIX || XPG3] (BUS_*): Likewise.
20156 [POSIX || XPG3] (CLD_*): Likewise.
20157 [POSIX || XPG3] (FPE_*): Likewise.
20158 [POSIX || XPG3] (ILL_*): Likewise.
20159 [POSIX || XPG3] (POLL_*): Likewise.
20160 [POSIX || XPG3] (SEGV_*): Likewise.
20161 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20162 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20163 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20164 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20165 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20166 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20167 Specify type and value.
20168 (TVERSLEN): Likewise.
20169 (REGTYPE): Likewise.
20170 (AREGTYPE): Likewise.
20171 (LNKTYPE): Likewise.
20172 (SYMTYPE): Likewise.
20173 (CHRTYPE): Likewise.
20174 (BLKTYPE): Likewise.
20175 (DIRTYPE): Likewise.
20176 (FIFOTYPE): Likewise.
20177 (CONTTYPE): Likewise.
20181 (TUREAD): Likewise.
20182 (TUWRITE): Likewise.
20183 (TUEXEC): Likewise.
20184 (TGREAD): Likewise.
20185 (TGWRITE): Likewise.
20186 (TGEXEC): Likewise.
20187 (TOREAD): Likewise.
20188 (TOWRITE): Likewise.
20189 (TOEXEC): Likewise.
20190 [POSIX] (TSVTX): Expect constant.
20192 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20194 * Makefile (tests): Change dependencies to ....
20195 (tests-special): ... additions to this variable.
20196 (tests): Depend on $(tests-special).
20197 * Makerules (check-abi-list): New variable.
20198 (check-abi): Depend on $(check-abi-list).
20199 [$(subdir) = elf] (tests-special): Add
20200 $(objpfx)check-abi-libc.out.
20201 [$(build-shared) = yes && subdir] (tests-special): Add
20203 [$(build-shared) = yes && subdir] (tests): Do not depend on
20205 * Rules (tests): Depend on $(tests-special).
20206 (xtests): Depend on $(xtests-special).
20207 * catgets/Makefile (tests): Change dependencies to ....
20208 (tests-special): ... additions to this variable.
20209 * conform/Makefile (tests): Change dependencies to ....
20210 (tests-special): ... additions to this variable.
20211 * elf/Makefile (tests): Change dependencies to ....
20212 (tests-special): ... additions to this variable.
20213 * grp/Makefile (tests): Change dependencies to ....
20214 (tests-special): ... additions to this variable.
20215 * iconv/Makefile (xtests): Change dependencies to ....
20216 (xtests-special): ... additions to this variable.
20217 * iconvdata/Makefile (tests): Change dependencies to ....
20218 (tests-special): ... additions to this variable.
20219 * intl/Makefile (tests): Change dependencies to ....
20220 (tests-special): ... additions to this variable. Also add
20221 $(objpfx)tst-gettext.out.
20222 * io/Makefile (tests): Change dependencies to ....
20223 (tests-special): ... additions to this variable.
20224 * libio/Makefile (tests): Change dependencies to ....
20225 (tests-special): ... additions to this variable.
20226 * malloc/Makefile (tests): Change dependencies to ....
20227 (tests-special): ... additions to this variable.
20228 * misc/Makefile (tests): Change dependencies to ....
20229 (tests-special): ... additions to this variable.
20230 * nptl/Makefile (tests): Change dependencies to ....
20231 (tests-special): ... additions to this variable.
20232 * nptl_db/Makefile (tests): Change dependencies to ....
20233 (tests-special): ... additions to this variable.
20234 * posix/Makefile (tests): Change dependencies to ....
20235 (tests-special): ... additions to this variable.
20236 (xtests): Change dependencies to ....
20237 (xtests-special): ... additions to this variable.
20238 * resolv/Makefile (tests): Change dependencies to ....
20239 (tests-special): ... additions to this variable.
20240 (xtests): Change dependencies to ....
20241 (xtests-special): ... additions to this variable.
20242 * stdio-common/Makefile (tests): Change dependencies to ....
20243 (tests-special): ... additions to this variable.
20244 (do-tst-unbputc): Remove target.
20245 (do-tst-printf): Likewise.
20246 * stdlib/Makefile (tests): Change dependencies to ....
20247 (tests-special): ... additions to this variable.
20248 * string/Makefile (tests): Change dependencies to ....
20249 (tests-special): ... additions to this variable.
20250 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20251 (tests-special): ... additions to this variable.
20253 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20255 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20257 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20258 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20260 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20261 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20262 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20263 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20264 * conform/data/libgen.h-data [XPG3]: Likewise.
20265 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20266 * conform/data/ndbm.h-data [XPG3]: Likewise.
20267 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20268 * conform/data/netdb.h-data [XPG3]: Likewise.
20269 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20270 * conform/data/poll.h-data [XPG3]: Likewise.
20271 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20272 * conform/data/strings.h-data [XPG3]: Likewise.
20273 * conform/data/stropts.h-data [XPG3]: Likewise.
20274 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20275 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20276 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20278 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20279 * conform/data/sys/time.h-data [XPG3]: Likewise.
20280 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20281 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20282 * conform/data/sys/un.h-data [XPG3]: Likewise.
20283 * conform/data/syslog.h-data [XPG3]: Likewise.
20284 * conform/data/ucontext.h-data [XPG3]: Likewise.
20285 * conform/data/utmpx.h-data [XPG3]: Likewise.
20286 * conform/data/varargs.h-data [UNIX98]: Enable file.
20288 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20290 * math/libm-test.inc (struct test_f_f_data): Move expected results
20291 into structure for each rounding mode.
20292 (struct test_ff_f_data): Likewise.
20293 (struct test_ff_f_data_nexttoward): Likewise.
20294 (struct test_fi_f_data): Likewise.
20295 (struct test_fl_f_data): Likewise.
20296 (struct test_if_f_data): Likewise.
20297 (struct test_fff_f_data): Likewise.
20298 (struct test_c_f_data): Likewise.
20299 (struct test_f_f1_data): Likewise.
20300 (struct test_fF_f1_data): Likewise.
20301 (struct test_ffI_f1_data): Likewise.
20302 (struct test_c_c_data): Likewise.
20303 (struct test_cc_c_data): Likewise.
20304 (struct test_f_i_data): Likewise.
20305 (struct test_ff_i_data): Likewise.
20306 (struct test_f_l_data): Likewise.
20307 (struct test_f_L_data): Likewise.
20308 (struct test_fFF_11_data): Likewise.
20310 (RM_FE_DOWNWARD): Likewise.
20311 (RM_FE_TONEAREST): Likewise.
20312 (RM_FE_TOWARDZERO): Likewise.
20313 (RM_FE_UPWARD): Likewise.
20314 (RUN_TEST_LOOP_f_f): Update references to expected results.
20315 (RUN_TEST_LOOP_2_f): Likewise.
20316 (RUN_TEST_LOOP_fff_f): Likewise.
20317 (RUN_TEST_LOOP_c_f): Likewise.
20318 (RUN_TEST_LOOP_f_f1): Likewise.
20319 (RUN_TEST_LOOP_fF_f1): Likewise.
20320 (RUN_TEST_LOOP_fI_f1): Likewise.
20321 (RUN_TEST_LOOP_ffI_f1): Likewise.
20322 (RUN_TEST_LOOP_c_c): Likewise.
20323 (RUN_TEST_LOOP_cc_c): Likewise.
20324 (RUN_TEST_LOOP_f_i): Likewise.
20325 (RUN_TEST_LOOP_f_i_tg): Likewise.
20326 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20327 (RUN_TEST_LOOP_f_b): Likewise.
20328 (RUN_TEST_LOOP_f_b_tg): Likewise.
20329 (RUN_TEST_LOOP_f_l): Likewise.
20330 (RUN_TEST_LOOP_f_L): Likewise.
20331 (RUN_TEST_LOOP_fFF_11): Likewise.
20332 * math/gen-libm-test.pl (parse_args): Output four copies of
20333 expected results for each test.
20335 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20336 (__ASSUME_UTIMES): Remove.
20337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20338 (__ASSUME_UTIMES): Likewise.
20340 * math/gen-auto-libm-tests.c: Update comment on output format.
20341 (output_for_one_input_case): Generate before-rounding and
20342 after-rounding information as conditions on output flags not
20343 floating-point format.
20344 * math/auto-libm-test-out: Regenerated.
20345 * math/gen-libm-test.pl (cond_value): New function.
20346 (or_cond_value): Use cond_value.
20347 (generate_testfile): Handle conditional exceptions.
20349 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20351 * math/libm-test.inc (max_valid_error): New variable.
20352 (init_max_error): Take new argument specifying whether function
20353 results are exactly determined. Set max_valid_error and bound
20354 other variables for errors based on this argument.
20355 (set_max_error): Do not record results above max_valid_error.
20356 (check_float_internal): Only accept errors of up to 0.5ulps if
20357 also at most max_valid_error.
20358 (START): Take new argument EXACT and pass it to init_max_error.
20359 (acos_test): Update call to START.
20360 (acos_test_tonearest): Likewise.
20361 (acos_test_towardzero): Likewise.
20362 (acos_test_downward): Likewise.
20363 (acos_test_upward): Likewise.
20364 (acosh_test): Likewise.
20365 (asin_test): Likewise.
20366 (asin_test_tonearest): Likewise.
20367 (asin_test_towardzero): Likewise.
20368 (asin_test_downward): Likewise.
20369 (asin_test_upward): Likewise.
20370 (asinh_test): Likewise.
20371 (atan_test): Likewise.
20372 (atanh_test): Likewise.
20373 (atan2_test): Likewise.
20374 (cabs_test): Likewise.
20375 (cacos_test): Likewise.
20376 (cacosh_test): Likewise.
20377 (carg_test): Likewise.
20378 (casin_test): Likewise.
20379 (casinh_test): Likewise.
20380 (catan_test): Likewise.
20381 (catanh_test): Likewise.
20382 (cbrt_test): Likewise.
20383 (ccos_test): Likewise.
20384 (ccosh_test): Likewise.
20385 (ceil_test): Likewise.
20386 (cexp_test): Likewise.
20387 (cimag_test): Likewise.
20388 (clog_test): Likewise.
20389 (clog10_test): Likewise.
20390 (conj_test): Likewise.
20391 (copysign_test): Likewise.
20392 (cos_test): Likewise.
20393 (cos_test_tonearest): Likewise.
20394 (cos_test_towardzero): Likewise.
20395 (cos_test_downward): Likewise.
20396 (cos_test_upward): Likewise.
20397 (cosh_test): Likewise.
20398 (cosh_test_tonearest): Likewise.
20399 (cosh_test_towardzero): Likewise.
20400 (cosh_test_downward): Likewise.
20401 (cosh_test_upward): Likewise.
20402 (cpow_test): Likewise.
20403 (cproj_test): Likewise.
20404 (creal_test): Likewise.
20405 (csin_test): Likewise.
20406 (csinh_test): Likewise.
20407 (csqrt_test): Likewise.
20408 (ctan_test): Likewise.
20409 (ctan_test_tonearest): Likewise.
20410 (ctan_test_towardzero): Likewise.
20411 (ctan_test_downward): Likewise.
20412 (ctan_test_upward): Likewise.
20413 (ctanh_test): Likewise.
20414 (ctanh_test_tonearest): Likewise.
20415 (ctanh_test_towardzero): Likewise.
20416 (ctanh_test_downward): Likewise.
20417 (ctanh_test_upward): Likewise.
20418 (erf_test): Likewise.
20419 (erfc_test): Likewise.
20420 (exp_test): Likewise.
20421 (exp_test_tonearest): Likewise.
20422 (exp_test_towardzero): Likewise.
20423 (exp_test_downward): Likewise.
20424 (exp_test_upward): Likewise.
20425 (exp10_test): Likewise.
20426 (exp10_test_tonearest): Likewise.
20427 (exp10_test_towardzero): Likewise.
20428 (exp10_test_downward): Likewise.
20429 (exp10_test_upward): Likewise.
20430 (pow10_test): Likewise.
20431 (exp2_test): Likewise.
20432 (expm1_test): Likewise.
20433 (expm1_test_tonearest): Likewise.
20434 (expm1_test_towardzero): Likewise.
20435 (expm1_test_downward): Likewise.
20436 (expm1_test_upward): Likewise.
20437 (fabs_test): Likewise.
20438 (fdim_test): Likewise.
20439 (floor_test): Likewise.
20440 (fma_test): Likewise.
20441 (fma_test_towardzero): Likewise.
20442 (fma_test_downward): Likewise.
20443 (fma_test_upward): Likewise.
20444 (fmax_test): Likewise.
20445 (fmin_test): Likewise.
20446 (fmod_test): Likewise.
20447 (fpclassify_test): Likewise.
20448 (frexp_test): Likewise.
20449 (hypot_test): Likewise.
20450 (ilogb_test): Likewise.
20451 (isfinite_test): Likewise.
20452 (finite_test): Likewise.
20453 (isgreater_test): Likewise.
20454 (isgreaterequal_test): Likewise.
20455 (isinf_test): Likewise.
20456 (isless_test): Likewise.
20457 (islessequal_test): Likewise.
20458 (islessgreater_test): Likewise.
20459 (isnan_test): Likewise.
20460 (isnormal_test): Likewise.
20461 (issignaling_test): Likewise.
20462 (isunordered_test): Likewise.
20463 (j0_test): Likewise.
20464 (j1_test): Likewise.
20465 (jn_test): Likewise.
20466 (ldexp_test): Likewise.
20467 (lgamma_test): Likewise.
20468 (gamma_test): Likewise.
20469 (lrint_test): Likewise.
20470 (lrint_test_tonearest): Likewise.
20471 (lrint_test_towardzero): Likewise.
20472 (lrint_test_downward): Likewise.
20473 (lrint_test_upward): Likewise.
20474 (llrint_test): Likewise.
20475 (llrint_test_tonearest): Likewise.
20476 (llrint_test_towardzero): Likewise.
20477 (llrint_test_downward): Likewise.
20478 (llrint_test_upward): Likewise.
20479 (log_test): Likewise.
20480 (log10_test): Likewise.
20481 (log1p_test): Likewise.
20482 (log2_test): Likewise.
20483 (logb_test): Likewise.
20484 (logb_test_downward): Likewise.
20485 (lround_test): Likewise.
20486 (llround_test): Likewise.
20487 (modf_test): Likewise.
20488 (nearbyint_test): Likewise.
20489 (nextafter_test): Likewise.
20490 (nexttoward_test): Likewise.
20491 (pow_test): Likewise.
20492 (pow_test_tonearest): Likewise.
20493 (pow_test_towardzero): Likewise.
20494 (pow_test_downward): Likewise.
20495 (pow_test_upward): Likewise.
20496 (remainder_test): Likewise.
20497 (drem_test): Likewise.
20498 (remainder_test_tonearest): Likewise.
20499 (drem_test_tonearest): Likewise.
20500 (remainder_test_towardzero): Likewise.
20501 (drem_test_towardzero): Likewise.
20502 (remainder_test_downward): Likewise.
20503 (drem_test_downward): Likewise.
20504 (remainder_test_upward): Likewise.
20505 (drem_test_upward): Likewise.
20506 (remquo_test): Likewise.
20507 (rint_test): Likewise.
20508 (rint_test_tonearest): Likewise.
20509 (rint_test_towardzero): Likewise.
20510 (rint_test_downward): Likewise.
20511 (rint_test_upward): Likewise.
20512 (round_test): Likewise.
20513 (scalb_test): Likewise.
20514 (scalbn_test): Likewise.
20515 (scalbln_test): Likewise.
20516 (signbit_test): Likewise.
20517 (sin_test): Likewise.
20518 (sin_test_tonearest): Likewise.
20519 (sin_test_towardzero): Likewise.
20520 (sin_test_downward): Likewise.
20521 (sin_test_upward): Likewise.
20522 (sincos_test): Likewise.
20523 (sinh_test): Likewise.
20524 (sinh_test_tonearest): Likewise.
20525 (sinh_test_towardzero): Likewise.
20526 (sinh_test_downward): Likewise.
20527 (sinh_test_upward): Likewise.
20528 (sqrt_test): Likewise.
20529 (sqrt_test_tonearest): Likewise.
20530 (sqrt_test_towardzero): Likewise.
20531 (sqrt_test_downward): Likewise.
20532 (sqrt_test_upward): Likewise.
20533 (tan_test): Likewise.
20534 (tan_test_tonearest): Likewise.
20535 (tan_test_towardzero): Likewise.
20536 (tan_test_downward): Likewise.
20537 (tan_test_upward): Likewise.
20538 (tanh_test): Likewise.
20539 (tgamma_test): Likewise.
20540 (trunc_test): Likewise.
20541 (y0_test): Likewise.
20542 (y1_test): Likewise.
20543 (yn_test): Likewise.
20544 (significand_test): Likewise.
20546 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20547 individual tests in comment.
20548 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20549 (prev_max_error): New variable.
20550 (prev_real_max_error): Likewise.
20551 (prev_imag_max_error): Likewise.
20552 (compare_ulp_data): Don't refer to test names in comment.
20553 (find_test_ulps): Remove function.
20554 (find_function_ulps): Likewise.
20555 (find_complex_function_ulps): Likewise.
20556 (init_max_error): Take function name as argument. Look up ulps
20558 (print_ulps): Remove function.
20559 (print_max_error): Use prev_max_error instead of calling
20560 find_function_ulps.
20561 (print_complex_max_error): Use prev_real_max_error and
20562 prev_imag_max_error instead of calling find_complex_function_ulps.
20563 (check_float_internal): Take max_ulp parameter instead of calling
20564 find_test_ulps. Don't call print_ulps.
20565 (check_float): Update call to check_float_internal.
20566 (check_complex): Update calls to check_float_internal.
20567 (START): Pass argument to init_max_error.
20568 * math/gen-libm-test.pl (%results): Don't include "kind"
20570 (parse_ulps): Don't handle ulps of individual tests.
20571 (print_ulps_file): Likewise.
20572 (output_ulps): Likewise.
20573 * math/README.libm-test: Update.
20574 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20576 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20577 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20578 * sysdeps/arm/libm-test-ulps: Likewise.
20579 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20580 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20581 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20582 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20583 * sysdeps/microblaze/libm-test-ulps: Likewise.
20584 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20585 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20586 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20587 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20588 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20589 * sysdeps/sh/libm-test-ulps: Likewise.
20590 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20591 * sysdeps/tile/libm-test-ulps: Likewise.
20592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20596 * math/libm-test.inc (print_complex_max_error): Check separately
20597 whether real and imaginary errors are within allowed range and
20598 pass 0 to print_complex_function_ulps instead of value within
20601 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20603 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20605 (get_handles_fopen): Likewise.
20606 (do_write_test): Likewise.
20608 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20610 * libio/fileops.c (do_ftell): Use cached offset when
20612 * libio/iofwide.c (do_ftell_wide): Likewise.
20613 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20615 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20618 * libio/libioP.h (get_file_offset): New function.
20619 * libio/fileops.c (get_file_offset): Likewise.
20620 (do_ftell): Likewise.
20621 (_IO_new_file_seekoff): Split out ftell logic.
20622 * libio/wfileops.c (do_ftell_wide): Likewise.
20623 (_IO_wfile_seekoff): Split out ftell logic.
20624 * libio/tst-ftell-active-handler.c: New test case.
20625 * libio/Makefile (tests): Add it.
20627 2014-03-03 Roland McGrath <roland@hack.frob.com>
20629 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20630 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20632 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20635 * nscd/connections.c (nscd_init): Call do_exit.
20636 (start_threads): Call do_exit and notify_parent.
20637 (begin_drop_privileges): Call do_exit.
20638 (finish_drop_privileges): Likewise.
20639 * nscd/selinux.c (preserve_capabilities): Likewise.
20640 (install_real_capabilities): Likewise.
20641 (nscd_selinux_enabled): Likewise.
20642 (avc_create_thread): Likewise.
20643 (avc_alloc_lock): Likewise.
20644 (nscd_avc_init): Likewise.
20645 * nscd/nscd.c (parent_fd): New static variable.
20646 (main): Create a pipe between parent and child processes.
20647 Skip closing parent_fd.
20648 (monitor_child): New function.
20649 (do_exit): Likewise.
20650 (notify_parent): Likewise.
20651 * nscd/nscd.h (notify_parent): Likewise.
20652 (do_exit): Likewise.
20654 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20656 * malloc/malloc.c (__libc_calloc): Revert last change.
20658 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20662 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20664 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20668 (__libc_ifunc_impl_list): Likewise.
20669 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20670 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20671 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20672 * string/strrchr.c: Define STRRCHR.
20674 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
20676 * benchtest/bench-strtok.c (simple_strtok): Delete.
20677 (strtok_string): Use as benchmark.
20678 * string/strtok (STRTOK): New macro.
20680 2014-02-28 Carlos O'Donell <carlos@redhat.com>
20682 * manual/threads.texi: Add header and standard comments to all
20685 * elf/dl-lookup.c (check_match): New function.
20686 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20687 (do_lookup_x): Remove nested function check_match. Use non-nested
20688 function check_match.
20690 2014-02-28 Roland McGrath <roland@hack.frob.com>
20692 * csu/Makefile (generated, before-compile): Use += rather than =.
20693 * catgets/Makefile (generated, generated-dirs): Likewise.
20694 * debug/Makefile (generated): Likewise.
20695 * dlfcn/Makefile (generated): Likewise.
20696 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20697 * iconvdata/Makefile (before-compile, generated): Likewise.
20698 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20699 * libio/Makefile (generated): Likewise.
20700 * malloc/Makefile (generated): Likewise.
20701 * manual/Makefile (generated, generated-dirs): Likewise.
20702 * misc/Makefile (generated): Likewise.
20703 * posix/Makefile (generated): Likewise.
20704 * resolv/Makefile (generated): Likewise.
20705 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20706 * timezone/Makefile (generated, generated-dirs): Likewise.
20708 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20710 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20713 power8 implementation.
20714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20715 file: POWER8 llround ifunc implementation.
20716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20717 (__lllround): Add POWER8 implementation.
20718 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20719 POWER8 llround implementation.
20721 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20722 power8 implementation.
20723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20724 file: POWER8 llrint ifunc implementation.
20725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20726 Add POWER8 implementation.
20727 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20728 POWER8 llrint implementation.
20730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20731 power8 implementation.
20732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20733 file: POWER8 finite ifunc implementation.
20734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20735 Add POWER8 implementation.
20736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20738 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20739 POWER8 finite implementation.
20740 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20743 power8 implementation.
20744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20745 file: POWER8 isinf ifunc implementation.
20746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20747 POWER8 implementation.
20748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20750 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20751 isinf implementation.
20752 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20754 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20755 (INIT_ARCH): Add hwcap2 initialization.
20756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20757 power8 implementation.
20758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20759 file: POWER8 isnan ifunc implementation.
20760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20761 POWER8 implementation.
20762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20764 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20765 isnan implementation.
20766 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20768 2014-02-27 Joey Ye <joey.ye@arm.com>
20770 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20771 (_FP_NANFRAC_Q): Set to zero.
20773 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20776 * math/auto-libm-test-in: New test inputs.
20777 * math/auto-libm-test-out: Regenerate.
20778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20781 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20783 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20785 * scripts/evaluate-test.sh: Take new argument indicating whether
20786 failure is expected.
20787 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20788 indicating whether failure is expected.
20789 * conform/Makefile (test-xfail-run-conformtest): New variable.
20790 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20792 * posix/Makefile (test-xfail-annexc): New variable.
20793 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20795 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20797 * argp/Makefile: Include Makeconfig immediately after defining
20799 * assert/Makefile: Likewise.
20800 * benchtests/Makefile: Likewise.
20801 * catgets/Makefile: Likewise.
20802 * conform/Makefile: Likewise.
20803 * crypt/Makefile: Likewise.
20804 * csu/Makefile: Likewise.
20805 (all): Remove target.
20806 * ctype/Makefile: Include Makeconfig immediately after defining
20808 * debug/Makefile: Likewise.
20809 * dirent/Makefile: Likewise.
20810 * dlfcn/Makefile: Likewise.
20811 * gmon/Makefile: Likewise.
20812 * gnulib/Makefile: Likewise.
20813 * grp/Makefile: Likewise.
20814 * gshadow/Makefile: Likewise.
20815 * hesiod/Makefile: Likewise.
20816 * hurd/Makefile: Likewise.
20817 (all): Remove target.
20818 * iconvdata/Makefile: Include Makeconfig immediately after
20820 * inet/Makefile: Likewise.
20821 * intl/Makefile: Likewise.
20822 * io/Makefile: Likewise.
20823 * libio/Makefile: Likewise.
20824 (all): Remove target.
20825 * locale/Makefile: Include Makeconfig immediately after defining
20827 * login/Makefile: Likewise.
20828 * mach/Makefile: Likewise.
20829 (all): Remove target.
20830 * malloc/Makefile: Include Makeconfig immediately after defining
20832 (all): Remove target.
20833 * manual/Makefile: Include Makeconfig immediately after defining
20835 * math/Makefile: Likewise.
20836 * misc/Makefile: Likewise.
20837 * nis/Makefile: Likewise.
20838 * nss/Makefile: Likewise.
20839 * po/Makefile: Likewise.
20840 (all): Remove target.
20841 * posix/Makefile: Include Makeconfig immediately after defining
20843 * pwd/Makefile: Likewise.
20844 * resolv/Makefile: Likewise.
20845 * resource/Makefile: Likewise.
20846 * rt/Makefile: Likewise.
20847 * setjmp/Makefile: Likewise.
20848 * shadow/Makefile: Likewise.
20849 * signal/Makefile: Likewise.
20850 * socket/Makefile: Likewise.
20851 * soft-fp/Makefile: Likewise.
20852 * stdio-common/Makefile: Likewise.
20853 * stdlib/Makefile: Likewise.
20854 * streams/Makefile: Likewise.
20855 * string/Makefile: Likewise.
20856 * sunrpc/Makefile: Likewise.
20857 (all): Remove target.
20858 * sysvipc/Makefile: Include Makeconfig immediately after defining
20860 * termios/Makefile: Likewise.
20861 * time/Makefile: Likewise.
20862 * timezone/Makefile: Likewise.
20863 (all): Remove target.
20864 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20866 * wctype/Makefile: Likewise.
20868 2014-02-26 Steve Ellcey <sellcey@mips.com>
20870 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20871 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20872 (libc_feholdexcept_setround_mips): Ditto.
20873 (libc_feholdsetround): New.
20874 (libc_feholdsetroundf): New.
20875 (libc_feholdsetroundl): New.
20876 (libc_feupdateenv_test_mips): New.
20877 (libc_feupdateenv_test): New.
20878 (libc_feupdateenv_testf): New.
20879 (libc_feupdateenv_testl): New.
20880 (libc_feresetround): New.
20881 (libc_feresetroundf): New.
20882 (libc_feresetroundl): New.
20883 (libc_fetestexcept_mips): New.
20884 (libc_fetestexcept): New.
20885 (libc_fetestexceptf): New.
20886 (libc_fetestexceptl): New.
20887 (HAVE_RM_CTX): New.
20888 (libc_feholdexcept_setround_mips_ctx): New.
20889 (libc_feholdexcept_setround_ctx): New.
20890 (libc_feholdexcept_setroundf_ctx): New.
20891 (libc_feholdexcept_setroundl_ctx): New.
20892 (libc_fesetenv_mips_ctx): New.
20893 (libc_fesetenv_ctx): New.
20894 (libc_fesetenv_ctxf): New.
20895 (libc_fesetenv_ctxl): New.
20896 (libc_feupdateenv_mips_ctx): New.
20897 (libc_feupdateenv_ctx): New.
20898 (libc_feupdateenvf_ctx): New.
20899 (libc_feupdateenvl_ctx): New.
20900 (libc_feholdsetround_mips_ctx): New.
20901 (libc_feholdsetround_ctx): New.
20902 (libc_feholdsetroundf_ctx): New.
20903 (libc_feholdsetroundl_ctx): New.
20904 (libc_feresetround_mips_ctx): New.
20905 (libc_feresetround_ctx): New.
20906 (libc_feresetroundf_ctx): New.
20907 (libc_feresetroundl_ctx): New.
20909 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20911 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20913 * manual/ipc.texi: New file.
20914 * manual/Makefile (chapters): Add ipc.
20915 * manual/job.texi: Add "Inter-Process Communication" to next.
20916 * manual/process.texi: Add "Inter-Process Communication" to prev.
20918 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20922 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20924 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20926 * manual/arith.texi: Fix spaces after sentences.
20927 * manual/charset.texi: Likewise.
20928 * manual/errno.texi: Likewise.
20929 * manual/install.texi: Likewise.
20930 * manual/llio.texi: Likewise.
20931 * manual/locale.texi: Likewise.
20932 * manual/maint.texi: Likewise.
20933 * manual/math.texi: Likewise.
20934 * manual/memory.texi: Likewise.
20935 * manual/message.texi: Likewise.
20936 * manual/probes.texi: Likewise.
20937 * manual/resource.texi: Likewise.
20938 * manual/signal.texi: Likewise.
20939 * manual/socket.texi: Likewise.
20940 * manual/stdio.texi: Likewise.
20941 * manual/string.texi: Likewise.
20942 * manual/time.texi: Likewise.
20943 * manual/users.texi: Likewise.
20945 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20948 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20949 _DEFAULT_SOURCE is defined.
20951 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20952 Carlos O'Donell <carlos@redhat.com>
20955 * elf/dl-tls.c (_dl_count_modids): New function.
20956 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20957 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20958 audit library and increment generation counter.
20959 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20960 * elf/tst-audit9.c: New file.
20961 * elf/tst-auditmod9a.c: New file.
20962 * elf/tst-auditmod9b.c: New file.
20963 * elf/Makefile: Add rules to build and run tst-audit9.
20965 2014-02-25 Florian Weimer <fweimer@redhat.com>
20968 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20970 2014-02-25 Will Newton <will.newton@linaro.org>
20972 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20973 (__longjmp): Restore sp and lr before restoring callee
20974 saved registers. Add longjmp and longjmp_target
20975 SystemTap probe point.
20976 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20977 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20978 Define to zero to match jmpbuf layout.
20979 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20980 (__sigsetjmp): Save sp and lr before saving callee
20981 saved registers. Add setjmp SystemTap probe point.
20983 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20985 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20987 2014-02-24 Andreas Schwab <schwab@suse.de>
20990 * elf/pldd.c (wait_for_ptrace_stop): New function.
20991 (main): Call it after attaching.
20993 2014-02-22 Roland McGrath <roland@hack.frob.com>
20995 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20996 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20997 Versions files is now verboten.
20998 * hurd/Versions (libc: GLIBC_2.0):
20999 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21000 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21001 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21002 * mach/Versions: Likewise.
21004 * csu/Versions: Remove unused %include.
21005 * resolv/Versions: Likewise.
21007 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21009 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21010 ($(objpfx)check-local-headers.out): Likewise.
21011 ($(objpfx)begin-end-check.out): Likewise.
21012 * Makerules (check-abi-%.out): Likewise.
21013 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21014 ($(objpfx)test2.cat): Likewise.
21015 ($(objpfx)de/libc.cat): Likewise.
21016 ($(objpfx)test-gencat.out): Likewise.
21017 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21018 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21019 ($(objpfx)noload-mem): Likewise.
21020 ($(objpfx)tst-pathopt.out): Likewise.
21021 ($(objpfx)tst-rtld-load-self.out): Likewise.
21022 ($(objpfx)tst-array1-cmp.out): Likewise.
21023 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21024 ($(objpfx)tst-array2-cmp.out): Likewise.
21025 ($(objpfx)tst-array3-cmp.out): Likewise.
21026 ($(objpfx)tst-array4-cmp.out): Likewise.
21027 ($(objpfx)tst-array5-cmp.out): Likewise.
21028 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21029 ($(objpfx)check-textrel.out): Likewise.
21030 ($(objpfx)check-execstack.out): Likewise.
21031 ($(objpfx)check-localplt.out): Likewise.
21032 ($(objpfx)order2-cmp.out): Likewise.
21033 ($(objpfx)tst-leaks1-mem): Likewise.
21034 ($(objpfx)tst-leaks1-static-mem): Likewise.
21035 ($(objpfx)tst-initorder-cmp.out): Likewise.
21036 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21037 ($(objpfx)tst-unused-dep.out): Likewise.
21038 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21039 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21040 * iconv/Makefile (test-iconvconfig): Likewise.
21041 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21042 ($(objpfx)iconv-test.out): Likewise.
21043 ($(objpfx)tst-tables.out): Likewise.
21044 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21045 ($(objpfx)tst-gettext.out): Likewise.
21046 ($(objpfx)tst-translit.out): Likewise.
21047 ($(objpfx)tst-gettext2.out): Likewise.
21048 ($(objpfx)tst-gettext4.out): Likewise.
21049 ($(objpfx)tst-gettext6.out): Likewise.
21050 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21051 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21052 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21053 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21054 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21055 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21056 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21057 ($(objpfx)wordexp-tst.out): Likewise.
21058 ($(objpfx)annexc.out): Likewise.
21059 ($(objpfx)tst-fnmatch-mem): Likewise.
21060 ($(objpfx)bug-regex2-mem): Likewise.
21061 ($(objpfx)bug-regex14-mem): Likewise.
21062 ($(objpfx)bug-regex21-mem): Likewise.
21063 ($(objpfx)bug-regex31-mem): Likewise.
21064 ($(objpfx)tst-vfork3-mem): Likewise.
21065 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21066 ($(objpfx)tst-pcre-mem): Likewise.
21067 ($(objpfx)tst-boost-mem): Likewise.
21068 ($(objpfx)tst-getconf.out): Likewise.
21069 ($(objpfx)bug-ga2-mem): Likewise.
21070 ($(objpfx)bug-glob2-mem): Likewise.
21071 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21072 ($(objpfx)mtrace-tst-leaks2): Likewise.
21073 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21074 ($(objpfx)tst-printf.out): Likewise.
21075 ($(objpfx)tst-setvbuf1.out): Likewise.
21076 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21077 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21078 ($(objpfx)tst-fmtmsg.out): Likewise.
21079 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21080 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21082 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21083 * bits/sigaction.h [__USE_MISC]: Likewise.
21084 * bits/waitstatus.h: Update #endif comments.
21085 * ctype/ctype.h: Likewise.
21086 * dirent/dirent.h: Likewise.
21087 [__USE_MISC]: Remove redundant conditionals.
21088 * grp/grp.h: Update #endif comments.
21089 [__USE_GNU]: Remove redundant conditionals.
21090 [__USE_MISC]: Likewise.
21091 * inet/netinet/in.h [__USE_GNU]: Likewise.
21092 * io/sys/stat.h [__USE_MISC]: Likewise.
21093 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21094 * libio/bits/stdio.h: Update #endif comments.
21095 [__USE_MISC]: Remove redundant conditionals.
21096 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21097 * libio/stdio.h: Update #endif comments.
21098 [__USE_MISC]: Remove redundant conditionals.
21099 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21100 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21101 * math/math.h: Update #else and #endif comments.
21102 [__USE_MISC]: Remove redundant conditionals.
21103 * misc/sys/uio.h: Update #endif comments.
21104 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21105 * posix/glob.h [__USE_MISC]: Likewise.
21106 * posix/sys/types.h: Update #endif comments.
21107 [__USE_MISC]: Remove redundant conditionals.
21108 * posix/sys/wait.h: Update #endif comments.
21109 [__USE_MISC]: Remove redundant conditionals.
21110 * posix/unistd.h: Update #endif comments.
21111 [__USE_MISC]: Remove redundant conditionals.
21112 * pwd/pwd.h [__USE_GNU]: Likewise.
21113 [__USE_MISC]: Likewise.
21114 * resolv/netdb.h [__USE_GNU]: Likewise.
21115 * signal/signal.h: Update #endif comments.
21116 [__USE_MISC]: Remove redundant conditionals.
21117 * stdlib/stdlib.h: Update #else and #endif comments.
21118 [__USE_MISC]: Remove redundant conditionals.
21119 [__USE_GNU]: Likewise.
21120 * string/bits/string2.h [__USE_MISC]: Likewise.
21121 * string/string.h: Update #endif comments.
21122 [__USE_MISC]: Remove redundant conditionals.
21123 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21125 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21126 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21127 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21129 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21133 [__USE_MISC]: Remove redundant conditionals.
21134 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21135 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21136 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21137 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21138 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21140 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21141 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21143 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21144 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21146 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21148 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21149 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21151 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21153 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21154 * sysdeps/x86/bits/string.h: Update #endif comments.
21155 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21157 * time/sys/time.h: Update #endif comments.
21158 * time/time.h: Likewise.
21159 [__USE_MISC]: Remove redundant conditionals.
21161 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21164 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21166 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21168 * Versions.def (librt): Add GLIBC_2.17.
21170 2014-02-21 Adam Conrad <adconrad@0c3.net>
21172 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21173 synonym for _SYS_AUXV_H to allow direct inclusion.
21174 * sysdeps/sparc/bits/hwcap.h: Likewise.
21175 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21176 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21177 * sysdeps/sparc/sysdep.h: Likewise.
21179 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21181 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21183 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21185 * benchtests/bench-strrchr.c: Print length instead of position.
21187 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21190 * sysdeps/unix/sysv/linux/kernel-features.h
21191 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21192 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21193 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21194 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21196 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21197 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21198 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21199 (__ASSUME_SENDMMSG): Define instead of using previous
21200 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21201 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21202 (__ASSUME_SENDMMSG_SYSCALL): Define.
21203 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21204 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21206 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21207 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21209 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21210 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21212 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21213 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21214 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21215 [__ASSUME_SENDMMSG]: Change conditionals to
21216 [__ASSUME_SENDMMSG_SOCKETCALL].
21217 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21218 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21220 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21221 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21223 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21224 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21225 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21226 [!__ASSUME_SENDMMSG]: Change conditional to
21227 [!__ASSUME_SENDMMSG_SOCKETCALL].
21228 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21229 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21233 * sysdeps/unix/sysv/linux/kernel-features.h
21234 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21235 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21236 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21237 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21238 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21239 [__i386__ || __sparc__]
21240 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21241 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21242 (__ASSUME_RECVMMSG): Define instead of using previous
21243 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21244 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21245 (__ASSUME_RECVMMSG_SYSCALL): Define.
21246 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21247 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21249 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21250 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21252 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21253 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21255 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21256 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21257 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21258 [__ASSUME_RECVMMSG]: Change condition to
21259 [__ASSUME_RECVMMSG_SOCKETCALL].
21260 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21261 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21263 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21264 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21265 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21267 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21268 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21269 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21270 [!__ASSUME_RECVMMSG]: Change condition to
21271 [!__ASSUME_RECVMMSG_SOCKETCALL].
21272 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21273 (__ASSUME_RECVMMSG_SYSCALL): Define.
21276 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21277 __powerpc__ || __s390__ || __sh__ || __sparc__]
21278 (__ASSUME_SOCKETCALL): Define.
21279 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21280 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21281 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21282 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21283 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21284 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21285 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21286 (__ASSUME_ACCEPT4): Define instead of using previous
21287 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21288 __powerpc__ || __sparc__ || __s390__)] condition.
21289 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21290 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21291 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21292 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21293 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21294 [!__ASSUME_ACCEPT4]: Change condition to
21295 [!__ASSUME_ACCEPT4_SOCKETCALL].
21296 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21297 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21298 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21300 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21301 __ASSUME_ACCEPT4_SYSCALL.
21302 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21303 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21304 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21305 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21306 __ASSUME_ACCEPT4_SYSCALL.
21307 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21308 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21309 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21310 [__ASSUME_ACCEPT4]: Change condition to
21311 [__ASSUME_ACCEPT4_SOCKETCALL].
21312 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21313 (__ASSUME_SOCKETCALL): Define.
21314 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21315 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21316 (__ASSUME_SOCKETCALL): Define.
21317 (__ASSUME_ACCEPT4): Remove.
21318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21321 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21323 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21324 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21326 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21328 (HWCAP_ARM_LPAE): Likewise.
21329 (HWCAP_ARM_EVTSTRM): Likewise.
21330 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21331 Add vpfd32, lpae and evtstrm.
21332 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21335 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21337 * math/auto-libm-test-in: Add tests of clog10.
21338 * math/auto-libm-test-out: Regenerated.
21339 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21340 * sysdeps/i386/fpu/libm-test-ulps: Update.
21341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21343 2014-02-18 Andreas Schwab <schwab@suse.de>
21346 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21347 Store non-zero if the second buffer was newly allocated.
21348 (send_dg): Likewise.
21349 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21350 to send_vc and send_dg.
21351 (res_nsend): Pass NULL for ansp2_malloced.
21352 * resolv/res_query.c (__libc_res_nquery): Add parameter
21353 answerp2_malloced and pass it down to __libc_res_nsend.
21354 (res_nquery): Pass additional NULL to __libc_res_nquery.
21355 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21356 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21357 second answer buffer if answerp2_malloced was set.
21358 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21359 (__libc_res_nquerydomain): Add parameter
21360 answerp2_malloced and pass it down to __libc_res_nquery.
21361 (res_nquerydomain): Pass additional NULL to
21362 __libc_res_nquerydomain.
21363 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21364 additional NULL to __libc_res_nsend and __libc_res_nquery.
21365 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21366 additional NULL to __libc_res_nsearch.
21367 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21368 parameter of __libc_res_nsearch to check for separately allocated
21370 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21372 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21373 additional NULL to __libc_res_nquery.
21374 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21375 __libc_res_nsearch.
21376 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21377 * include/resolv.h: Update prototypes of __libc_res_nquery,
21378 __libc_res_nsearch, __libc_res_nsend.
21380 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21382 * math/auto-libm-test-in: Add tests of fma.
21383 * math/auto-libm-test-out: Regenerated.
21384 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21385 (fma_towardzero_test_data): Likewise.
21386 (fma_downward_test_data): Likewise.
21387 (fma_upward_test_data): Likewise.
21388 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21390 (rounding_modes): Add values for new field.
21391 (func_calc_method): Add value mpfr_fff_f.
21392 (func_calc_desc): Add mpfr_fff_f union field.
21393 (test_function): Add field exact_args.
21394 (FUNC): Add macro argument EXACT_ARGS.
21395 (FUNC_mpfr_f_f): Update call to FUNC.
21396 (FUNC_mpfr_f_f): Likewise.
21397 (FUNC_mpfr_ff_f): Likewise.
21398 (FUNC_mpfr_if_f): Likewise.
21399 (FUNC_mpc_c_f): Likewise.
21400 (FUNC_mpc_c_c): Likewise.
21401 (test_functions): Add fma. Update calls to FUNC.
21402 (handle_input_arg): Add argument exact_args.
21403 (add_test): Update call to handle_input_arg.
21404 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21405 (output_for_one_input_case): Update call to calc_generic_results.
21406 Recalculate exact zero results in each rounding mode.
21408 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21409 non-negative before setting low bit.
21410 * math/auto-libm-test-in: Mark one asin test possibly having
21411 spurious underflow.
21412 * math/auto-libm-test-out: Regenerated.
21413 * sysdeps/i386/fpu/libm-test-ulps: Update.
21414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21416 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21418 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21419 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21420 ports/sysdeps/unix/sysv/linux/microblaze.
21421 * README: Add missing listing for microblaze*-*-linux-gnu.
21423 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21425 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21428 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21430 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21431 * sysdeps/unix/sysv/linux/ia64: Move directory from
21432 ports/sysdeps/unix/sysv/linux/ia64.
21433 * README: Update listing for ia64-*-linux-gnu.
21435 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21436 Joseph Myers <joseph@codesourcery.com>
21438 * Makeconfig (test-name): New variable.
21439 (evaluate-test): Likewise.
21440 * Makerules (do-test-clean): Remove .test-result files.
21441 (common-mostlyclean): Likewise.
21442 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21443 * scripts/evaluate-test.sh: New file.
21445 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21447 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21448 separate $(objpfx)tst-fopenloc-cmp.out and
21449 $(objpfx)tst-fopenloc-mem.out targets.
21450 (tests): Update dependencies.
21451 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21452 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21453 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21454 (tst-rxspencer-no-utf8-ARGS): New variable.
21455 (tst-rxspencer-no-utf8-ENV): Likewise.
21456 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21457 instead of $(objpfx)tst-rxspencer-mem.
21458 ($(objpfx)tst-rxspencer-mem): Change target to
21459 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21460 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21461 * posix/tst-rxspencer-no-utf8.c: New file.
21463 * elf/Makefile ($(objpfx)order.out): Remove rule.
21464 [$(run-built-tests) = yes] (tests): Depend on
21465 $(objpfx)order-cmp.out.
21466 ($(objpfx)order-cmp.out): New rule.
21467 [$(run-built-tests) = yes] (tests): Depend on
21468 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21469 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21470 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21471 $(objpfx)tst-array5-static-cmp.out.
21472 ($(objpfx)tst-array1.out): Remove rule.
21473 ($(objpfx)tst-array1-cmp.out): New rule.
21474 ($(objpfx)tst-array1-static.out): Remove rule.
21475 ($(objpfx)tst-array1-static-cmp.out): New rule.
21476 ($(objpfx)tst-array2.out): Remove rule.
21477 ($(objpfx)tst-array2-cmp.out): New rule.
21478 ($(objpfx)tst-array3.out): Remove rule.
21479 ($(objpfx)tst-array3-cmp.out): New rule.
21480 ($(objpfx)tst-array4.out): Remove rule.
21481 ($(objpfx)tst-array4-cmp.out): New rule.
21482 ($(objpfx)tst-array5.out): Remove rule.
21483 ($(objpfx)tst-array5-cmp.out): New rule.
21484 ($(objpfx)tst-array5-static.out): Remove rule.
21485 ($(objpfx)tst-array5-static-cmp.out): New rule.
21486 [$(run-built-tests) = yes] (tests): Depend on
21487 $(objpfx)order2-cmp.out.
21488 ($(objpfx)order2.out): Remove rule.
21489 ($(objpfx)order2-cmp.out): New rule.
21490 ($(objpfx)tst-initorder.out): Remove rule.
21491 [$(run-built-tests) = yes] (tests): Depend on
21492 $(objpfx)tst-initorder-cmp.out.
21493 ($(objpfx)tst-initorder-cmp.out): New rule.
21494 ($(objpfx)tst-initorder2.out): Remove rule.
21495 [$(run-built-tests) = yes] (tests): Depend on
21496 $(objpfx)tst-initorder2-cmp.out.
21497 ($(objpfx)tst-initorder2-cmp.out): New rule.
21498 [$(run-built-tests) = yes] (tests): Depend on
21499 $(objpfx)tst-unused-dep-cmp.out.
21500 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21501 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21502 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21503 on $(objpfx)tst-setvbuf1-cmp.out.
21504 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21505 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21506 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21507 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21508 ($(objpfx)tst-svc.out): Remove rule.
21509 ($(objpfx)tst-svc-cmp.out): New rule.
21511 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21513 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21514 * ctype/ctype.h [__USE_MISC]: Likewise.
21515 * dirent/dirent.h [__USE_MISC]: Likewise.
21516 * grp/grp.h [__USE_MISC]: Likewise.
21517 * io/fcntl.h [__USE_MISC]: Likewise.
21518 * io/sys/stat.h [__USE_MISC]: Likewise.
21519 * libio/stdio.h [__USE_MISC]: Likewise.
21520 * posix/unistd.h [__USE_MISC]: Likewise.
21521 * pwd/pwd.h [__USE_MISC]: Likewise.
21522 * stdlib.h [__USE_MISC]: Likewise.
21523 * string/bits/string2.h [__USE_MISC]: Likewise.
21524 * string/string.h [__USE_MISC]: Likewise.
21525 * time/time.h [__USE_MISC]: Likewise.
21527 2014-02-13 Andreas Schwab <schwab@suse.de>
21530 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21531 second answer buffer if it was separately allocated.
21533 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21535 * sysdeps/mips/math-tests.h: Include <features.h>.
21536 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21537 (ROUNDING_TESTS_long_double): Do not define.
21538 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21539 (EXCEPTION_TESTS_long_double): Likewise.
21540 * sysdeps/mips/mips64/libm-test-ulps: Update.
21542 * include/features.h (__USE_BSD): Remove macro definitions.
21543 (__USE_SVID): Likewise.
21544 (_BSD_SOURCE): Likewise.
21545 (_SVID_SOURCE): Likewise.
21546 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21547 from definition of _DEFAULT_SOURCE.
21548 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21550 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21551 * bits/mman.h [__USE_BSD]: Likewise.
21552 * bits/termios.h [__USE_BSD]: Likewise.
21553 * bits/waitstatus.h [__USE_BSD]: Likewise.
21554 * ctype/ctype.h [__USE_SVID]: Likewise.
21555 * dirent/dirent.h [__USE_BSD]: Likewise.
21556 * grp/grp.h [__USE_SVID]: Likewise.
21557 [__USE_BSD]: Likewise.
21558 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21559 * io/fcntl.h [__USE_BSD]: Likewise.
21560 * io/ftw.h [__USE_BSD]: Likewise.
21561 * io/sys/stat.h [__USE_BSD]: Likewise.
21562 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21563 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21564 * libio/stdio.h [__USE_SVID]: Likewise.
21565 [__USE_BSD]: Likewise.
21566 * math/math.h [__USE_SVID]: Likewise.
21567 [__USE_BSD]: Likewise.
21568 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21569 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21570 * misc/search.h [__USE_SVID]: Likewise.
21571 * misc/sys/mman.h [__USE_BSD]: Likewise.
21572 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21573 * misc/sys/uio.h [__USE_BSD]: Likewise.
21574 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21575 * posix/glob.h [__USE_BSD]: Likewise.
21576 * posix/regex.h [__USE_BSD]: Likewise.
21577 * posix/sys/types.h [__USE_BSD]: Likewise.
21578 [__USE_SVID]: Likewise.
21579 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21580 * posix/sys/wait.h [__USE_BSD]: Likewise.
21581 [__USE_SVID]: Likewise.
21582 * posix/unistd.h [__USE_BSD]: Likewise.
21583 [__USE_SVID]: Likewise.
21584 * pwd/pwd.h [__USE_SVID]: Likewise.
21585 * resolv/netdb.h [__USE_BSD]: Likewise.
21586 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21587 * signal/signal.h [__USE_BSD]: Likewise.
21588 [__USE_SVID]: Likewise.
21589 * socket/sys/socket.h [__USE_BSD]: Likewise.
21590 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21591 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21592 [__USE_SVID]: Likewise.
21593 * string/bits/string2.h [__USE_BSD]: Likewise.
21594 [__USE_SVID]: Likewise.
21595 * string/bits/string3.h [__USE_BSD]: Likewise.
21596 * string/endian.h [__USE_BSD]: Likewise.
21597 * string/string.h [__USE_SVID]: Likewise.
21598 [__USE_BSD]: Likewise.
21599 * string/strings.h [__USE_BSD]: Likewise.
21600 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21601 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21602 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21603 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21604 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21605 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21609 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21610 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21612 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21613 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21615 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21617 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21618 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21619 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21621 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21623 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21624 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21625 * termios/termios.h [__USE_BSD]: Likewise.
21626 * time/sys/time.h [__USE_BSD]: Likewise.
21627 * time/time.h [__USE_BSD]: Likewise.
21628 [__USE_SVID]: Likewise.
21630 * Makefile (subdir_targets): Remove subdir_lint.out.
21632 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21633 (do-tst-printf): Likewise.
21634 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21635 $(objpfx)tst-printf.out.
21637 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21639 * Makerules (check-abi-%): Change target to
21640 $(objpfx)check-abi-%.out.
21641 (check-abi target): Update dependencies.
21642 (check-abi-pattern variable): Redirect output of diff to $@.
21643 (check-abi variable): Likewise.
21644 * elf/Makefile (check-abi): Update dependencies.
21646 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21648 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21649 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21651 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21652 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21653 value has largest subnormal exponent.
21654 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21655 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21656 * sysdeps/aarch64/soft-fp/sfp-machine.h
21657 (_FP_TININESS_AFTER_ROUNDING): New macro.
21658 * sysdeps/alpha/soft-fp/sfp-machine.h
21659 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21660 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21662 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21663 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21664 * sysdeps/mips/soft-fp/sfp-machine.h
21665 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21666 * sysdeps/powerpc/soft-fp/sfp-machine.h
21667 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21668 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21670 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21671 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21672 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21673 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21674 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21677 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
21680 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21683 2014-02-12 Richard Henderson <rth@redhat.com>
21685 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21686 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21687 * sysdeps/unix/sysv/linux/alpha: Move directory from
21688 ports/sysdeps/unix/sysv/linux/alpha.
21689 * README: Update listing for alpha-*-linux-gnu.
21691 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21693 * include/features.h: Update comment documenting feature test
21695 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21697 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21698 (_SVID_SOURCE): Likewise.
21699 (_DEFAULT_SOURCE): Update description of default features.
21700 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21702 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21703 (S_ISVTX): Likewise.
21704 * manual/math.texi (Mathematical Constants): Likewise.
21705 * manual/signal.texi (Interrupted Primitives): Likewise.
21706 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21707 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21708 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21709 Don't refer to _SVID_SOURCE in warning text.
21711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21713 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21715 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21716 * sysdeps/mips/dl-lookup.c: Remove.
21717 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21719 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21722 * math/auto-libm-test-in: Add testcase for expl.
21723 * math/auto-libm-test-out: Regenerate.
21724 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21725 calculation of unsafe.
21726 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21728 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21730 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21731 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21732 ports/sysdeps/unix/sysv/linux/aarch64.
21733 * README: Update listing for aarch64*-*-linux-gnu.
21735 2014-02-11 Will Newton <will.newton@linaro.org>
21737 * manual/probes.texi (Mathematical Function Probes): Use
21738 "triggered" instead of "hit".
21740 * manual/probes.texi (Internal Probes): Add documentation
21741 of setjmp, longjmp and longjmp_target probes.
21743 * include/stap-probe.h: Add comment about probe argument
21746 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21747 definition. (tr_where, tr_freehook, tr_mallochook,
21748 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21750 2014-02-11 David S. Miller <davem@davemloft.net>
21752 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21753 processing int_tests.
21755 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21757 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21758 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21759 * sysdeps/unix/sysv/linux/mips: Move directory from
21760 ports/sysdeps/unix/sysv/linux/mips.
21761 * README: Update listing for mips-*-linux-gnu and
21762 mips64-*-linux-gnu.
21764 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21766 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21767 * sysdeps/unix/sysv/linux/m68k: Move directory from
21768 ports/sysdeps/unix/sysv/linux/m68k.
21769 * README: Update listing for m68k-*-linux-gnu.
21771 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21773 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21774 * sysdeps/unix/sysv/linux/generic: Move directory from
21775 ports/sysdeps/unix/sysv/linux/generic.
21776 * sysdeps/unix/sysv/linux/tile: Move directory from
21777 ports/sysdeps/unix/sysv/linux/tile.
21778 * README: Update listing for tile*-*-linux-gnu.
21780 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21782 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21784 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21785 * catgets/open_catalog.c (__open_catalog): Likewise.
21786 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21787 * debug/confstr_chk.c: Likewise.
21788 * debug/fread_chk.c (__fread_chk): Likewise.
21789 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21790 * debug/getgroups_chk.c: Likewise.
21791 * debug/mbsnrtowcs_chk.c: Likewise.
21792 * debug/mbsrtowcs_chk.c: Likewise.
21793 * debug/mbstowcs_chk.c: Likewise.
21794 * debug/memcpy_chk.c: Likewise.
21795 * debug/memmove_chk.c: Likewise.
21796 * debug/mempcpy_chk.c: Likewise.
21797 * debug/memset_chk.c: Likewise.
21798 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21799 * debug/strcat_chk.c (__strcat_chk): Likewise.
21800 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21801 * debug/strncat_chk.c (__strncat_chk): Likewise.
21802 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21803 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21804 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21805 * debug/wcpncpy_chk.c: Likewise.
21806 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21807 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21808 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21809 * debug/wcsncpy_chk.c: Likewise.
21810 * debug/wcsnrtombs_chk.c: Likewise.
21811 * debug/wcsrtombs_chk.c: Likewise.
21812 * debug/wcstombs_chk.c: Likewise.
21813 * debug/wmemcpy_chk.c: Likewise.
21814 * debug/wmemmove_chk.c: Likewise.
21815 * debug/wmempcpy_chk.c: Likewise.
21816 * debug/wmemset_chk.c: Likewise.
21817 * dirent/scandirat.c (SCANDIRAT): Likewise.
21818 * dlfcn/dladdr1.c (dladdr1): Likewise.
21819 * dlfcn/dladdr.c (dladdr): Likewise.
21820 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21821 * dlfcn/dlerror.c (__dlerror): Likewise.
21822 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21823 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21824 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21825 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21826 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21827 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21828 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21829 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21831 * elf/dl-conflict.c: Likewise.
21832 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21833 * elf/dl-dst.h: Likewise.
21834 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21835 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21836 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21837 * elf/dl-init.c (call_init, _dl_init): Likewise.
21838 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21839 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21840 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21842 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21844 * elf/dl-minimal.c (__libc_memalign): Likewise.
21845 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21846 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21847 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21848 * elf/dl-sym.c (do_sym): Likewise.
21849 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21850 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21851 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21852 * elf/dl-writev.h (_dl_writev): Likewise.
21853 * elf/ldconfig.c (search_dir): Likewise.
21854 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21855 (dl_main): Likewise.
21856 * elf/setup-vdso.h (setup_vdso): Likewise.
21857 * grp/compat-initgroups.c (compat_call): Likewise.
21858 * grp/fgetgrent.c (fgetgrent): Likewise.
21859 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21860 * grp/putgrent.c (putgrent): Likewise.
21861 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21863 * hurd/hurdinit.c: Likewise.
21864 * iconvdata/8bit-gap.c (struct): Likewise.
21865 * iconvdata/ansi_x3.110.c : Likewise.
21866 * iconvdata/big5.c : Likewise.
21867 * iconvdata/big5hkscs.c : Likewise.
21868 * iconvdata/cp1255.c: Likewise.
21869 * iconvdata/cp1258.c : Likewise.
21870 * iconvdata/cp932.c : Likewise.
21871 * iconvdata/euc-cn.c: Likewise.
21872 * iconvdata/euc-jisx0213.c : Likewise.
21873 * iconvdata/euc-jp.c: Likewise.
21874 * iconvdata/euc-jp-ms.c : Likewise.
21875 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21876 * iconvdata/gb18030.c : Likewise.
21877 * iconvdata/gbbig5.c (const): Likewise.
21878 * iconvdata/gbgbk.c: Likewise.
21879 * iconvdata/gbk.c : Likewise.
21880 * iconvdata/ibm1364.c : Likewise.
21881 * iconvdata/ibm930.c : Likewise.
21882 * iconvdata/ibm932.c: Likewise.
21883 * iconvdata/ibm933.c : Likewise.
21884 * iconvdata/ibm935.c : Likewise.
21885 * iconvdata/ibm937.c : Likewise.
21886 * iconvdata/ibm939.c : Likewise.
21887 * iconvdata/ibm943.c: Likewise.
21888 * iconvdata/iso_11548-1.c: Likewise.
21889 * iconvdata/iso-2022-cn.c : Likewise.
21890 * iconvdata/iso-2022-cn-ext.c : Likewise.
21891 * iconvdata/iso-2022-jp-3.c: Likewise.
21892 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21893 * iconvdata/iso-2022-kr.c : Likewise.
21894 * iconvdata/iso646.c (gconv_end): Likewise.
21895 * iconvdata/iso_6937-2.c : Likewise.
21896 * iconvdata/iso_6937.c : Likewise.
21897 * iconvdata/iso8859-1.c: Likewise.
21898 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21899 * iconvdata/shift_jisx0213.c : Likewise.
21900 * iconvdata/sjis.c : Likewise.
21901 * iconvdata/t.61.c : Likewise.
21902 * iconvdata/tcvn5712-1.c : Likewise.
21903 * iconvdata/tscii.c: Likewise.
21904 * iconvdata/uhc.c : Likewise.
21905 * iconvdata/unicode.c (gconv_end): Likewise.
21906 * iconvdata/utf-16.c (gconv_end): Likewise.
21907 * iconvdata/utf-32.c (gconv_end): Likewise.
21908 * iconvdata/utf-7.c (base64): Likewise.
21909 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21910 * iconv/gconv_close.c (__gconv_close): Likewise.
21911 * iconv/gconv_open.c (__gconv_open): Likewise.
21912 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21913 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21914 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21915 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21916 (ucs4le_internal_loop_single): Likewise.
21917 * iconv/iconv.c (iconv): Likewise.
21918 * iconv/iconv_close.c: Likewise.
21919 * iconv/loop.c (SINGLE): Likewise.
21920 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21921 * include/atomic.h: Likewise.
21922 * inet/inet6_option.c (option_alloc): Likewise.
21923 * intl/bindtextdom.c (set_binding_values): Likewise.
21924 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21925 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21926 * intl/localealias.c (read_alias_file): Likewise.
21927 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21928 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21929 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21930 * libio/fmemopen.c (fmemopen): Likewise.
21931 * libio/iofgets.c (_IO_fgets): Likewise.
21932 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21933 * libio/iofgetws.c (fgetws): Likewise.
21934 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21935 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21936 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21937 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21938 * locale/findlocale.c (_nl_find_locale): Likewise.
21939 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21940 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21942 * locale/setlocale.c (setlocale): Likewise.
21943 * login/programs/pt_chown.c (main): Likewise.
21944 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21945 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21946 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21947 (mmap, mmap64, mremap, munmap): Likewise.
21948 * math/e_exp2l.c: Likewise.
21949 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21950 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21951 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21952 * math/s_catan.c (__catan): Likewise.
21953 * math/s_catanf.c (__catanf): Likewise.
21954 * math/s_catanh.c (__catanh): Likewise.
21955 * math/s_catanhf.c (__catanhf): Likewise.
21956 * math/s_catanhl.c (__catanhl): Likewise.
21957 * math/s_catanl.c (__catanl): Likewise.
21958 * math/s_ccosh.c (__ccosh): Likewise.
21959 * math/s_ccoshf.c (__ccoshf): Likewise.
21960 * math/s_ccoshl.c (__ccoshl): Likewise.
21961 * math/s_cexp.c (__cexp): Likewise.
21962 * math/s_cexpf.c (__cexpf): Likewise.
21963 * math/s_cexpl.c (__cexpl): Likewise.
21964 * math/s_clog10.c (__clog10): Likewise.
21965 * math/s_clog10f.c (__clog10f): Likewise.
21966 * math/s_clog10l.c (__clog10l): Likewise.
21967 * math/s_clog.c (__clog): Likewise.
21968 * math/s_clogf.c (__clogf): Likewise.
21969 * math/s_clogl.c (__clogl): Likewise.
21970 * math/s_csin.c (__csin): Likewise.
21971 * math/s_csinf.c (__csinf): Likewise.
21972 * math/s_csinh.c (__csinh): Likewise.
21973 * math/s_csinhf.c (__csinhf): Likewise.
21974 * math/s_csinhl.c (__csinhl): Likewise.
21975 * math/s_csinl.c (__csinl): Likewise.
21976 * math/s_csqrt.c (__csqrt): Likewise.
21977 * math/s_csqrtf.c (__csqrtf): Likewise.
21978 * math/s_csqrtl.c (__csqrtl): Likewise.
21979 * math/s_ctan.c (__ctan): Likewise.
21980 * math/s_ctanf.c (__ctanf): Likewise.
21981 * math/s_ctanh.c (__ctanh): Likewise.
21982 * math/s_ctanhf.c (__ctanhf): Likewise.
21983 * math/s_ctanhl.c (__ctanhl): Likewise.
21984 * math/s_ctanl.c (__ctanl): Likewise.
21985 * math/w_pow.c: Likewise.
21986 * math/w_powf.c: Likewise.
21987 * math/w_powl.c: Likewise.
21988 * math/w_scalb.c (sysv_scalb): Likewise.
21989 * math/w_scalbf.c (sysv_scalbf): Likewise.
21990 * math/w_scalbl.c (sysv_scalbl): Likewise.
21991 * misc/error.c (error_tail): Likewise.
21992 * misc/pselect.c (__pselect): Likewise.
21993 * nis/nis_callback.c (__nis_create_callback): Likewise.
21994 * nis/nis_call.c (__nisfind_server): Likewise.
21995 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21996 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21997 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21998 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21999 * nis/nis_lookup.c (nis_lookup): Likewise.
22000 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22001 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22002 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22003 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22004 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22005 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22006 * nis/nss_compat/compat-initgroups.c (add_group)
22007 (internal_getgrent_r): Likewise.
22008 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22009 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22010 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22011 (internal_getspnam_r): Likewise.
22012 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22013 (_nss_nis_getaliasbyname_r): Likewise.
22014 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22015 (_nss_nis_getntohost_r): Likewise.
22016 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22017 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22018 (_nss_nis_getgrgid_r): Likewise.
22019 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22020 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22021 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22022 (_nss_nis_gethostbyname4_r): Likewise.
22023 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22024 (initgroups_netid): Likewise.
22025 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22026 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22027 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22028 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22029 (_nss_nis_getprotobynumber_r): Likewise.
22030 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22031 (_nss_nis_getsecretkey): Likewise.
22032 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22033 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22034 (_nss_nis_getpwuid_r): Likewise.
22035 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22036 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22037 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22038 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22039 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22040 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22041 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22043 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22044 (_nss_nisplus_getntohost_r): Likewise.
22045 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22046 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22047 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22048 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22050 * nis/nss_nisplus/nisplus-initgroups.c
22051 (_nss_nisplus_initgroups_dyn): Likewise.
22052 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22053 (_nss_nisplus_getnetbyaddr_r): Likewise.
22054 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22055 (_nss_nisplus_getprotobynumber_r): Likewise.
22056 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22057 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22058 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22060 * nis/nss_nisplus/nisplus-service.c
22061 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22062 (_nss_nisplus_getservbyport_r): Likewise.
22063 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22064 (_nss_nisplus_getspnam_r): Likewise.
22065 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22067 * nscd/aicache.c (addhstaiX): Likewise.
22068 * nscd/cache.c (cache_search, prune_cache): Likewise.
22069 * nscd/connections.c (register_traced_file, send_ro_fd)
22070 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22071 (main_loop_epoll): Likewise.
22072 * nscd/grpcache.c (addgrbyX): Likewise.
22073 * nscd/hstcache.c (addhstbyX): Likewise.
22074 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22075 * nscd/mem.c (gc, mempool_alloc): Likewise.
22076 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22077 (addinnetgrX): Likewise.
22078 * nscd/nscd-client.h (__nscd_acquire_maplock)
22079 (__nscd_drop_map_ref): Likewise.
22080 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22081 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22082 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22084 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22085 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22086 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22087 (__nscd_get_map_ref): Likewise.
22088 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22089 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22091 * nscd/pwdcache.c (addpwbyX): Likewise.
22092 * nscd/selinux.c (preserve_capabilities): Likewise.
22093 * nscd/servicescache.c (addservbyX): Likewise.
22094 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22095 * posix/fnmatch.c (fnmatch): Likewise.
22096 * posix/getopt.c (_getopt_internal_r): Likewise.
22097 * posix/glob.c (glob, glob_in_dir): Likewise.
22098 * posix/wordexp.c (exec_comm_child): Likewise.
22099 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22100 (getanswer_r, gaih_getanswer_slice): Likewise.
22101 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22102 * resolv/res_init.c: Likewise.
22103 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22104 * resolv/res_query.c (__libc_res_nquery): Likewise.
22105 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22107 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22108 * stdio-common/perror.c (perror): Likewise.
22109 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22110 * stdio-common/tmpnam.c (tmpnam): Likewise.
22111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22112 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22113 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22115 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22116 * stdlib/putenv.c (putenv): Likewise.
22117 * stdlib/setenv.c (__add_to_environ): Likewise.
22118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22119 * stdlib/strtol_l.c (INTERNAL): Likewise.
22120 * string/memmem.c (memmem): Likewise.
22121 * string/strerror.c (strerror): Likewise.
22122 * string/strnlen.c (__strnlen): Likewise.
22123 * string/test-memmem.c (simple_memmem): Likewise.
22124 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22125 * sunrpc/pm_getport.c (__get_socket): Likewise.
22126 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22127 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22128 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22129 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22131 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22132 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22133 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22134 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22135 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22136 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22138 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22140 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22141 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22143 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22144 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22146 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22147 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22148 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22149 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22150 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22151 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22153 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22155 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22157 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22159 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22160 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22161 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22162 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22163 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22166 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22167 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22168 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22169 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22170 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22172 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22174 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22176 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22178 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22180 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22182 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22184 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22185 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22186 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22187 * sysdeps/posix/sleep.c: Likewise.
22188 * sysdeps/posix/tempname.c: Likewise.
22189 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22190 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22192 * sysdeps/powerpc/powerpc32/dl-machine.h
22193 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22194 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22196 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22197 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22199 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22200 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22201 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22203 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22204 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22205 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22206 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22207 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22208 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22210 (elf_machine_lazy_rel): Likewise.
22211 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22212 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22213 (elf_machine_lazy_rel): Likewise.
22214 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22215 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22216 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22217 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22218 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22219 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22220 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22223 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22224 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22225 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22226 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22227 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22228 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22229 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22230 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22231 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22232 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22233 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22235 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22236 (__posix_fallocate64_l64): Likewise.
22237 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22238 (posix_fallocate): Likewise.
22239 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22241 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22242 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22243 (getifaddrs_internal): Likewise.
22244 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22245 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22246 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22247 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22248 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22249 (__posix_fallocate64_l64): Likewise.
22250 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22252 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22253 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22254 (__get_clockfreq): Likewise.
22255 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22256 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22257 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22258 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22260 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22261 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22262 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22264 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22265 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22266 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22267 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22268 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22269 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22270 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22272 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22273 (posix_fallocate): Likewise.
22274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22275 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22276 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22277 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22278 (elf_machine_rela, elf_machine_rela_relative)
22279 (elf_machine_lazy_rel): Likewise.
22280 * time/asctime.c (asctime_internal): Likewise.
22281 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22282 * time/tzset.c (__tzset_parse_tz): Likewise.
22283 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22284 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22285 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22286 * wcsmbs/wcsmbsload.h: Likewise.
22289 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22291 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22292 (arena_get2): Remove THREAD_STATS conditionals.
22293 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22294 (__malloc_stats, int): Likewise.
22296 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22298 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22299 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22301 * manual/setjmp.texi: Fix typos/grammar errors.
22303 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22304 Only return early when n is <= 0. Delete unused return statement.
22306 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22307 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22308 * debug/tst-longjmp_chk3.c: New file.
22310 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22311 (test_main): Replace code with set_fortify_handler call.
22312 * debug/test-strcpy_chk.c: Likewise.
22313 * debug/tst-chk1.c: Likewise.
22314 * debug/tst-longjmp_chk.c: Likewise.
22315 * test-skeleton.c: Include fcntl.h & paths.h
22316 (set_fortify_handler): Define.
22318 * debug/tst-longjmp_chk.c: Add header comment and include
22319 ../test-skeleton.c.
22320 (do_test): Mark static.
22321 (TEST_FUNCTION): Define.
22323 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22324 (IP_PMTUDISC_INTERFACE): Likewise.
22325 (IP_MULTICAST_IF): Likewise.
22326 (IP_MULTICAST_TTL): Likewise.
22327 (IP_MULTICAST_LOOP): Likewise.
22328 (IP_ADD_MEMBERSHIP): Likewise.
22329 (IP_DROP_MEMBERSHIP): Likewise.
22330 (IP_UNBLOCK_SOURCE): Likewise.
22331 (IP_BLOCK_SOURCE): Likewise.
22332 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22333 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22334 (IP_MSFILTER): Likewise.
22335 (MCAST_JOIN_GROUP): Likewise.
22336 (MCAST_BLOCK_SOURCE): Likewise.
22337 (MCAST_UNBLOCK_SOURCE): Likewise.
22338 (MCAST_LEAVE_GROUP): Likewise.
22339 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22340 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22341 (MCAST_MSFILTER): Likewise.
22342 (IP_MULTICAST_ALL): Likewise.
22343 (IP_UNICAST_IF): Likewise.
22345 * timezone/Makefile: Delete $(have-ksh) check.
22346 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22347 * timezone/tzselect.ksh: Add +x mode bits.
22349 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22350 (ANON_INODE_FS_MAGIC): Likewise.
22351 (BDEVFS_MAGIC): Likewise.
22352 (BINFMTFS_MAGIC): Likewise.
22353 (BTRFS_TEST_MAGIC): Likewise.
22354 (CRAMFS_MAGIC_WEND): Likewise.
22355 (DEBUGFS_MAGIC): Likewise.
22356 (ECRYPTFS_SUPER_MAGIC): Likewise.
22357 (EXT3_SUPER_MAGIC): Likewise.
22358 (EXT4_SUPER_MAGIC): Likewise.
22359 (FUTEXFS_SUPER_MAGIC): Likewise.
22360 (HOSTFS_SUPER_MAGIC): Likewise.
22361 (HUGETLBFS_MAGIC): Likewise.
22362 (MINIX3_SUPER_MAGIC): Likewise.
22363 (MTD_INODE_FS_MAGIC): Likewise.
22364 (NILFS_SUPER_MAGIC): Likewise.
22365 (OPENPROM_SUPER_MAGIC): Likewise.
22366 (PIPEFS_MAGIC): Likewise.
22367 (PSTOREFS_MAGIC): Likewise.
22368 (QNX6_SUPER_MAGIC): Likewise.
22369 (RAMFS_MAGIC): Likewise.
22370 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22371 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22372 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22373 (SECURITYFS_MAGIC): Likewise.
22374 (SELINUX_MAGIC): Likewise.
22375 (SMACK_MAGIC): Likewise.
22376 (SOCKFS_MAGIC): Likewise.
22377 (SQUASHFS_MAGIC): Likewise.
22378 (STACK_END_MAGIC): Likewise.
22379 (TMPFS_MAGIC): Likewise.
22380 (USBDEVICE_SUPER_MAGIC): Likewise.
22381 (V9FS_MAGIC): Likewise.
22382 (XENFS_SUPER_MAGIC): Likewise.
22383 (CRAMFS_MAGIC): Fix typo in comment.
22384 (EXT2_SUPER_MAGIC): Update comment.
22385 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22387 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22389 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22390 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22391 * sysdeps/unix/sysv/linux/arm: Move directory from
22392 ports/sysdeps/unix/sysv/linux/arm.
22393 * README: Update listing for arm-*-linux-gnueabi.
22395 * README: Remove mention of am33.
22397 2014-02-07 Roland McGrath <roland@hack.frob.com>
22399 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22400 than the comma operator, to avoid "rhs of comma has no effect"
22402 (__sigfillset, __sigandset, __sigorset): Likewise.
22403 * include/signal.h (__sigemptyset): Likewise.
22404 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22406 2014-02-07 Allan McRae <allan@archlinux.org>
22408 * version.h (RELEASE): Set to "development".
22409 (VERSION): Set to "2.19.90"
22410 * NEWS: Add 2.20 section.
22412 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22415 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22417 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22419 * manual/contrib.texi: Update entry for Carlos O'Donell,
22420 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22422 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22424 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22426 * sysdeps/unix/sysv/linux/kernel-features.h
22427 [__LINUX_KERNEL_VERSION >= 0x020621]
22428 (__ASSUME_PROC_PID_TASK_COMM): Define.
22430 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22433 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22434 conversion when destination buffer does not have enough space.
22435 * libio/tst-ftell-partial-wide.c: New test case.
22436 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22438 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22439 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22440 Leonard and Allan McRae.
22442 2014-02-04 David S. Miller <davem@davemloft.net>
22444 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22447 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22476 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22478 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22479 * shlib-versions: Likewise.
22481 2014-02-04 Roland McGrath <roland@hack.frob.com>
22482 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22484 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22485 (abilist-pattern): New variable, set to %-le.abilist.
22487 * Makerules (abilist-pattern): New variable.
22488 (vpath): Use $(abilist-pattern) in place of %.abilist.
22489 (check-abi-% pattern rule): Likewise.
22490 (check-abi, update-abi): Likewise.
22492 2014-02-04 Eric Wong <normalperson@yhbt.net>
22494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22496 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22498 * manual/startup.texi: Add next, previous, and top entries for
22499 the `Program Arguments' and `Environment Variables' nodes.
22501 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22503 * manual/macros.texi: Add comments before MTASC-safety macros.
22505 * manual/users.texi: Document MTASC-safety properties.
22507 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22508 (pthread_getspecific, pthread_setspecific): Format with
22509 @deftypefun, and add @safety note.
22510 * manual/signal.texi: Move comments that analyze the above
22511 functions to their home place.
22513 2014-02-03 Allan McRae <allan@archlinux.org>
22515 * po/sl.po: Update Slovenian translation from translation project.
22517 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22519 * manual/time.texi (timegm): Add missing blank after @c.
22520 Reported by Joseph Myers <joseph@codesourcery.com>.
22522 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22524 * manual/check-safety.sh: New.
22525 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22527 * manual/terminal.texi: Document MTASC-safety properties.
22529 * manual/filesys.texi: Document MTASC-safety properties.
22531 * manual/errno.texi: Document MTASC-safety properties.
22533 * manual/intro.texi: Document safety identifiers and
22536 * manual/string.texi (wcstok): Fix prototype.
22537 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22539 * manual/time.texi: Document MTASC-safety properties.
22541 * manual/string.texi: Document MTASC-safety properties.
22543 * manual/threads.texi: Document MTASC-safety properties.
22545 * manual/stdio.texi: Document MTASC-safety properties.
22547 * manual/syslog.texi: Document MTASC-safety properties.
22549 * manual/sysinfo.texi: Document MTASC-safety properties.
22551 * manual/startup.texi: Document MTASC-safety properties.
22553 * manual/socket.texi: Document MTASC-safety properties.
22555 * manual/signal.texi: Document MTASC-safety properties.
22557 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22559 * manual/setjmp.texi: Document MTASC-safety properties.
22561 * manual/search.texi: Document MTASC-safety properties.
22563 * manual/resource.texi: Document MTASC-safety properties.
22565 * manual/process.texi: Document MTASC-safety properties.
22567 * manual/platform.texi: Document MTASC-safety properties.
22569 * manual/pipe.texi: Document MTASC-safety properties.
22571 * manual/pattern.texi: Document MTASC-safety properties.
22573 * manual/message.texi: Document MTASC-safety properties.
22576 * manual/memory.texi: Document MTASC-safety properties.
22578 * manual/math.texi: Document MTASC-safety properties.
22580 * manual/locale.texi: Document MTASC-safety properties.
22582 * manual/llio.texi: Document MTASC-safety properties.
22584 * manual/libdl.texi: New.
22586 * manual/lang.texi: Document MTASC-safety properties.
22588 * manual/job.texi: Document MTASC-safety properties.
22590 * manual/getopt.texi: Document MTASC-safety properties.
22592 * manual/ctype.texi: Document MTASC-safety properties.
22594 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22597 * csu/libc-tls.c (static_map): Remove variable.
22598 (__libc_setup_tls): Use main executable's link map for TLS data.
22599 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22600 casing for LM_ID_BASE and GL(dl_nns).
22601 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22602 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22603 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22604 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22605 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22607 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22610 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22612 * manual/debug.texi: Document MTASC-safety properties.
22614 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22617 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22618 of __x86_64__ when disabling x87 inline functions.
22620 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22622 * manual/charset.texi: Document MTASC-safety properties.
22624 * manual/crypt.texi: Document MTASC-safety properties.
22626 * manual/conf.texi: Document MTASC-safety properties.
22628 * manual/arith.texi: Document MTASC-safety properties.
22630 * manual/argp.texi: Document MTASC-safety properties.
22632 * manual/macros.texi: Introduce macros to document multi
22633 thread, asynchronous signal and asynchronous cancellation
22635 * manual/intro.texi: Introduce the properties themselves.
22637 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22639 * sysdeps/sh/sh4/Makefile: New file.
22641 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22643 * math/gen-libm-test.pl ($srcdir): New variable.
22644 ($auto_input): Use it.
22646 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22649 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22650 access beyond array bounds when parsing netgroups file.
22652 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22653 the old buffer before realloc.
22655 2014-01-27 Allan McRae <allan@archlinux.org>
22657 * po/fr.po: Update French translation from translation project.
22659 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22661 * sysdeps/sh/libm-test-ulps: Regenerate.
22663 2014-01-24 David S. Miller <davem@davemloft.net>
22665 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22667 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22669 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22670 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22672 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22675 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22676 string pointers after reallocation.
22678 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22680 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22681 __SH4A__ instead of __SH_FPU_ANY__.
22683 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22685 * sysdeps/sh/fpu_control.h: New file.
22686 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22687 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22688 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22689 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22690 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22691 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22692 * sysdeps/sh/sys/ucontext.h: Remove.
22693 * sysdeps/sh/sys: Remove directory.
22695 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22697 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22698 s390/sys/ucontext.h.
22699 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22702 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22705 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22707 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22711 Adjust the vDSO correctly for internal calls.
22712 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22714 2014-01-20 Allan McRae <allan@archlinux.org>
22716 * po/ca.po: Update Catalan translation from translation project.
22718 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22720 * sysdeps/s390/sotruss-lib.c: New file.
22722 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22725 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22726 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22727 local calls issues by not having a PLT stub required for IFUNC calls.
22728 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22730 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22732 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22733 * math/test-fpucw-static.c: Likewise.
22735 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22738 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22740 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22742 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22743 implementation for powerpc.
22745 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22748 * sysdeps/posix/system.c (__libc_system): Do not enable
22749 asynchronous cancellation.
22751 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22754 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22755 handling only for numbers special also in the IEEE case.
22757 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22759 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22761 2014-01-11 Allan McRae <allan@archlinux.org>
22763 * po/bg.po: Update Bulgarian translation from translation project.
22765 * po/de.po: Update German translation from translation project.
22767 2014-01-10 Roland McGrath <roland@hack.frob.com>
22769 * sysdeps/generic/gcc-compat.h: New file.
22771 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22773 * benchtests/asin-inputs: Correct slow inputs.
22774 * benchtests/acos-inputs: Likewise.
22776 2014-01-10 Allan McRae <allan@archlinux.org>
22778 * po:sv.po: Update Swedish translation from translation project.
22780 * po/vi.po: Update Vietnamese translation from translation project.
22782 * po/eo.po: Update Esperanto translation from translation project.
22784 * po/cs.po: Update Czech translation from translation project.
22786 * po/nl.po: Update Dutch translation from translation project.
22788 * po/pl.po: Update Polish translation from translation project.
22790 * po/ru.po: Update Russian translation from translation project.
22792 * po/uk.po: Update Ukrainian translation from translation project.
22794 2014-01-08 Brooks Moses <bmoses@google.com>
22796 * elf/dl-load.c: Fix comment typo.
22798 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22800 * po/header.pot: Rename to...
22801 * po/pot.header: ... this.
22802 * po/Makefile: Use pot.header.
22804 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22805 Maxim Kuvyrkov <maxim@kugelworks.com>
22808 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22809 SRC and DEST against LEN.
22811 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22814 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22816 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22818 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22822 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22826 for large positive arguments.
22828 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22830 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22832 * math/auto-libm-test-in: Mark various tests with
22833 xfail-rounding:ldbl-128ibm.
22834 * math/auto-libm-test-out: Regenerated.
22837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22838 Increase overflow threshold.
22840 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22843 * stdio-common/vfprintf.c: Check for integer overflow.
22845 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22847 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22848 the first argument and return value of __tls_get_addr_internal.
22850 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22852 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22853 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22855 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22857 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22858 * sysdeps/s390/rtld-global-offsets.sym: New file.
22859 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22861 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22862 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22865 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22872 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22873 halfs of GPRs for high_gprs contexts.
22874 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22875 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22877 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22879 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22881 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22882 for high GPRs (uc_high_gprs) and for future extensions
22884 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22885 for future extensions (__reserved).
22886 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22888 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22889 SC_HIGHGPRS offset definition.
22890 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22891 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22893 * Versions.def: Add GLIBC_2.19 for libpthread.
22894 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22895 siglongjmp for libpthread with GLIBC_2.19 symver.
22896 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22897 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22898 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22899 * sysdeps/s390/__longjmp.c: New file.
22900 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22901 * sysdeps/s390/longjmp.c: New file.
22902 * sysdeps/s390/setjmp.S: New file.
22903 * sysdeps/s390/sigjmp.S: New file.
22904 * sysdeps/s390/v1-longjmp.c: New file.
22905 * sysdeps/s390/v1-setjmp.h: New file.
22906 * sysdeps/s390/v1-sigjmp.c: New file.
22907 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22908 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22909 GLIBC_2.19 version.
22910 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22911 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22912 versioned symbols for ____longjmp_chk.
22913 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22923 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22924 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22925 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22926 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22927 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22928 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22929 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22930 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22931 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22932 * sysdeps/s390/rtld-__longjmp.c: New file.
22933 * sysdeps/s390/rtld-setjmp.S: New file.
22935 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22938 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22939 Return -__logl (x) for small positive arguments without evaluating
22942 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22944 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22946 (__ptrace_peeksiginfo_args): ... this.
22947 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22951 2014-01-06 Allan McRae <allan@archlinux.org>
22953 * inet/netinet/in.h: Fix typo in comment.
22955 2014-01-05 Andreas Jaeger <aj@suse.de>
22957 * sysdeps/i386/fpu/libm-test-ulps: Update.
22959 2014-01-05 Allan McRae <allan@archlinux.org>
22961 * po/libc.pot: Regenerated.
22963 * malloc/memusagestat.c: Fix gettext call formatting.
22965 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22967 * nscd/nscd.c: Improve usage() output.
22969 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22971 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22972 * sysdeps/unix/sysv/linux/configure: Regenerated.
22973 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22974 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22976 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22979 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22980 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22982 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22984 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22985 extra tokens at end of #undef directive.
22986 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22987 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22988 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22990 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22992 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22994 * math/auto-libm-test-in: Mark various tests with
22995 xfail-rounding:ldbl-128ibm.
22996 * math/auto-libm-test-out: Regenerated.
22998 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23002 numbers with subnormal high part when calculating exponent.
23005 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23009 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23011 (__ieee754_acoshl): Use __log1pl not __log1p.
23013 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23015 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23016 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23017 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23018 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23019 (reused_arena, arena_get2): Convert to GNU style.
23020 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23021 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23022 (memalign_check, __malloc_set_state): Likewise.
23023 * malloc/mallocbug.c (main): Likewise.
23024 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23025 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23026 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23027 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23028 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23029 (__posix_memalign, malloc_info): Likewise.
23030 * malloc/malloc.h: Likewise.
23031 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23032 (mallochook, memalignhook, reallochook, mabort): Likewise.
23033 * malloc/mcheck.h: Likewise.
23034 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23035 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23036 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23037 * malloc/morecore.c (__default_morecore): Likewise.
23038 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23039 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23040 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23041 (print_and_abort): Likewise.
23042 * malloc/obstack.h: Likewise.
23043 * malloc/set-freeres.c (__libc_freeres): Likewise.
23044 * malloc/tst-mallocstate.c (main): Likewise.
23045 * malloc/tst-mtrace.c (main): Likewise.
23046 * malloc/tst-realloc.c (do_test): Likewise.
23048 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23051 * nscd/netgroupcache.c (do_notfound): New function.
23052 (addgetnetgrentX): Use it.
23055 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23056 NSS_STATUS_NOTFOUND.
23058 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23060 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23063 2014-01-01 Allan McRae <allan@archlinux.org>
23065 * scripts/update-copyrights: Update configure input file suffix.
23067 * NEWS: Update copyright year.
23068 * catgets/gencat.c: Likewise.
23069 * csu/version.c: Likewise.
23070 * debug/catchsegv.sh: Likewise.
23071 * debug/pcprofiledump.c: Likewise.
23072 * debug/xtrace.sh: Likewise.
23073 * elf/ldconfig.c: Likewise.
23074 * elf/ldd.bash.in: Likewise.
23075 * elf/pldd.c: Likewise.
23076 * elf/sotruss.ksh: Likewise.
23077 * elf/sprof.c: Likewise.
23078 * iconv/iconv_prog.c: Likewise.
23079 * iconv/iconvconfig.c: Likewise.
23080 * locale/programs/locale.c: Likewise.
23081 * locale/programs/localedef.c: Likewise.
23082 * login/programs/pt_chown.c: Likewise.
23083 * malloc/memusage.sh: Likewise.
23084 * malloc/memusagestat.c: Likewise.
23085 * malloc/mtrace.pl: Likewise.
23086 * manual/libc.texinfo: Likewise.
23087 * nscd/nscd.c: Likewise.
23088 * nss/getent.c: Likewise.
23089 * nss/makedb.c: Likewise.
23090 * posix/getconf.c: Likewise.
23091 * scripts/test-installation.pl: Likewise.
23093 * All files with FSF copyright notices: Update copyright dates
23094 using scripts/update-copyrights.
23095 * intl/plural.c: Regenerated.
23096 * locale/programs/charmap-kw.h: Likewise.
23097 * locale/programs/locfile-kw.h: Likewise.
23099 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23101 * sysdeps/unix/sysv/linux/configure: Regenerated.
23102 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23103 the linux/fanotify.h header.
23104 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23105 HAVE_LINUX_FANOTIFY_H is defined.
23107 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23109 * benchtests/cos-inputs: New inputs.
23110 * benchtests/sin-inputs: Likewise.
23112 * benchtests/atan-inputs: New inputs. Fix name of multiple
23113 precision fallback inputs.
23115 * benchtests/atanh-inputs: New inputs.
23116 * benchtests/tanh-inputs: Likewise.
23118 * benchtests/acosh-inputs: New inputs.
23119 * benchtests/asinh-inputs: Likewise.
23121 * benchtests/cosh-inputs: New inputs.
23122 * benchtests/sinh-inputs: Likewise.
23124 * benchtests/acos-inputs: Add more inputs.
23125 * benchtests/asin-inputs: Likewise.
23127 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23130 * manual/arith.texi: Fix spelling.
23131 * manual/charset.texi: Likewise.
23132 * manual/errno.texi: Likewise.
23133 * manual/filesys.texi: Likewise.
23134 * manual/lang.texi: Likewise.
23135 * manual/llio.texi: Likewise.
23136 * manual/locale.texi: Likewise.
23137 * manual/message.texi: Likewise.
23138 * manual/resource.texi: Likewise.
23139 * manual/search.texi: Likewise.
23140 * manual/setjmp.texi: Likewise.
23141 * manual/stdio.texi: Likewise.
23142 * manual/string.texi: Likewise.
23143 * manual/sysinfo.texi: Likewise.
23144 * manual/time.texi: Likewise.
23146 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23148 * po/sl.po: New file.
23150 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23152 * .gitignore: Add core/.gdbinit/.gdb_history.
23154 2013-12-27 Allan McRae <allan@archlinux.org>
23157 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23158 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23160 2013-12-24 Brooks Moses <bmoses@google.com>
23162 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23163 all compilers that claim C++98 compliance, not just GCC.
23164 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23167 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23169 * NEWS: Restore accidentally deleted bug-fix entries.
23171 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23172 Ondřej Bílka <neleai@seznam.cz>
23175 * malloc/malloc.c (_int_free): Perform sanity check only if we
23178 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23181 * manual/stdio.texi (String Input Conversions): Clarify that character
23182 classes are not supported.
23184 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23188 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23191 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23192 Calculate results for small negative arguments directly rather
23193 than using reflection formula with special underflow handling.
23195 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23196 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23197 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23198 (fchflags): Likewise.
23199 (revoke): Likewise.
23200 (setlogin): Likewise.
23201 (sigaltstack): Likewise.
23203 (sigblock): Remove.
23204 (sigsetmask): Likewise.
23206 (waitpid): Likewise.
23207 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23208 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23210 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23211 * sysdeps/unix/bsd/Makefile: ... here.
23212 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23213 * sysdeps/unix/bsd/Versions: ... here.
23214 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23215 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23216 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23217 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23218 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23219 * sysdeps/unix/bsd/sigblock.c: ... here.
23220 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23221 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23222 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23223 * sysdeps/unix/bsd/sigvec.c: ... here.
23224 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23225 * sysdeps/unix/bsd/tcdrain.c: ... here.
23226 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23227 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23228 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23229 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23230 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23231 * sysdeps/unix/bsd/wait.c: ... here.
23232 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23233 * sysdeps/unix/bsd/wait3.c: ... here.
23234 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23235 * sysdeps/unix/bsd/waitpid.c: ... here.
23237 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23240 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23241 round-to-nearest for [!USE_AS_EXPM1L].
23242 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23243 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23244 more tests of exp and exp10. Expect some exp10 tests to miss
23245 exceptions or fail in directed rounding modes.
23246 * math/auto-libm-test-out: Regenerated.
23247 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23248 (exp10_test_tonearest): New function.
23249 (exp10_towardzero_test_data): New array.
23250 (exp10_test_towardzero): New function.
23251 (exp10_downward_test_data): New array.
23252 (exp10_test_downward): New function.
23253 (exp10_upward_test_data): New array.
23254 (exp10_test_upward): New function.
23255 (main): Call the new functions.
23256 * sysdeps/i386/fpu/libm-test-ulps: Update.
23257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23259 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23261 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23262 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23263 * math/auto-libm-test-out: Regenerated.
23264 * math/libm-test.inc (acosh_test_data): Add more tests.
23265 (atanh_test_data): Likewise.
23266 (ceil_test_data): Likewise.
23267 (copysign_test_data): Likewise.
23268 * sysdeps/i386/fpu/libm-test-ulps: Update.
23269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23271 * timezone/checktab.awk: Update from tzcode 2013i.
23272 * timezone/private.h: Likewise.
23273 * timezone/scheck.c: Likewise.
23274 * timezone/tzfile.h: Likewise.
23275 * timezone/tzselect.ksh: Likewise.
23276 * timezone/zdump.c: Likewise.
23277 * timezone/zic.c: Likewise.
23279 * math/auto-libm-test-in: Add tests of cpow.
23280 * math/auto-libm-test-out: Regenerated.
23281 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23282 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23284 (func_calc_desc): Add mpc_cc_c union field.
23285 (test_functions): Add cpow.
23286 (special_fill_2pi): New function.
23287 (special_real_inputs): Add 2pi.
23288 (calc_generic_results): Handle mpc_cc_c.
23289 * sysdeps/i386/fpu/libm-test-ulps: Update.
23290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23292 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23293 csqrt, ctan and ctanh.
23294 * math/auto-libm-test-out: Regenerated.
23295 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23296 (TEST_COND_x86): Likewise.
23297 (ccos_test_data): Use AUTO_TESTS_c_c.
23298 (ccosh_test_data): Likewise.
23299 (cexp_test_data): Likewise.
23300 (clog_test_data): Likewise.
23301 (csqrt_test_data): Likewise.
23302 (ctan_test_data): Likewise.
23303 (ctan_tonearest_test_data): Likewise.
23304 (ctan_towardzero_test_data): Likewise.
23305 (ctan_downward_test_data): Likewise.
23306 (ctan_upward_test_data): Likewise.
23307 (ctanh_test_data): Likewise.
23308 (ctanh_tonearest_test_data): Likewise.
23309 (ctanh_towardzero_test_data): Likewise.
23310 (ctanh_downward_test_data): Likewise.
23311 (ctanh_upward_test_data): Likewise.
23312 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23314 (func_calc_desc): Add mpc_c_c union field.
23315 (FUNC_mpc_c_c): New macro.
23316 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23317 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23319 (special_fill_min_subnorm_p120): New function.
23320 (special_real_inputs): Add min_subnorm_p120.
23321 (calc_generic_results): Handle mpc_c_c.
23322 * sysdeps/i386/fpu/libm-test-ulps: Update.
23323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23325 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23327 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23328 (do_sin_slow): New functions.
23329 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23330 (cslow2, csloww1, csloww2): Use the new functions.
23332 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23333 Use M to change sign of result instead of X. Assume X is
23335 (csloww1): Likewise.
23339 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23340 arguments A and DA.
23344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23346 (sloww1): Don't adjust sign of DX.
23347 (csloww1): Likewise.
23348 (sloww2): Use X directly and don't adjust sign of DX.
23349 (csloww2): Likewise.
23351 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23353 * math/auto-libm-test-in: Add tests of cabs and carg.
23354 * math/auto-libm-test-out: Regenerated.
23355 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23356 (carg_test_data): Likewise.
23357 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23359 (func_calc_desc): Add mpc_c_f union field.
23360 (test_functions): Add cabs and carg.
23361 (calc_generic_results): Handle mpc_c_f.
23363 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23364 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23365 as a macro and a compat symbol.
23366 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23367 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23368 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23369 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23370 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23371 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23373 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23375 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23377 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23379 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23381 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23383 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23384 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23387 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23391 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23393 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23394 trailing whitespace removed.
23395 * scripts/config.guess: Update to version 2013-11-29.
23396 * scripts/config.sub: Update to version 2013-10-01.
23398 * math/auto-libm-test-in: Add tests of sincos.
23399 * math/auto-libm-test-out: Regenerated.
23400 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23401 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23403 (func_calc_desc): Add mpfr_f_11 union field.
23404 (test_functions): Add sincos.
23405 (calc_generic_results): Handle mpfr_f_11.
23406 * sysdeps/i386/fpu/libm-test-ulps: Update.
23407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23409 2013-12-19 Andreas Schwab <schwab@suse.de>
23411 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23413 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23414 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23415 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23417 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23419 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23420 * sysdeps/i386/fpu/libm-test-ulps: Update.
23421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23424 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23425 round-to-nearest mode when using frndint.
23426 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23427 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23428 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23430 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23432 * math/auto-libm-test-out: Regenerated.
23433 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23434 (TEST_COND_x86): Likewise.
23435 (expm1_tonearest_test_data): New array.
23436 (expm1_test_tonearest): New function.
23437 (expm1_towardzero_test_data): New array.
23438 (expm1_test_towardzero): New function.
23439 (expm1_downward_test_data): New array.
23440 (expm1_test_downward): New function.
23441 (expm1_upward_test_data): New array.
23442 (expm1_test_upward): New function.
23443 (main): Run the new test functions.
23444 * sysdeps/i386/fpu/libm-test-ulps: Update.
23445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23447 * include/features.h: Update comment documenting feature test
23448 macros. Mention _DEFAULT_SOURCE in comment.
23449 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23450 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23451 _BSD_SOURCE and _SVID_SOURCE.
23452 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23453 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23454 !_SVID_SOURCE]: Likewise.
23455 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23456 (__USE_POSIX_IMPLICITLY): Define.
23457 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23458 (_POSIX_SOURCE): Undefine and redefine.
23459 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23460 (_POSIX_C_SOURCE): Likewise.
23461 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23462 (Feature Test Macros): Update documentation of default features.
23464 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23466 * benchtests/Makefile: Add bench-strtok.
23467 * benchtests/bench-strtok.c: New file: strtok benchtest.
23469 2013-12-19 Allan McRae <allan@archlinux.org>
23471 * manual/install.texi: Suppress menu for plain text output.
23472 * INSTALL: Regenerated.
23474 2013-12-18 Brooks Moses <bmoses@google.com>
23477 * misc/getauxval.c: Include errno.h.
23478 (__getauxval): Set errno to ENOENT if the requested type is not
23480 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23481 don't declare with __attribute_const__.
23482 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23483 * manual/startup.texi: Document that getauxval sets errno.
23485 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23487 * math/auto-libm-test-in: Add tests of jn and yn.
23488 * math/auto-libm-test-out: Regenerated.
23489 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23490 (yn_test_data): Likewise.
23491 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23493 (func_calc_desc): Add mpfr_if_f union field.
23494 (FUNC_mpfr_if_f): New macro.
23495 (test_functions): Add jn and yn.
23496 (calc_generic_results): Assert type of second input for
23497 mpfr_ff_f. Handle mpfr_if_f.
23498 (output_for_one_input_case): Disable all checking for arguments
23499 fitting floating-point types in case of an integer argument.
23500 * sysdeps/i386/fpu/libm-test-ulps: Update.
23501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23504 Don't expect fegetround reference in libm.so.
23506 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23508 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23509 $(config-cflags-nofma).
23511 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23513 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23514 * math/auto-libm-test-out: Regenerated.
23517 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23518 to determine exponent and adjust argument to have exponent of -1.
23519 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23521 * math/auto-libm-test-out: Regenerated.
23522 * sysdeps/i386/fpu/libm-test-ulps: Update.
23523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23525 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23527 * manual/probes.texi: Remove cases when per-thread arenas are
23530 2013-12-18 Andreas Schwab <schwab@suse.de>
23532 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23533 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23534 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23535 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23536 * sysdeps/i386/i686/multiarch/Makefile: Update.
23537 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23539 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23541 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23542 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23544 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23547 Support TZ transition times < 00:00:00.
23548 This is needed for version-3 tz-format files; it supports time
23549 stamps past 2037 for America/Godthab (the only entry in the tz
23550 database for which this change is relevant).
23551 * manual/time.texi (TZ Variable): Document transition times
23552 from -167:59:59 through -00:00:01.
23553 * time/tzset.c (tz_rule): Time of day is now signed.
23554 (__tzset_parse_tz): Parse negative time of day.
23556 Document TZ transition times >= 25:00:00.
23557 * manual/time.texi (TZ Variable): Document transition times from
23558 25:00:00 through 167:59:59. These are already supported, and this
23559 support will help with version-3 tz-format files.
23561 * manual/time.texi (TZ Variable): Modernize North America example
23562 to reflect current (i.e., 2007-and-later) daylight saving rules.
23564 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23566 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23568 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23569 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23572 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23573 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23574 * sysdeps/unix/bsd/clock.c: Likewise.
23575 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23576 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23577 * sysdeps/unix/bsd/init-posix.c: Likewise.
23578 * sysdeps/unix/bsd/poll.c: Likewise.
23579 * sysdeps/unix/bsd/ptsname.c: Likewise.
23580 * sysdeps/unix/bsd/seekdir.c: Likewise.
23581 * sysdeps/unix/bsd/setegid.c: Likewise.
23582 * sysdeps/unix/bsd/seteuid.c: Likewise.
23583 * sysdeps/unix/bsd/setgid.c: Likewise.
23584 * sysdeps/unix/bsd/setrgid.c: Likewise.
23585 * sysdeps/unix/bsd/setruid.c: Likewise.
23586 * sysdeps/unix/bsd/setsid.c: Likewise.
23587 * sysdeps/unix/bsd/setuid.c: Likewise.
23588 * sysdeps/unix/bsd/sigaction.c: Likewise.
23589 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23590 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23591 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23592 * sysdeps/unix/bsd/telldir.c: Likewise.
23593 * sysdeps/unix/bsd/times.c: Likewise.
23594 * sysdeps/unix/bsd/usleep.c: Likewise.
23596 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23597 ($(objpfx)libbsd-compat.a): Remove rule.
23599 * include/features.h (__FAVOR_BSD): Do not define.
23600 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23601 features conflicting with POSIX.
23602 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23603 (_BSD_SOURCE): Remove description of not being a subset of other
23604 feature test macros.
23605 * manual/job.texi (getpgrp): Do not document BSD version.
23606 (getpgid): Do not document by reference to BSD getpgrp.
23607 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23608 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23609 * signal/signal.h [__FAVOR_BSD]: Likewise.
23610 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23611 instead of making contents conditional on [__FAVOR_BSD].
23612 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23614 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23618 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23621 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23622 values below 2**-450, not 2**-500.
23623 * math/auto-libm-test-in: Don't allow spurious underflow from
23625 * math/auto-libm-test-out: Regenerated.
23629 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23630 values of ha and hb and sort them after adjusting subnormal
23632 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23634 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23635 values of ea and eb and sort them after adjusting subnormal
23637 * math/auto-libm-test-in: Do not expect some hypot tests of
23638 subnormals to fail. Add more hypot tests.
23639 * math/auto-libm-test-out: Regenerated.
23641 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23644 * sysdeps/sh/s_fma.c: New file.
23645 * sysdeps/sh/s_fmaf.c: New file.
23646 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23648 * sysdeps/sh/Implies: Add sh/soft-fp.
23650 2013-12-16 Roland McGrath <roland@hack.frob.com>
23652 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23653 level of indirection to members `objname', `errstring', `malloced'.
23654 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23655 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23656 it as the __longjmp argument (just pass 1 instead).
23657 (_dl_catch_error): Initialize C with argument pointers and address of
23658 volatile local ERRCODE rather than copying values out of C at return.
23660 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23662 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23663 * math/auto-libm-test-out: Regenerated.
23664 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23665 (hypot_test_data): Likewise.
23666 (pow_test_data): Likewise.
23667 (pow_tonearest_test_data): Likewise.
23668 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23670 (func_calc_desc): Add mpfr_ff_f union field.
23671 (FUNC_mpfr_ff_f): New macro.
23672 (test_functions): Add atan2, hypot and pow.
23673 (special_fill_min): New function.
23674 (special_fill_minus_min): Likewise.
23675 (special_fill_min_subnorm): Likewise.
23676 (special_fill_minus_min_subnorm): Likewise.
23677 (special_real_inputs): Add min, -min, min_subnorm and
23679 (calc_generic_results): Handle mpfr_ff_f.
23680 * sysdeps/i386/fpu/libm-test-ulps: Update.
23681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23683 2013-12-16 Will Newton <will.newton@linaro.org>
23685 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23686 (Aligned Memory Blocks): Add documentation for aligned_alloc
23687 and suggest it as an alternative to posix_memalign.
23688 (Hooks for Malloc): Document __memalign_hook is also called
23689 for aligned_alloc. (Summary of Malloc): Add summary for
23690 aligned alloc. Document __memalign_hook is also called
23693 2013-12-16 Will Newton <will.newton@linaro.org>
23695 * manual/memory.texi (Malloc Examples): Clarify default
23696 alignment documentation. Suggest posix_memalign rather
23697 than memalign or valloc.
23698 (Aligned Memory Blocks): Remove suggestion to use memalign
23699 or valloc. Remove obsolete comment about BSD.
23700 Document memalign errno values and mark the function obsolete.
23701 Document posix_memalign returned error codes. Mark valloc
23702 as obsolete. (Hooks for Malloc): __memalign_hook is also
23703 called for posix_memalign and valloc.
23704 (Summary of Malloc): Add posix_memalign to function summary.
23705 __memalign_hook is also called for posix_memalign and valloc.
23707 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23709 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23713 (sloww): Use mynumber union. Expand ternary operator into
23714 if-else statements.
23715 (cslow): use mynumber union.
23717 2013-12-16 Allan McRae <allan@archlinux.org>
23719 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23720 * configure: Regenerated.
23722 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23725 * configure.ac: Added --enable-maintainer-mode. Check for
23726 autoconf when enabled.
23727 * configure: Regenerated.
23729 * nscd/nscd.service: New file.
23730 * nscd/nscd.tmpfiles: New file.
23732 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23735 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23736 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23737 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23738 (strstr): Add __strstr_sse2_unaligned ifunc.
23739 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23740 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23741 (strcasestr): Remove __strcasestr_sse42 ifunc.
23742 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23746 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23748 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23749 * sysdeps/sh/bits/fenv.h: ... here.
23750 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23752 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23754 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23757 hypotf multiarch implementations.
23758 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23759 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23760 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23761 multiarch hypot for PPC64.
23762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23763 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23764 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23765 multiarch hypotf for PPC64.
23767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23768 modff multiarch implementations.
23769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23772 multiarch modf for PPC64.
23773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23776 multiarch modff for PPC64.
23778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23779 and logl multiarch implementations.
23780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23783 multiarch logb for PPC64.
23784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23787 multiarch logb for PPC64.
23788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23791 multiarch logb for PPC64.
23793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23794 isinff multiarch implementation.
23795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23799 multiarch isinf for PPC64.
23800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23803 multiarch isinff for PPC64.
23805 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23806 finitef multiarch implementation.
23807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23811 multiarch finite for PPC64.
23812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23815 multiarch finitef for PPC64.
23817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23818 lrint multiarch implementation.
23819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23823 multiarch llrint for PPC64.
23824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23825 multiarch lrint for PPC64.
23827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23828 copysignf multiarch implementation.
23829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23834 multiarch copysign for PPC64.
23835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23836 multiarch copysignf for PPC64.
23838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23839 multiarch implementation.
23840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23848 multiarch llround for PPC64.
23849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23850 multiarch trunc for PPC64.
23851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23852 multiarch truncf for PPC64.
23854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23855 multiarch implementation.
23856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23864 multiarch llround for PPC64.
23865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23866 multiarch round for PPC64.
23867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23868 multiarch roundf for PPC64.
23870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23871 multiarch implementation.
23872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23880 multiarch llround for PPC64.
23881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23882 multiarch floor for PPC64.
23883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23884 multiarch floorf for PPC64.
23886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23887 multiarch implementation.
23888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23896 multiarch llround for PPC64.
23897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23898 multiarch ceil for PPC64.
23899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23900 multiarch ceilf for PPC64.
23902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23903 multiarch implementation.
23904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23911 multiarch llround for PPC64.
23912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23913 multiarch lround for PPC64.
23915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23916 multiarch implementation.
23917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23924 multiarch isnan for PPC64.
23925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23926 multiarch isnanf for PPC64.
23928 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23929 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23930 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23931 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23932 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23935 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23936 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23941 multiarch implementations.
23942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23943 (__libc_ifunc_impl_list): Likewise.
23944 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23945 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23946 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23947 multiarch stpcpy for PPC64.
23949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23950 multiarch implementations.
23951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23952 (__libc_ifunc_impl_list): Likewise.
23953 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23954 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23955 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23956 multiarch strcpy for PPC64.
23958 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23959 redefine function name.
23960 (_wordcopy_fwd_dest_aligned): Likewise.
23961 (_wordcopy_bwd_aligned): Likewise.
23962 (_wordcopy_bwd_dest_aligned): Likewise.
23963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23964 multiarch implementations.
23965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23966 (__libc_ifunc_impl_list): Likewise.
23967 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23968 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23969 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23970 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23971 multiarch wcscpy for PPC64.
23973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23974 multiarch implementations.
23975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23976 (__libc_ifunc_impl_list): Likewise.
23977 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23978 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23979 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23980 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23981 multiarch wcscpy for PPC64.
23983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23984 multiarch implementations.
23985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23986 (__libc_ifunc_impl_list): Likewise.
23987 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23988 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23989 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23990 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23991 multiarch wcsrchr for PPC64.
23993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23994 multiarch implementations.
23995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23996 (__libc_ifunc_impl_list): Likewise.
23997 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23998 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23999 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24000 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24001 multiarch wcschr for PPC64.
24003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24004 multiarch implementations.
24005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24006 (__libc_ifunc_impl_list): Likewise.
24007 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24008 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24009 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24010 multiarch strchrnul for PPC64.
24012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24015 (__libc_ifunc_impl_list): Likewise.
24016 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24017 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24018 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24019 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24025 (__libc_ifunc_impl_list): Likewise.
24026 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24027 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24028 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24029 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24033 multiarch implementations.
24034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24035 (__libc_ifunc_impl_list): Likewise.
24036 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24037 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24038 strncasecmp for PPC64.
24039 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24040 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24041 multiarch strncasecmp_l for PPC64.
24043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24044 multiarch implementations.
24045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24046 (__libc_ifunc_impl_list): Likewise.
24047 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24048 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24049 multiarch strcasecmp for PPC64.
24050 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24052 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24053 multiarch strcasecmp_l for PPC64.
24055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24058 (__libc_ifunc_impl_list): Likewise.
24059 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24060 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24061 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24067 (__libc_ifunc_impl_list): Likewise.
24068 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24069 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24070 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24076 (__libc_ifunc_impl_list): Likewise.
24077 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24078 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24079 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24080 rawmemrchr for PPC64.
24082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24085 (__libc_ifunc_impl_list): Likewise.
24086 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24087 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24088 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24094 (__libc_ifunc_impl_list): Likewise.
24095 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24096 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24097 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24103 (__libc_ifunc_impl_list): Likewise.
24104 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24105 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24106 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24109 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24110 avoid cretion of __bzero symbol.
24111 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24113 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24115 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24118 multiarch implementations.
24119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24120 (__libc_ifunc_impl_list): Likewise.
24121 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24122 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24123 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24124 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24126 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24127 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24128 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24129 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24130 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24132 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24134 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24138 (__libc_ifunc_impl_list): Likewise.
24139 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24140 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24141 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24142 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24146 multiarch for POWER/PPC64.
24147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24148 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24155 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24158 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24159 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24160 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24161 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24162 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24163 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24164 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24165 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24166 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24167 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24168 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24169 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24170 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24171 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24172 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24181 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24183 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24185 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24187 * benchtests/Makefile (bench): Add exp2 and log2.
24188 (LDLIBS-bench-exp2): Add -lm.
24189 (LDLIBS-bench-log2): Likewise.
24190 * benchtests/exp2-inputs: New inputs file.
24191 * benchtests/log2-inputs: New inputs file.
24192 * benchtests/log-inputs: Add new inputs.
24193 * benchtests/tan-inputs: Likewise.
24195 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24197 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24199 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24200 (csloww2): ... from here.
24202 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24203 instead of structures.
24204 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24205 (POLYNOMIAL): Likewise.
24206 (TAYLOR_SLOW): Likewise.
24212 (sloww1); Likewise.
24213 (sloww2): Likewise.
24214 (bsloww1): Likewise.
24215 (bsloww2): Likewise.
24216 (cslow2): Likewise.
24217 (csloww): Likewise.
24218 (csloww1): Likewise.
24219 (csloww2): Likewise.
24221 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24223 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24224 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24225 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24226 * malloc/hooks.c (realloc_check): Likewise.
24228 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24229 * malloc/arena.c: Remove PER_THREAD conditional.
24230 [!PER_THREAD]: Remove code.
24231 (ptmalloc_unlock_all2): Likewise.
24232 (ptmalloc_init): Likewise.
24233 (_int_new_arena): Likewise.
24234 (arena_get2): Likewise.
24235 * malloc/hooks.c (__malloc_get_state): Likewise.
24236 (__malloc_set_state): Likewise.
24237 * malloc/malloc.c: Likewise.
24238 (struct malloc_state): Likewise.
24239 (struct malloc_par): Likewise.
24240 (__libc_realloc): Likewise.
24241 (__libc_mallopt): Likewise.
24243 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24245 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24247 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24249 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24250 macro to a function. Check for zero perturb_byte.
24251 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24253 * malloc/malloc.c: (force_reg): Remove.
24254 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24255 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24256 force_reg by atomic_forced_read.
24257 * malloc/arena.c (ptmalloc_init): Likewise.
24258 * malloc/hooks.c (top_check): Likewise.
24260 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24264 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24268 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24270 * math/auto-libm-test-in: Add tests of lgamma.
24271 * math/auto-libm-test-out: Regenerated.
24272 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24273 (M_LOG_2_SQRT_PIl): Likewise.
24274 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24275 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24277 (func_calc_desc): Add mpfr_f_f1 union field.
24278 (ARGS1): New macro.
24286 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24287 (test_functions): Add lgamma.
24288 (calc_generic_results): Handle mpfr_f_f1.
24289 * sysdeps/i386/fpu/libm-test-ulps: Update.
24290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24292 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24294 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24295 __mpn_add_n for PowerPC64/POWER7.
24296 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24297 __mpn_sub_n for PowerPC64/POWER7.
24299 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24300 __mpn_addmul_1 for PowerPC64.
24301 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24302 __mpn_submul_1 for PowerPC64.
24303 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24305 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24308 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24311 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24313 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24315 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24317 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24318 add multiarch folders.
24319 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24320 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24321 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24322 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24323 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24324 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24325 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24326 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24327 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24328 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24329 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24338 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24344 multiarch __ieee754_hypot for PowerPC32.
24345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24350 multiarch __ieee754_hypotf for PowerPC32.
24352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24353 long_double_symbol only if __logbl is defined.
24354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24355 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24356 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24357 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24359 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24361 path for implementation.
24362 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24365 logb, and logbl multiarch implementations for PowerPC32.
24366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24371 multiarch logb for PowerPC32.
24372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24377 multiarch logbf for PowerPC32.
24378 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24382 multiarch logbl implementation for PowerPC32.
24384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24385 and modff multiarch implementations.
24386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24391 multiarch modf for PowerPC32.
24392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24397 multiarch modff for PowerPC32.
24399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24400 and lrintf multiarch implementations.
24401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24406 multiarch lrint for PowerPC32.
24407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24408 file: multiarch lrintf for PowerPC32.
24410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24411 and lroundf multiarch implementations.
24412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24419 multiarch lround for PowerPC32.
24420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24421 file: multiarch lroundf for PowerPC32.
24423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24424 copysign and copysignf multiarch implementations.
24425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24430 file: multiarch copysign for PowerPC32.
24431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24432 file: multiarch copysignf for PowerPC32.
24434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24435 and truncf multiarch implementations.
24436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24441 multiarch trunc for PowerPC32.
24442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24447 multiarch truncf for PowerPC32.
24449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24450 and roundf multiarch implementations.
24451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24456 multiarch round for PowerPC32.
24457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24462 multiarch roundf for PowerPC32.
24464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24465 and floorf multiarch implementations.
24466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24471 multiarch floor for PowerPC32.
24472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24477 multiarch floorf for PowerPC32.
24479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24480 and ceilf multiarch implementations.
24481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24486 multiarch ceil for PowerPC32.
24487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24492 multiarch ceilf for PowerPC32.
24494 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24496 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24497 FINITEF is defined.
24498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24499 and finitef multiarch implementations.
24500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24505 multiarch finite for PowerPC32.
24506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24509 file: multiarch finitef for PowerPC32.
24511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24512 and isinff multiarch implementations.
24513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24518 multiarch isinf for PowerPC32.
24519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24522 multiarch isinff for PowerPC32.
24524 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24525 alias when __isnan is defined.
24526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24527 and isnanf multiarch implementations.
24528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24537 multiarch isnan for PowerPC32.
24538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24543 multiarch isnanf for PowerPC32.
24545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24546 and sqrtf multiarch implementations.
24547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24552 multiarch sqrt for PowerPC32.
24553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24558 multiarch sqrtf for PowerPC32.
24560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24561 and llroundf multiarch implementations.
24562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24569 file: multiarch llround for PowerPC32.
24570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24571 file: multiarch llroundf for PowerPC32.
24573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24574 multiarch PowerPC32 fpu implementations.
24575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24580 multiarch llrint for PowerPC32.
24581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24590 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24592 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24594 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24596 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24597 multiarch wordcopy for PPC32.
24598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24601 (__libc_ifunc_impl_list): Likewise.
24602 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24603 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24604 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24605 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24606 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24607 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24609 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24617 multiarch wcscpy for PPC32.
24618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24621 (__libc_ifunc_impl_list): Likewise.
24622 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24623 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24624 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24625 sysdeps/powerpc/power6/wcscpy.c.
24627 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24635 multiarch wcsrchr for PPC32.
24636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24639 (__libc_ifunc_impl_list): Likewise.
24640 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24641 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24642 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24643 sysdeps/powerpc/power6/wcsrchr.c.
24645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24651 multiarch wcschr for PPc32.
24652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24655 (__libc_ifunc_impl_list): Likewise.
24656 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24657 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24658 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24659 sysdeps/powerpc/power6/wcschr.c.
24661 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24662 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24664 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24665 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24666 file: multiarch strchr for PPC32.
24667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24670 (__libc_ifunc_impl_list): Likewise.
24672 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24674 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24676 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24678 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24679 multiarch strchrnul for PPC32.
24680 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24683 (__libc_ifunc_impl_list): Likewise.
24685 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24687 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24688 multiarch strncasecmp for PPC32.
24689 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24691 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24692 multiarch strncasecmp_l for PPC32.
24693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24694 strncasecmp multiarch objects.
24695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24696 (__libc_ifunc_impl_list): Likewise.
24698 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24700 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24701 multiarch strncasecmp for PPC32.
24702 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24704 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24705 multiarch strcasecmp_l for PPC32.
24706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24708 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24709 (__libc_ifunc_impl_list): Likewise.
24711 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24713 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24715 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24716 multiarch strncmp for PPC32.
24717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24720 (__libc_ifunc_impl_list): Likewise.
24722 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24723 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24725 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24726 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24727 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24730 (__libc_ifunc_impl_list): Likewise.
24732 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24734 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24736 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24740 (__libc_ifunc_impl_list): Likewise.
24742 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24744 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24746 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24747 multiarch rawmemchr for PPC32.
24748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24751 (__libc_ifunc_impl_list): Likewise.
24753 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24755 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24757 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24758 file: memrchr multiarch for PPC32.
24759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24762 (__libc_ifunc_impl_list): Likewise.
24764 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24765 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24767 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24768 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24769 multiarch memchr for PPC32.
24770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24773 (__libc_ifunc_impl_list): Likewise.
24775 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24776 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24778 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24780 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24781 file: multiarch mempcpy for PPC32.
24782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24785 (__libc_ifunc_impl_list): Likewise.
24787 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24788 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24789 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24791 multiarch bzero for PPC32.
24792 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24794 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24796 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24797 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24798 file: multiarch memset for PPC32.
24799 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24801 memset multiarch objects.
24802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24803 (__libc_ifunc_impl_list): Likewise.
24805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24810 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24814 (__libc_ifunc_impl_list): Likewise.
24816 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24817 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24818 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24820 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24822 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24824 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24825 multiarch memcpy for PPC32.
24826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24828 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24829 (__libc_ifunc_impl_list): Likewise.
24831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24832 support multiarch for POWER/PPC32.
24833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24835 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24837 Implies file to make multiarch folder appers before the fpu and
24838 default folder for power4 configuration.
24840 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24842 * scripts/bench.pl: Append volatile keyword to type.
24844 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24846 * sysdeps/sh/sotruss-lib.c: New file.
24847 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24849 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24853 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24856 * math/w_tgamma.c: Include <errno.h>.
24857 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24858 * math/w_tgammaf.c: Include <errno.h>.
24859 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24860 * math/w_tgammal.c: Include <errno.h>.
24861 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24862 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24863 underflow. Add more tgamma tests.
24864 * math/auto-libm-test-out: Regenerated.
24865 * sysdeps/i386/fpu/libm-test-ulps: Update.
24866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24868 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24869 sin, sinh, tan, tanh, tgamma, y0 and y1.
24870 * math/auto-libm-test-out: Regenerated.
24871 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24872 (TEST_COND_x86): Likewise.
24873 (M_E2l): Remove macro.
24875 (M_2_SQRT_PIl): Likewise.
24876 (M_SQRT_PIl): Likewise.
24877 (M_1_DIV_El): Likewise.
24878 (log_test_data): Use AUTO_TESTS_f_f.
24879 (log10_test_data): Likewise.
24880 (log1p_test_data): Likewise.
24881 (log2_test_data): Likewise.
24882 (sin_test_data): Likewise.
24883 (sin_tonearest_test_data): Likewise.
24884 (sin_towardzero_test_data): Likewise.
24885 (sin_downward_test_data): Likewise.
24886 (sin_upward_test_data): Likewise.
24887 (sinh_test_data): Likewise.
24888 (sinh_tonearest_test_data): Likewise.
24889 (sinh_towardzero_test_data): Likewise.
24890 (sinh_downward_test_data): Likewise.
24891 (sinh_upward_test_data): Likewise.
24892 (tan_test_data): Likewise.
24893 (tan_tonearest_test_data): Likewise.
24894 (tan_towardzero_test_data): Likewise.
24895 (tan_downward_test_data): Likewise.
24896 (tan_upward_test_data): Likewise.
24897 (tanh_test_data): Likewise.
24898 (tgamma_test_data): Likewise.
24899 (y0_test_data): Likewise.
24900 (y1_test_data): Likewise.
24901 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24902 (special_real_inputs): Add pi/4.
24903 * sysdeps/i386/fpu/libm-test-ulps: Update.
24904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24906 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24908 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24909 "longjmp_target" static probes.
24910 (__longjmp): Rename to __longjmp_symbol.
24911 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24912 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24913 on which longjmp to generate.
24914 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24915 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24917 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24918 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24919 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24920 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24921 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24922 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24924 __longjmp_symbol based on which __longjmp to generate.
24925 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24927 (setjmp): Rename to setjmp_symbol.
24928 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24929 (_setjmp): Rename to _setjmp_symbol.
24930 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24931 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24932 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24933 which setjmp to generate.
24934 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24935 "longjmp_target" static probes.
24937 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24939 * benchtests/README: Add note about output arguments.
24940 * benchtests/bench-sincos.c: Remove file.
24941 * benchtests/sincos-inputs: New file.
24942 * scripts/bench.pl: Identify output arguments and define
24943 static variables for them.
24945 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24948 * Makefile (INSTALL): Add install-plain.texi as the primary
24950 * manual/install-plain.texi: New file.
24951 * manual/install.texi: Include node directive only for
24952 non-plaintext output.
24954 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24956 * stdlib/longlong.h: Update from GCC.
24960 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24961 * math/w_j0f.c (y0f): Likewise.
24962 * math/w_j0l.c (__y0l): Likewise.
24963 * math/w_j1.c (y1): Likewise.
24964 * math/w_j1f.c (y1f): Likewise.
24965 * math/w_j1l.c (__y1l): Likewise
24966 * math/w_jn.c (yn): Likewise.
24967 * math/w_jnf.c (ynf): Likewise.
24968 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24969 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24970 value for Bessel function domain errors outside _SVID_ mode.
24971 Adjust sign of return value for yn (negative integer, 0).
24972 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24973 by zero in return for negative x and set sign appropriately for
24975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24977 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24978 expectations in error cases.
24979 (y1_test_data): Likewise.
24980 (yn_test_data): Likewise.
24981 * sysdeps/i386/fpu/libm-test-ulps: Update.
24982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24984 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24986 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24987 "64" to "64-v1". Add "64-v2".
24988 (abi-64-options): Rename to ...
24989 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24990 (abi-64-condition): Rename to ...
24991 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24992 (abi-64-ld-soname): Rename to ...
24993 (abi-64-v1-ld-soname): ... this.
24994 (abi-64-v2-options): Define.
24995 (abi-64-v2-condition): Likewise.
24996 (abi-64-v2-ld-soname): Likewise.
24997 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24998 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25003 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25004 Alan Modra <amodra@gmail.com>
25006 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25007 New versions for use with the ELFv2 ABI.
25008 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25009 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25011 (struct La_ppc64v2_retval): Likewise.
25012 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25013 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25014 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25015 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25016 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25017 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25018 Do not save or restore CR.
25019 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25020 (_dl_profile_resolve): Do no save or restore CR. Support extended
25021 return values for ELFv2 ABI. Fix location of FPR return registers.
25022 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25023 updated values for _CALL_ELF == 2.
25024 (La_regs, La_retval, int_retval): Likewise.
25026 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25028 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25029 (FRAME_MIN_SIZE_PARM): Likewise.
25030 (FRAME_BACKCHAIN): Likewise.
25031 (FRAME_CR_SAVE): Likewise.
25032 (FRAME_LR_SAVE): Likewise.
25033 (FRAME_TOC_SAVE): Likewise.
25034 (FRAME_PARM_SAVE): Likewise.
25035 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25036 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25037 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25038 (call_mcount_parm_offset): New macro.
25039 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25040 (PROF): Use symbolic stack frame offsets.
25041 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25042 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25043 Redefine in terms of FRAME_MIN_SIZE.
25044 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25045 (_dl_profile_resolve): Likewise. Update comment.
25046 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25047 symbols stack frame offsets.
25048 (__sigsetjmp): Likewise.
25049 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25050 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25051 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25052 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25055 (FRAME_BACKCHAIN): Remove.
25056 (FRAME_CR_SAVE): Likewise.
25057 (FRAME_LR_SAVE): Likewise.
25058 (FRAME_COMPILER_DW): Likewise.
25059 (FRAME_LINKER_DW): Likewise.
25060 (FRAME_TOC_SAVE): Likewise.
25061 (FRAME_PARM_SAVE): Likewise.
25062 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25063 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25064 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25066 (CHECK_SP): Use symbolic stack frame offsets.
25067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25068 zone" instead of caller's parameter save area for temp storage.
25069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25070 Likewise. Also, use symbolic stack frame offsets.
25071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25072 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25073 our own stack frame instead of the caller's.
25074 (__socket): Use symbolic stack frame offsets.
25076 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25077 Alan Modra <amodra@gmail.com>
25079 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25081 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25082 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25083 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25085 (elf_machine_fixup_plt): Call it.
25086 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25088 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25089 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25090 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25091 r2 before calling target.
25093 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25094 Alan Modra <amodra@gmail.com>
25096 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25097 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25098 versions of macros to support ELFv2 ABI.
25099 (LOCALENTRY): New macro.
25100 (ENTRY, EALIGN): Use it.
25101 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25102 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25103 fall through into ENTRY entry point.
25104 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25105 Only define if _CALL_ELF != 2.
25107 (elf_machine_matches_host): Verify ABI version matches.
25108 (RTLD_START): Use LOCALENTRY.
25109 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25110 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25111 (PLT_ENTRY_WORDS): New macro.
25112 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25113 (elf_machine_runtime_setup): Support ELFv2 ABI.
25114 (elf_machine_fixup_plt): Likewise.
25115 (elf_machine_plt_conflict): Likewise.
25116 (resolve_ifunc): Likewise.
25117 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25118 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25121 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25123 (makecontext): Support ELFv2 ABI.
25124 * elf/elf.h (EF_PPC64_ABI): Define.
25126 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25128 * sysdeps/powerpc/powerpc64/sysdep.h
25129 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25130 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25131 (ENTRY) [ASSEMBLER]: ... but instead here ...
25132 (EALIGN) [ASSEMBLER]: ... and here.
25133 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25134 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25135 (ENTRY_2) [!ASSEMBLER]: Use it.
25136 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25137 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25138 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25139 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25140 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25142 Use PPC64_LOAD_FUNCPTR.
25144 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25146 2013-12-04 Alan Modra <amodra@gmail.com>
25148 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25149 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25150 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25151 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25154 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25155 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25156 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25157 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25158 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25160 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25163 (__makecontext): Fix incorrect CFI when backtracing out of
25164 context created via makecontext.
25165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25166 (__setcontext): Fix incorrect CFI during switch to new context.
25167 (__novec_setcontext): Likewise.
25169 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25172 * time/strptime_l.c (__strptime_internal): Allow modifiers
25174 * time/tst-strptime.c (day_tests): Add testcase.
25176 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25178 * scripts/bench.pl: Skip over blank lines.
25180 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25183 * manual/time.texi (Calendar Time): Clarify what timezone functions
25186 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25190 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25192 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25194 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25195 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25196 * debug/memset_chk.c (__memset_chk): Likewise.
25197 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25198 * debug/strncpy_chk.c: Likewise.
25200 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25204 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25205 (__ieee754_exp): For possibly underflowing results, check size of
25206 result and force underflow exception if required.
25207 * math/auto-libm-test-in: Add more tests of exp.
25208 * math/auto-libm-test-out: Regenerated.
25209 * sysdeps/i386/fpu/libm-test-ulps: Update.
25210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25213 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25214 * math/w_exp2f.c (__exp2f): Likewise.
25215 * math/w_exp2l.c (__exp2l): Likewise.
25216 * math/auto-libm-test-in: Do not allow missing errno on exp2
25218 * math/auto-libm-test-out: Regenerated.
25220 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25223 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25224 handle filename validation.
25225 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25228 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25231 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25232 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25233 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25235 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25236 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25237 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25239 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25240 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25241 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25242 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25243 Add more erfc tests.
25244 * math/auto-libm-test-out: Regenerated.
25245 * sysdeps/i386/fpu/libm-test-ulps: Update.
25246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25248 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25249 exp2, expm1, j0 and j1.
25250 * math/auto-libm-test-out: Regenerated.
25251 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25252 (erfc_test_data): Likewise.
25253 (exp_test_data): Likewise.
25254 (exp_tonearest_test_data): Likewise.
25255 (exp_towardzero_test_data): Likewise.
25256 (exp_downward_test_data): Likewise.
25257 (exp_upward_test_data): Likewise.
25258 (exp10_test_data): Likewise.
25259 (exp2_test_data): Likewise.
25260 (expm1_test_data): Likewise.
25261 (j0_test_data): Likewise.
25262 (j1_test_data): Likewise.
25263 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25264 (input_flag_type): Add flag_xfail_rounding.
25265 (input_flags): Add xfail-rounding.
25266 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25267 (output_for_one_input_case): Handle flag_xfail_rounding.
25268 * sysdeps/i386/fpu/libm-test-ulps: Update.
25269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25271 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25274 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25277 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25280 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25281 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25282 (STAP_PROBE0): New macro.
25283 (STAP_PROBE1): Likewise.
25284 (STAP_PROBE2): Likewise.
25285 (STAP_PROBE3): Likewise.
25286 (STAP_PROBE4): Likewise.
25288 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25290 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25292 2013-12-02 Steve Ellcey <sellcey@mips.com>
25294 * benchtests/Makefile (bench): Add sqrt.
25295 (LDLIBS-bench-sqrt): New.
25296 * benchtests/sqrt-input: New.
25298 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25300 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25301 (GAIH_EAI): Likewise.
25302 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25303 (gaih_inet): Likewise.
25304 (getaddrinfo): Don't use GAIH_EAI.
25306 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25307 (struct gaih): Remove definition.
25309 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25311 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25312 Use HERRNOP directly.
25314 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25318 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25320 * math/gen-auto-libm-tests.c (test_functions): Add more
25321 single-argument functions.
25322 (special_fill_pi_2): New function.
25323 (special_fill_minus_pi_2): Likewise.
25324 (special_fill_pi_6): Likewise.
25325 (special_fill_minus_pi_6): Likewise.
25326 (special_fill_pi_3): Likewise.
25327 (special_fill_2pi_3): Likewise.
25328 (special_fill_e): Likewise.
25329 (special_fill_1_e): Likewise.
25330 (special_fill_e_minus_1): Likewise.
25331 (special_real_inputs): Add more special inputs.
25332 (output_for_one_input_case): Do not require ERANGE on underflow to
25333 zero if round-to-nearest result does not underflow to zero, unless
25334 exact results required.
25335 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25336 atan, atanh, cbrt, cos and cosh.
25337 * math/auto-libm-test-out: Regenerated.
25338 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25339 (acos_tonearest_test_data): Likewise.
25340 (acos_towardzero_test_data): Likewise.
25341 (acos_downward_test_data): Likewise.
25342 (acos_upward_test_data): Likewise.
25343 (acosh_test_data): Likewise.
25344 (asin_test_data): Likewise.
25345 (asin_tonearest_test_data): Likewise.
25346 (asin_towardzero_test_data): Likewise.
25347 (asin_upward_test_data): Likewise.
25348 (asinh_test_data): Likewise.
25349 (atan_test_data): Likewise.
25350 (atanh_test_data): Likewise.
25351 (cbrt_test_data): Likewise.
25352 (cos_test_data): Likewise.
25353 (cos_tonearest_test_data): Likewise.
25354 (cos_towardzero_test_data): Likewise.
25355 (cos_downward_test_data): Likewise.
25356 (cos_upward_test_data): Likewise.
25357 (cosh_test_data): Likewise.
25358 (cosh_tonearest_test_data): Likewise.
25359 (cosh_towardzero_test_data): Likewise.
25360 (cosh_downward_test_data): Likewise.
25361 (cosh_upward_test_data): Likewise.
25362 * sysdeps/i386/fpu/libm-test-ulps: Update.
25363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25365 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25368 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25369 * math/w_exp10f.c (__exp10f): Likewise.
25370 * math/w_exp10l.c (__exp10l): Likewise.
25371 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25372 errno settings in existing tests.
25375 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25376 precision control set to double precision.
25377 * sysdeps/i386/fpu/w_sqrt.c: New file.
25378 * math/auto-libm-test-in: Add more tests.
25379 * math/auto-libm-test-out: Update.
25381 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25382 (sqrt_test_tonearest): New function.
25383 (sqrt_towardzero_test_data): New variable.
25384 (sqrt_test_towardzero): New function.
25385 (sqrt_downward_test_data): New variable.
25386 (sqrt_test_downward): New function.
25387 (sqrt_upward_test_data): New variable.
25388 (sqrt_test_upward): New function.
25389 (main): Call the new functions.
25391 * math/gen-auto-libm-tests.c: New file.
25392 * math/auto-libm-test-in: Likewise.
25393 * math/auto-libm-test-out: New generated file.
25394 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25396 (%beautify): Add generated representations of zero.
25397 (top level): Set $auto_input and call parse_auto_input.
25398 (beautify): Remove trailing "f" from hex float constants.
25399 (parse_args): Handle XFAIL_TEST.
25400 (convert_condition): New function.
25401 (or_value): Likewise.
25402 (or_cond_value): Likewise.
25403 (generate_testfile): Handle AUTO_TESTS_* lines.
25404 (parse_auto_input): New function.
25405 * math/libm-test.inc (XFAIL_TEST): New macro.
25406 (ERRNO_UNCHANGED): Update value.
25407 (ERRNO_EDOM): Likewise.
25408 (ERRNO_ERANGE): Likewise.
25409 (IGNORE_RESULT): Likewise.
25410 (TEST_COND_flt_32): New macro.
25411 (TEST_COND_dbl_64): Likewise.
25412 (TEST_COND_ldbl_96_intel): Likewise.
25413 (TEST_COND_ldbl_96_m68k): Likewise.
25414 (TEST_COND_ldbl_128): Likewise.
25415 (TEST_COND_ldbl_128ibm): Likewise.
25416 (TEST_COND_long32): Likewise.
25417 (TEST_COND_long64): Likewise.
25418 (TEST_COND_before_rounding): Likewise.
25419 (TEST_COND_after_rounding): Likewise.
25420 (enable_test): Handle XFAIL_TEST flag.
25421 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25422 with finite results.
25423 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25424 auto-libm-test-out.
25426 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25427 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25430 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25431 __tls_get_addr_internal instead of __tls_get_offset in order to
25432 avoid GOT pointer dependency. Make rtld export
25433 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25434 __tls_get_addr since we are a __tls_get_offset platform.
25435 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25436 GOT pointer being set up before.
25437 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25439 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25441 * manual/math.texi (Errors in Math Functions): Document accuracy
25445 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25446 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25449 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25451 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25456 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25462 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25463 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25464 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25465 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25466 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25468 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25470 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25472 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25473 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25474 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25475 atomic-feupdateenv and flt-rounds.
25476 * sysdeps/powerpc/nofpu/Versions (libc): Add
25477 __atomic_feholdexcept, __atomic_feclearexcept,
25478 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25479 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25480 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25481 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25482 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25487 * manual/arith.texi (FP Exceptions): Document that exceptions may
25488 not be raised when matherr is used.
25489 (Math Error Reporting): Document overflow in directed rounding
25490 modes. Document that errno may not be set when finite values are
25491 returned on overflow. Document intent to set errno on underflow
25492 only for underflow to zero.
25495 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25496 round-to-nearest then adjust result for other rounding modes.
25497 * include/fenv.h (fegetround): Use libm_hidden_proto.
25498 * math/fegetround.c (fegetround): Use libm_hidden_def.
25499 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25500 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25501 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25502 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25504 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25505 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25506 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25507 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25509 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25512 * nss/Versions (libnss_files): Add
25513 _nss_files_gethostbyname3_r.
25514 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25516 (HOST_DB_LOOKUP): Remove macro.
25517 (_nss_files_gethostbyname_r): Implement function without the
25518 HOST_DB_LOOKUP macro.
25519 (_nss_files_gethostbyname2_r): Likewise.
25521 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25523 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25525 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25527 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25528 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25531 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25533 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25534 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25535 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25536 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25537 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25538 __fe_nomask_env_priv and attribute_hidden.
25539 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25540 (libc_feupdateenv_test_ppc): Likewise.
25541 (libc_feresetround_ppc): Likewise.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25543 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25544 compat_symbol macro.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25546 (__fe_nomask_env): Likewise.
25547 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25549 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25551 * string/Makefile: Remove ifunc tests.
25552 * string/test-string.h: Define TEST_IFUNC.
25553 * string/test-bcopy-ifunc.c: Remove.
25554 * string/test-bzero-ifunc.c: Likewise.
25555 * string/test-memccpy-ifunc.c: Likewise.
25556 * string/test-memchr-ifunc.c: Likewise.
25557 * string/test-memcmp-ifunc.c: Likewise.
25558 * string/test-memcpy-ifunc.c: Likewise.
25559 * string/test-memmem-ifunc.c: Likewise.
25560 * string/test-memmove-ifunc.c: Likewise.
25561 * string/test-mempcpy-ifunc.c: Likewise.
25562 * string/test-memrchr-ifunc.c: Likewise.
25563 * string/test-memset-ifunc.c: Likewise.
25564 * string/test-rawmemchr-ifunc.c: Likewise.
25565 * string/test-stpcpy-ifunc.c: Likewise.
25566 * string/test-stpncpy-ifunc.c: Likewise.
25567 * string/test-strcasecmp-ifunc.c: Likewise.
25568 * string/test-strcasestr-ifunc.c: Likewise.
25569 * string/test-strcat-ifunc.c: Likewise.
25570 * string/test-strchr-ifunc.c: Likewise.
25571 * string/test-strchrnul-ifunc.c: Likewise.
25572 * string/test-strcmp-ifunc.c: Likewise.
25573 * string/test-strcpy-ifunc.c: Likewise.
25574 * string/test-strcspn-ifunc.c: Likewise.
25575 * string/test-strlen-ifunc.c: Likewise.
25576 * string/test-strncasecmp-ifunc.c: Likewise.
25577 * string/test-strncat-ifunc.c: Likewise.
25578 * string/test-strncmp-ifunc.c: Likewise.
25579 * string/test-strncpy-ifunc.c: Likewise.
25580 * string/test-strnlen-ifunc.c: Likewise.
25581 * string/test-strpbrk-ifunc.c: Likewise.
25582 * string/test-strrchr-ifunc.c: Likewise.
25583 * string/test-strspn-ifunc.c: Likewise.
25584 * string/test-strstr-ifunc.c: Likewise.
25586 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25588 * benchtests/Makefile: Remove ifunc tests.
25589 * benchtests/bench-string.h: Define TEST_IFUNC.
25590 * benchtests/bench-bcopy-ifunc.c: Remove.
25591 * benchtests/bench-bzero-ifunc.c: Likewise.
25592 * benchtests/bench-memccpy-ifunc.c: Likewise.
25593 * benchtests/bench-memchr-ifunc.c: Likewise.
25594 * benchtests/bench-memcmp-ifunc.c: Likewise.
25595 * benchtests/bench-memcpy-ifunc.c: Likewise.
25596 * benchtests/bench-memmem-ifunc.c: Likewise.
25597 * benchtests/bench-memmove-ifunc.c: Likewise.
25598 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25599 * benchtests/bench-memrchr-ifunc.c: Likewise.
25600 * benchtests/bench-memset-ifunc.c: Likewise.
25601 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25602 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25603 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25604 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25605 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25606 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25607 * benchtests/bench-strcat-ifunc.c: Likewise.
25608 * benchtests/bench-strchr-ifunc.c: Likewise.
25609 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25610 * benchtests/bench-strcmp-ifunc.c: Likewise.
25611 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25612 * benchtests/bench-strcpy-ifunc.c: Likewise.
25613 * benchtests/bench-strcspn-ifunc.c: Likewise.
25614 * benchtests/bench-strlen-ifunc.c: Likewise.
25615 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25616 * benchtests/bench-strncat-ifunc.c: Likewise.
25617 * benchtests/bench-strncmp-ifunc.c: Likewise.
25618 * benchtests/bench-strncpy-ifunc.c: Likewise.
25619 * benchtests/bench-strnlen-ifunc.c: Likewise.
25620 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25621 * benchtests/bench-strrchr-ifunc.c: Likewise.
25622 * benchtests/bench-strsep-ifunc.c: Likewise.
25623 * benchtests/bench-strspn-ifunc.c: Likewise.
25624 * benchtests/bench-strstr-ifunc.c: Likewise.
25626 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25628 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25630 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25632 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25633 * rt/aio.h: Likewise.
25634 * sysdeps/gnu/bits/utmp.h: Likewise.
25635 * sysdeps/gnu/bits/utmpx.h: Likewise.
25636 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25637 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25638 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25639 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25640 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25641 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25642 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25643 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25644 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25645 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25646 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25647 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25648 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25650 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25651 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25652 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25653 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25654 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25655 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25656 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25657 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25658 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25659 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25660 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25662 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25663 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25664 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25665 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25666 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25667 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25668 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25669 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25670 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25671 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25672 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25673 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25674 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25675 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25676 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25677 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25679 2013-11-25 Carlos O'Donell <carlos@redhat.com>
25682 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25683 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25685 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25687 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25688 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25691 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25694 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25695 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25696 (__fesetround): Remove define.
25697 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25698 rounding and exceptions handling.
25699 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25700 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25701 (__fe_nomask_env): Likewise.
25702 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25703 __fegetround instead of fegetround.
25704 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25705 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25707 2013-11-21 Roland McGrath <roland@hack.frob.com>
25709 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25712 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25714 2013-11-21 Meador Inge <meadori@codesourcery.com>
25717 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25718 (encrypt_r): Likewise.
25719 * malloc/obstack.h (obstack_free): Likewise.
25720 * posix/unistd.h (encrypt): Likewise.
25722 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25724 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25725 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25726 DL_CALL_DT_FINI() that call the functions directly.
25727 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25728 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25729 * elf/dl-fini.c: Likewise.
25731 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25733 * malloc/hooks.c (memalign_check): Add alignment rounding.
25734 * malloc/malloc.c (_mid_memalign): New function.
25735 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25736 Implement by calling _mid_memalign.
25737 * manual/probes.texi (Memory Allocation Probes): Remove
25738 memory_valloc_retry and memory_pvalloc_retry.
25740 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25742 * locale/programs/locarchive.c (open_archive): Add const
25743 qualifier to ARCHIVEFNAME and copy default fname to
25747 * libio/tst-widetext.input: Rename Oriya to Odia.
25748 * locale/iso-639.def: Likewise.
25750 * manual/probes.texi (Mathematical Function Probes): Add
25751 documentation for sin, cos, asin and acos probes.
25752 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25753 (__sin32): Add slowasin probe.
25754 (__cos32): Add slowacos probe.
25755 (__mpsin): Add slowsin probe.
25756 (__mpcos): Add slowcos probe.
25758 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25761 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25762 thread-local __sim_exceptions_thread and global
25763 __sim_exceptions_global.
25764 (__sim_disabled_exceptions): Change to thread-local
25765 __sim_disabled_exceptions_thread and global
25766 __sim_disabled_exceptions_global.
25767 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25768 and global __sim_round_mode_global.
25769 (__simulate_exceptions): Use thread-local floating-point state and
25770 set global state from it as needed.
25771 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25772 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25773 __sim_round_mode_thread.
25774 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25775 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25776 and global __sim_exceptions_global.
25777 (__sim_disabled_exceptions): Change to thread-local
25778 __sim_disabled_exceptions_thread and global
25779 __sim_disabled_exceptions_global.
25780 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25781 and global __sim_round_mode_global.
25782 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25783 (SIM_SET_GLOBAL): Likewise.
25784 * sysdeps/powerpc/soft-fp/sfp-machine.h
25785 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25786 __sim_round_mode_thread.
25787 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25788 __sim_disabled_exceptions_thread.
25789 (__sim_exceptions): Change to __sim_exceptions_thread.
25790 (__sim_disabled_exceptions): Change to
25791 __sim_disabled_exceptions_thread.
25792 (__sim_round_mode): Change to __sim_round_mode_thread.
25793 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25794 thread-local floating-point state and set global state from it as
25796 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25797 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25798 (__sim_disabled_exceptions): Remove extern declaration.
25799 (feenableexcept): Use thread-local floating-point state and set
25800 global state from it as needed.
25801 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25802 extern declaration.
25803 (__sim_disabled_exceptions): Likewise.
25804 (__sim_round_mode): Likewise.
25805 (__fegetenv): Use thread-local floating-point state.
25806 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25807 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25808 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25809 floating-point state and set global state from it as needed.
25810 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25811 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25812 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25814 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25815 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25817 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25818 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25819 Use __sim_round_mode_thread.
25820 * math/test-fenv-tls.c: New file.
25821 * math/Makefile (tests): Add test-fenv-tls.
25822 ($(objpfx)test-fenv-tls): Depend on
25823 $(common-objpfx)nptl/libpthread.so.
25825 2013-11-19 Andreas Schwab <schwab@suse.de>
25827 * locale/programs/locale.c (show_info): Decode wordarray elements.
25828 * locale/categories.def (LC_MONETARY): Add element for
25829 _NL_MONETARY_CRNCYSTR.
25830 * locale/C-monetary.c (conversion_rate): New variable.
25831 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25834 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25836 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25837 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25839 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25841 * elf/Makefile (tst-auxv): New test.
25842 * elf/tst-auxv.c: New
25843 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25845 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25847 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25848 (hidden_proto): Caller changed.
25849 (hidden_tls_proto): New macro.
25850 (libc_hidden_tls_proto): Likewise.
25851 (rtld_hidden_tls_proto): Likewise.
25852 (libm_hidden_tls_proto): Likewise.
25853 (libresolv_hidden_tls_proto): Likewise.
25854 (librt_hidden_tls_proto): Likewise.
25855 (libdl_hidden_tls_proto): Likewise.
25856 (libnss_files_hidden_tls_proto): Likewise.
25857 (libnsl_hidden_tls_proto): Likewise.
25858 (libnss_nisplus_hidden_tls_proto): Likewise.
25859 (libutil_hidden_tls_proto): Likewise.
25861 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25864 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25865 (decompose_rpath): Defer expansion to fillin_rpath.
25866 (_dl_init_paths): Pass linkmap to fillin_rpath.
25868 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25870 * benchtests/Makefile: Add strsep.
25871 * benchtests/bench-strsep.c: New file: strsep benchtest.
25872 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25874 2013-11-18 Andreas Schwab <schwab@suse.de>
25876 * locale/programs/locale.c (show_info) [case byte]: Check for
25877 '\377' instead of '\177'.
25878 * locale/C-monetary.c (not_available): Always use "\377".
25879 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25880 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25881 detect unavailable sign_posn locale elements.
25882 * locale/localeconv.c (__localeconv): For grouping and
25883 mon_grouping handle "\177" and "\377" like no grouping.
25884 (INT_ELEM): New macro. Use it to set all numeric members.
25885 * locale/programs/ld-monetary.c (monetary_read)
25886 <tok_mon_grouping>: Normalize single -1 to the empty string.
25887 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25890 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25893 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25894 when we match (nil).
25895 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25897 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25899 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25900 (NO_TEST_INLINE): Update value.
25901 (ERRNO_UNCHANGED): Likewise.
25902 (ERRNO_EDOM): Likewise.
25903 (ERRNO_ERANGE): Likewise.
25904 (IGNORE_RESULT): Likewise.
25905 (check_float_internal): Check signs of NaN results if
25906 TEST_NAN_SIGN used.
25907 (check_complex): Pass TEST_NAN_SIGN flag through to second
25908 check_float_internal call.
25909 (copysign_test_data): Add tests with quiet NaNs as second
25910 argument. Use TEST_NAN_SIGN.
25911 (fabs_test_data): Add test of negative quiet NaN argument. Use
25913 (signbit_test_data): Add tests of quiet NaN argument.
25914 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25916 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25918 (parse_args): Handle function results specified as IGNORE.
25919 * math/libm-test.inc (IGNORE_RESULT): New macro.
25920 (check_float_internal): Do not check numerical result if flag
25922 (check_complex): Pass through IGNORE_RESULT to second
25923 check_float_internal call.
25924 (check_int): Do not check numerical result if flag IGNORE_RESULT
25926 (check_long): Likewise.
25927 (check_bool): Likewise.
25928 (check_longlong): Likewise.
25929 (lrint_test_data): Add tests of infinite and NaN arguments.
25930 (lrint_tonearest_test_data): Likewise.
25931 (lrint_towardzero_test_data): Likewise.
25932 (lrint_downward_test_data): Likewise.
25933 (lrint_upward_test_data): Likewise.
25934 (llrint_test_data): Likewise.
25935 (llrint_tonearest_test_data): Likewise.
25936 (llrint_towardzero_test_data): Likewise.
25937 (llrint_downward_test_data): Likewise.
25938 (llrint_upward_test_data): Likewise.
25939 (lround_test_data): Likewise.
25940 (llround_test_data): Likewise.
25942 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25943 (ERRNO_UNCHANGED): Update value.
25944 (ERRNO_EDOM): Likewise.
25945 (ERRNO_ERANGE): Likewise.
25946 (NO_TEST_INLINE_FLOAT): New macro.
25947 (NO_TEST_INLINE_DOUBLE): Likewise.
25948 (enable_test): New function.
25949 (RUN_TEST_f_f): Check enable_test before running test.
25950 (RUN_TEST_2_f): Likewise.
25951 (RUN_TEST_fff_f): Likewise.
25952 (RUN_TEST_c_f): Likewise.
25953 (RUN_TEST_f_f1): Likewise.
25954 (RUN_TEST_fF_f1): Likewise.
25955 (RUN_TEST_fI_f1): Likewise.
25956 (RUN_TEST_ffI_f1): Likewise.
25957 (RUN_TEST_c_c): Likewise.
25958 (RUN_TEST_cc_c): Likewise.
25959 (RUN_TEST_f_i): Likewise.
25960 (RUN_TEST_f_i_tg): Likewise.
25961 (RUN_TEST_ff_i_tg): Likewise.
25962 (RUN_TEST_f_b): Likewise.
25963 (RUN_TEST_f_b_tg): Likewise.
25964 (RUN_TEST_f_l): Likewise.
25965 (RUN_TEST_f_L): Likewise.
25966 (RUN_TEST_fFF_11): Likewise.
25967 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25969 (cosh_test_data): Likewise.
25970 (exp_test_data): Likewise.
25971 (expm1_test_data): Likewise.
25972 (hypot_test_data): Likewise.
25973 (pow_test_data): Likewise.
25974 (sinh_test_data): Likewise.
25975 (tanh_test_data): Likewise.
25976 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25979 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25980 tests with quiet NaN input and output.
25981 (acosh_test_data): Likewise.
25982 (asin_test_data): Likewise.
25983 (asinh_test_data): Likewise.
25984 (atan_test_data): Likewise.
25985 (atanh_test_data): Likewise.
25986 (atan2_test_data): Likewise.
25987 (cbrt_test_data): Likewise.
25988 (cos_test_data): Likewise.
25989 (cosh_test_data): Likewise.
25990 (erf_test_data): Likewise.
25991 (erfc_test_data): Likewise.
25992 (exp_test_data): Likewise.
25993 (exp10_test_data): Likewise.
25994 (exp2_test_data): Likewise.
25995 (expm1_test_data): Likewise.
25996 (hypot_test_data): Likewise.
25997 (j0_test_data): Likewise.
25998 (j1_test_data): Likewise.
25999 (jn_test_data): Likewise.
26000 (lgamma_test_data): Likewise.
26001 (log_test_data): Likewise.
26002 (log10_test_data): Likewise.
26003 (log1p_test_data): Likewise.
26004 (log2_test_data): Likewise.
26005 (pow_test_data): Likewise.
26006 (scalb_test_data): Likewise.
26007 (sin_test_data): Likewise.
26008 (sincos_test_data): Likewise.
26009 (sinh_test_data): Likewise.
26010 (tan_test_data): Likewise.
26011 (tanh_test_data): Likewise.
26012 (tgamma_test_data): Likewise.
26013 (y0_test_data): Likewise.
26014 (y1_test_data): Likewise.
26015 (yn_test_data): Likewise.
26018 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26019 argument being NaN and avoid computations with second argument in
26021 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26022 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26023 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26025 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26027 * locale/iso-639.def: Add Chitwani Tharu (the).
26029 2013-11-14 Andreas Schwab <schwab@suse.de>
26031 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26032 word instead of empty string.
26034 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26037 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26039 (__fe_nomask_env): Likewise.
26041 2013-11-13 Steve Ellcey <sellcey@mips.com>
26043 * benchtests/bench-timing.h: Include time.h.
26045 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26048 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26050 * sysdeps/unix/sysv/linux/configure: Regenerated.
26052 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26055 * stdlib/strtod_l.c (round_and_return): Do not consider
26056 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26057 exponent one less than half the least subnormal exponent.
26058 * stdlib/test-strtod-round-data: Add more tests.
26059 * stdlib/tst-strtod-round.c (tests): Regenerated.
26061 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26064 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26065 (__fe_mask_env): Likewise.
26066 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26067 libm_hidden_proto and add function prototype.
26068 (__fe_mask_env): Add function prototype.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26070 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26072 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26074 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26076 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26078 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26079 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26081 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26083 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26084 of htab_find_slot().
26086 2013-11-11 David S. Miller <davem@davemloft.net>
26089 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26090 symbol in the non-vis3 case in static builds.
26091 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26092 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26093 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26094 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26096 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26099 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26102 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26104 * benchtests/Makefile: Add bench-strtod.
26105 * benchtests/bench-strtod.c: New file: strtod benchtest
26107 2013-11-11 Andreas Schwab <schwab@suse.de>
26110 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26111 terminating NUL in key length.
26113 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26115 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26116 Add artificial ODP entry for vDSO symbol for PPC64.
26117 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26118 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26120 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26123 * nss/getent.c (services_keys): Recognize services starting with digit.
26125 2013-11-06 David S. Miller <davem@davemloft.net>
26128 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26129 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26131 2013-11-06 Will Newton <will.newton@linaro.org>
26133 * manual/memory.texi (Malloc Examples): Remove register
26134 keyword from examples.
26136 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26138 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26140 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26143 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26144 depending on [__GCC_IEC_559 > 0].
26145 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26146 depending on [__GCC_IEC_559_COMPLEX > 0].
26148 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26150 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26153 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26155 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26157 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26160 * malloc/malloc (malloc_info): Do not handle first bin as
26163 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26165 * locale/iso-639.def: Add Central Nahuatl (nhn).
26167 2013-11-01 Bruno Haible <bruno@clisp.org>
26170 * manual/math.texi (BSD Random): Specify range upper bound as
26173 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26175 * locale/iso-639.def: Add Meadow Mari (mhr).
26177 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26179 [BZ #14752], [BZ #15763]
26180 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26182 * rt/tst_shm.c: Add test for escaping directory.
26184 2013-10-31 Andreas Schwab <schwab@suse.de>
26187 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26188 followed by 'x' as part of digit sequence.
26189 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26191 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26194 * configure.ac: allow GNU Make 4.0 and greater.
26195 * configure: Regenerated.
26197 2013-10-30 Will Newton <will.newton@linaro.org>
26200 * malloc/hooks.c (memalign_check): Limit alignment to the
26201 maximum representable power of two.
26202 * malloc/malloc.c (__libc_memalign): Likewise.
26203 * malloc/tst-memalign.c (do_test): Add test for very
26204 large alignment values.
26205 * malloc/tst-posix_memalign.c (do_test): Likewise.
26207 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26210 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26211 (munmap_chunk): Likewise.
26212 (mremap_chunk): Likewise.
26214 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26217 * stdlib/div.c (div): Remove obsolete code.
26218 * stdlib/ldiv.c (ldiv): Likewise.
26219 * stdlib/lldiv.c (lldiv): Likewise.
26221 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26224 * nss/nss_files/files-XXX.c (get_contents_ret): New
26226 (get_contents): New function.
26227 (internal_getent): Use it. Expand size of LINEBUFLEN.
26229 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26231 * configure.in: Moved to ...
26232 * configure.ac: ... here. Change reference to configure.in
26234 * sysdeps/arm/preconfigure.ac: ... here.
26235 configure.in to configure.ac.
26236 * sysdeps/gnu/configure.in: Moved to ...
26237 * sysdeps/gnu/configure.ac: ... here.
26238 * sysdeps/i386/configure.in: Moved to ...
26239 * sysdeps/i386/configure.ac: ... here.
26240 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26241 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26242 * sysdeps/mach/configure.in: Moved to ...
26243 * sysdeps/mach/configure.ac: ... here.
26244 * sysdeps/mach/hurd/configure.in: Moved to ...
26245 * sysdeps/mach/hurd/configure.ac: ... here.
26246 * sysdeps/powerpc/configure.in: Moved to ...
26247 * sysdeps/powerpc/configure.ac: ... here.
26248 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26249 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26250 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26251 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26252 * sysdeps/s390/s390-32/configure.in: Moved to ...
26253 * sysdeps/s390/s390-32/configure.ac: ... here.
26254 * sysdeps/s390/s390-64/configure.in: Moved to ...
26255 * sysdeps/s390/s390-64/configure.ac: ... here.
26256 * sysdeps/sh/configure.in: Moved to ...
26257 * sysdeps/sh/configure.ac: ... here.
26258 * sysdeps/sparc/configure.in: Moved to ...
26259 * sysdeps/sparc/configure.ac: ... here.
26260 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26261 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26262 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26263 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26264 * sysdeps/x86_64/configure.in: Moved to ...
26265 * sysdeps/x86_64/configure.ac: ... here.
26266 * sysdeps/x86_64/preconfigure.in: Moved to ...
26267 * sysdeps/x86_64/preconfigure.ac: ... here.
26268 * aclocal.m4: Change reference to configure.in to configure.ac.
26269 * config.h.in: Likewise.
26270 * manual/install.texi: Likewise.
26271 * manual/maint.texi: Likewise.
26272 * Makefile: Likewise.
26273 * malloc/Makefile: Likewise.
26274 * nscd/Makefile: Likewise.
26275 * Makeconfig: Change reference to configure.in and
26276 preconfigure.in to configure.ac and preconfigure.ac
26278 * INSTALL: Regenerated.
26279 * configure: Likewise.
26280 * sysdeps/gnu/configure: Likewise.
26281 * sysdeps/i386/configure: Likewise.
26282 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26283 * sysdeps/mach/configure: Likewise.
26284 * sysdeps/mach/hurd/configure: Likewise.
26285 * sysdeps/powerpc/configure: Likewise.
26286 * sysdeps/powerpc/powerpc32/configure: Likewise.
26287 * sysdeps/powerpc/powerpc64/configure: Likewise.
26288 * sysdeps/s390/s390-32/configure: Likewise.
26289 * sysdeps/s390/s390-64/configure: Likewise.
26290 * sysdeps/sh/configure: Likewise.
26291 * sysdeps/sparc/configure: Likewise.
26292 * sysdeps/unix/sysv/linux/configure: Likewise.
26293 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26294 * sysdeps/x86_64/configure: Likewise.
26295 * sysdeps/x86_64/preconfigure: Likewise.
26297 2013-10-29 Andreas Schwab <schwab@suse.de>
26299 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26301 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26303 * benchtests/pow-inputs: Add new inputs.
26305 * benchtests/exp-inputs: Add new inputs.
26307 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26308 conditional check for return value.
26309 (__cos32): Likewise.
26311 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26313 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26314 to provide a boost for large inputs with word alignment.
26315 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26316 implementation based on optimized PPC64 strcpy.
26317 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26318 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26319 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26320 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26322 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26325 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26327 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26330 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26331 * time/tst-strptime.c (day_tests): Add testcase.
26333 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26336 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26338 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26341 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26342 MAP_FAILED on error.
26344 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26347 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26348 heap for large requests.
26350 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26353 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26354 result if the result has no associated interface.
26355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26356 interface for all 127.X.Y.Z addresses.
26358 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26360 * locale/iso-639.def: Add Ligurian (lij)
26362 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26365 * sunrpc/rpc_main.c: Document rpcgen -5.
26367 2013-10-19 Michael Stahl <mstahl@redhat.com>
26369 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26371 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26374 * posix/glob.c: Match only directories when trailing slash is present.
26375 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26376 (main): Add testcase.
26378 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26381 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26383 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26385 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26386 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26387 AUTH_DES and cindex for FIPS 140-2.
26388 (DES Encryption): Add cindex FIPS 46-3.
26390 * locale/locarchive.h (struct locarhandle): Add fname.
26391 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26392 if an optional argument was specified to --list-archive,
26394 * locale/programs/locarchive.c (show_archive_content): Take new
26395 argument fname and pass it via ah.fname to open_archive.
26396 * locale/programs/localedef.h: Update decl.
26397 (open_archive): If AH->fname is non-null, open that file
26398 rather than the default file name, and don't ignore ENOENT.
26399 (create_archive): Set AH.fname to NULL.
26400 (delete_locales_from_archive): Likewise.
26401 (add_locales_to_archive): Likewise.
26402 * locale/programs/locfile.c (write_all_categories): Likewise.
26404 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26405 Aldy Hernandez <aldyh@redhat.com>
26407 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26408 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26409 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26410 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26411 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26412 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26413 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26414 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26415 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26416 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26417 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26418 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26419 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26420 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26421 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26423 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26425 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26427 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26429 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26430 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26432 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26433 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26434 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26435 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26437 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26438 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26439 * sysdeps/powerpc/preconfigure: Likewise.
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26442 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26443 Replace contents of file by #include of <fenv_libc.h>.
26444 * sysdeps/powerpc/soft-fp/sfp-machine.h
26445 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26447 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26448 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26450 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26454 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26455 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26456 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26457 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26460 Allow copysignl PLT reference to be missing.
26462 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26463 Joseph Myers <joseph@codesourcery.com
26466 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26468 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26470 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26472 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26473 * elf/tst-tls1.c: Likewise.
26474 * elf/tst-tls10.h: Likewise.
26475 * elf/tst-tls14.c: Likewise.
26476 * elf/tst-tls2.c: Likewise.
26477 * elf/tst-tls3.c: Likewise.
26478 * elf/tst-tls4.c: Likewise.
26479 * elf/tst-tls5.c: Likewise.
26480 * elf/tst-tls6.c: Likewise.
26481 * elf/tst-tls7.c: Likewise.
26482 * elf/tst-tls8.c: Likewise.
26483 * elf/tst-tls9.c: Likewise.
26484 * elf/tst-tlsmod1.c: Likewise.
26485 * elf/tst-tlsmod13.c: Likewise.
26486 * elf/tst-tlsmod13a.c: Likewise.
26487 * elf/tst-tlsmod14a.c: Likewise.
26488 * elf/tst-tlsmod16a.c: Likewise.
26489 * elf/tst-tlsmod16b.c: Likewise.
26490 * elf/tst-tlsmod2.c: Likewise.
26491 * elf/tst-tlsmod3.c: Likewise.
26492 * elf/tst-tlsmod4.c: Likewise.
26493 * elf/tst-tlsmod5.c: Likewise.
26494 * elf/tst-tlsmod6.c: Likewise.
26496 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26499 * malloc/malloc.c: remove checks for statistics.
26501 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26504 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26505 * inet/tst-network.c: Add testcase.
26507 2013-10-17 Andreas Schwab <schwab@suse.de>
26510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26511 to determine canonical name.
26513 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26515 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26516 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26518 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26520 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26521 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26522 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26523 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26524 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26525 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26527 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26528 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26539 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26540 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26545 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26553 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26554 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26555 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26556 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26557 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26558 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26563 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26564 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26569 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26571 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26572 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26574 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26577 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26578 make result into a quiet NaN.
26580 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26582 * soft-fp/adddf3.c: Fix horizontal whitespace.
26583 * soft-fp/addsf3.c: Likewise.
26584 * soft-fp/addtf3.c: Likewise.
26585 * soft-fp/divdf3.c: Likewise.
26586 * soft-fp/divsf3.c: Likewise.
26587 * soft-fp/divtf3.c: Likewise.
26588 * soft-fp/double.h: Likewise.
26589 * soft-fp/eqdf2.c: Likewise.
26590 * soft-fp/eqsf2.c: Likewise.
26591 * soft-fp/eqtf2.c: Likewise.
26592 * soft-fp/extenddftf2.c: Likewise.
26593 * soft-fp/extended.h: Likewise.
26594 * soft-fp/extendsfdf2.c: Likewise.
26595 * soft-fp/extendsftf2.c: Likewise.
26596 * soft-fp/extendxftf2.c: Likewise.
26597 * soft-fp/fixdfdi.c: Likewise.
26598 * soft-fp/fixdfsi.c: Likewise.
26599 * soft-fp/fixdfti.c: Likewise.
26600 * soft-fp/fixsfdi.c: Likewise.
26601 * soft-fp/fixsfsi.c: Likewise.
26602 * soft-fp/fixsfti.c: Likewise.
26603 * soft-fp/fixtfdi.c: Likewise.
26604 * soft-fp/fixtfsi.c: Likewise.
26605 * soft-fp/fixtfti.c: Likewise.
26606 * soft-fp/fixunsdfdi.c: Likewise.
26607 * soft-fp/fixunsdfsi.c: Likewise.
26608 * soft-fp/fixunsdfti.c: Likewise.
26609 * soft-fp/fixunssfdi.c: Likewise.
26610 * soft-fp/fixunssfsi.c: Likewise.
26611 * soft-fp/fixunssfti.c: Likewise.
26612 * soft-fp/fixunstfdi.c: Likewise.
26613 * soft-fp/fixunstfsi.c: Likewise.
26614 * soft-fp/fixunstfti.c: Likewise.
26615 * soft-fp/floatdidf.c: Likewise.
26616 * soft-fp/floatdisf.c: Likewise.
26617 * soft-fp/floatditf.c: Likewise.
26618 * soft-fp/floatsidf.c: Likewise.
26619 * soft-fp/floatsisf.c: Likewise.
26620 * soft-fp/floatsitf.c: Likewise.
26621 * soft-fp/floattidf.c: Likewise.
26622 * soft-fp/floattisf.c: Likewise.
26623 * soft-fp/floattitf.c: Likewise.
26624 * soft-fp/floatundidf.c: Likewise.
26625 * soft-fp/floatundisf.c: Likewise.
26626 * soft-fp/floatunditf.c: Likewise.
26627 * soft-fp/floatunsidf.c: Likewise.
26628 * soft-fp/floatunsisf.c: Likewise.
26629 * soft-fp/floatunsitf.c: Likewise.
26630 * soft-fp/floatuntidf.c: Likewise.
26631 * soft-fp/floatuntisf.c: Likewise.
26632 * soft-fp/floatuntitf.c: Likewise.
26633 * soft-fp/fmadf4.c: Likewise.
26634 * soft-fp/fmasf4.c: Likewise.
26635 * soft-fp/fmatf4.c: Likewise.
26636 * soft-fp/gedf2.c: Likewise.
26637 * soft-fp/gesf2.c: Likewise.
26638 * soft-fp/getf2.c: Likewise.
26639 * soft-fp/ledf2.c: Likewise.
26640 * soft-fp/lesf2.c: Likewise.
26641 * soft-fp/letf2.c: Likewise.
26642 * soft-fp/muldf3.c: Likewise.
26643 * soft-fp/mulsf3.c: Likewise.
26644 * soft-fp/multf3.c: Likewise.
26645 * soft-fp/negdf2.c: Likewise.
26646 * soft-fp/negsf2.c: Likewise.
26647 * soft-fp/negtf2.c: Likewise.
26648 * soft-fp/op-1.h: Likewise.
26649 * soft-fp/op-2.h: Likewise.
26650 * soft-fp/op-4.h: Likewise.
26651 * soft-fp/op-8.h: Likewise.
26652 * soft-fp/op-common.h: Likewise.
26653 * soft-fp/quad.h: Likewise.
26654 * soft-fp/single.h: Likewise.
26655 * soft-fp/soft-fp.h: Likewise.
26656 * soft-fp/sqrtdf2.c: Likewise.
26657 * soft-fp/sqrtsf2.c: Likewise.
26658 * soft-fp/sqrttf2.c: Likewise.
26659 * soft-fp/subdf3.c: Likewise.
26660 * soft-fp/subsf3.c: Likewise.
26661 * soft-fp/subtf3.c: Likewise.
26662 * soft-fp/truncdfsf2.c: Likewise.
26663 * soft-fp/trunctfdf2.c: Likewise.
26664 * soft-fp/trunctfsf2.c: Likewise.
26665 * soft-fp/trunctfxf2.c: Likewise.
26666 * soft-fp/unorddf2.c: Likewise.
26667 * soft-fp/unordsf2.c: Likewise.
26668 * soft-fp/unordtf2.c: Likewise.
26670 2013-10-15 Joseph Myers <joseph@codesourcery.com>
26672 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26673 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26675 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
26677 * elf/dl-libc.c: Clear initfini list after freeing.
26679 2013-10-14 Joseph Myers <joseph@codesourcery.com>
26681 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26682 * soft-fp/addsf3.c: Likewise.
26683 * soft-fp/addtf3.c: Likewise.
26684 * soft-fp/divdf3.c: Likewise.
26685 * soft-fp/divsf3.c: Likewise.
26686 * soft-fp/divtf3.c: Likewise.
26687 * soft-fp/double.h: Likewise.
26688 * soft-fp/eqdf2.c: Likewise.
26689 * soft-fp/eqsf2.c: Likewise.
26690 * soft-fp/eqtf2.c: Likewise.
26691 * soft-fp/extenddftf2.c: Likewise.
26692 * soft-fp/extended.h: Likewise.
26693 * soft-fp/extendsfdf2.c: Likewise.
26694 * soft-fp/extendsftf2.c: Likewise.
26695 * soft-fp/extendxftf2.c: Likewise.
26696 * soft-fp/fixdfdi.c: Likewise.
26697 * soft-fp/fixdfsi.c: Likewise.
26698 * soft-fp/fixdfti.c: Likewise.
26699 * soft-fp/fixsfdi.c: Likewise.
26700 * soft-fp/fixsfsi.c: Likewise.
26701 * soft-fp/fixsfti.c: Likewise.
26702 * soft-fp/fixtfdi.c: Likewise.
26703 * soft-fp/fixtfsi.c: Likewise.
26704 * soft-fp/fixtfti.c: Likewise.
26705 * soft-fp/fixunsdfdi.c: Likewise.
26706 * soft-fp/fixunsdfsi.c: Likewise.
26707 * soft-fp/fixunsdfti.c: Likewise.
26708 * soft-fp/fixunssfdi.c: Likewise.
26709 * soft-fp/fixunssfsi.c: Likewise.
26710 * soft-fp/fixunssfti.c: Likewise.
26711 * soft-fp/fixunstfdi.c: Likewise.
26712 * soft-fp/fixunstfsi.c: Likewise.
26713 * soft-fp/fixunstfti.c: Likewise.
26714 * soft-fp/floatdidf.c: Likewise.
26715 * soft-fp/floatdisf.c: Likewise.
26716 * soft-fp/floatditf.c: Likewise.
26717 * soft-fp/floatsidf.c: Likewise.
26718 * soft-fp/floatsisf.c: Likewise.
26719 * soft-fp/floatsitf.c: Likewise.
26720 * soft-fp/floattidf.c: Likewise.
26721 * soft-fp/floattisf.c: Likewise.
26722 * soft-fp/floattitf.c: Likewise.
26723 * soft-fp/floatundidf.c: Likewise.
26724 * soft-fp/floatundisf.c: Likewise.
26725 * soft-fp/floatunsidf.c: Likewise.
26726 * soft-fp/floatunsisf.c: Likewise.
26727 * soft-fp/floatuntidf.c: Likewise.
26728 * soft-fp/floatuntisf.c: Likewise.
26729 * soft-fp/floatuntitf.c: Likewise.
26730 * soft-fp/fmadf4.c: Likewise.
26731 * soft-fp/fmasf4.c: Likewise.
26732 * soft-fp/fmatf4.c: Likewise.
26733 * soft-fp/gedf2.c: Likewise.
26734 * soft-fp/gesf2.c: Likewise.
26735 * soft-fp/getf2.c: Likewise.
26736 * soft-fp/ledf2.c: Likewise.
26737 * soft-fp/lesf2.c: Likewise.
26738 * soft-fp/letf2.c: Likewise.
26739 * soft-fp/muldf3.c: Likewise.
26740 * soft-fp/mulsf3.c: Likewise.
26741 * soft-fp/multf3.c: Likewise.
26742 * soft-fp/negdf2.c: Likewise.
26743 * soft-fp/negsf2.c: Likewise.
26744 * soft-fp/negtf2.c: Likewise.
26745 * soft-fp/op-1.h: Likewise.
26746 * soft-fp/op-2.h: Likewise.
26747 * soft-fp/op-4.h: Likewise.
26748 * soft-fp/op-8.h: Likewise.
26749 * soft-fp/op-common.h: Likewise.
26750 * soft-fp/quad.h: Likewise.
26751 * soft-fp/single.h: Likewise.
26752 * soft-fp/soft-fp.h: Likewise.
26753 * soft-fp/sqrtdf2.c: Likewise.
26754 * soft-fp/sqrtsf2.c: Likewise.
26755 * soft-fp/sqrttf2.c: Likewise.
26756 * soft-fp/subdf3.c: Likewise.
26757 * soft-fp/subsf3.c: Likewise.
26758 * soft-fp/subtf3.c: Likewise.
26759 * soft-fp/truncdfsf2.c: Likewise.
26760 * soft-fp/trunctfdf2.c: Likewise.
26761 * soft-fp/trunctfsf2.c: Likewise.
26762 * soft-fp/trunctfxf2.c: Likewise.
26763 * soft-fp/unorddf2.c: Likewise.
26764 * soft-fp/unordsf2.c: Likewise.
26765 * soft-fp/unordtf2.c: Likewise.
26767 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26770 * misc/error.c (error_tail): Fix possible buffer overflow.
26772 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26775 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26778 2013-10-14 P. J. McDermott <pj@pehjota.net>
26781 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26782 testing pipefail option.
26784 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26786 * soft-fp/double.h: Indent preprocessor directives inside #if.
26787 * soft-fp/extended.h: Likewise.
26788 * soft-fp/op-2.h: Likewise.
26789 * soft-fp/op-4.h: Likewise.
26790 * soft-fp/op-common.h: Likewise.
26791 * soft-fp/quad.h: Likewise.
26792 * soft-fp/single.h: Likewise.
26793 * soft-fp/soft-fp.h: Likewise.
26795 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26797 * iconv/iconv_prog.c: Fix typos.
26798 * stdio-common/psiginfo-data.h: Likewise.
26800 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26803 * locale/setlocale.c: Fix typo.
26805 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26808 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26809 signaling NaN arguments.
26810 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26811 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26814 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26815 unordered operands.
26816 * soft-fp/gesf2.c (__gesf2): Likewise.
26817 * soft-fp/getf2.c (__getf2): Likewise.
26818 * soft-fp/ledf2.c (__ledf2): Likewise.
26819 * soft-fp/lesf2.c (__lesf2): Likewise.
26820 * soft-fp/letf2.c (__letf2): Likewise.
26822 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26823 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26824 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26825 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26826 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26827 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26828 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26829 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26830 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26831 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26832 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26833 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26834 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26835 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26836 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26837 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26838 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26839 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26840 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26841 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26842 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26843 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26844 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26845 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26846 * soft-fp/floattidf.c (__floattidf): Likewise.
26847 * soft-fp/floattisf.c (__floattisf): Likewise.
26848 * soft-fp/floattitf.c (__floattitf): Likewise.
26849 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26850 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26851 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26852 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26853 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26854 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26855 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26856 * soft-fp/gesf2.c (__gesf2): Likewise.
26857 * soft-fp/getf2.c (__getf2): Likewise.
26858 * soft-fp/ledf2.c (__ledf2): Likewise.
26859 * soft-fp/lesf2.c (__lesf2): Likewise.
26860 * soft-fp/letf2.c (__letf2): Likewise.
26862 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26863 Undefine and redefine.
26864 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26865 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26866 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26867 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26868 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26869 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26870 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26871 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26872 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26873 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26874 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26875 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26876 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26877 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26878 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26881 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26882 without decrementing exponent if mantissa >= that for the
26883 denominator, not >.
26884 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26885 denominator, not >. Decrement exponent in < case instead of
26886 incrementing in >= case.
26887 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26888 without decrementing exponent if mantissa >= that for the
26889 denominator, not >.
26891 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26892 computing saturated result for unsigned overflow.
26894 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26895 Jeff Law <law@redhat.com>
26897 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26898 (atan2Mp): Add systemtap probe marker.
26899 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26900 (__ieee754_log): Add systemtap probe marker.
26901 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26902 (atanMp): Add systemtap probe marker.
26903 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26904 (tanMp): Add systemtap probe marker.
26905 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26906 (__slowexp): Add systemtap probe marker.
26907 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26908 (__slowpow): Add systemtap probe marker.
26909 * manual/probes.texi: Document probes.
26911 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26914 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26916 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26918 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26919 written to buffer but not flushed.
26920 * libio/iofwrite_u.c: Likewise.
26921 * libio/iopadn.c: Return bytes returned even if EOF was
26923 * libio/iowpadn.c: Likewise.
26924 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26925 if _IO_padn does not write the whole buffer.
26926 [!COMPILE_WPRINTF] (PAD): Likewise.
26928 2013-10-10 David S. Miller <davem@davemloft.net>
26930 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26933 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26935 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26936 instead of FSF address.
26937 * soft-fp/fixdfti.c: Likewise.
26938 * soft-fp/fixsfti.c: Likewise.
26939 * soft-fp/fixtfti.c: Likewise.
26940 * soft-fp/fixunsdfti.c: Likewise.
26941 * soft-fp/fixunssfti.c: Likewise.
26942 * soft-fp/fixunstfti.c: Likewise.
26943 * soft-fp/floattidf.c: Likewise.
26944 * soft-fp/floattisf.c: Likewise.
26945 * soft-fp/floattitf.c: Likewise.
26946 * soft-fp/floatuntidf.c: Likewise.
26947 * soft-fp/floatuntisf.c: Likewise.
26948 * soft-fp/floatuntitf.c: Likewise.
26949 * soft-fp/trunctfxf2.c: Likewise.
26951 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26952 * soft-fp/fixdfti.c: Likewise.
26953 * soft-fp/fixsfti.c: Likewise.
26954 * soft-fp/fixtfti.c: Likewise.
26955 * soft-fp/fixunsdfti.c: Likewise.
26956 * soft-fp/fixunssfti.c: Likewise.
26957 * soft-fp/fixunstfti.c: Likewise.
26958 * soft-fp/floattidf.c: Likewise.
26959 * soft-fp/floattisf.c: Likewise.
26960 * soft-fp/floattitf.c: Likewise.
26961 * soft-fp/floatuntidf.c: Likewise.
26962 * soft-fp/floatuntisf.c: Likewise.
26963 * soft-fp/floatuntitf.c: Likewise.
26964 * soft-fp/trunctfxf2.c: Likewise.
26966 2013-10-10 David S. Miller <davem@davemloft.net>
26968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26970 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26972 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26973 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26974 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26975 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26976 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26977 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26978 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26981 for NaNs before doing comparisons on argument.
26982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26985 2013-10-10 Will Newton <will.newton@linaro.org>
26987 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26988 passed to _int_memalign does not overflow.
26990 2013-10-10 Torvald Riegel <triegel@redhat.com>
26992 * scripts/bench.pl: Add include-sources directive.
26993 * benchtests/README: Update documentation.
26995 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26997 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26998 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26999 instead of FP_INIT_ROUNDMODE.
27000 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27001 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27004 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27005 copy class of input value.
27006 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27007 not handle exceptions.
27008 * soft-fp/negsf2.c (__negsf2): Likewise.
27009 * soft-fp/negtf2.c (__negtf2): Likewise.
27010 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27012 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27014 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27015 semicolon. From Linux kernel.
27017 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27019 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27021 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27024 * manual/socket.texi: Added statement about buffer
27025 for gethostbyname2_r.
27027 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27029 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27030 Use .p2align directive instead, throughout.
27031 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27032 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27033 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27036 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27037 * sysdeps/x86_64/strchr.S: Likewise.
27038 * sysdeps/x86_64/strrchr.S: Likewise.
27040 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27042 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27044 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27046 * sysdeps/generic/math_private.h (__mpsin1): Remove
27048 (__mpcos1): Likewise.
27049 (__mpsin): New argument __range_reduce.
27050 (__mpcos): Likewise.
27051 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27052 (slow): Use __mpsin and __mpcos.
27056 (sloww1): Likewise.
27057 (sloww2): Likewise.
27058 (bsloww): Likewise.
27059 (bsloww1): Likewise.
27060 (bsloww2): Likewise.
27061 (cslow2): Likewise.
27062 (csloww): Likewise.
27063 (csloww1): Likewise.
27064 (csloww2): Likewise.
27065 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27066 range_reduce. Merge in __mpsin1.
27067 (__mpcos): Likewise.
27068 (__mpsin1): Remove.
27069 (__mpcos1): Likewise.
27071 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27073 * locale/loadlocale.c (_nl_intern_locale_data): Use
27075 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27076 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27077 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27078 obstack data is appropriately aligned.
27079 (obstack_int32_grow_fast): Likewise.
27080 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27081 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27082 (add_locale_uint32_array): Likewise.
27084 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27086 * benchtests/Makefile: Remove ARGLIST and RET variables.
27087 ($(objpfx)bench-%.c): Pass only function name to the script.
27088 * benchtests/README: Update documentation.
27089 * benchtests/acos-inputs: Add new directives.
27090 * benchtests/acosh-inputs: Likewise.
27091 * benchtests/asin-inputs: Likewise.
27092 * benchtests/asinh-inputs: Likewise.
27093 * benchtests/atan-inputs: Likewise.
27094 * benchtests/atanh-inputs: Likewise.
27095 * benchtests/cos-inputs: Likewise.
27096 * benchtests/cosh-inputs: Likewise.
27097 * benchtests/exp-inputs: Likewise.
27098 * benchtests/log-inputs: Likewise.
27099 * benchtests/pow-inputs: Likewise.
27100 * benchtests/rint-inputs: Likewise.
27101 * benchtests/sin-inputs: Likewise.
27102 * benchtests/sinh-inputs: Likewise.
27103 * benchtests/tan-inputs: Likewise.
27104 * benchtests/tanh-inputs: Likewise.
27105 * scripts/bench.pl: Add support for new directives.
27107 2013-10-07 Alan Modra <amodra@gmail.com>
27109 * README: Fix careless merge.
27111 2013-10-05 Alan Modra <amodra@gmail.com>
27113 * NEWS: Mention powerpc64le support and bugs fixed.
27114 * README: Both big-endian and little-endian powerpc64 supported.
27116 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27118 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27119 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27120 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27121 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27123 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27125 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27128 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27130 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27131 Move -mhard-float appending from
27132 ports/sysdeps/powerpc/powerpc32/Makefile.
27133 [$(with-fp) = yes] (ASFLAGS): Likewise.
27134 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27135 * sysdeps/powerpc/nofpu: Move directory from
27136 ports/sysdeps/powerpc/nofpu.
27137 * sysdeps/powerpc/soft-fp: Move directory from
27138 ports/sysdeps/powerpc/soft-fp.
27139 * sysdeps/powerpc/powerpc32/405: Move directory from
27140 ports/sysdeps/powerpc/powerpc32/405.
27141 * sysdeps/powerpc/powerpc32/440: Move directory from
27142 ports/sysdeps/powerpc/powerpc32/440.
27143 * sysdeps/powerpc/powerpc32/464: Move directory from
27144 ports/sysdeps/powerpc/powerpc32/464.
27145 * sysdeps/powerpc/powerpc32/476: Move directory from
27146 ports/sysdeps/powerpc/powerpc32/476.
27147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27148 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27150 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27152 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27154 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27156 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27157 * README: Update for powerpc-*-linux-gnu software floating point
27160 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27161 case to powerpc/powerpc32*.
27162 * sysdeps/unix/sysv/linux/configure: Regenerated.
27164 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27165 (_FPU_MASK_OM): Define as 0x04.
27166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27174 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27177 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27180 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27181 and setcontext_e500.
27183 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27185 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27187 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27189 * manual/threads.texi (Default Thread Attributes): Fix typo.
27191 2013-10-04 Will Newton <will.newton@linaro.org>
27193 * malloc/Makefile: Add tst-memalign.
27194 * malloc/tst-memalign.c: New file.
27196 * malloc/tst-posix_memalign.c: Add comments.
27197 (do_test): Add comments and call free on all potentially
27198 allocated pointers. Add space after cast.
27200 * malloc/tst-pvalloc.c: Add comments.
27201 (do_test): Add comments and call free on all potentially
27202 allocated pointers. Remove duplicate check for NULL pointer.
27203 Add space after cast.
27205 * malloc/tst-valloc.c: Add comments.
27206 (do_test): Add comments and call free on all potentially
27207 allocated pointers. Remove duplicate check for NULL pointer.
27208 Add space after cast.
27210 2013-10-04 Alan Modra <amodra@gmail.com>
27212 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27213 Use stdint types in rather than __attribute__((mode())).
27214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27216 2013-10-04 Alan Modra <amodra@gmail.com>
27218 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27219 Correct handling of unaligned relocs for little-endian.
27220 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27222 2013-10-04 Alan Modra <amodra@gmail.com>
27224 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27225 * configure: Regenerate.
27226 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27227 * shlib-versions: Likewise.
27229 2013-10-04 Alan Modra <amodra@gmail.com>
27231 * string/tester.c (test_memrchr): Increment reported test cycle.
27233 2013-10-04 Alan Modra <amodra@gmail.com>
27235 * string/test-memcpy.c (do_one_test): When reporting errors, print
27236 string address and don't overrun end of string.
27238 2013-10-04 Alan Modra <amodra@gmail.com>
27240 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27241 insrdi. Make better use of reg selection to speed exit slightly.
27242 Schedule entry path a little better. Remove useless "are we done"
27243 checks on entry to main loop. Handle wrapping around zero address.
27244 Correct main loop count. Handle single left-over word from main
27245 loop inline rather than by using loop_small. Remove extra word
27246 case in loop_small caused by wrong loop count. Add little-endian
27248 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27249 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27251 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27252 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27253 support. Avoid rlwimi.
27254 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27256 2013-10-04 Alan Modra <amodra@gmail.com>
27258 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27259 insrdi. Formatting.
27260 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27261 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27262 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27263 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27264 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27265 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27267 2013-10-04 Alan Modra <amodra@gmail.com>
27269 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27270 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27271 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27272 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27273 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27274 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27278 use of regs. Use power7 mtocrf. Tidy function tails.
27280 2013-10-04 Alan Modra <amodra@gmail.com>
27282 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27283 Formatting. Consistently use rXXX register defines or rN defines.
27284 Use early exit labels that avoid restoring unused non-volatile regs.
27285 Make cr field use more consistent with rWORDn compares. Rename
27286 regs used as shift registers for unaligned loop, using rN defines
27287 for short lifetime/multiple use regs.
27288 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27289 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27290 addi 1,1,64 to pop stack frame. Simplify return value code.
27291 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27293 2013-10-04 Alan Modra <amodra@gmail.com>
27295 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27296 support. Correct typos, formatting. Optimize tail. Use insrdi
27297 rather than rlwimi.
27298 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27299 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27300 little-endian support. Correct typos.
27301 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27302 rather than rlwimi.
27303 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27304 in loop and entry code to keep "and." results.
27305 (strchr): Add little-endian support. Comment. Move cntlzd
27307 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27309 2013-10-04 Alan Modra <amodra@gmail.com>
27311 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27312 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27313 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27314 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27316 2013-10-04 Alan Modra <amodra@gmail.com>
27318 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27319 (rTMP): Define as r11.
27320 (strcmp): Add little-endian support. Optimise tail.
27321 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27322 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27323 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27324 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27325 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27327 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27329 2013-10-04 Alan Modra <amodra@gmail.com>
27331 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27332 little-endian support. Remove unnecessary "are we done" tests.
27333 Handle "s" wrapping around zero and extremely large "size".
27334 Correct main loop count. Handle single left-over word from main
27335 loop inline rather than by using small_loop. Correct comments.
27336 Delete "zero" tail, use "end_max" instead.
27337 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27339 2013-10-04 Alan Modra <amodra@gmail.com>
27341 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27342 support. Don't branch over align.
27343 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27344 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27345 support. Rearrange tmp reg use to suit. Comment.
27346 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27348 2013-10-04 Alan Modra <amodra@gmail.com>
27350 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27352 2013-10-04 Alan Modra <amodra@gmail.com>
27354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27355 conditional form of branch and link when obtaining pc.
27356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27358 2013-10-04 Alan Modra <amodra@gmail.com>
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27365 2013-10-04 Alan Modra <amodra@gmail.com>
27367 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27368 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27369 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27370 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27371 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27372 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27373 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27374 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27375 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27376 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27378 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27379 Alistair Popple <alistair@ozlabs.au.ibm.com>
27380 Alan Modra <amodra@gmail.com>
27383 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27384 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27385 _dl_hwcap access for little-endian.
27386 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27387 destroy vmx regs when saving unaligned.
27388 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27389 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27390 destroy vmx regs when saving unaligned.
27392 2013-10-04 Alan Modra <amodra@gmail.com>
27394 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27395 Don't use a union to pack hi/low value.
27397 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27399 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27401 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27402 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27403 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27404 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27405 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27407 2013-10-04 Alan Modra <amodra@gmail.com>
27409 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27410 constants to usual value for .cst8 section, and remove redundant
27412 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27413 constant for 0x1p52. Load little-endian words of double from
27414 correct stack offsets.
27416 2013-10-04 Alan Modra <amodra@gmail.com>
27418 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27419 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27420 words of double from correct stack offsets.
27421 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27422 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27423 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27424 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27426 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27428 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27429 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27430 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27431 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27432 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27433 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27434 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27435 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27436 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27437 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27439 2013-10-04 Alan Modra <amodra@gmail.com>
27441 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27442 64-bit int/double union.
27443 (_FPU_SETCW): Likewise.
27444 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27445 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27447 2013-10-04 Alan Modra <amodra@gmail.com>
27449 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27450 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27452 2013-10-04 Alan Modra <amodra@gmail.com>
27454 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27455 use vector int constants.
27456 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27458 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27460 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27461 array with long long.
27462 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27463 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27464 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27465 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27466 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27467 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27468 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27469 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27470 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27471 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27472 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27473 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27474 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27476 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27478 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27479 (__signbit): Likewise. Correct for little-endian.
27480 (__signbitl): Call __signbit.
27481 (lrint): Correct for little-endian.
27482 (lrintf): Call lrint.
27484 2013-10-04 Alan Modra <amodra@gmail.com>
27486 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27487 union 32-bit int array member with 64-bit int array.
27488 (t515, tm256): Double rather than long double.
27489 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27491 2013-10-04 Alan Modra <amodra@gmail.com>
27493 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27495 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27497 version of math_ldbl.h.
27499 2013-10-04 Alan Modra <amodra@gmail.com>
27501 [BZ #15734], [BZ #15735]
27502 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27503 all uses of ieee875 long double macros and unions. Simplify test
27504 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27505 ldbl_extract_mantissa value for ix,iy exponents. Properly
27506 normalize after ldbl_extract_mantissa, and don't add hidden bit
27507 already handled. Don't treat low word of ieee854 mantissa like
27508 low word of IBM long double and mask off bit when testing for
27510 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27511 all uses of ieee875 long double macros and unions. Simplify tests
27512 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27513 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27514 two1022, instead use their values. Recognise that tests for large
27515 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27516 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27517 Rewrite all uses of ieee875 long double macros and unions. Simplify
27518 test for 0.0L and nan. Correct negation.
27519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27520 ieee875 long double macros and unions. Correct output for large
27521 magnitude x. Correct absolute value calculation.
27522 (__erfcl): Likewise.
27523 * math/libm-test.inc: Add tests for errors discovered in IBM long
27524 double versions of fmodl, remainderl, erfl and erfcl.
27526 2013-10-04 Alan Modra <amodra@gmail.com>
27528 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27529 all uses of ieee854 long double macros and unions. Simplify tests
27530 for long doubles that are fully specified by the high double.
27531 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27533 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27534 Remove dead code too.
27535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27536 (__ieee754_ynl): Likewise.
27537 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27538 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27540 Remove dead code too.
27541 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27542 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27543 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27544 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27546 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27548 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27549 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27550 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27551 Comment on variable precision.
27552 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27553 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27555 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27556 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27557 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27558 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27559 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27561 2013-10-04 Alan Modra <amodra@gmail.com>
27563 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27565 all uses of ieee854 long double macros and unions.
27566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27570 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27573 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27574 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27575 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27576 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27577 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27578 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27579 Simplify sign and nan test too.
27580 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27581 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27582 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27583 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27585 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27586 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27588 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27589 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27590 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27591 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27592 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27593 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27595 2013-10-04 Alan Modra <amodra@gmail.com>
27597 * stdio-common/printf_size.c (__printf_size): Don't use
27598 union ieee854_long_double in fpnum union.
27599 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27600 signbit macro to retrieve sign from long double.
27601 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27602 retrieve sign from long double.
27603 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27604 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27605 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27606 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27607 * math/test-misc.c (main): Don't use union ieee854_long_double.
27609 2013-10-04 Alan Modra <amodra@gmail.com>
27612 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27613 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27614 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27615 calculation. Remove unnecessary test for denormal exponent.
27616 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27617 Correct handling of denormals. Avoid undefined shift behaviour.
27618 Correct normalisation of low mantissa when low double is denormal.
27619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27620 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27621 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27622 Correct normalisation of low mantissa. Test for overflow of high
27623 mantissa and normalise.
27624 (ldbl_nearbyint): Use more readable constant for two52.
27625 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27626 (__mpn_construct_long_double): Fix test for overflow of high
27627 mantissa and correct normalisation. Avoid undefined shift.
27629 2013-10-04 Alan Modra <amodra@gmail.com>
27631 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27632 (union ibm_extended_long_double): Define as an array of ieee754_double.
27633 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27634 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27635 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27636 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27638 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27640 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27641 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27643 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27645 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27647 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27648 page size instead of calling getpagesize.
27650 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27651 (LOCFILE_ALIGN_MASK): Likewise.
27652 (LOCFILE_ALIGN_UP): Likewise.
27653 (LOCFILE_ALIGNED_P): Likewise.
27654 * locale/programs/ld-collate.c (collate_output): Use the new
27655 macros instead of __alignof__ (int32_t).
27656 * locale/weight.h (findidx): Likewise.
27658 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27661 * manual/string.texi: Fix strncat and wcsncat.
27663 2013-10-03 Brooks Moses <bmoses@google.com>
27666 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27667 * Makerules: ...here, and adjust associated comments.
27669 2013-10-02 Will Newton <will.newton@linaro.org>
27671 * malloc/Makefile: Add tst-pvalloc.
27672 * malloc/tst-pvalloc.c: New file.
27674 2013-10-02 Will Newton <will.newton@linaro.org>
27676 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27677 improve test coverage.
27679 2013-10-02 Will Newton <will.newton@linaro.org>
27681 * malloc/Makefile: Add tst-posix_memalign.
27682 * malloc/tst-posix_memalign.c: New file.
27684 2013-10-01 Eric Blake <eblake@redhat.com>
27686 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27687 Use __THROWNL rather than __THROW on static functions.
27689 2013-09-30 Petr Machata <pmachata@redhat.com>
27691 * elf/elf.h (R_AARCH64_ABS16): New macro.
27692 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27693 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27694 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27695 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27696 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27697 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27698 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27699 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27700 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27701 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27702 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27703 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27704 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27705 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27706 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27707 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27708 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27709 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27710 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27711 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27712 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27713 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27714 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27715 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27716 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27717 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27718 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27719 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27720 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27721 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27722 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27723 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27724 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27725 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27726 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27727 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27728 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27729 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27730 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27731 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27732 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27733 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27734 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27735 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27736 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27737 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27738 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27739 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27740 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27741 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27742 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27743 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27744 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27745 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27746 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27747 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27748 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27749 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27750 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27751 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27752 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27753 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27754 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27755 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27756 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27757 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27758 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27759 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27760 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27761 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27762 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27763 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27764 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27765 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27766 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27767 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27768 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27769 (R_AARCH64_TLSDESC_LDR): Likewise.
27770 (R_AARCH64_TLSDESC_ADD): Likewise.
27771 (R_AARCH64_TLSDESC_CALL): Likewise.
27773 2013-09-30 Andreas Schwab <schwab@suse.de>
27776 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27777 the nss database lookup.
27778 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27781 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27783 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27785 2013-09-28 P. J. McDermott <pj@pehjota.net>
27787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27788 ${Bash-specific parameter/pattern/string} parameter expansion.
27789 * sysdeps/unix/make-syscalls.sh: Likewise.
27791 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27793 * sysdeps/sh/stackguard-macros.h: New file.
27795 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27799 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27800 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27801 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27802 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27804 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27806 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27807 Fix thread ID register.
27809 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27811 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27812 [POSIX || UNIX98]: Require rather than permitting all symbols from
27814 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27815 element of struct sched_param.
27816 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27817 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27818 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27819 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27822 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27824 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27825 argument calculation.
27827 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27829 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27831 [POSIX] (pthread_attr_t): Do not require type.
27832 [POSIX] (pthread_cond_t): Likewise.
27833 [POSIX] (pthread_condattr_t): Likewise.
27834 [POSIX] (pthread_key_t): Likewise.
27835 [POSIX] (pthread_mutex_t): Likewise.
27836 [POSIX] (pthread_mutexattr_t): Likewise.
27837 [POSIX] (pthread_once_t): Likewise.
27838 [POSIX] (pthread_t): Likewise.
27839 [POSIX-based standards] (pthread_atfork): Expect function.
27841 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27842 Richard Sandiford <richard@codesourcery.com>
27844 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27845 (swap_endianness_p): New extern variable.
27846 (set_big_endian): New inline function.
27847 (maybe_swap_uint32): Likewise.
27848 (maybe_swap_uint32_array): Likewise.
27849 (maybe_swap_uint32_obstack): Likewise.
27850 * locale/programs/locfile.c: Include <stdbool.h>.
27851 (swap_endianness_p): New variable.
27852 (add_locale_uint32): Call maybe_swap_uint32.
27853 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27854 (write_locale_data): Call maybe_swap_uint32_array.
27855 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27857 (obstack_int32_grow_fast): Likewise.
27858 (output_weightwc): Call maybe_swap_uint32_obstack.
27859 (collate_output): Likewise.
27860 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27861 (OPT_LITTLE_ENDIAN): Likewise.
27862 (options): Add --little-endian and --big-endian options.
27863 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27864 * locale/programs/locarchive.c: Include "locfile.h".
27868 (create_archive): Use the new macros to access fields of
27869 structures directly mapped from or written to locale archives.
27870 (oldlocrecentcmp): Likewise.
27871 (enlarge_archive): Likewise.
27872 (insert_name): Likewise.
27873 (add_alias): Likewise.
27874 (add_locale): Likewise.
27875 (delete_locales_from_archive): Likewise.
27876 (show_archive_content): Likewise.
27877 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27880 2013-09-24 Roland McGrath <roland@hack.frob.com>
27882 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27883 http://www.gnu.org/doc/freemanuals.texi.
27884 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27886 2013-09-24 Will Newton <will.newton@linaro.org>
27888 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27891 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27893 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27896 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27898 * manual/threads.texi (POSIX Threads): Fix a typo.
27900 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27903 * string/tst-strcoll-overflow.c: New test case.
27904 * string/Makefile (xtests): Add tst-strcoll-overflow.
27905 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27906 cache if string sizes may cause integer overflow.
27909 * string/strcoll_l.c (coll_seq): New members rule, idx,
27910 save_idx and back_us.
27911 (get_next_seq_nocache): New function.
27912 (do_compare_nocache): New function.
27913 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27916 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27919 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27920 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27921 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27924 * elf/Makefile (tests): Add tst-ptrguard1.
27925 (tests-static): Add tst-ptrguard1-static.
27926 (tst-ptrguard1-ARGS): Define.
27927 (tst-ptrguard1-static-ARGS): Define.
27928 * elf/tst-ptrguard1.c: New file.
27929 * elf/tst-ptrguard1-static.c: New file.
27930 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27931 * sysdeps/i386/stackguard-macros.h: Likewise.
27932 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27933 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27934 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27935 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27936 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27937 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27939 2013-09-23 Hector Marco <hecmargi@upv.es>
27940 Ismael Ripoll <iripoll@disca.upv.es>
27941 Carlos O'Donell <carlos@redhat.com>
27944 * sysdeps/generic/stackguard-macros.h: Define
27945 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27946 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27947 Define __pointer_chk_guard_local.
27948 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27949 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27951 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27954 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27956 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27958 * include/string.h (__ffs): Declare as hidden.
27959 * string/ffs.c (__ffs): Define as hidden.
27960 * sysdeps/i386/ffs.c (__ffs): Likewise.
27961 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27962 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27963 * sysdeps/s390/ffs.c (__ffs): Likewise.
27964 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27966 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27968 * NEWS: Mention malloc probes.
27970 * malloc/arena.c (new_heap): New memory_heap_new probe.
27971 (grow_heap): New memory_heap_more probe.
27972 (shrink_heap): New memory_heap_less probe.
27973 (heap_trim): New memory_heap_free probe.
27974 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27975 (systrim): New memory_sbrk_less probe.
27976 * manual/probes.texi: Document them.
27978 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27979 * manual/probes.texi: Document it.
27981 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27982 (__libc_realloc): Add memory_realloc_retry probe.
27983 (__libc_memalign): Add memory_memalign_retry probe.
27984 (__libc_valloc): Add memory_valloc_retry probe.
27985 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27986 (__libc_calloc): Add memory_calloc_retry probe.
27987 * manual/probes.texi: Document them.
27989 * malloc/arena.c (get_free_list): Add probe
27990 memory_arena_reuse_free_list.
27991 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27992 and memory_arena_reuse.
27993 (arena_get2) [!PER_THREAD]: Likewise.
27994 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27995 memory_arena_reuse_realloc.
27996 * manual/probes.texi: Document them.
27998 * malloc/malloc.c (__libc_free): Add
27999 memory_mallopt_free_dyn_thresholds probe.
28000 (__libc_mallopt): Add multiple memory_mallopt probes.
28001 * manual/probes.texi: Document them.
28003 * malloc/malloc.c: Include stap-probe.h.
28004 (__libc_mallopt): Add memory_mallopt probe.
28005 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28006 * manual/probes.texi: New.
28007 * manual/Makefile (chapters): Add probes.
28008 * manual/threads.texi: Set next node.
28010 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28012 [BZ #15963, #13985]
28013 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28014 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28015 Add `Chinese' to `nan' entry name.
28017 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28019 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28020 (POLYNOMIAL): Likewise.
28021 (TAYLOR_SINCOS): Likewise.
28022 (TAYLOR_SLOW): Likewise.
28023 (__sin): Use TAYLOR_SINCOS.
28025 (slow): Use TAYLOR_SLOW.
28027 (bsloww): Likewise.
28028 (csloww): Likewise.
28030 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28032 * stdlib/strtod_l.c: Fix buffer overrun.
28034 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28036 * benchtests/Makefile (bench): Add sincos.
28037 * benchtests/bench-sincos.c: New file.
28039 * math/libm-test.inc (cos_test_data): New test inputs.
28040 (sin_test_data): Likewise.
28042 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28048 (sloww1): Likewise.
28049 (sloww2): Likewise.
28050 (bsloww1): Likewise.
28051 (bsloww2): Likewise.
28052 (cslow2): Likewise.
28053 (csloww1): Likewise.
28054 (csloww2): Likewise.
28056 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28065 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28067 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28068 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28069 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28070 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28071 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28072 * elf/cache.c (print_entry): Handle the new cache flags.
28074 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28075 Aldy Hernandez <aldyh@redhat.com>
28077 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28078 Change condition to [_SOFT_FLOAT].
28079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28091 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28093 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28094 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28097 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28099 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28100 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28101 (__longjmp): Use LOAD_GP to load saved GPRs.
28102 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28103 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28104 (__sigsetjmp): Use SAVE_GP to save GPRs.
28106 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28107 Do not append -msoft-float.
28108 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28110 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28112 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28114 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28117 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28118 (_FPU_GETCW): Use initial "__" on variable and field names but not
28119 on macro parameter name.
28120 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28121 parentheses around reference to macro parameter.
28123 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28125 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28127 (ctype_startup): Use uint32_t in cast and sizeof for
28130 2013-09-11 Jia Liu <proljc@gmail.com>
28132 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28134 [__FreeBSD__]: Likewise.
28136 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28139 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28140 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28141 (strchr): Remove __strchr_sse42 ifunc selection.
28142 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28143 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28145 2013-09-11 Will Newton <will.newton@linaro.org>
28147 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28148 parameter to RES. Remove hardcoded 1000 value.
28149 * benchtests/bench-skeleton.c (main): Pass RES parameter
28150 to TIMING_INIT and multiply result by 1000.
28152 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28156 2013-09-11 Andreas Schwab <schwab@suse.de>
28158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28160 (O_TMPFILE) [__USE_GNU]: Define.
28161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28164 2013-09-11 Will Newton <will.newton@linaro.org>
28167 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28170 2013-09-11 Will Newton <will.newton@linaro.org>
28173 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28176 2013-09-11 Will Newton <will.newton@linaro.org>
28179 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28182 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28184 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28185 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28187 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28188 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28190 2013-09-10 Allan McRae <allan@archlinux.org>
28193 * manual/arith.texi (Parsing of Floats): Clarify
28197 * manual/install.texi (Running make install): Mention
28199 * INSTALL: Regenerated.
28201 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28203 * csu/init-first.c (_init): Remove the !SHARED condition around
28204 FPU control word initialization.
28205 * elf/dl-support.c (_dl_fpu_control): New variable.
28206 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28207 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28208 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28209 * math/test-fpucw-static.c: New file.
28210 * math/test-fpucw-ieee.c: New file.
28211 * math/test-fpucw-ieee-static.c: New file.
28212 * math/Makefile (tests): Add `test-fpucw-ieee' and
28214 (tests-static): New variable.
28215 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28217 [($(build-shared),yes)]
28218 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28220 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28223 2013-09-09 Allan McRae <allan@archlinux.org>
28226 * manual/string.texi (Collation Functions): Fix typo in
28228 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28231 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28234 * libio/memstream.c (open_memstream): Fix memory leak.
28235 * libio/wmemstream.c (open_wmemstream): Likewise.
28238 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28240 2013-09-09 Will Newton <will.newton@linaro.org>
28242 * malloc/Makefile: Add tst-realloc to tests.
28243 * malloc/tst-realloc.c: New file.
28245 2013-09-09 Allan McRae <allan@archlinux.org>
28248 * COPYING: Update from GNU website to fix FSF address.
28249 * COPYING.LIB: Likewise.
28251 2013-09-06 David S. Miller <davem@davemloft.net>
28253 * po/zh_TW.po: Update Chinese (traditional) translation from
28254 translation project.
28256 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28257 Joseph Myers <joseph@codesourcery.com>
28259 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28261 (obstack_chunk_alloc): New macro.
28262 (obstack_chunk_free): Likewise.
28263 (record_offset): New function.
28264 (init_locale_data): Likewise.
28265 (align_locale_data): Likewise.
28266 (add_locale_empty): Likewise.
28267 (add_locale_raw_data): Likewise.
28268 (add_locale_raw_obstack): Likewise.
28269 (add_locale_string): Likewise.
28270 (add_locale_wstring): Likewise.
28271 (add_locale_uint32): Likewise.
28272 (add_locale_uint32_array): Likewise.
28273 (add_locale_char): Likewise.
28274 (start_locale_structure): Likewise.
28275 (end_locale_structure): Likewise.
28276 (start_locale_prelude): Likewise.
28277 (end_locale_prelude): Likewise.
28278 (write_locale_data): Take locale_file structure rather than an
28280 * locale/programs/locfile.h: Include "obstack.h".
28281 (struct locale_file): Change to store locale file contents instead
28283 (init_locale_data): New prototype.
28284 (align_locale_data): Likewise.
28285 (add_locale_empty): Likewise.
28286 (add_locale_raw_data): Likewise.
28287 (add_locale_raw_obstack): Likewise.
28288 (add_locale_string): Likewise.
28289 (add_locale_wstring): Likewise.
28290 (add_locale_uint32): Likewise.
28291 (add_locale_uint32_array): Likewise.
28292 (add_locale_char): Likewise.
28293 (start_locale_structure): Likewise.
28294 (end_locale_structure): Likewise.
28295 (start_locale_prelude): Likewise.
28296 (end_locale_prelude): Likewise.
28297 (write_locale_data): Update prototype.
28298 * locale/programs/3level.h (struct TABLE): Remove result field.
28299 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28300 Use new locale_file interface.
28301 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28302 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28303 * locale/programs/ld-address.c (address_output): Use new
28304 locale_file interface.
28305 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28307 (collate_finish): Don't call collseq_table_finalize.
28308 (collate_output): Use new locale_file interface.
28309 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28311 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28312 (TABLE): Move defines earlier in file.
28313 (ELEMENT): Likewise.
28314 (DEFAULT): Likewise.
28315 (wctrans_table_add): Move macro and inline function earlier in
28317 (struct wctype_table): Move type earlier in file.
28318 (add_locale_wctype_table): New static prototype.
28319 (struct locale_ctype_t): Use logical types instead of struct iovec
28320 pointers for members.
28321 (ctype_output): Use new locale_file interface.
28322 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28323 new locale_file interface.
28324 (allocate_arrays): Update for use of new locale_file interface.
28325 * locale/programs/ld-identification.c (identification_output): Use
28326 new locale_file interface.
28327 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28328 * locale/programs/ld-messages.c (messages_output): Likewise.
28329 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28330 * locale/programs/ld-name.c (name_output): Likewise.
28331 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28332 * locale/programs/ld-paper.c (paper_output): Likewise.
28333 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28334 * locale/programs/ld-time.c (time_output): Likewise.
28336 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28338 * benchtests/Makefile: Add memrchr benchmark.
28339 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28340 benchmark as memrchr.
28341 * benchtests/bench-memrchr-ifunc.c: New file.
28342 * benchtests/bench-memrchr.c: New file.
28344 2013-09-06 Will Newton <will.newton@linaro.org>
28346 * benchtests/Makefile (string-bench): Add memcpy.
28348 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28349 Cong Wang <amwang@redhat.com>
28352 * sysdeps/unix/sysv/linux/bits/in.h
28353 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28354 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28355 before __USE_KERNEL_IPV6_DEFS uses.
28356 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28358 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28359 sockaddr_in6, or ipv6_mreq.
28361 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28363 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28364 memory access for final bytes in some large inputs.
28365 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28367 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28369 * string/test-memrchr.c: New file.
28370 * string/test-memrchr-ifunc.c: New file.
28371 * string/Makefile: Add new memrchr testcase.
28373 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28375 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28376 fanotify_init returns EPERM.
28378 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28380 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28382 (top level): Treat second token from macro or constant entries for
28383 allowed headers as allowed.
28384 * include/complex.h: Condition internal declarations on
28386 * include/fenv.h: Condition include of <stdbool.h> and internal
28387 declarations on [!_ISOMAC].
28389 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28392 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28394 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28396 * configure.in (--enable-versioning): Remove configure option.
28397 (libc_cv_asm_symver_directive): Remove configure test.
28398 (libc_cv_ld_version_script_option): Likewise.
28399 (VERSIONING): Remove variable and AC_SUBST.
28400 (DO_VERSIONING): Remove AC_DEFINE.
28401 * configure: Regenerated.
28402 * config.h.in (DO_VERSIONING): Remove macro.
28403 * Makerules [$(versioning) = yes]: Change conditionals to
28404 [$(build-shared) = yes].
28405 * config.make.in (versioning): Remove variable.
28406 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28407 [$(build-shared) = yes].
28408 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28409 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28410 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28411 [$(build-shared) = yes].
28412 * extra-lib.mk [$(versioning) = yes]: Likewise.
28413 * hurd/Makefile [$(versioning) = yes]: Likewise.
28414 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28416 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28418 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28419 [SHARED && !NO_HIDDEN].
28420 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28422 [SHARED && DO_VERSIONING]: Likewise..
28423 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28424 [$(build-shared) = yes].
28425 * manual/install.texi (--disable-versioning): Remove
28427 * INSTALL: Regenerated.
28428 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28430 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28431 [$(build-shared) = yes].
28432 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28433 * sysdeps/i386/i686/multiarch/strstr-c.c
28434 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28435 [SHARED && !NO_HIDDEN].
28436 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28437 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28438 * sysdeps/powerpc/powerpc32/dl-machine.c
28439 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28440 * sysdeps/powerpc/powerpc32/sysdep.h
28441 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28442 to [SHARED && PIC && !NO_HIDDEN].
28443 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28444 conditional to [SHARED].
28446 2013-09-04 Will Newton <will.newton@linaro.org>
28448 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28449 * benchtests/bench-string.h: Include bench-timing.h instead
28450 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28451 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28452 call to HP_TIMING_DIFF_INIT.
28453 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28454 instead of hp-timing.h macros.
28455 * benchtests/bench-memchr.c: Likewise.
28456 * benchtests/bench-memcmp.c: Likewise.
28457 * benchtests/bench-memcpy.c: Likewise.
28458 * benchtests/bench-memmem.c: Likewise.
28459 * benchtests/bench-memmove.c: Likewise.
28460 * benchtests/bench-memset.c: Likewise.
28461 * benchtests/bench-rawmemchr.c: Likewise.
28462 * benchtests/bench-strcasecmp.c: Likewise.
28463 * benchtests/bench-strcasestr.c: Likewise.
28464 * benchtests/bench-strcat.c: Likewise.
28465 * benchtests/bench-strchr.c: Likewise.
28466 * benchtests/bench-strcmp.c: Likewise.
28467 * benchtests/bench-strcpy.c: Likewise.
28468 * benchtests/bench-strcpy_chk.c: Likewise.
28469 * benchtests/bench-strlen.c: Likewise.
28470 * benchtests/bench-strncasecmp.c: Likewise.
28471 * benchtests/bench-strncat.c: Likewise.
28472 * benchtests/bench-strncmp.c: Likewise.
28473 * benchtests/bench-strncpy.c: Likewise.
28474 * benchtests/bench-strnlen.c: Likewise.
28475 * benchtests/bench-strpbrk.c: Likewise.
28476 * benchtests/bench-strrchr.c: Likewise.
28477 * benchtests/bench-strspn.c: Likewise.
28478 * benchtests/bench-strstr.c: Likewise.
28480 2013-09-04 Will Newton <will.newton@linaro.org>
28482 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28484 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28487 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28488 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28489 * math/libm-test.inc (lgamma_test_data): Add more tests.
28490 * sysdeps/i386/fpu/libm-test-ulps: Update.
28491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28493 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28495 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28499 Add strcmp-sse2-unaligned
28500 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28502 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28504 * Versions.def (libc): Add GLIBC_2.19.
28506 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28508 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28509 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28511 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28514 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28515 intermediate calculations in recurrence.
28516 (__ieee754_ynf): Likewise.
28517 * math/libm-test.inc (jn_test_data): Do not allow spurious
28518 underflow exception. Add more tests.
28519 (yn_test_data): Add more tests.
28520 * sysdeps/i386/fpu/libm-test-ulps: Update.
28521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28523 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28525 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28527 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28529 * csu/init-first.c: Fix then/than typos.
28530 * locale/programs/ld-collate.c: Likewise.
28531 * locale/programs/linereader.h: Likewise.
28532 * manual/charset.texi: Likewise.
28533 * manual/filesys.texi: Likewise.
28534 * manual/stdio.texi: Likewise.
28535 * manual/string.texi: Likewise.
28536 * stdlib/fmtmsg.c: Likewise.
28537 * sysdeps/i386/stpncpy.S: Likewise.
28538 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28539 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28540 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28541 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28543 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28545 * elf/dl-open.c: Fix typos.
28546 * iconvdata/gbbig5.c: Likewise.
28547 * iconvdata/iso-2022-jp.c: Likewise.
28548 * iconv/gconv_int.h: Likewise.
28549 * iconv/loop.c: Likewise.
28550 * nis/rpcsvc/nis.h: Likewise.
28551 * resolv/ns_name.c: Likewise.
28552 * stdio-common/vfscanf.c: Likewise.
28553 * streams/stropts.h: Likewise.
28554 * sunrpc/rpc_thread.c: Likewise.
28555 * sysdeps/i386/strpbrk.S: Likewise.
28556 * sysdeps/ieee754/k_standard.c: Likewise.
28557 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28558 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28559 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28560 * sysdeps/mach/hurd/profil.c: Likewise.
28561 * sysdeps/s390/dl-procinfo.h: Likewise.
28562 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28563 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28564 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28565 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28566 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28568 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28570 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28573 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28575 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28576 aix specific files.
28577 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28578 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28579 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28580 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28581 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28582 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28583 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28584 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28586 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28587 Roland McGrath <roland@hack.frob.com>
28589 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28590 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28592 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28594 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28595 __executable_start symbol instead of _start.
28597 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28599 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28600 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28602 * sysdeps/gnu/ldsodefs.h: ... this new file.
28604 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28605 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28606 instead of ELFOSABI_LINUX.
28608 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28609 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28610 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28611 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28613 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28614 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28615 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28617 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28618 (ibm_extended_long_double): Add ieee_nan member.
28619 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28620 (do_test): New function.
28622 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28624 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28625 functions, renamed from truncdfsf_test, trunctfsf_test,
28627 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28629 (do_test): Run all these.
28631 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28633 * argp/argp-help.c: Fix typos.
28634 * argp/argp-parse.c: Likewise.
28635 * debug/backtracesyms.c: Likewise.
28636 * elf/elf.h: Likewise.
28637 * malloc/malloc.c: Likewise.
28638 * nis/nis_print.c: Likewise.
28639 * resolv/res_comp.c: Likewise.
28640 * stdlib/stdlib.h: Likewise.
28641 * sunrpc/clnt_tcp.c: Likewise.
28642 * sunrpc/clnt_udp.c: Likewise.
28643 * sunrpc/clnt_unix.c: Likewise.
28644 * sysdeps/unix/bsd/ptsname.c: Likewise.
28645 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28646 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28653 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28655 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28657 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28660 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28663 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28664 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28665 ($(objpfx)bug-dl-leaf): New rule.
28666 ($(objpfx)bug-dl-leaf.so): Likewise.
28667 ($(objpfx)bug-dl-leaf.out): Likewise.
28668 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28669 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28670 * dlfcn/bug-dl-leaf.c: New test.
28671 * dlfcn/bug-dl-leaf-lib.c: Likewise.
28672 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28673 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28674 (dlclose): Likewise.
28675 (dlmopen): Likewise.
28677 2013-08-27 Roland McGrath <roland@hack.frob.com>
28679 * include/netdb.h [!_ISOMAC]:
28680 Don't include <tls.h>.
28681 (h_errno, __libc_h_errno): Move declaration and macros out of
28684 * include/resolv.h [_RESOLV_H_]:
28685 Don't include <tls.h>.
28686 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28687 * resolv/res_libc.c: Don't include <tls.h>.
28688 (_res): Use __attribute__ ((nocommon)) in place of
28689 __attribute__ ((section (".bss"))).
28691 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28692 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28694 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28696 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28697 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28699 * resolv/res_mkquery.c: Include <sys/time.h>.
28701 * inet/ifreq.c: Moved to ...
28702 * sysdeps/unix/ifreq.c: ... here.
28703 * inet/ifreq.c: New file, true stub version.
28705 * socket/sa_len.c: New file.
28706 * socket/Makefile (aux): Add it.
28707 * sysdeps/unix/sysv/linux/Makefile
28708 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28709 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28710 and #include <socket/sa_len.c>.
28711 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28712 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28714 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28715 * bits/socket.h: ... here.
28717 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28718 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28719 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28721 2013-08-27 Andreas Schwab <schwab@suse.de>
28724 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28725 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28726 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28727 * string/test-strcasecmp.c (test_main): Run tests in several
28729 * string/test-strncasecmp.c (test_main): Likewise.
28731 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28732 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28733 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28735 (__strncasecmp_ssse3) [PIC]: Likewise.
28737 2013-08-26 Roland McGrath <roland@hack.frob.com>
28739 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28741 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28742 instead of explicitly declaring xdecrypt.
28743 * nis/nss_nis/nis-publickey.c: Likewise.
28745 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28748 * nscd/aicache.c: Include res_hconf.h.
28749 (addhstaiX): Initialize res_hconf.
28751 2013-08-26 Andreas Schwab <schwab@suse.de>
28753 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28754 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28756 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28758 * nscd/aicache.c (addhstaiX): Fix indentation.
28760 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28762 * configure.ac: Quote $build_pt_chown test.
28763 * configure: Regenerated.
28765 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28768 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28769 * math/s_cexpf.c (__cexpf): Likewise.
28770 * math/s_cexpl.c (__cexpl): Likewise.
28771 * math/libm-test.inc (cexp_test_data): Correct expected return
28772 value for NaN + i0. Add another test.
28774 2013-08-22 David S. Miller <davem@davemloft.net>
28776 * po/ca.po: Update Catalan translation from translation project.
28777 * po/uk.po: Add Ukrainian translations from translation project.
28779 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28782 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28783 is infinite, not alongside NaN test.
28784 * math/s_fdimf.c (__fdimf): Likewise.
28785 * math/s_fdiml.c (__fdiml): Likewise.
28786 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28787 errno is unchanged.
28789 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28791 * argp/argp-help.c: Fix typos.
28792 * crypt/speeds.c: Likewise.
28793 * csu/check_fds.c: Likewise.
28794 * elf/dl-load.c: Likewise.
28795 * elf/dl-open.c: Likewise.
28796 * elf/reldep3.c: Likewise.
28797 * elf/reldep.c: Likewise.
28798 * elf/sprof.c: Likewise.
28799 * iconv/iconv_charmap.c: Likewise.
28800 * iconv/skeleton.c: Likewise.
28801 * iconv/strtab.c: Likewise.
28802 * io/lockf64.c: Likewise.
28803 * libio/libioP.h: Likewise.
28804 * resolv/gai_notify.c: Likewise.
28805 * resolv/ns_name.c: Likewise.
28806 * resolv/ns_samedomain.c: Likewise.
28807 * resolv/res_send.c: Likewise.
28808 * stdlib/random.c: Likewise.
28809 * sunrpc/rpc/xdr.h: Likewise.
28810 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28811 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28814 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28815 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28817 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28818 * sysdeps/mach/hurd/check_fds.c: Likewise.
28819 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28820 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28822 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28823 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28824 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28825 * sysdeps/pthread/aio_notify.c: Likewise.
28826 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28827 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28828 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28830 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28832 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28834 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28835 version if bit_Slow_SSE4_2 is set.
28836 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28837 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28839 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28842 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28843 trampoline stack frame information.
28844 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28845 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28846 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28847 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28848 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28849 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28850 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28851 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28853 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28854 interrupting a syscall and set with option SA_SIGINFO.
28856 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28859 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28860 argument is infinite.
28861 * math/s_cprojf.c (__cprojf): Likewise.
28862 * math/s_cprojl.c (__cprojl): Likewise.
28863 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28864 * math/libm-test.inc (cproj_test_data): Add more tests.
28866 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28868 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28869 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28870 size. Use __ffs to determine corresponding shift.
28872 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28873 Roland McGrath <roland@hack.frob.com>
28875 * Makefile (INSTALL): Remove trailing blank lines from output of
28878 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28880 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28881 Align 32 bit compat elf_greg to 8 bytes.
28883 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28885 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28887 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28889 * string/strcoll_l.c (coll_seq): New structure.
28890 (get_next_seq_cached): New function.
28891 (get_next_seq): New function.
28892 (do_compare): New function.
28893 (STRCOLL): Use GNU style definition. Simplify implementation
28894 by using get_next_seq, get_next_seq_cached and do_compare.
28896 2013-08-16 Florian Weimer <fweimer@redhat.com>
28900 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28902 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28904 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28905 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28906 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28908 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28909 GETDENTS_64BIT_ALIGNED.
28910 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28911 * manual/filesys.texi (Reading/Closing Directory): Document
28912 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28914 * manual/conf.texi (Limits for Files): Add portability note to
28915 NAME_MAX, PATH_MAX.
28916 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28918 2013-08-13 Andreas Schwab <schwab@suse.de>
28921 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28923 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28924 LDBL_MAX_EXP >= 16384]: Add tests for it.
28926 2013-08-12 David S. Miller <davem@davemloft.net>
28928 * version.h (RELEASE): Set to "development".
28929 (VERSION): Set to "2.18.90".
28930 * NEWS: Add 2.19 section.
28932 2013-08-03 David S. Miller <davem@davemloft.net>
28934 * po/ko.po: Update Korean translation from translation project.
28936 2013-08-01 David S. Miller <davem@davemloft.net>
28938 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28939 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28942 2013-07-30 David S. Miller <davem@davemloft.net>
28944 * po/fr.po: Update French translation from translation project.
28946 2013-07-28 David S. Miller <davem@davemloft.net>
28948 * po/cs.po: Update Czech translation from translation project.
28950 * po/sv.po: Update Swedish translation from translation project.
28952 2013-07-27 David S. Miller <davem@davemloft.net>
28954 * po/eo.po: Update Esperanto translation from translation project.
28956 * po/vi.po: Update Vietnamese translation from translation project.
28958 * po/de.po: Update German translation from translation project.
28960 2013-07-26 David S. Miller <davem@davemloft.net>
28962 * po/bg.po: Update Bulgarian translation from translation project.
28964 * po/nl.po: Update Dutch translation from translation project.
28965 * po/pl.po: Update Polish translation from translation project.
28966 * po/ru.po: Update Russian translation from translation project.
28968 2013-07-24 David S. Miller <davem@davemloft.net>
28970 * po/libc.pot: Update.
28972 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28974 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28975 variable page size.
28976 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28977 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28978 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28980 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28982 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28984 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28985 Andreas Schwab <schwab@suse.de>
28986 Roland McGrath <roland@hack.frob.com>
28987 Joseph Myers <joseph@codesourcery.com>
28988 Carlos O'Donell <carlos@redhat.com>
28991 * config.h.in: Define HAVE_PT_CHOWN.
28992 * config.make.in (build-pt-chown): New variable.
28993 * configure.in (--enable-pt_chown): New configure option.
28994 * configure: Regenerate.
28995 * login/Makefile: Include Makeconfig. Build pt_chown only if
28996 build-pt-chown is enabled.
28997 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28998 pt_chown to fix pty ownership.
28999 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29001 * manual/install.texi (Configuring and compiling): Mention
29002 --enable-pt_chown. Add @findex for grantpt.
29003 * INSTALL: Regenerate.
29005 2013-07-20 David S. Miller <davem@davemloft.net>
29007 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29008 difference between 32-bit and 64-bit.
29010 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29013 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29014 Avoid system header dependency with -ffreestanding.
29015 ($(objpfx)bits/syscall%d): Likewise.
29017 2013-07-13 David S. Miller <davem@davemloft.net>
29019 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29020 underflows from atanl/atan2l due to bug 15319.
29021 (casinh_test_data): Likewise.
29023 2013-07-07 David S. Miller <davem@davemloft.net>
29025 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29027 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29029 * sysdeps/i386/fpu/libm-test-ulps: Update.
29030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29032 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29034 * configure.in (--enable-lock-elision): Fix message text.
29035 * INSTALL: Regenerate.
29036 * configure: Regenerate.
29038 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29042 2013-07-03 Andreas Jaeger <aj@suse.de>
29044 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29046 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29047 (ptrace_peeksiginfo_args): Add.
29048 (__ptrace_peeksiginfo_flags): Add.
29049 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29053 2013-07-03 Allan McRae <allan@archlinux.org>
29055 * sysdeps/i386/fpu/libm-test-ulps: Update.
29057 2013-07-02 David S. Miller <davem@davemloft.net>
29059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29061 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29065 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29067 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29070 2013-07-02 Andi Kleen <ak@linux.intel.com>
29072 * config.h.in (ENABLE_LOCK_ELISION): Add.
29073 * configure.in (--enable-lock-elision): Add option.
29074 * manual/install.texi: Document --enable lock elision.
29075 * configure: Regenerate
29076 * INSTALL: Regenerate.
29078 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29080 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29081 SSE4.2 strcasecmp for libc.a.
29082 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29084 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29087 * soft-fp/op-common.h (_FP_FMA): New macro.
29088 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29089 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29090 (_FP_MUL_MEAT_1_imm): ... here.
29091 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29092 (_FP_MUL_MEAT_1_wide): ... here.
29093 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29094 (_FP_MUL_MEAT_1_hard): ... here.
29095 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29096 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29097 (_FP_MUL_MEAT_2_wide): ... here.
29098 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29099 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29100 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29101 (_FP_MUL_MEAT_2_gmp): ... here.
29102 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29103 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29104 (_FP_MUL_MEAT_4_wide): ... here.
29105 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29106 (_FP_MUL_MEAT_4_gmp): ... here.
29107 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29108 (_FP_WFRACBITS_DW_S): Likewise.
29109 (_FP_WFRACXBITS_DW_S): Likewise.
29110 (_FP_HIGHBIT_DW_S): Likewise.
29111 (FP_FMA_S): Likewise.
29112 (_FP_FRAC_HIGH_DW_S): Likewise.
29113 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29114 (_FP_WFRACBITS_DW_D): Likewise.
29115 (_FP_WFRACXBITS_DW_D): Likewise.
29116 (_FP_HIGHBIT_DW_D): Likewise.
29117 (FP_FMA_D): Likewise.
29118 (_FP_FRAC_HIGH_DW_D): Likewise.
29119 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29120 (_FP_WFRACBITS_DW_E): Likewise.
29121 (_FP_WFRACXBITS_DW_E): Likewise.
29122 (_FP_HIGHBIT_DW_E): Likewise.
29123 (FP_FMA_E): Likewise.
29124 (_FP_FRAC_HIGH_DW_E): Likewise.
29125 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29126 (_FP_WFRACBITS_DW_Q): Likewise.
29127 (_FP_WFRACXBITS_DW_Q): Likewise.
29128 (_FP_HIGHBIT_DW_Q): Likewise.
29129 (FP_FMA_Q): Likewise.
29130 (_FP_FRAC_HIGH_DW_Q): Likewise.
29131 * soft-fp/fmasf4.c: New file.
29132 * soft-fp/fmadf4.c: Likewise.
29133 * soft-fp/fmatf4.c: Likewise.
29135 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29138 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29140 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29142 (index_Slow_SSE4_2): Likewise.
29143 (index_Prefer_PMINUB_for_stringop): Likewise.
29144 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29145 bit_Slow_SSE4_2 is set.
29146 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29147 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29149 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29151 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29152 rtld_global._dl_hwcap2.
29153 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29155 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29156 POWER8 feature descriptions defined in _dl_hwcap2.
29157 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29158 string handling for POWER8 feature bits.
29159 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29160 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29161 _dl_powerpc_cap_flags.
29162 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29163 * sysdeps/powerpc/rtld-global-offsets.sym
29164 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29165 _dl_hwcap2 in the rtld_global_ro structure.
29167 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29169 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29170 hardware capabilities in support of AT_HWCAP2.
29171 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29172 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29174 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29175 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29176 explicitly the unknown a_type display mechanism is used.
29177 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29178 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29180 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29181 to macro prototype for AT_HWCAP2 support.
29182 * sysdeps/i386/dl-procinfo.h: Likewise.
29183 * sysdeps/s390/dl-procinfo.h: Likewise.
29184 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29185 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29186 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29187 return -1 for unknown a_type display fallback.
29188 * sysdeps/sparc/dl-procinfo.h: Likewise.
29189 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29190 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29192 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29194 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29195 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29197 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29200 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29201 mprotect making __stack_prot writable.
29203 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29204 Joseph Myers <joseph@codesourcery.com>
29206 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29207 as being properly aligned.
29209 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29211 * dlfcn/modstatic5.c: New file.
29212 * dlfcn/tststatic5.c: New file.
29213 * dlfcn/Makefile (tests): Add tststatic5.
29214 (tests-static): Likewise.
29215 (modules-names): Add modstatic5.
29216 (tststatic5-ENV): New variable.
29217 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29220 * elf/dl-support.c (_dl_main_map): New variable.
29221 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29222 (_dl_nns, _dl_load_adds): Set to 1.
29223 (_dl_initial_searchlist): Refer to _dl_main_map.
29224 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29225 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29226 call to _dl_get_origin.
29227 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29229 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29230 * dlfcn/modstatic3.c: New file.
29231 * dlfcn/tststatic3.c: New file.
29232 * dlfcn/tststatic4.c: New file.
29233 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29234 (tests-static): Likewise.
29235 (modules-names): Add modstatic3.
29236 (tststatic3-ENV, tststatic4-ENV): New variables.
29237 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29238 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29240 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29242 * configure.in (CC): Require GCC version 4.4 or later.
29243 * configure: Regenerated.
29244 * manual/install.texi (Tools for Compilation): Update GCC version
29246 * INSTALL: Regenerated.
29248 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29251 * string/test-memcmp.c (check2): New.
29252 (main): Call check2.
29254 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29256 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29259 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29261 (dl_open_worker) [!SHARED]: ... here.
29263 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29265 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29267 2013-06-25 Richard Henderson <rth@redhat.com>
29269 * locale/programs/locarchive.c: Include <libc-internal.h>
29271 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29273 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29274 trailing whitespace removed.
29276 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29279 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29280 * locale/programs/locarchive.c: Include libc-mmap.h.
29281 (prepare_address_space): Take two new outputs (the mmap base and len).
29282 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29284 (create_archive): Declare new mmap base and len values for
29285 prepare_address_space, and store the result in ah.
29286 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29287 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29288 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29289 Declare new mmap base and len values for
29290 prepare_address_space, and store the result in new_ah.
29291 (open_archive): Declare new mmap base and len values for
29292 prepare_address_space, and store the result in ah.
29293 (close_archive): If ah->mmap_base is not NULL, use that and
29294 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29295 * sysdeps/generic/libc-mmap.h: New file.
29297 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29299 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29300 (ALIGN_UP): Likewise.
29301 (PTR_ALIGN_DOWN): Likewise.
29302 (PTR_ALIGN_UP): Likewise.
29304 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29306 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29307 entry mapped to PPC_PLATFORM_POWER8.
29308 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29310 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29311 (_dl_string_platform): Add case for exporting platform position for
29313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29314 search path to sysdeps/powerpc/powerpc32/power8 directory.
29315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29316 search path to sysdeps/powerpc/powerpc64/power8 directory.
29317 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29318 power7 directories.
29319 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29320 power7 directories.
29322 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29324 * INSTALL: Regenerate.
29326 * nscd/connections.c (nscd_init): Fix comment.
29328 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29330 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29333 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29334 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29336 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29338 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29340 (DL_DST_REQ_STATIC): Remove macro.
29342 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29345 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29346 with a shift of 0 bits.
29348 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29350 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29353 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29356 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29358 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29360 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29361 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29362 accepts -fno-tree-loop-distribute-patterns.
29363 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29364 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29366 * string/memset.c (memset): Likewise.
29367 * string/test-memmove.c (simple_memmove): Disable loop transformation
29369 * string/test-memset.c (simple_memset): Likewise.
29370 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29371 * benchtests/bench-memset.c (simple_memset): Likewise.
29372 * configure: Regenerated.
29374 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29376 * math/test-misc.c (main): Ignore fesetround failure when failures
29377 of subsequent rounding tests would be ignored.
29380 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29381 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29382 * math/fegetenv.c (__fegetenv): Return 0.
29383 * math/fegetexcept.c (fegetexcept): Return 0.
29384 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29386 * math/feholdexcpt.c (feholdexcept): Return 0.
29387 * math/fesetenv.c (__fesetenv): Return 0.
29388 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29389 argument FE_TONEAREST.
29390 * math/feupdateenv.c (__feupdateenv): Return 0.
29391 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29393 2013-06-18 Roland McGrath <roland@hack.frob.com>
29395 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29396 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29397 ($(objpfx)rtld-%.os rules): Use them.
29399 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29401 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29404 2013-06-17 Roland McGrath <roland@hack.frob.com>
29406 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29407 length of target pattern, then descending length of dependency pattern.
29408 * configure.in (AWK): Require gawk 3.1.2 or newer.
29409 * manual/install.texi (Tools for Compilation): Say that we do.
29410 * configure: Regenerated.
29412 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29413 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29414 * scripts/sysd-rules.awk: ... this new script.
29415 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29416 than a glob-style pattern.
29418 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29420 * math/test-misc.c (main): Do not treat incorrectly rounded
29421 conversions as failure unless ROUNDING_TESTS passes.
29423 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29426 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29427 restore exception state around main square root computation, then
29428 check for inexactness explicitly.
29430 * math/libm-test.inc (fma_test_data): Add another test.
29432 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29434 * manual/threads.texi (Non-POSIX Extensions): New document
29435 node. Document pthread_getattr_default_np and
29436 pthread_setattr_default_np.
29438 * Versions.def (libpthread): Add GLIBC_2.18.
29439 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29448 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29459 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29462 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29464 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29465 H.J. Lu <hjl.tools@gmail.com>
29468 * sysdeps/x86_64/rtld-memset.c: Remove file.
29469 * sysdeps/x86_64/rtld-memset.S: New file.
29471 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29473 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29474 (test_in_one_mode): Take arguments for whether the rounding mode
29475 is supported for each floating-point type.
29476 (do_test): Pass new arguments to test_in_one_mode using
29479 2013-06-13 Roland McGrath <roland@hack.frob.com>
29481 * posix/tst-waitid.c (do_test): Distinguish different instances of
29482 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29483 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29484 before entering the kernel for waitpid.
29486 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29488 * NEWS: Fix note on clock function precision. Text by Roland
29491 2013-06-13 Roland McGrath <roland@hack.frob.com>
29493 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29494 it into place only when and if the sanity check passes.
29496 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29498 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29499 output for whether conversion result is exact. Take argument
29500 indicating whether type is IBM long double.
29501 (round_for_all): Change need_exact field to ibm_ld.
29502 * stdlib/tst-strtod-round.c (struct exactness): New type.
29503 (struct test): Change bool ld_ok field to struct exactness exact.
29504 (TEST): Update all definitions for change to field.
29505 (tests): Regenerate array contents.
29506 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29507 field value. Check for IBM long double here.
29508 (do_test): Update calls to test_in_one_mode.
29510 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29513 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29514 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29516 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29519 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29520 generated by the compiler on loop optimizations.
29521 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29522 general definitions.
29524 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29526 * math/bug-nextafter.c: Include <math-tests.h>.
29527 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29529 * math/bug-nexttoward.c: Include <math-tests.h>.
29530 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29532 * math/test-misc.c: Include <math-tests.h>.
29533 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29536 2013-06-12 Andreas Jaeger <aj@suse.de>
29538 * po/ia.po: Update Interlingua translation from translation
29541 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29543 * include/fenv.h: Include stdbool.h.
29544 (struct rm_ctx): New structure.
29545 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29547 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29548 (SET_RESTORE_ROUNDF): Likewise.
29549 (SET_RESTORE_ROUNDL): Likewise.
29550 (SET_RESTORE_ROUND_NOEX): Likewise.
29551 (SET_RESTORE_ROUND_NOEXF): Likewise.
29552 (SET_RESTORE_ROUND_NOEXL): Likewise.
29553 (SET_RESTORE_ROUND_53BIT): Likewise.
29554 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29555 (libc_feresetround_noexf_ctx): Likewise.
29556 (libc_feresetround_noexl_ctx): Likewise.
29557 (libc_feholdsetround_53bit_ctx): Likewise.
29558 (libc_feresetround_53bit_ctx): Likewise.
29559 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29560 (libc_feholdexcept_setround_sse_ctx): New function.
29561 (libc_fesetenv_sse_ctx): Likewise.
29562 (libc_feupdateenv_sse_ctx): Likewise.
29563 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29564 (libc_feholdexcept_setround_387_ctx): Likewise.
29565 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29566 (libc_feholdsetround_387_prec_ctx): Likewise.
29567 (libc_feholdsetround_387_ctx): Likewise.
29568 (libc_feholdsetround_387_53bit_ctx): Likewise.
29569 (libc_feholdsetround_sse_ctx): Likewise.
29570 (libc_feresetround_sse_ctx): Likewise.
29571 (libc_feresetround_387_ctx): Likewise.
29572 (libc_feupdateenv_387_ctx): Likewise.
29573 (libc_feholdexcept_setroundf_ctx): Define macro.
29574 (libc_fesetenvf_ctx): Likewise.
29575 (libc_feupdateenvf_ctx): Likewise.
29576 (libc_feholdsetroundf_ctx): Likewise.
29577 (libc_feresetroundf_ctx): Likewise.
29578 (libc_feholdexcept_setround_ctx): Likewise.
29579 (libc_fesetenv_ctx): Likewise.
29580 (libc_feupdateenv_ctx): Likewise.
29581 (libc_feholdsetround_ctx): Likewise.
29582 (libc_feresetround_ctx): Likewise.
29583 (libc_feholdexcept_setroundl_ctx): Likewise.
29584 (libc_feupdateenvl_ctx): Likewise.
29585 (libc_feholdsetroundl_ctx): Likewise.
29586 (libc_feresetroundl_ctx): Likewise.
29587 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29588 (libc_feresetround_53bit_ctx): Likewise.
29590 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29592 * locale/iso-639.def: Convert to UTF-8.
29594 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29596 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29597 (EXCEPTION_TESTS_double): Likewise.
29598 (EXCEPTION_TESTS_long_double): Likewise.
29599 (EXCEPTION_TESTS): Likewise.
29600 * math/libm-test.inc (test_exceptions): Only test exceptions if
29601 EXCEPTION_TESTS (FLOAT).
29603 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29605 * benchtests/Makefile (string-bench): Add strcpy_chk and
29607 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29608 * benchtests/bench-stpcpy_chk.c: New file.
29609 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29610 * benchtests/bench-strcpy_chk.c: New file.
29611 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29613 (do_test): Likewise.
29615 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29617 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29618 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29619 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29620 with tabs where appropriate.
29621 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29623 [PPC_PLATFORM_PPC440]: Likewise.
29624 [PPC_PLATFORM_PPC464]: Likewise.
29625 [PPC_PLATFORM_PPC476]: Likewise.
29626 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29627 ppc464, and ppc476 platform strings merging from ports/
29630 2013-06-11 Andreas Schwab <schwab@suse.de>
29633 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29634 (from_ucs4_idx): Regenerate.
29635 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29636 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29637 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29638 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29639 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29640 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29641 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29642 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29643 from FROM_LOOP and TO_LOOP specific macros.
29644 (BODY): Handle combining characters.
29645 * iconvdata/BIG5HKSCS.irreversible: Update.
29646 * iconvdata/BIG5HKSCS.precomposed: New file.
29647 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29649 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29651 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29653 * include/sys/time.h: Fix indentation and add copyright header.
29655 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29656 (do_test): Likewise.
29657 * string/test-memchr.c (do_one_test): Likewise.
29658 (do_test): Likewise.
29659 * string/test-memcmp.c (do_one_test): Likewise.
29660 (do_test): Likewise.
29661 * string/test-memcpy.c (do_one_test): Likewise.
29662 (do_test): Likewise.
29663 * string/test-memmem.c (do_one_test): Likewise.
29664 (do_test): Likewise.
29665 (do_random_tests): Likewise.
29666 * string/test-memmove.c (do_one_test): Likewise.
29667 (do_test): Likewise.
29668 * string/test-memset.c (do_one_test): Likewise.
29669 (do_test): Likewise.
29670 * string/test-rawmemchr.c (do_one_test): Likewise.
29671 (do_test): Likewise.
29672 * string/test-strcasecmp.c (do_one_test): Likewise.
29673 (do_test): Likewise.
29674 * string/test-strcasestr.c (do_one_test): Likewise.
29675 (do_test): Likewise.
29676 * string/test-strcat.c (do_one_test): Likewise.
29677 (do_test): Likewise.
29678 * string/test-strchr.c (do_one_test): Likewise.
29679 (do_test): Likewise.
29680 * string/test-strcmp.c (do_one_test): Likewise.
29681 (do_test): Likewise.
29682 * string/test-strcpy.c (do_one_test): Likewise.
29683 (do_test): Likewise.
29684 * string/test-string.h: Likewise.
29685 (test_init): Likewise.
29686 * string/test-strlen.c (do_one_test): Likewise.
29687 (do_test): Likewise.
29688 * string/test-strncasecmp.c (do_one_test): Likewise.
29689 (do_test): Likewise.
29690 * string/test-strncat.c (do_one_test): Likewise.
29691 (do_test): Likewise.
29692 * string/test-strncmp.c (do_one_test): Likewise.
29693 (do_test_limit): Likewise.
29694 (do_test): Likewise.
29695 * string/test-strncpy.c (do_one_test): Likewise.
29696 (do_test): Likewise.
29697 * string/test-strnlen.c (do_one_test): Likewise.
29698 (do_test): Likewise.
29699 * string/test-strpbrk.c (do_one_test): Likewise.
29700 (do_test): Likewise.
29701 * string/test-strrchr.c (do_one_test): Likewise.
29702 (do_test): Likewise.
29703 * string/test-strspn.c (do_one_test): Likewise.
29704 (do_test): Likewise.
29705 * string/test-strstr.c (do_one_test): Likewise.
29706 (do_test): Likewise.
29708 * benchtests/Makefile (string-bench): Add string benchmarks.
29709 * benchtests/bench-bcopy-ifunc.c: New file.
29710 * benchtests/bench-bcopy.c: New file.
29711 * benchtests/bench-bzero-ifunc.c: New file.
29712 * benchtests/bench-bzero.c: New file.
29713 * benchtests/bench-memccpy-ifunc.c: New file.
29714 * benchtests/bench-memccpy.c: New file.
29715 * benchtests/bench-memchr-ifunc.c: New file.
29716 * benchtests/bench-memchr.c: New file.
29717 * benchtests/bench-memcmp-ifunc.c: New file.
29718 * benchtests/bench-memcmp.c: New file.
29719 * benchtests/bench-memmem-ifunc.c: New file.
29720 * benchtests/bench-memmem.c: New file.
29721 * benchtests/bench-memmove-ifunc.c: New file.
29722 * benchtests/bench-memmove.c: New file.
29723 * benchtests/bench-mempcpy-ifunc.c: New file.
29724 * benchtests/bench-mempcpy.c: New file.
29725 * benchtests/bench-memset-ifunc.c: New file.
29726 * benchtests/bench-memset.c: New file.
29727 * benchtests/bench-rawmemchr-ifunc.c: New file.
29728 * benchtests/bench-rawmemchr.c: New file.
29729 * benchtests/bench-stpcpy-ifunc.c: New file.
29730 * benchtests/bench-stpcpy.c: New file.
29731 * benchtests/bench-stpncpy-ifunc.c: New file.
29732 * benchtests/bench-stpncpy.c: New file.
29733 * benchtests/bench-strcasecmp-ifunc.c: New file.
29734 * benchtests/bench-strcasecmp.c: New file.
29735 * benchtests/bench-strcasestr-ifunc.c: New file.
29736 * benchtests/bench-strcasestr.c: New file.
29737 * benchtests/bench-strcat-ifunc.c: New file.
29738 * benchtests/bench-strcat.c: New file.
29739 * benchtests/bench-strchr-ifunc.c: New file.
29740 * benchtests/bench-strchr.c: New file.
29741 * benchtests/bench-strchrnul-ifunc.c: New file.
29742 * benchtests/bench-strchrnul.c: New file.
29743 * benchtests/bench-strcmp-ifunc.c: New file.
29744 * benchtests/bench-strcmp.c: New file.
29745 * benchtests/bench-strcpy-ifunc.c: New file.
29746 * benchtests/bench-strcpy.c: New file.
29747 * benchtests/bench-strcspn-ifunc.c: New file.
29748 * benchtests/bench-strcspn.c: New file.
29749 * benchtests/bench-strlen-ifunc.c: New file.
29750 * benchtests/bench-strlen.c: New file.
29751 * benchtests/bench-strncasecmp-ifunc.c: New file.
29752 * benchtests/bench-strncasecmp.c: New file.
29753 * benchtests/bench-strncat-ifunc.c: New file.
29754 * benchtests/bench-strncat.c: New file.
29755 * benchtests/bench-strncmp-ifunc.c: New file.
29756 * benchtests/bench-strncmp.c: New file.
29757 * benchtests/bench-strncpy-ifunc.c: New file.
29758 * benchtests/bench-strncpy.c: New file.
29759 * benchtests/bench-strnlen-ifunc.c: New file.
29760 * benchtests/bench-strnlen.c: New file.
29761 * benchtests/bench-strpbrk-ifunc.c: New file.
29762 * benchtests/bench-strpbrk.c: New file.
29763 * benchtests/bench-strrchr-ifunc.c: New file.
29764 * benchtests/bench-strrchr.c: New file.
29765 * benchtests/bench-strspn-ifunc.c: New file.
29766 * benchtests/bench-strspn.c: New file.
29767 * benchtests/bench-strstr-ifunc.c: New file.
29768 * benchtests/bench-strstr.c: New file.
29770 * benchtests/Makefile: Disable parallel execution of targets.
29771 (string-bench): Add memcpy.
29772 (benchset): New variable to store a list of benchmark sets.
29773 (bench-func): Renamed from bench.
29774 (bench-set): New target.
29775 (bench): Depend on bench-func and bench-set.
29776 * benchtests/README: Add section on benchmark sets.
29777 * benchtests/bench-memcpy-ifunc.c: New file.
29778 * benchtests/bench-memcpy.c: New file.
29779 * benchtests/bench-string.h: New file.
29781 2013-06-11 Andreas Schwab <schwab@suse.de>
29784 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29785 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29786 values in the triple.
29787 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29788 terminator in the group key.
29790 2013-06-11 Andreas Jaeger <aj@suse.de>
29792 * po/zh_TW.po: Update Chinese (traditional) translation from
29793 translation project.
29795 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29797 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29798 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29799 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29800 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29801 (clock_getcpuclockid): Likewise.
29802 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29803 Add weak_alias and libc_hidden_def.
29804 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29805 * rt/clock_gettime.c (clock_gettime): Rename to
29806 __clock_gettime. Add weak_alias and libc_hidden_def.
29807 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29808 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29809 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29810 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29811 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29813 * rt/clock_settime.c (clock_settime): Rename to
29814 __clock_settime. Add weak_alias and libc_hidden_def.
29815 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29817 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29819 * mach/err_boot.sub: Remove trailing whitespace.
29820 * mach/err_ipc.sub: Likewise.
29821 * mach/err_mach.sub: Likewise.
29823 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29824 (ROUNDING_TESTS_double): Likewise.
29825 (ROUNDING_TESTS_long_double): Likewise.
29826 (ROUNDING_TESTS): Likewise.
29827 * math/libm-test.inc: Include <math-tests.h>.
29828 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29829 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29830 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29831 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29833 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29835 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29838 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29840 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29841 otherwise empty TRANS lines.
29842 * sysdeps/gnu/errlist.c: Regenerated.
29844 * catgets/gencat.c (error_print): Use (void) in function
29846 * crypt/crypt_util.c (__init_des): Likewise.
29847 * crypt/speeds.c (Stop): Likewise.
29849 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29850 * inet/ruserpass.c (token): Likewise.
29851 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29852 * intl/localealias.c (extend_alias_table): Likewise.
29853 * intl/plural-exp.c (init_germanic_plural): Likewise.
29854 * libio/fcloseall.c (__fcloseall): Likewise.
29855 * libio/genops.c (_IO_flush_all): Likewise.
29856 (_IO_flush_all_linebuffered): Likewise.
29857 (_IO_cleanup): Likewise.
29858 (_IO_iter_begin): Likewise.
29859 (_IO_iter_end): Likewise.
29860 (_IO_list_lock): Likewise.
29861 (_IO_list_unlock): Likewise.
29862 (_IO_list_resetlock): Likewise.
29863 * libio/getchar.c (getchar): Likewise.
29864 * libio/getchar_u.c (getchar_unlocked): Likewise.
29865 * libio/getwchar.c (getwchar): Likewise.
29866 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29867 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29868 * login/getpt.c (__getpt): Likewise.
29869 * login/tst-utmp.c (main): Likewise.
29870 * malloc/hooks.c (__malloc_check_init): Likewise.
29871 * malloc/malloc.c (__malloc_stats): Likewise.
29872 * malloc/mtrace.c (tr_break): Likewise.
29873 (mtrace): Likewise.
29874 (muntrace): Likewise.
29875 * misc/fstab.c (endfsent): Likewise.
29876 * misc/getclktck.c (__getclktck): Likewise.
29877 * misc/getdtsz.c (__getdtablesize): Likewise.
29878 * misc/gethostid.c (gethostid): Likewise.
29879 * misc/getpagesize.c (__getpagesize): Likewise.
29880 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29881 (__get_nprocs): Likewise.
29882 (__get_phys_pages): Likewise.
29883 (__get_avphys_pages): Likewise.
29884 * misc/getttyent.c (getttyent): Likewise.
29885 (setttyent): Likewise.
29886 (endttyent): Likewise.
29887 * misc/getusershell.c (getusershell): Likewise.
29888 (endusershell): Likewise.
29889 (setusershell): Likewise.
29890 (initshells): Likewise.
29891 * misc/hsearch.c (__hdestroy): Likewise.
29892 * misc/sync.c (sync): Likewise.
29893 * misc/syslog.c (closelog_internal): Likewise.
29894 (closelog): Likewise.
29895 * misc/ttyslot.c (ttyslot): Likewise.
29896 * misc/vhangup.c (vhangup): Likewise.
29897 * posix/fork.c (__fork): Likewise.
29898 * posix/getegid.c (__getegid): Likewise.
29899 * posix/geteuid.c (__geteuid): Likewise.
29900 * posix/getgid.c (__getgid): Likewise.
29901 * posix/getpid.c (__getpid): Likewise.
29902 * posix/getppid.c (__getppid): Likewise.
29903 * posix/getuid.c (__getuid): Likewise.
29904 * posix/pause.c (pause): Likewise.
29905 * posix/setpgrp.c (setpgrp): Likewise.
29906 * posix/setsid.c (__setsid): Likewise.
29907 * posix/test-vfork.c (noop): Likewise.
29908 * resolv/gethnamaddr.c (_endhtent): Likewise.
29909 (_gethtent): Likewise.
29910 (ht_endhostent): Likewise.
29911 (gethostent): Likewise.
29912 (dns_service): Likewise.
29913 * stdlib/drand48.c (drand48): Likewise.
29914 * stdlib/lrand48.c (lrand48): Likewise.
29915 * stdlib/mrand48.c (mrand48): Likewise.
29916 * stdlib/rand.c (rand): Likewise.
29917 * stdlib/random.c (__random): Likewise.
29918 * stdlib/setenv.c (clearenv): Likewise.
29919 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29920 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29921 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29922 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29923 (__get_nprocs): Likewise.
29924 (__get_phys_pages): Likewise.
29925 (__get_avphys_pages): Likewise.
29926 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29927 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29928 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29929 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29930 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29931 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29932 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29933 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29934 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29935 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29936 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29937 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29938 * sysdeps/posix/clock.c (clock): Likewise.
29939 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29940 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29941 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29942 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29943 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29944 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29945 (__get_nprocs_conf): Likewise.
29946 (__get_phys_pages): Likewise.
29947 (__get_avphys_pages): Likewise.
29948 * time/clock.c (clock): Likewise.
29949 * time/tzset.c (__tzname_max): Likewise.
29951 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29953 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29954 (__bswap_32): Do not use "register".
29955 * crypt/crypt.c (_ufc_doit_r): Likewise.
29956 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29957 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29958 * gmon/gmon.c (__monstartup): Likewise.
29959 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29960 * hurd/hurdmalloc.c (more_memory): Likewise.
29961 (malloc): Likewise.
29963 (realloc): Likewise.
29964 (malloc_fork_prepare): Likewise.
29965 (malloc_fork_parent): Likewise.
29966 (malloc_fork_child): Likewise.
29967 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29968 (_svcauth_des): Likewise.
29969 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29970 * inet/inet_net.c (inet_network): Likewise.
29971 * inet/inet_netof.c (inet_netof): Likewise.
29972 * inet/rcmd.c (__validuser2_sa): Likewise.
29973 * io/fts.c (fts_open): Likewise.
29974 (fts_load): Likewise.
29975 (fts_close): Likewise.
29976 (fts_read): Likewise.
29977 (fts_children): Likewise.
29978 (fts_build): Likewise.
29979 (fts_stat): Likewise.
29980 (fts_sort): Likewise.
29981 (fts_alloc): Likewise.
29982 (fts_lfree): Likewise.
29983 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29984 (_IO_file_xsgetn): Likewise.
29985 (_IO_file_xsgetn_mmap): Likewise.
29986 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29987 (_IO_cookie_write): Likewise.
29988 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29989 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29990 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29991 * malloc/obstack.c (_obstack_begin): Likewise.
29992 (_obstack_begin_1): Likewise.
29993 (_obstack_newchunk): Likewise.
29994 (_obstack_allocated_p): Likewise.
29995 (obstack_free): Likewise.
29996 (_obstack_memory_used): Likewise.
29997 * misc/getttyent.c (getttynam): Likewise.
29998 (getttyent): Likewise.
30001 * misc/getusershell.c (initshells): Likewise.
30002 * misc/syslog.c (__vsyslog_chk): Likewise.
30003 * misc/ttyslot.c (ttyslot): Likewise.
30004 * nis/nis_hash.c (__nis_hash): Likewise.
30005 * posix/fnmatch_loop.c (FCT): Likewise.
30006 * posix/getconf.c (print_all): Likewise.
30008 * posix/getopt.c (exchange): Likewise.
30009 * posix/glob.c (globfree): Likewise.
30010 (prefix_array): Likewise.
30011 (__glob_pattern_type): Likewise.
30012 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30013 (NS_GET32): Likewise.
30014 (NS_PUT16): Likewise.
30015 (NS_PUT32): Likewise.
30016 * resolv/gethnamaddr.c (getanswer): Likewise.
30017 (gethostbyname2): Likewise.
30018 (gethostbyaddr): Likewise.
30019 (_gethtent): Likewise.
30020 (_gethtbyname2): Likewise.
30021 (_gethtbyaddr): Likewise.
30022 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30023 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30024 * resolv/res_init.c (__res_vinit): Likewise.
30025 (net_mask): Likewise.
30026 * resolv/res_mkquery.c (outchar): Likewise.
30028 * stdio-common/printf_fp.c (outchar): Likewise.
30030 * stdio-common/printf_fphex.c (outchar): Likewise.
30032 * stdio-common/printf_size.c (outchar): Likewise.
30034 * stdio-common/test_rdwr.c (main): Likewise.
30035 * stdio-common/tfformat.c (matches): Likewise.
30036 * stdio-common/vfprintf.c (outchar): Likewise.
30037 (printf_unknown): Likewise.
30038 (buffered_vfprintf): Likewise.
30039 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30040 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30041 (ReadFile): Likewise.
30042 * stdlib/qsort.c (SWAP): Likewise.
30043 (_quicksort): Likewise.
30044 * stdlib/setenv.c (__add_to_environ): Likewise.
30045 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30046 * stdlib/strtol_l.c (__strtol_l): Likewise.
30047 * stdlib/tst-strtod.c (main): Likewise.
30048 * stdlib/tst-strtol.c (main): Likewise.
30049 * stdlib/tst-strtoll.c (main): Likewise.
30050 * string/bits/string2.h (__strcmp_cc): Likewise.
30051 (__strcmp_cg): Likewise.
30052 (__strcspn_c1): Likewise.
30053 (__strcspn_c2): Likewise.
30054 (__strcspn_c3): Likewise.
30055 (__strspn_c1): Likewise.
30056 (__strspn_c2): Likewise.
30057 (__strspn_c3): Likewise.
30058 (__strsep_1c): Likewise.
30059 (__strsep_2c): Likewise.
30060 (__strsep_3c): Likewise.
30061 * string/memccpy.c (__memccpy): Likewise.
30062 * string/stpcpy.c (__stpcpy): Likewise.
30063 * string/strcmp.c (strcmp): Likewise.
30064 * string/strrchr.c (strrchr): Likewise.
30065 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30067 * sysdeps/mach/hurd/getcwd.c
30068 (_hurd_canonicalize_directory_name_internal): Likewise.
30069 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30070 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30071 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30072 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30073 Likewise, in both definitions.
30074 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30076 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30077 64] (__bswap_64): Likewise.
30078 * time/test_time.c (main): Likewise.
30079 * time/tzfile.c (__tzfile_read): Likewise.
30080 (__tzfile_compute): Likewise.
30081 * time/tzset.c (__tzset_parse_tz): Likewise.
30082 (tzset_internal): Likewise.
30083 (compute_change): Likewise.
30084 * wcsmbs/wcscat.c (__wcscat): Likewise.
30085 * wcsmbs/wcschr.c (wcschr): Likewise.
30086 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30087 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30088 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30089 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30090 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30091 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30092 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30093 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30094 * wcsmbs/wmemset.c (wmemset): Likewise.
30096 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30098 * scripts/config.guess: Update to version 2013-05-16.
30099 * scripts/config.sub: Update to version 2013-04-24.
30100 * scripts/install-sh: Update to version 2011-11-20.07.
30101 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30102 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30104 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30106 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30107 * elf/sln.c: Likewise.
30108 * hurd/hurd/ioctl.h: Likewise.
30109 * hurd/hurdmalloc.c: Likewise.
30110 * hurd/xattr.c: Likewise.
30111 * include/shlib-compat.h: Likewise.
30112 * inet/ruserpass.c: Likewise.
30113 * libio/iofgets_u.c: Likewise.
30114 * libio/iofgetws_u.c: Likewise.
30115 * locale/programs/ld-identification.c: Likewise.
30116 * locale/programs/ld-time.c: Likewise.
30117 * mach/msg-destroy.c: Likewise.
30118 * nss/nss_files/files-netgrp.c: Likewise.
30119 * resolv/res_data.c: Likewise.
30120 * soft-fp/op-1.h: Likewise.
30121 * soft-fp/op-2.h: Likewise.
30122 * soft-fp/op-4.h: Likewise.
30123 * soft-fp/op-common.h: Likewise.
30124 * stdio-common/printf_fphex.c: Likewise.
30125 * stdlib/strtod_l.c: Likewise.
30126 * sunrpc/rpc/clnt.h: Likewise.
30127 * sysdeps/generic/framestate.c: Likewise.
30128 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30129 * sysdeps/i386/bsd-setjmp.S: Likewise.
30130 * sysdeps/i386/__longjmp.S: Likewise.
30131 * sysdeps/i386/setjmp.S: Likewise.
30132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30133 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30134 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30135 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30136 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30137 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30138 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30139 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30140 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30141 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30142 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30143 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30144 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30145 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30146 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30147 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30148 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30149 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30150 * sysdeps/ieee754/support.c: Likewise.
30151 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30152 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30153 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30154 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30155 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30156 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30157 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30158 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30159 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30160 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30161 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30162 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30163 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30164 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30165 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30166 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30167 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30170 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30172 * posix/transbug.c: Remove executable mode.
30174 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30176 * crypt/speeds.c: Remove trailing whitespace.
30177 * dlfcn/default.c: Likewise.
30178 * elf/ifuncdep2.c: Likewise.
30179 * elf/ifuncmain1.c: Likewise.
30180 * elf/ifuncmain1vis.c: Likewise.
30181 * elf/testobj.h: Likewise.
30182 * elf/tst-stackguard1.c: Likewise.
30183 * gmon/sys/gmon.h: Likewise.
30184 * hurd/hurdmsg.c: Likewise.
30185 * hurd/new-fd.c: Likewise.
30186 * hurd/ports-get.c: Likewise.
30187 * iconvdata/ibm1008_420.c: Likewise.
30188 * inet/tst-getni1.c: Likewise.
30189 * inet/tst-getni2.c: Likewise.
30190 * libio/ioungetc.c: Likewise.
30191 * libio/wfiledoalloc.c: Likewise.
30192 * manual/libm-err-tab.pl: Likewise.
30193 * math/w_dremf.c: Likewise.
30194 * misc/ftruncate.c: Likewise.
30195 * posix/bug-glob2.c: Likewise.
30196 * posix/tst-pcre.c: Likewise.
30197 * posix/wait4.c: Likewise.
30198 * resolv/README: Likewise.
30199 * resolv/res_debug.h: Likewise.
30200 * resolv/tst-inet_ntop.c: Likewise.
30201 * setjmp/bug269-setjmp.c: Likewise.
30202 * soft-fp/extended.h: Likewise.
30203 * soft-fp/op-1.h: Likewise.
30204 * soft-fp/op-2.h: Likewise.
30205 * soft-fp/op-4.h: Likewise.
30206 * soft-fp/op-8.h: Likewise.
30207 * soft-fp/testit.c: Likewise.
30208 * stdio-common/bug16.c: Likewise.
30209 * stdlib/random.c: Likewise.
30210 * sunrpc/rpcsvc/rquota.x: Likewise.
30211 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30212 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30213 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30214 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30215 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30216 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30217 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30218 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30219 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30220 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30221 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30222 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30224 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30226 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30227 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30229 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30230 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30231 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30232 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30233 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30234 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30235 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30236 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30238 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30239 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30240 * sysdeps/ieee754/s_lib_version.c: Likewise.
30241 * sysdeps/mach/hurd/check_fds.c: Likewise.
30242 * sysdeps/mach/hurd/getsockname.c: Likewise.
30243 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30244 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30245 * sysdeps/powerpc/bits/link.h: Likewise.
30246 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30247 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30248 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30249 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30250 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30251 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30252 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30253 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30254 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30255 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30256 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30257 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30258 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30259 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30260 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30261 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30262 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30263 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30264 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30265 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30266 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30267 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30268 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30269 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30270 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30271 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30272 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30273 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30274 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30275 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30276 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30277 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30278 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30279 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30280 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30281 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30282 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30283 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30284 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30285 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30286 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30287 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30288 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30289 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30290 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30291 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30292 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30293 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30294 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30295 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30296 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30298 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30299 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30300 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30301 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30302 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30303 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30304 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30305 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30306 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30307 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30308 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30309 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30310 * sysdeps/powerpc/sysdep.h: Likewise.
30311 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30312 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30313 * sysdeps/sh/dl-trampoline.S: Likewise.
30314 * sysdeps/sh/memset.S: Likewise.
30315 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30316 * sysdeps/sh/strlen.S: Likewise.
30317 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30318 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30319 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30320 * sysdeps/sparc/sparc32/rem.S: Likewise.
30321 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30322 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30323 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30324 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30325 * sysdeps/sparc/sparc32/urem.S: Likewise.
30326 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30327 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30328 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30329 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30330 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30331 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30332 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30333 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30334 * sysdeps/unix/bsd/times.c: Likewise.
30335 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30336 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30340 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30341 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30342 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30343 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30344 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30345 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30346 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30347 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30348 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30349 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30350 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30351 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30352 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30353 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30354 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30355 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30356 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30357 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30358 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30359 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30360 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30361 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30362 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30363 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30364 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30365 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30366 * sysdeps/x86_64/strcspn.S: Likewise.
30368 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30370 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30371 generated file. Regenerate properly from gen-translit.pl.
30372 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30373 locale/C-translit.h.
30375 2013-06-05 Andreas Schwab <schwab@suse.de>
30378 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30379 week as 6 instead of -1.
30380 * time/tst-strptime.c (day_tests): Add test case.
30382 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30384 * sysdeps/generic/math_private.h
30385 (libc_feholdexcept_setround_53bit): Replace with
30386 libc_feholdsetround_53bit.
30387 (libc_feupdateenv_53bit): Replace with
30388 libc_feresetround_53bit.
30389 (SET_RESTORE_ROUND_53BIT): Adjust.
30391 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30393 * string/test-strchrnul.c: Add copyright header.
30395 * posix/tst-getaddrinfo4.c: Increase test timeout.
30397 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30400 * math/libm-test.inc (MAX_EXP): Remove
30402 (ulp): Use MIN_EXP - MANT_DIG.
30403 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30405 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30407 * po/be.po: Revert last change.
30408 * po/zh_CN.po: Likewise.
30409 * po/header.pot: Likewise.
30411 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30413 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30414 link-libc-deps to empty as target-specific variable.
30415 * Makerules (link-libc-args): New variable.
30416 (libc-for-link): Likewise.
30417 (link-libc-deps): Likewise.
30418 (lib%.so): Depend on $(link-libc-deps). Link with
30420 (build-module): Link with $(link-libc-args).
30421 (build-module-asneeded): Likewise.
30422 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30424 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30425 target-specific variable.
30426 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30427 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30428 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30430 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30432 ($(objpfx)libpcprofile.so): Likewise.
30433 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30435 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30436 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30437 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30439 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30440 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30441 * login/Makefile ($(objpfx)libutil.so): Likewise.
30442 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30443 * math/Makefile ($(objpfx)libm.so): Likewise.
30444 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30445 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30446 variable instead of depending directly on libc.
30447 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30448 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30450 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30452 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30453 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30454 ($(objpfx)libanl.so): Likewise.
30455 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30457 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30459 * sysdeps/i386/fpu/Makefile: Remove file.
30460 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30461 ($(objpfx)libm.so): Remove dependency on ld.so.
30463 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30466 * nis/yp_xdr.c (XDRMAXNAME): Define.
30467 (XDRMAXRECORD): Define.
30468 (xdr_domainname): Use XDRMAXNAME.
30469 (xdr_mapname): Likewise.
30470 (xdr_peername): Likewise.
30471 (xdr_keydat): Use XDRMAXRECORD.
30472 (xdr_valdat): Likewise.
30474 2013-05-30 Jeff Law <law@redhat.com>
30477 * manual/errno.texi (ESTALE): Update to account for more than
30478 just NFS file systems.
30479 * sysdeps/gnu/errlist.c: Regenerated.
30481 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30484 * elf/Makefile (tests): Add tst-null-argv.
30485 (modules-names): Add tst-null-argv-lib.
30486 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30487 (tst-null-argv-ENV): Set environment for tst-null-argv.
30488 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30489 (RTLD_PROGNAME): New macro.
30490 * elf/tst-null-argv.c: New test case.
30491 * elf/tst-null-argv-lib.c: Library for test case.
30492 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30493 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30494 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30495 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30496 * elf/dl-init.c (call_init): Likewise.
30497 (_dl_init): Likewise.
30498 * elf/dl-load.c (print_search_path): Likewise.
30499 (_dl_map_object): Likewise.
30500 * elf/dl-lookup.c (do_lookup_x): Likewise.
30501 (add_dependency): Likewise.
30502 (_dl_lookup_symbol_x): Likewise.
30503 (_dl_debug_bindings): Likewise.
30504 * elf/dl-open.c (_dl_show_scope): Likewise.
30505 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30506 * elf/dl-version.c (match_symbol): Likewise.
30507 (_dl_check_map_versions): Likewise.
30508 * elf/rtld.c (dl_main): Likewise.
30509 (print_unresolved): Use RTLD_PROGNAME.
30510 (print_missing_version): Likewise.
30511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30512 (elf_machine_rela): Likewise.
30513 * sysdeps/powerpc/powerpc32/dl-machine.c
30514 (__process_machine_rela): Likewise.
30515 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30521 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30522 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30524 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30528 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30530 * po/be.po: Add descriptive title.
30531 * po/zh_CN.po: Likewise.
30532 * po/header.pot: Likewise.
30534 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30536 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30538 (enlarge_archive): Likewise.
30540 2013-05-28 Ben North <ben@redfrontdoor.org>
30542 * manual/arith.texi (frexp): It is the magnitude of the return
30543 value which lies in [0.5, 1), not the return value itself.
30545 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30549 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30551 * stdio-common/bug26.c (main): Correct fscanf template.
30553 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30554 declare _dl_skip_args.
30556 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30559 * manual/platform.texi: Add missing @end deftypefun.
30561 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30564 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30565 bit of mantissa of 2^16382.
30566 * math/libm-test.inc (hypot_test_data): Add more tests.
30568 * math/libm-test.inc: Add drem and pow10 to list of tested
30570 (pow10_test): New function.
30571 (drem_test): Likewise.
30572 (drem_test_tonearest): Likewise.
30573 (drem_test_towardzero): Likewise.
30574 (drem_test_downward): Likewise.
30575 (drem_test_upward): Likewise.
30576 (main): Call the new functions.
30578 * math/libm-test.inc (finite_test_data): Remove.
30579 (finite_test): Run tests from isfinite_test_data.
30580 (gamma_test_data): Remove.
30581 (gamma_test): Run tests from lgamma_test_data.
30582 * sysdeps/i386/fpu/libm-test-ulps: Update.
30583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30585 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30587 * manual/platform.texi: Add PowerPC PPR function set documentation.
30588 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30591 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30593 * math/libm-test.inc (MAX_EXP): Define.
30595 (ulp): New function.
30596 (check_float_internal): Use ULPDIFF.
30597 (cpow_test): Disable failing test.
30598 (check_ulp): Test ulp() implemetnation.
30599 (main): Call check_ulp before starting tests.
30601 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30603 * math/gen-libm-test.pl (generate_testfile): Do not handle
30604 START_DATA and END_DATA.
30605 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30607 (acos_tonearest_test_data): Likewise.
30608 (acos_towardzero_test_data): Likewise.
30609 (acos_downward_test_data): Likewise.
30610 (acos_upward_test_data): Likewise.
30611 (acosh_test_data): Likewise.
30612 (asin_test_data): Likewise.
30613 (asin_tonearest_test_data): Likewise.
30614 (asin_towardzero_test_data): Likewise.
30615 (asin_downward_test_data): Likewise.
30616 (asin_upward_test_data): Likewise.
30617 (asinh_test_data): Likewise.
30618 (atan_test_data): Likewise.
30619 (atanh_test_data): Likewise.
30620 (atan2_test_data): Likewise.
30621 (cabs_test_data): Likewise.
30622 (cacos_test_data): Likewise.
30623 (cacosh_test_data): Likewise.
30624 (carg_test_data): Likewise.
30625 (casin_test_data): Likewise.
30626 (casinh_test_data): Likewise.
30627 (catan_test_data): Likewise.
30628 (catanh_test_data): Likewise.
30629 (cbrt_test_data): Likewise.
30630 (ccos_test_data): Likewise.
30631 (ccosh_test_data): Likewise.
30632 (ceil_test_data): Likewise.
30633 (cexp_test_data): Likewise.
30634 (cimag_test_data): Likewise.
30635 (clog_test_data): Likewise.
30636 (clog10_test_data): Likewise.
30637 (conj_test_data): Likewise.
30638 (copysign_test_data): Likewise.
30639 (cos_test_data): Likewise.
30640 (cos_tonearest_test_data): Likewise.
30641 (cos_towardzero_test_data): Likewise.
30642 (cos_downward_test_data): Likewise.
30643 (cos_upward_test_data): Likewise.
30644 (cosh_test_data): Likewise.
30645 (cosh_tonearest_test_data): Likewise.
30646 (cosh_towardzero_test_data): Likewise.
30647 (cosh_downward_test_data): Likewise.
30648 (cosh_upward_test_data): Likewise.
30649 (cpow_test_data): Likewise.
30650 (cproj_test_data): Likewise.
30651 (creal_test_data): Likewise.
30652 (csin_test_data): Likewise.
30653 (csinh_test_data): Likewise.
30654 (csqrt_test_data): Likewise.
30655 (ctan_test_data): Likewise.
30656 (ctan_tonearest_test_data): Likewise.
30657 (ctan_towardzero_test_data): Likewise.
30658 (ctan_downward_test_data): Likewise.
30659 (ctan_upward_test_data): Likewise.
30660 (ctanh_test_data): Likewise.
30661 (ctanh_tonearest_test_data): Likewise.
30662 (ctanh_towardzero_test_data): Likewise.
30663 (ctanh_downward_test_data): Likewise.
30664 (ctanh_upward_test_data): Likewise.
30665 (erf_test_data): Likewise.
30666 (erfc_test_data): Likewise.
30667 (exp_test_data): Likewise.
30668 (exp_tonearest_test_data): Likewise.
30669 (exp_towardzero_test_data): Likewise.
30670 (exp_downward_test_data): Likewise.
30671 (exp_upward_test_data): Likewise.
30672 (exp10_test_data): Likewise.
30673 (exp2_test_data): Likewise.
30674 (expm1_test_data): Likewise.
30675 (fabs_test_data): Likewise.
30676 (fdim_test_data): Likewise.
30677 (finite_test_data): Likewise.
30678 (floor_test_data): Likewise.
30679 (fma_test_data): Likewise.
30680 (fma_towardzero_test_data): Likewise.
30681 (fma_downward_test_data): Likewise.
30682 (fma_upward_test_data): Likewise.
30683 (fmax_test_data): Likewise.
30684 (fmin_test_data): Likewise.
30685 (fmod_test_data): Likewise.
30686 (fpclassify_test_data): Likewise.
30687 (frexp_test_data): Likewise.
30688 (gamma_test_data): Likewise.
30689 (hypot_test_data): Likewise.
30690 (ilogb_test_data): Likewise.
30691 (isfinite_test_data): Likewise.
30692 (isgreater_test_data): Likewise.
30693 (isgreaterequal_test_data): Likewise.
30694 (isinf_test_data): Likewise.
30695 (isless_test_data): Likewise.
30696 (islessequal_test_data): Likewise.
30697 (islessgreater_test_data): Likewise.
30698 (isnan_test_data): Likewise.
30699 (isnormal_test_data): Likewise.
30700 (issignaling_test_data): Likewise.
30701 (isunordered_test_data): Likewise.
30702 (j0_test_data): Likewise.
30703 (j1_test_data): Likewise.
30704 (jn_test_data): Likewise.
30705 (ldexp_test_data): Likewise.
30706 (lgamma_test_data): Likewise.
30707 (lrint_test_data): Likewise.
30708 (lrint_tonearest_test_data): Likewise.
30709 (lrint_towardzero_test_data): Likewise.
30710 (lrint_downward_test_data): Likewise.
30711 (lrint_upward_test_data): Likewise.
30712 (llrint_test_data): Likewise.
30713 (llrint_tonearest_test_data): Likewise.
30714 (llrint_towardzero_test_data): Likewise.
30715 (llrint_downward_test_data): Likewise.
30716 (llrint_upward_test_data): Likewise.
30717 (log_test_data): Likewise.
30718 (log10_test_data): Likewise.
30719 (log1p_test_data): Likewise.
30720 (log2_test_data): Likewise.
30721 (logb_test_data): Likewise.
30722 (logb_downward_test_data): Likewise.
30723 (lround_test_data): Likewise.
30724 (llround_test_data): Likewise.
30725 (modf_test_data): Likewise.
30726 (nearbyint_test_data): Likewise.
30727 (nextafter_test_data): Likewise.
30728 (nexttoward_test_data): Likewise.
30729 (pow_test_data): Likewise.
30730 (pow_tonearest_test_data): Likewise.
30731 (pow_towardzero_test_data): Likewise.
30732 (pow_downward_test_data): Likewise.
30733 (pow_upward_test_data): Likewise.
30734 (remainder_test_data): Likewise.
30735 (remainder_tonearest_test_data): Likewise.
30736 (remainder_towardzero_test_data): Likewise.
30737 (remainder_downward_test_data): Likewise.
30738 (remainder_upward_test_data): Likewise.
30739 (remquo_test_data): Likewise.
30740 (rint_test_data): Likewise.
30741 (rint_tonearest_test_data): Likewise.
30742 (rint_towardzero_test_data): Likewise.
30743 (rint_downward_test_data): Likewise.
30744 (rint_upward_test_data): Likewise.
30745 (round_test_data): Likewise.
30746 (scalb_test_data): Likewise.
30747 (scalbn_test_data): Likewise.
30748 (scalbln_test_data): Likewise.
30749 (signbit_test_data): Likewise.
30750 (sin_test_data): Likewise.
30751 (sin_tonearest_test_data): Likewise.
30752 (sin_towardzero_test_data): Likewise.
30753 (sin_downward_test_data): Likewise.
30754 (sin_upward_test_data): Likewise.
30755 (sincos_test_data): Likewise.
30756 (sinh_test_data): Likewise.
30757 (sinh_tonearest_test_data): Likewise.
30758 (sinh_towardzero_test_data): Likewise.
30759 (sinh_downward_test_data): Likewise.
30760 (sinh_upward_test_data): Likewise.
30761 (sqrt_test_data): Likewise.
30762 (tan_test_data): Likewise.
30763 (tan_tonearest_test_data): Likewise.
30764 (tan_towardzero_test_data): Likewise.
30765 (tan_downward_test_data): Likewise.
30766 (tan_upward_test_data): Likewise.
30767 (tanh_test_data): Likewise.
30768 (tgamma_test_data): Likewise.
30769 (trunc_test_data): Likewise.
30770 (y0_test_data): Likewise.
30771 (y1_test_data): Likewise.
30772 (yn_test_data): Likewise.
30773 (significand_test_data): Likewise.
30775 * math/gen-libm-test.pl (@functions): Remove variable.
30776 (generate_testfile): Don't handle START and END lines.
30777 * math/libm-test.inc (START): New macro.
30779 (END_COMPLEX): Likewise.
30780 (acos_test): Use END macro without arguments.
30781 (acos_test_tonearest): Likewise.
30782 (acos_test_towardzero): Likewise.
30783 (acos_test_downward): Likewise.
30784 (acos_test_upward): Likewise.
30785 (acosh_test): Likewise.
30786 (asin_test): Likewise.
30787 (asin_test_tonearest): Likewise.
30788 (asin_test_towardzero): Likewise.
30789 (asin_test_downward): Likewise.
30790 (asin_test_upward): Likewise.
30791 (asinh_test): Likewise.
30792 (atan_test): Likewise.
30793 (atanh_test): Likewise.
30794 (atan2_test): Likewise.
30795 (cabs_test): Likewise.
30796 (cacos_test): Use END_COMPLEX macro without arguments.
30797 (cacosh_test): Likewise.
30798 (carg_test): Use END macro without arguments.
30799 (casin_test): Use END_COMPLEX macro without arguments.
30800 (casinh_test): Likewise.
30801 (catan_test): Likewise.
30802 (catanh_test): Likewise.
30803 (cbrt_test): Use END macro without arguments.
30804 (ccos_test): Use END_COMPLEX macro without arguments.
30805 (ccosh_test): Likewise.
30806 (ceil_test): Use END macro without arguments.
30807 (cexp_test): Use END_COMPLEX macro without arguments.
30808 (cimag_test): Use END macro without arguments.
30809 (clog_test): Use END_COMPLEX macro without arguments.
30810 (clog10_test): Likewise.
30811 (conj_test): Likewise.
30812 (copysign_test): Use END macro without arguments.
30813 (cos_test): Likewise.
30814 (cos_test_tonearest): Likewise.
30815 (cos_test_towardzero): Likewise.
30816 (cos_test_downward): Likewise.
30817 (cos_test_upward): Likewise.
30818 (cosh_test): Likewise.
30819 (cosh_test_tonearest): Likewise.
30820 (cosh_test_towardzero): Likewise.
30821 (cosh_test_downward): Likewise.
30822 (cosh_test_upward): Likewise.
30823 (cpow_test): Use END_COMPLEX macro without arguments.
30824 (cproj_test): Likewise.
30825 (creal_test): Use END macro without arguments.
30826 (csin_test): Use END_COMPLEX macro without arguments.
30827 (csinh_test): Likewise.
30828 (csqrt_test): Likewise.
30829 (ctan_test): Likewise.
30830 (ctan_test_tonearest): Likewise.
30831 (ctan_test_towardzero): Likewise.
30832 (ctan_test_downward): Likewise.
30833 (ctan_test_upward): Likewise.
30834 (ctanh_test): Likewise.
30835 (ctanh_test_tonearest): Likewise.
30836 (ctanh_test_towardzero): Likewise.
30837 (ctanh_test_downward): Likewise.
30838 (ctanh_test_upward): Likewise.
30839 (erf_test): Use END macro without arguments.
30840 (erfc_test): Likewise.
30841 (exp_test): Likewise.
30842 (exp_test_tonearest): Likewise.
30843 (exp_test_towardzero): Likewise.
30844 (exp_test_downward): Likewise.
30845 (exp_test_upward): Likewise.
30846 (exp10_test): Likewise.
30847 (exp2_test): Likewise.
30848 (expm1_test): Likewise.
30849 (fabs_test): Likewise.
30850 (fdim_test): Likewise.
30851 (finite_test): Likewise.
30852 (floor_test): Likewise.
30853 (fma_test): Likewise.
30854 (fma_test_towardzero): Likewise.
30855 (fma_test_downward): Likewise.
30856 (fma_test_upward): Likewise.
30857 (fmax_test): Likewise.
30858 (fmin_test): Likewise.
30859 (fmod_test): Likewise.
30860 (fpclassify_test): Likewise.
30861 (frexp_test): Likewise.
30862 (gamma_test): Likewise.
30863 (hypot_test): Likewise.
30864 (ilogb_test): Likewise.
30865 (isfinite_test): Likewise.
30866 (isgreater_test): Likewise.
30867 (isgreaterequal_test): Likewise.
30868 (isinf_test): Likewise.
30869 (isless_test): Likewise.
30870 (islessequal_test): Likewise.
30871 (islessgreater_test): Likewise.
30872 (isnan_test): Likewise.
30873 (isnormal_test): Likewise.
30874 (issignaling_test): Likewise.
30875 (isunordered_test): Likewise.
30876 (j0_test): Likewise.
30877 (j1_test): Likewise.
30878 (jn_test): Likewise.
30879 (ldexp_test): Likewise.
30880 (lgamma_test): Likewise.
30881 (lrint_test): Likewise.
30882 (lrint_test_tonearest): Likewise.
30883 (lrint_test_towardzero): Likewise.
30884 (lrint_test_downward): Likewise.
30885 (lrint_test_upward): Likewise.
30886 (llrint_test): Likewise.
30887 (llrint_test_tonearest): Likewise.
30888 (llrint_test_towardzero): Likewise.
30889 (llrint_test_downward): Likewise.
30890 (llrint_test_upward): Likewise.
30891 (log_test): Likewise.
30892 (log10_test): Likewise.
30893 (log1p_test): Likewise.
30894 (log2_test): Likewise.
30895 (logb_test): Likewise.
30896 (logb_test_downward): Likewise.
30897 (lround_test): Likewise.
30898 (llround_test): Likewise.
30899 (modf_test): Likewise.
30900 (nearbyint_test): Likewise.
30901 (nextafter_test): Likewise.
30902 (nexttoward_test): Likewise.
30903 (pow_test): Likewise.
30904 (pow_test_tonearest): Likewise.
30905 (pow_test_towardzero): Likewise.
30906 (pow_test_downward): Likewise.
30907 (pow_test_upward): Likewise.
30908 (remainder_test): Likewise.
30909 (remainder_test_tonearest): Likewise.
30910 (remainder_test_towardzero): Likewise.
30911 (remainder_test_downward): Likewise.
30912 (remainder_test_upward): Likewise.
30913 (remquo_test): Likewise.
30914 (rint_test): Likewise.
30915 (rint_test_tonearest): Likewise.
30916 (rint_test_towardzero): Likewise.
30917 (rint_test_downward): Likewise.
30918 (rint_test_upward): Likewise.
30919 (round_test): Likewise.
30920 (scalb_test): Likewise.
30921 (scalbn_test): Likewise.
30922 (scalbln_test): Likewise.
30923 (signbit_test): Likewise.
30924 (sin_test): Likewise.
30925 (sin_test_tonearest): Likewise.
30926 (sin_test_towardzero): Likewise.
30927 (sin_test_downward): Likewise.
30928 (sin_test_upward): Likewise.
30929 (sincos_test): Likewise.
30930 (sinh_test): Likewise.
30931 (sinh_test_tonearest): Likewise.
30932 (sinh_test_towardzero): Likewise.
30933 (sinh_test_downward): Likewise.
30934 (sinh_test_upward): Likewise.
30935 (sqrt_test): Likewise.
30936 (tan_test): Likewise.
30937 (tan_test_tonearest): Likewise.
30938 (tan_test_towardzero): Likewise.
30939 (tan_test_downward): Likewise.
30940 (tan_test_upward): Likewise.
30941 (tanh_test): Likewise.
30942 (tgamma_test): Likewise.
30943 (trunc_test): Likewise.
30944 (y0_test): Likewise.
30945 (y1_test): Likewise.
30946 (yn_test): Likewise.
30947 (significand_test): Likewise.
30949 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30952 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30954 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30957 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30958 __ppc_mdoio and __ppc_mdoom.
30959 * manual/platform.texi: Document new functions __ppc_yield,
30960 __ppc_mdoio and __ppc_mdoom.
30962 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30964 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30965 (main): Mention "tls" pseudo-hwcap is legacy.
30966 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30968 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30970 * math/gen-libm-test.pl (parse_args): Output only string of
30971 arguments as text for test name, not full call or descriptions of
30972 tests for extra outputs.
30973 (generate_testfile): Do not pass function name to parse_args.
30974 Generate this_func variable from START.
30975 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30977 (struct test_ff_f_data): Likewise.
30978 (test_ff_f_data_nexttoward): Likewise.
30979 (struct test_fi_f_data): Likewise.
30980 (struct test_fl_f_data): Likewise.
30981 (struct test_if_f_data): Likewise.
30982 (struct test_fff_f_data): Likewise.
30983 (struct test_c_f_data): Likewise.
30984 (struct test_f_f1_data): Likewise. Remove field extra_name.
30985 (struct test_fF_f1_data): Likewise.
30986 (struct test_ffI_f1_data): Likewise.
30987 (struct test_c_c_data): Rename test_name field to arg_str.
30988 (struct test_cc_c_data): Likewise.
30989 (struct test_f_i_data): Likewise.
30990 (struct test_ff_i_data): Likewise.
30991 (struct test_f_l_data): Likewise.
30992 (struct test_f_L_data): Likewise.
30993 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30995 (COMMON_TEST_SETUP): New macro.
30996 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30997 (COMMON_TEST_CLEANUP): Likewise.
30998 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30999 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31001 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31002 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31004 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31005 (RUN_TEST_fff_f): Take argument string. Call new setup and
31007 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31008 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31010 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31011 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31013 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31014 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31016 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31017 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31019 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31020 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31022 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31023 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31025 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31026 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31028 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31029 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31031 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31032 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31034 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31035 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31037 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31038 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31040 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31041 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31043 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31044 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31046 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31047 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31049 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31050 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31052 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31054 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31056 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31057 to _sifields.sigfault.
31058 (si_addr_lsb): Define new macro.
31059 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31061 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31063 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31066 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31068 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31070 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31071 loading the domain.
31073 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31075 * math/gen-libm-test.pl (parse_args): Do not include expected
31076 result in test name.
31077 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31078 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31079 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31080 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31081 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31084 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31086 * benchtests/Makefile: Sort function entries.
31088 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31089 tanh, asinh, acosh, atanh.
31090 * benchtests/acos-inputs: New file.
31091 * benchtests/acosh-inputs: New file.
31092 * benchtests/asin-inputs: New file.
31093 * benchtests/asinh-inputs: New file.
31094 * benchtests/atanh-inputs: New file.
31095 * benchtests/cosh-inputs: New file.
31096 * benchtests/log-inputs: New file.
31097 * benchtests/sinh-inputs: New file.
31098 * benchtests/tanh-inputs: New file.
31100 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31103 * posix/tst-getaddrinfo4.c: New test.
31104 * posix/Makefile (tests): Add it.
31106 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31109 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31110 when no services were used.
31111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31112 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31114 2013-05-21 Andreas Schwab <schwab@suse.de>
31117 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31118 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31120 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31121 redundant variable declarations and reallocation of buffer when
31122 parsing as IPv6 address. Always set NSS status when called from
31123 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31124 buffer too small. Correct computation of needed size.
31125 * nss/Makefile (tests): Add test-digits-dots.
31126 * nss/test-digits-dots.c: New test.
31128 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31130 * benchtests/Makefile: Remove instructions for adding
31132 * benchtests/README: New file to explain how to execute and
31133 enhance the benchmark tests.
31135 2013-05-21 Andreas Schwab <schwab@suse.de>
31138 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31139 * setjmp/tst-sigsetjmp.c: New test.
31141 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31143 * sysdeps/x86_64/memset.S (memset): New implementation.
31144 (__bzero): Likewise.
31145 (__memset_tail): New function.
31147 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31149 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31150 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31151 __memcpy_sse2_unaligned ifunc selection.
31152 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31153 Add memcpy-sse2-unaligned.S.
31154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31155 Add: __memcpy_sse2_unaligned.
31157 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31160 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31161 math_force_eval before restoring floating-point envrionment.
31162 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31165 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31167 (__nearbyintl): Use math_force_eval before restoring
31168 floating-point environment.
31169 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31171 * math/gen-libm-test.pl (special_functions): Remove.
31172 (parse_args): Don't handle TEST_extra. Handle functions with no
31174 * math/libm-test.inc (struct test_sincos_data): Replace with
31175 struct test_fFF_11_data.
31176 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31177 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31178 (sincos_test_data): Change element type to struct
31179 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31180 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31181 RUN_TEST_LOOP_sincos.
31182 * math/README.libm-test: Don't mention special handling of
31183 individual functions.
31184 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31185 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31186 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31187 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31188 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31191 * math/gen-libm-test.pl (get_variable): Remove function.
31192 (parse_args): Don't show pointer parameters to call in test
31193 names. Use "extra output N" in test names for extra outputs
31194 rather than naming variables.
31196 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31199 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31200 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31201 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31203 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31205 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31208 * math/gen-libm-test.pl (@tests): Remove variable.
31209 ($count): Likewise.
31210 (new_test): Remove function.
31211 (show_exceptions): New function.
31212 (special_functions): Use show_exceptions instead of new_test.
31213 (parse_args): Likewise.
31214 (generate_testfile): Pass only function name in generated call to
31215 print_max_error or print_complex_max_error.
31216 (get_ulps): Do not handle complex tests specially.
31217 (output_test): Rename to ...
31218 (get_all_ulps_for_test): ... this. Return a string rather than
31219 printing to a file. Require ulps to be present.
31220 (output_ulps): Generate arrays rather than #defines.
31221 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31222 (struct ulp_data): New type.
31223 (BUILD_COMPLEX_ULP): Remove macro.
31224 (compare_ulp_data): New function.
31225 (find_ulps): Likewise.
31226 (find_test_ulps): Likewise.
31227 (find_function_ulps): Likewise.
31228 (find_complex_function_ulps): Likewise.
31229 (print_max_error): Determine allowed ulps using
31230 find_function_ulps.
31231 (print_complex_max_error): Determine allowed ulps using
31232 find_complex_function_ulps.
31233 (check_float_internal): Determine max ulps using find_test_ulps.
31234 (check_float): Do not take max_ulp parameter. Update call to
31235 check_float_internal.
31236 (check_complex): Likewise.
31237 (check_int): Do not take max_ulp parameter.
31238 (check_long): Likewise.
31239 (check_bool): Likewise.
31240 (check_longlong): Likewise.
31241 (struct test_f_f_data): Remove max_ulp field.
31242 (struct test_ff_f_data): Likewise.
31243 (struct test_ff_f_data_nexttoward): Likewise.
31244 (struct test_fi_f_data): Likewise.
31245 (struct test_fl_f_data): Likewise.
31246 (struct test_if_f_data): Likewise.
31247 (struct test_fff_f_data): Likewise.
31248 (struct test_c_f_data): Likewise.
31249 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31250 (struct test_fF_f1_data): Likewise.
31251 (struct test_ffI_f1_data): Likewise.
31252 (struct test_c_c_data): Remove max_ulp field.
31253 (struct test_cc_c_data): Likewise.
31254 (struct test_f_i_data): Likewise.
31255 (struct test_ff_i_data): Likewise.
31256 (struct test_f_l_data): Likewise.
31257 (struct test_f_L_data): Likewise.
31258 (struct test_sincos_data): Likewise.
31259 (RUN_TEST_f_f): Do not handle ulps.
31260 (RUN_TEST_LOOP_f_f): Likewise.
31261 (RUN_TEST_2_f): Likewise.
31262 (RUN_TEST_LOOP_2_f): Likewise.
31263 (RUN_TEST_fff_f): Likewise.
31264 (RUN_TEST_LOOP_fff_f): Likewise.
31265 (RUN_TEST_c_f): Likewise.
31266 (RUN_TEST_LOOP_c_f): Likewise.
31267 (RUN_TEST_f_f1): Likewise.
31268 (RUN_TEST_LOOP_f_f1): Likewise.
31269 (RUN_TEST_fF_f1): Likewise.
31270 (RUN_TEST_LOOP_fF_f1): Likewise.
31271 (RUN_TEST_fI_f1): Likewise.
31272 (RUN_TEST_LOOP_fI_f1): Likewise.
31273 (RUN_TEST_ffI_f1): Likewise.
31274 (RUN_TEST_LOOP_ffI_f1): Likewise.
31275 (RUN_TEST_c_c): Likewise.
31276 (RUN_TEST_LOOP_c_c): Likewise.
31277 (RUN_TEST_cc_c): Likewise.
31278 (RUN_TEST_LOOP_cc_c): Likewise.
31279 (RUN_TEST_f_i): Likewise.
31280 (RUN_TEST_LOOP_f_i): Likewise.
31281 (RUN_TEST_f_i_tg): Likewise.
31282 (RUN_TEST_LOOP_f_i_tg): Likewise.
31283 (RUN_TEST_ff_i_tg): Likewise.
31284 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31285 (RUN_TEST_f_b): Likewise.
31286 (RUN_TEST_LOOP_f_b): Likewise.
31287 (RUN_TEST_f_b_tg): Likewise.
31288 (RUN_TEST_LOOP_f_b_tg): Likewise.
31289 (RUN_TEST_f_l): Likewise.
31290 (RUN_TEST_LOOP_f_l): Likewise.
31291 (RUN_TEST_f_L): Likewise.
31292 (RUN_TEST_LOOP_f_L): Likewise.
31293 (RUN_TEST_sincos): Likewise.
31294 (RUN_TEST_LOOP_sincos): Likewise.
31296 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31300 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31301 main case of finite arguments, set rounding mode to FE_TONEAREST
31302 and discard exceptions.
31303 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31305 (remainder_tonearest_test_data): New variable.
31306 (remainder_test_tonearest): New function.
31307 (remainder_towardzero_test_data): New variable.
31308 (remainder_test_towardzero): New function.
31309 (remainder_downward_test_data): New variable.
31310 (remainder_test_downward): New function.
31311 (remainder_upward_test_data): New variable.
31312 (remainder_test_upward): New function.
31313 (main): Call the new test functions.
31315 * math/libm-test.inc (struct test_f_f1_data): Remove field
31317 (struct test_fF_f1_data): Likewise.
31318 (struct test_ffI_f1_data): Likewise.
31319 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31320 based on value of EXTRA_EXPECTED.
31321 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31322 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31323 EXTRA_VAR based on value of EXTRA_EXPECTED.
31324 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31325 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31326 EXTRA_VAR based on value of EXTRA_EXPECTED.
31327 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31328 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31329 EXTRA_VAR based on value of EXTRA_EXPECTED.
31330 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31331 * math/gen-libm-test.pl (parse_args): Don't output initializers
31332 for extra output values.
31334 * math/libm-test.inc (check_int): Expect result to be exactly
31335 equal to expected value and do not handle ulps.
31336 (check_long): Likewise.
31337 (check_longlong): Likewise.
31339 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31341 (cimag_test_data): Likewise.
31342 (conj_test_data): Likewise.
31343 (copysign_test_data): Likewise.
31344 (cproj_test_data): Likewise.
31345 (creal_test_data): Likewise.
31346 (fabs_test_data): Likewise.
31347 (fdim_test_data): Likewise.
31348 (finite_test_data): Likewise.
31349 (floor_test_data): Likewise.
31350 (fmax_test_data): Likewise.
31351 (fmin_test_data): Likewise.
31352 (fmod_test_data): Likewise.
31353 (fpclassify_test_data): Likewise.
31354 (frexp_test_data): Likewise.
31355 (ilogb_test_data): Likewise.
31356 (isfinite_test_data): Likewise.
31357 (isgreater_test_data): Likewise.
31358 (isgreaterequal_test_data): Likewise.
31359 (isinf_test_data): Likewise.
31360 (isless_test_data): Likewise.
31361 (islessequal_test_data): Likewise.
31362 (islessgreater_test_data): Likewise.
31363 (isnan_test_data): Likewise.
31364 (isnormal_test_data): Likewise.
31365 (issignaling_test_data): Likewise.
31366 (isunordered_test_data): Likewise.
31367 (ldexp_test_data): Likewise.
31368 (lrint_test_data): Likewise.
31369 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31370 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31371 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31372 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31373 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31374 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31376 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31377 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31378 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31379 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31381 (lrint_downward_test_data): Test for "inexact" exceptions.
31382 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31383 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31384 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31386 (lrint_upward_test_data): Test for "inexact" exceptions.
31387 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31389 (llrint_test_data): Test for "inexact" exceptions.
31390 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31391 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31392 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31393 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31394 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31395 (llrint_downward_test_data): Test for "inexact" exceptions.
31396 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31397 (llrint_upward_test_data): Test for "inexact" exceptions.
31398 (logb_test_data): Likewise.
31399 (logb_downward_test_data): Likewise.
31400 (nextafter_test_data): Likewise.
31401 (nexttoward_test_data): Likewise.
31402 (remainder_test_data): Likewise.
31403 (remquo_test_data): Likewise.
31404 (scalbn_test_data): Likewise.
31405 (scalbln_test_data): Likewise.
31406 (signbit_test_data): Likewise.
31407 (sqrt_test_data): Likewise.
31408 (significand_test_data): Likewise.
31410 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31413 * benchtests/bench-modf.c (struct args): Mark arg0 as
31415 * scripts/bench.pl: Mark members of struct args as volatile.
31417 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31420 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31421 negative infinity on POWER6 or lower.
31422 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31424 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31427 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31428 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31429 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31430 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31431 (_FP_SETQNAN): New macro.
31432 (_FP_SETQNAN_SEMIRAW): Likewise.
31433 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31434 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31435 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31436 (FP_EXTEND): Use _FP_FRAC_SNANP.
31437 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31438 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31440 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31442 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31445 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31447 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31448 with DIVIDE_BY_ZERO_EXCEPTION.
31449 (gamma_test_data): Likewise.
31450 (lgamma_test_data): Likewise.
31451 (log_test_data): Likewise.
31452 (log10_test_data): Likewise.
31453 (log2_test_data): Likewise.
31454 (tgamma_test_data): Likewise.
31456 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31457 (acos_test_tonearest): Likewise.
31458 (acos_test_towardzero): Likewise.
31459 (acos_test_downward): Likewise.
31460 (acos_test_upward): Likewise.
31461 (acosh_test): Likewise.
31462 (asin_test): Likewise.
31463 (asin_test_tonearest): Likewise.
31464 (asin_test_towardzero): Likewise.
31465 (asin_test_downward): Likewise.
31466 (asin_test_upward): Likewise.
31467 (asinh_test): Likewise.
31468 (atan_test): Likewise.
31469 (atanh_test): Likewise.
31470 (atan2_test): Likewise.
31471 (cabs_test): Likewise.
31472 (cacos_test): Likewise.
31473 (cacosh_test): Likewise.
31474 (casin_test): Likewise.
31475 (casinh_test): Likewise.
31476 (catan_test): Likewise.
31477 (catanh_test): Likewise.
31478 (cbrt_test): Likewise.
31479 (ccos_test): Likewise.
31480 (ccosh_test): Likewise.
31481 (cexp_test): Likewise.
31482 (clog_test): Likewise.
31483 (clog10_test): Likewise.
31484 (cos_test): Likewise.
31485 (cos_test_tonearest): Likewise.
31486 (cos_test_towardzero): Likewise.
31487 (cos_test_downward): Likewise.
31488 (cos_test_upward): Likewise.
31489 (cosh_test): Likewise.
31490 (cosh_test_tonearest): Likewise.
31491 (cosh_test_towardzero): Likewise.
31492 (cosh_test_downward): Likewise.
31493 (cosh_test_upward): Likewise.
31494 (cpow_test): Likewise.
31495 (csin_test): Likewise.
31496 (csinh_test): Likewise.
31497 (csqrt_test): Likewise.
31498 (ctan_test): Likewise.
31499 (ctan_test_tonearest): Likewise.
31500 (ctan_test_towardzero): Likewise.
31501 (ctan_test_downward): Likewise.
31502 (ctan_test_upward): Likewise.
31503 (ctanh_test): Likewise.
31504 (ctanh_test_tonearest): Likewise.
31505 (ctanh_test_towardzero): Likewise.
31506 (ctanh_test_downward): Likewise.
31507 (ctanh_test_upward): Likewise.
31508 (erf_test): Likewise.
31509 (erfc_test): Likewise.
31510 (exp_test): Likewise.
31511 (exp_test_tonearest): Likewise.
31512 (exp_test_towardzero): Likewise.
31513 (exp_test_downward): Likewise.
31514 (exp_test_upward): Likewise.
31515 (exp10_test): Likewise.
31516 (exp2_test): Likewise.
31517 (expm1_test): Likewise.
31518 (fmod_test): Likewise.
31519 (gamma_test): Likewise.
31520 (hypot_test): Likewise.
31521 (j0_test): Likewise.
31522 (j1_test): Likewise.
31523 (jn_test): Likewise.
31524 (lgamma_test): Likewise.
31525 (log_test): Likewise.
31526 (log10_test): Likewise.
31527 (log1p_test): Likewise.
31528 (log2_test): Likewise.
31529 (logb_test_downward): Likewise.
31530 (pow_test): Likewise.
31531 (pow_test_tonearest): Likewise.
31532 (pow_test_towardzero): Likewise.
31533 (pow_test_downward): Likewise.
31534 (pow_test_upward): Likewise.
31535 (remainder_test): Likewise.
31536 (remquo_test): Likewise.
31537 (sin_test): Likewise.
31538 (sin_test_tonearest): Likewise.
31539 (sin_test_towardzero): Likewise.
31540 (sin_test_downward): Likewise.
31541 (sin_test_upward): Likewise.
31542 (sincos_test): Likewise.
31543 (sinh_test): Likewise.
31544 (sinh_test_tonearest): Likewise.
31545 (sinh_test_towardzero): Likewise.
31546 (sinh_test_downward): Likewise.
31547 (sinh_test_upward): Likewise.
31548 (sqrt_test): Likewise.
31549 (tan_test): Likewise.
31550 (tan_test_tonearest): Likewise.
31551 (tan_test_towardzero): Likewise.
31552 (tan_test_downward): Likewise.
31553 (tan_test_upward): Likewise.
31554 (tanh_test): Likewise.
31555 (tgamma_test): Likewise.
31556 (y0_test): Likewise.
31557 (y1_test): Likewise.
31558 (yn_test): Likewise.
31560 * math/gen-libm-test.pl (adjust_arg): Remove function.
31561 (special_function): Remove argument $in_func. Only handle
31562 generating output for tables of tests, not inside functions.
31563 (parse_args): Likewise.
31564 (generate_testfile): Remove variable $in_func. Update call to
31566 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31567 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31568 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31569 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31570 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31571 (MAX_VALUE_INIT): Rename macro to max_value.
31572 (MIN_VALUE_INIT): Rename macro to min_value.
31573 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31574 (plus_zero): Remove variable.
31575 (minus_zero): Likewise.
31576 (plus_infty): Likewise.
31577 (minus_infty): Likewise.
31578 (qnan_value): Likewise.
31579 (max_value): Likewise.
31580 (min_value): Likewise.
31581 (min_subnorm_value): Likewise.
31583 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31585 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31586 uint64_t or uint32_t usage.
31587 * crypt/sha256-block.c: Likewise.
31588 * crypt/sha256-crypt.c: Likewise.
31589 * crypt/sha256.c: Likewise.
31590 * crypt/sha512-block.c: Likewise.
31591 * crypt/sha512-crypt.c: Likewise.
31592 * crypt/sha512.c: Likewise.
31593 * debug/backtrace-tst.c: Likewise.
31594 * debug/pcprofiledump.c: Likewise.
31595 * elf/cache.c: Likewise.
31596 * elf/dl-cache.c: Likewise.
31597 * elf/dl-misc.c: Likewise.
31598 * elf/dl-profile.c: Likewise.
31599 * elf/dl-support.c: Likewise.
31600 * elf/ldconfig.c: Likewise.
31601 * elf/sprof.c: Likewise.
31602 * iconv/dummy-repertoire.c: Likewise.
31603 * iconv/iconv_charmap.c: Likewise.
31604 * iconv/skeleton.c: Likewise.
31605 * iconvdata/8bit-generic.c: Likewise.
31606 * iconvdata/cp737.h: Likewise.
31607 * iconvdata/cp775.h: Likewise.
31608 * iconvdata/ibm1008.h: Likewise.
31609 * iconvdata/ibm1025.h: Likewise.
31610 * iconvdata/ibm1046.h: Likewise.
31611 * iconvdata/ibm1097.h: Likewise.
31612 * iconvdata/ibm1112.h: Likewise.
31613 * iconvdata/ibm1122.h: Likewise.
31614 * iconvdata/ibm1123.h: Likewise.
31615 * iconvdata/ibm1124.h: Likewise.
31616 * iconvdata/ibm1129.h: Likewise.
31617 * iconvdata/ibm1130.h: Likewise.
31618 * iconvdata/ibm1132.h: Likewise.
31619 * iconvdata/ibm1133.h: Likewise.
31620 * iconvdata/ibm1137.h: Likewise.
31621 * iconvdata/ibm1140.h: Likewise.
31622 * iconvdata/ibm1141.h: Likewise.
31623 * iconvdata/ibm1142.h: Likewise.
31624 * iconvdata/ibm1143.h: Likewise.
31625 * iconvdata/ibm1144.h: Likewise.
31626 * iconvdata/ibm1145.h: Likewise.
31627 * iconvdata/ibm1146.h: Likewise.
31628 * iconvdata/ibm1147.h: Likewise.
31629 * iconvdata/ibm1148.h: Likewise.
31630 * iconvdata/ibm1149.h: Likewise.
31631 * iconvdata/ibm1153.h: Likewise.
31632 * iconvdata/ibm1154.h: Likewise.
31633 * iconvdata/ibm1155.h: Likewise.
31634 * iconvdata/ibm1156.h: Likewise.
31635 * iconvdata/ibm1157.h: Likewise.
31636 * iconvdata/ibm1158.h: Likewise.
31637 * iconvdata/ibm1160.h: Likewise.
31638 * iconvdata/ibm1161.h: Likewise.
31639 * iconvdata/ibm1162.h: Likewise.
31640 * iconvdata/ibm1163.h: Likewise.
31641 * iconvdata/ibm1164.h: Likewise.
31642 * iconvdata/ibm1166.h: Likewise.
31643 * iconvdata/ibm1167.h: Likewise.
31644 * iconvdata/ibm12712.h: Likewise.
31645 * iconvdata/ibm1390.h: Likewise.
31646 * iconvdata/ibm1399.h: Likewise.
31647 * iconvdata/ibm16804.h: Likewise.
31648 * iconvdata/ibm4517.h: Likewise.
31649 * iconvdata/ibm4899.h: Likewise.
31650 * iconvdata/ibm4909.h: Likewise.
31651 * iconvdata/ibm4971.h: Likewise.
31652 * iconvdata/ibm5347.h: Likewise.
31653 * iconvdata/ibm803.h: Likewise.
31654 * iconvdata/ibm856.h: Likewise.
31655 * iconvdata/ibm901.h: Likewise.
31656 * iconvdata/ibm902.h: Likewise.
31657 * iconvdata/ibm9030.h: Likewise.
31658 * iconvdata/ibm9066.h: Likewise.
31659 * iconvdata/ibm921.h: Likewise.
31660 * iconvdata/ibm922.h: Likewise.
31661 * iconvdata/ibm9448.h: Likewise.
31662 * iconvdata/isiri-3342.h: Likewise.
31663 * iconvdata/jis0201.h: Likewise.
31664 * include/link.h: Likewise.
31665 * include/netdb.h: Likewise.
31666 * inet/check_native.c: Likewise.
31667 * inet/check_pf.c: Likewise.
31668 * inet/getipv4sourcefilter.c: Likewise.
31669 * inet/getnameinfo.c: Likewise.
31670 * inet/getsourcefilter.c: Likewise.
31671 * inet/htonl.c: Likewise.
31672 * inet/setipv4sourcefilter.c: Likewise.
31673 * inet/setsourcefilter.c: Likewise.
31674 * inet/test-inet6_opt.c: Likewise.
31675 * inet/tst-network.c: Likewise.
31676 * locale/C-collate.c: Likewise.
31677 * locale/C-ctype.c: Likewise.
31678 * locale/C-time.c: Likewise.
31679 * locale/C-translit.h: Likewise.
31680 * locale/loadarchive.c: Likewise.
31681 * locale/programs/3level.h: Likewise.
31682 * locale/programs/charmap.c: Likewise.
31683 * locale/programs/charmap.h: Likewise.
31684 * locale/programs/ld-address.c: Likewise.
31685 * locale/programs/ld-collate.c: Likewise.
31686 * locale/programs/ld-ctype.c: Likewise.
31687 * locale/programs/ld-identification.c: Likewise.
31688 * locale/programs/ld-measurement.c: Likewise.
31689 * locale/programs/ld-messages.c: Likewise.
31690 * locale/programs/ld-monetary.c: Likewise.
31691 * locale/programs/ld-name.c: Likewise.
31692 * locale/programs/ld-numeric.c: Likewise.
31693 * locale/programs/ld-paper.c: Likewise.
31694 * locale/programs/ld-telephone.c: Likewise.
31695 * locale/programs/ld-time.c: Likewise.
31696 * locale/programs/linereader.c: Likewise.
31697 * locale/programs/locale.c: Likewise.
31698 * locale/programs/locarchive.c: Likewise.
31699 * locale/programs/locfile.h: Likewise.
31700 * locale/programs/repertoire.c: Likewise.
31701 * locale/programs/simple-hash.c: Likewise.
31702 * locale/programs/simple-hash.h: Likewise.
31703 * malloc/memusage.c: Likewise.
31704 * malloc/memusagestat.c: Likewise.
31705 * nis/nis_defaults.c: Likewise.
31706 * nis/nis_hash.c: Likewise.
31707 * nis/nis_print.c: Likewise.
31708 * nis/nis_xdr.c: Likewise.
31709 * nscd/connections.c: Likewise.
31710 * nscd/hstcache.c: Likewise.
31711 * nscd/nscd_gethst_r.c: Likewise.
31712 * nscd/nscd_getserv_r.c: Likewise.
31713 * nscd/nscd_helper.c: Likewise.
31714 * nscd/servicescache.c: Likewise.
31715 * nss/makedb.c: Likewise.
31716 * nss/nss_db/db-XXX.c: Likewise.
31717 * nss/nss_db/db-initgroups.c: Likewise.
31718 * nss/nss_db/db-netgrp.c: Likewise.
31719 * nss/nss_files/files-network.c: Likewise.
31720 * nss/nss_files/files-parse.c: Likewise.
31721 * posix/bug-regex5.c: Likewise.
31722 * posix/fnmatch_loop.c: Likewise.
31723 * posix/regcomp.c: Likewise.
31724 * posix/regexec.c: Likewise.
31725 * posix/tst-rfc3484-2.c: Likewise.
31726 * posix/tst-rfc3484-3.c: Likewise.
31727 * posix/tst-rfc3484.c: Likewise.
31728 * resolv/nss_dns/dns-canon.c: Likewise.
31729 * resolv/nss_dns/dns-network.c: Likewise.
31730 * resolv/res_init.c: Likewise.
31731 * resolv/res_mkquery.c: Likewise.
31732 * resolv/tst-aton.c: Likewise.
31733 * stdlib/cxa_atexit.c: Likewise.
31734 * stdlib/cxa_finalize.c: Likewise.
31735 * stdlib/gen-fpioconst.c: Likewise.
31736 * stdlib/strtol_l.c: Likewise.
31737 * string/tst-endian.c: Likewise.
31738 * sunrpc/auth_des.c: Likewise.
31739 * sunrpc/clnt_udp.c: Likewise.
31740 * sunrpc/rtime.c: Likewise.
31741 * sunrpc/svcauth_des.c: Likewise.
31742 * sunrpc/xdr.c: Likewise.
31743 * sunrpc/xdr_intXX_t.c: Likewise.
31744 * sunrpc/xdr_rec.c: Likewise.
31745 * sysdeps/generic/ldconfig.h: Likewise.
31746 * sysdeps/generic/ldsodefs.h: Likewise.
31747 * sysdeps/generic/memusage.h: Likewise.
31748 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31749 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31750 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31751 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31752 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31754 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31756 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31758 * sysdeps/posix/getaddrinfo.c: Likewise.
31759 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31760 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31761 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31762 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31763 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31764 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31765 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31766 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31767 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31768 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31769 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31770 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31771 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31772 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31773 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31774 * sysdeps/x86_64/dl-tls.h: Likewise.
31775 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31776 * time/alt_digit.c: Likewise.
31777 * time/era.c: Likewise.
31778 * wcsmbs/tst-c16c32-1.c: Likewise.
31780 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31782 * math/libm-test.inc (struct test_sincos_data): New type.
31783 (RUN_TEST_LOOP_sincos): New macro.
31784 (sincos_test_data): New variable.
31785 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31787 2013-05-16 Richard Henderson <rth@redhat.com>
31789 * math/atest-exp2.c (LIMB64): New macro.
31790 (CONSTSZ): New macro.
31791 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31793 (print_mpn_fp): ... to function scope.
31794 (read_mpn_hex): Remove.
31795 (get_log2): Remove.
31796 (exp2_mpn): Use mp_log2.
31797 (main): Use mp_exp1.
31799 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31801 * math/libm-test.inc: Remove comment about not testing "inexact"
31803 (INEXACT_EXCEPTION): New macro.
31804 (NO_INEXACT_EXCEPTION): Likewise.
31805 (INVALID_EXCEPTION_OK): Update value.
31806 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31807 (OVERFLOW_EXCEPTION_OK): Likewise.
31808 (UNDERFLOW_EXCEPTION_OK): Likewise.
31809 (IGNORE_ZERO_INF_SIGN): Likewise.
31810 (ERRNO_UNCHANGED): Likewise.
31811 (ERRNO_EDOM): Likewise.
31812 (ERRNO_ERANGE): Likewise.
31813 (test_exceptions): Handle testing "inexact" exceptions.
31814 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31815 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31816 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31817 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31819 (rint_towardzero_test_data): Likewise.
31820 (rint_downward_test_data): Likewise.
31821 (rint_upward_test_data): Likewise.
31823 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31824 with OVERFLOW_EXCEPTION.
31825 (exp10_test_data): Likewise.
31826 (exp2_test_data): Likewise.
31827 (expm1_test_data): Likewise.
31828 (lgamma_test_data): Likewise.
31829 (pow_test_data): Likewise.
31830 (tgamma_test_data): Likewise.
31831 (yn_test_data): Remove duplicate test of overflow.
31833 * math/libm-test.inc (struct test_cc_c_data): New type.
31834 (RUN_TEST_LOOP_cc_c): New macro.
31835 (cpow_test_data): New variable.
31836 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31838 * math/libm-test.inc (struct test_f_L_data): New type.
31839 (RUN_TEST_LOOP_f_L): New macro.
31840 (llrint_test_data): New variable.
31841 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31842 (llrint_tonearest_test_data): New variable.
31843 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31844 (llrint_towardzero_test_data): New variable.
31845 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31846 (llrint_downward_test_data): New variable.
31847 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31848 (llrint_upward_test_data): New variable.
31849 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31850 (llround_test_data): New variable.
31851 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31853 2013-05-13 Peter Collingbourne <pcc@google.com>
31855 * math/atest-exp2.c (get_log2): Remove const attribute.
31857 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31859 * math/libm-test.inc (struct test_f_l_data): New type.
31860 (RUN_TEST_LOOP_f_l): New macro.
31861 (lrint_test_data): New variable.
31862 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31863 (lrint_tonearest_test_data): New variable.
31864 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31865 (lrint_towardzero_test_data): New variable.
31866 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31867 (lrint_downward_test_data): New variable.
31868 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31869 (lrint_upward_test_data): New variable.
31870 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31871 (lround_test_data): New variable.
31872 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31874 2013-05-15 Peter Collingbourne <pcc@google.com>
31876 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31877 (EXTRACT_WORDS64) Use where appropriate.
31878 (INSERT_WORDS64) Likewise.
31880 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31881 constraints with x constraints.
31882 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31884 * malloc/obstack.c (_obstack_compat): Add initializer.
31886 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31888 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31889 si_trapno and add si_addr_lsb to _sifields.sigfault.
31890 (si_trapno): Remove macro.
31891 (si_addr_lsb): Define new macro.
31892 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31894 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31896 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31897 instead of TEST_f_l.
31898 (llrint_test_tonearest): Likewise.
31899 (llrint_test_towardzero): Likewise.
31900 (llrint_test_downward): Likewise.
31901 (llrint_test_upward): Likewise.
31902 (llround_test): Likewise.
31904 * math/libm-test.inc (struct test_f_i_data): Add comment.
31905 (RUN_TEST_LOOP_f_b): New macro.
31906 (RUN_TEST_LOOP_f_b_tg): Likewise.
31907 (finite_test_data): New variable.
31908 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31909 (isfinite_test_data): New variable.
31910 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31911 (isinf_test_data): New variable.
31912 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31913 (isnan_test_data): New variable.
31914 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31915 (isnormal_test_data): New variable.
31916 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31917 (issignaling_test_data): New variable.
31918 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31919 (signbit_test_data): New variable.
31920 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31922 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31923 with INVALID_EXCEPTION.
31924 (acosh_test_data): Likewise.
31925 (asin_test_data): Likewise.
31926 (atanh_test_data): Likewise.
31927 (fmod_test_data): Likewise.
31928 (log_test_data): Likewise.
31929 (log10_test_data): Likewise.
31930 (log2_test_data): Likewise.
31931 (pow_test_data): Likewise.
31932 (sqrt_test_data): Likewise.
31933 (y0_test_data): Likewise.
31934 (y1_test_data): Likewise.
31935 (yn_test_data): Likewise.
31937 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31940 * math/libm-test.inc (struct test_ff_i_data): New type.
31941 (RUN_TEST_LOOP_ff_i_tg): New macro.
31942 (isgreater_test_data): New variable.
31943 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31944 (isgreaterequal_test_data): New variable.
31945 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31946 (isless_test_data): New variable.
31947 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31948 (islessequal_test_data): New variable.
31949 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31950 (islessgreater_test_data): New variable.
31951 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31952 (isunordered_test_data): New variable.
31953 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31955 2013-05-14 David S. Miller <davem@davemloft.net>
31957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31959 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31961 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31963 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31965 (struct test_f_i_data): Change type of max_ulp to int.
31967 * math/libm-test.inc (test_ffI_f1_data): New type.
31968 (RUN_TEST_LOOP_ffI_f1): New macro.
31969 (remquo_test_data): New variable.
31970 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31972 * setjmp/tst-setjmp-fp.c: New file.
31973 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31974 (link-libm): New variable.
31975 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31977 * math/libm-test.inc (struct test_f_i_data): New type.
31978 (RUN_TEST_LOOP_f_i): New macro.
31979 (RUN_TEST_LOOP_f_i_tg): Likewise.
31980 (fpclassify_test_data): New variable.
31981 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31982 (ilogb_test_data): New variable.
31983 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31985 * math/libm-test.inc (scalbln_test): Correct function name in END
31988 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31989 (RUN_TEST_LOOP_fI_f1): New macro.
31990 (frexp_test_data): New variable.
31991 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31993 * math/libm-test.inc (struct test_fF_f1_data): New type.
31994 (RUN_TEST_LOOP_fF_f1): New macro.
31995 (modf_test_data): New variable.
31996 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31998 * math/libm-test.inc (struct test_f_f1_data): New type.
31999 (RUN_TEST_LOOP_f_f1): New macro.
32000 (gamma_test_data): New variable.
32001 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32002 (lgamma_test_data): New variable.
32003 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32005 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32007 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32008 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32009 (main): Comment "tls" pseudo-hwcap.
32011 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32013 * math/libm-test.inc (struct test_fl_f_data): New type.
32014 (RUN_TEST_LOOP_fl_f): New variable.
32015 (scalbln_test_data): New variable.
32016 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32018 * math/libm-test.inc (struct test_fi_f_data): New type.
32019 (RUN_TEST_LOOP_fi_f): New macro.
32020 (ldexp_test_data): New variable.
32021 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32022 (scalbn_test_data): New variable.
32023 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32025 * math/libm-test.inc (struct test_c_f_data): New type.
32026 (RUN_TEST_LOOP_c_f): New macro.
32027 (cabs_test_data): New variable.
32028 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32029 (carg_test_data): New variable.
32030 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32031 (cimag_test_data): New variable.
32032 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32033 (creal_test_data): New variable.
32034 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32036 * math/libm-test.inc (struct test_if_f_data): New type.
32037 (RUN_TEST_LOOP_if_f): New macro.
32038 (jn_test_data): New variable.
32039 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32040 (yn_test_data): New variable.
32041 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32043 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32045 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32047 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32048 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32050 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32052 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32053 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32054 (bench-deps): Add bench-timing.h.
32055 * benchtests-bench-skeleton.c: Include bench-timing.h.
32056 (main): Use TIMING_* macros instead of clock_gettime.
32057 * benchtests/bench-timing.h: New file.
32060 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32061 Renamed from _LIB_VERSION.
32062 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32064 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32066 * math/libm-test.inc (struct test_fff_f_data): New type.
32067 (RUN_TEST_LOOP_fff_f): New macro.
32068 (fma_test_data): New variable.
32069 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32070 (fma_towardzero_test_data): New variable.
32071 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32072 (fma_downward_test_data): New variable.
32073 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32074 (fma_upward_test_data): New variable.
32075 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32077 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32078 (struct test_c_c_data): New type.
32079 (RUN_TEST_LOOP_c_c): New macro.
32080 (cacos_test_data): New variable.
32081 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32082 (cacosh_test_data): New variable.
32083 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32084 (casin_test_data): New variable.
32085 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32086 (casinh_test_data): New variable.
32087 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32088 (catan_test_data): New variable.
32089 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32090 (catanh_test_data): New variable.
32091 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32092 (ccos_test_data): New variable.
32093 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32094 (ccosh_test_data): New variable.
32095 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32096 (cexp_test_data): New variable.
32097 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32098 (clog_test_data): New variable.
32099 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32100 (clog10_test_data): New variable.
32101 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32102 (conj_test_data): New variable.
32103 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32104 (cproj_test_data): New variable.
32105 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32106 (csin_test_data): New variable.
32107 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32108 (csinh_test_data): New variable.
32109 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32110 (csqrt_test_data): New variable.
32111 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32112 (ctan_test_data): New variable.
32113 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32114 (ctan_tonearest_test_data): New variable.
32115 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32116 (ctan_towardzero_test_data): New variable.
32117 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32118 (ctan_downward_test_data): New variable.
32119 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32120 (ctan_upward_test_data): New variable.
32121 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32122 (ctanh_test_data): New variable.
32123 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32124 (ctanh_tonearest_test_data): New variable.
32125 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32126 (ctanh_towardzero_test_data): New variable.
32127 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32128 (ctanh_downward_test_data): New variable.
32129 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32130 (ctanh_upward_test_data): New variable.
32131 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32132 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32135 * math/libm-test.inc (struct test_ff_f_data): New type.
32136 (struct test_ff_f_data_nexttoward): Likewise.
32137 (RUN_TEST_LOOP_2_f): New macro.
32138 (RUN_TEST_LOOP_ff_f): Likewise.
32139 (atan2_test_data): New variable.
32140 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32141 (copysign_test_data): New variable.
32142 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32143 (fdim_test_data): New variable.
32144 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32145 (fmax_test_data): New variable.
32146 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32147 (fmin_test_data): New variable.
32148 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32149 (fmod_test_data): New variable.
32150 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32151 (hypot_test_data): New variable.
32152 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32153 (nextafter_test_data): New variable.
32154 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32155 (nexttoward_test_data): New variable.
32156 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32157 (pow_test_data): New variable.
32158 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32159 (pow_tonearest_test_data): New variable.
32160 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32161 (pow_towardzero_test_data): New variable.
32162 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32163 (pow_downward_test_data): New variable.
32164 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32165 (pow_upward_test_data): New variable.
32166 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32167 (remainder_test_data): New variable.
32168 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32169 (scalb_test_data): New variable.
32170 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32171 * sysdeps/i386/fpu/libm-test-ulps: Update.
32173 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32175 * math/libm-test.inc (fma_test): Use max_value instead of local
32177 (nextafter_test): Likewise.
32179 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32180 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32181 (acos_downward_test_data): New variable.
32182 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32183 (acos_upward_test_data): New variable.
32184 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32185 (acosh_test_data): New variable.
32186 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32187 (asin_test_data): New variable.
32188 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32189 (asin_tonearest_test_data): New variable.
32190 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32191 (asin_towardzero_test_data): New variable.
32192 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32193 (asin_downward_test_data): New variable.
32194 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32195 (asin_upward_test_data): New variable.
32196 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32197 (asinh_test_data): New variable.
32198 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32199 (atan_test_data): New variable.
32200 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32201 (atanh_test_data): New variable.
32202 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32203 (cbrt_test_data): New variable.
32204 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32205 (ceil_test_data): New variable.
32206 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32207 (cos_test_data): New variable.
32208 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32209 (cos_tonearest_test_data): New variable.
32210 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32211 (cos_towardzero_test_data): New variable.
32212 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32213 (cos_downward_test_data): New variable.
32214 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32215 (cos_upward_test_data): New variable.
32216 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32217 (cosh_test_data): New variable.
32218 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32219 (cosh_tonearest_test_data): New variable.
32220 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32221 (cosh_towardzero_test_data): New variable.
32222 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32223 (cosh_downward_test_data): New variable.
32224 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32225 (cosh_upward_test_data): New variable.
32226 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32227 (erf_test_data): New variable.
32228 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32229 (erfc_test_data): New variable.
32230 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32231 (exp_test_data): New variable.
32232 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32233 (exp_tonearest_test_data): New variable.
32234 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32235 (exp_towardzero_test_data): New variable.
32236 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32237 (exp_downward_test_data): New variable.
32238 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32239 (exp_upward_test_data): New variable.
32240 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32241 (exp10_test_data): New variable.
32242 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32243 (exp2_test_data): New variable.
32244 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32245 (expm1_test_data): New variable.
32246 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32247 (fabs_test_data): New variable.
32248 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32249 (floor_test_data): New variable.
32250 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32251 (j0_test_data): New variable.
32252 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32253 (j1_test_data): New variable.
32254 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32255 (log_test_data): New variable.
32256 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32257 (log10_test_data): New variable.
32258 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32259 (log1p_test_data): New variable.
32260 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32261 (log2_test_data): New variable.
32262 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32263 (logb_test_data): New variable.
32264 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32265 (logb_downward_test_data): New variable.
32266 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32267 (nearbyint_test_data): New variable.
32268 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32269 (rint_test_data): New variable.
32270 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32271 (rint_tonearest_test_data): New variable.
32272 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32273 (rint_towardzero_test_data): New variable.
32274 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32275 (rint_downward_test_data): New variable.
32276 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32277 (rint_upward_test_data): New variable.
32278 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32279 (round_test_data): New variable.
32280 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32281 (sin_test_data): New variable.
32282 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32283 (sin_tonearest_test_data): New variable.
32284 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32285 (sin_towardzero_test_data): New variable.
32286 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32287 (sin_downward_test_data): New variable.
32288 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32289 (sin_upward_test_data): New variable.
32290 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32291 (sinh_test_data): New variable.
32292 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32293 (sinh_tonearest_test_data): New variable.
32294 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32295 (sinh_towardzero_test_data): New variable.
32296 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32297 (sinh_downward_test_data): New variable.
32298 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32299 (sinh_upward_test_data): New variable.
32300 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32301 (sqrt_test_data): New variable.
32302 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32303 (tan_test_data): New variable.
32304 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32305 (tan_tonearest_test_data): New variable.
32306 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32307 (tan_towardzero_test_data): New variable.
32308 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32309 (tan_downward_test_data): New variable.
32310 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32311 (tan_upward_test_data): New variable.
32312 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32313 (tanh_test_data): New variable.
32314 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32315 (tgamma_test_data): New variable.
32316 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32317 (trunc_test_data): New variable.
32318 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32319 (y0_test_data): New variable.
32320 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32321 (y1_test_data): New variable.
32322 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32323 (significand_test_data): New variable.
32324 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32326 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32329 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32331 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32333 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32335 2013-05-10 Andreas Jaeger <aj@suse.de>
32338 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32339 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32341 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32343 * math/gen-libm-test.pl (adjust_arg): New function.
32344 (special_functions): Handle generating output in both functions
32346 (parse_args): Likewise.
32347 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32348 $in_func argument to parse_args.
32349 * math/libm-test.inc (struct test_f_f_data): New type.
32350 (IF_ROUND_INIT_): New macro.
32351 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32352 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32353 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32354 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32355 (ROUND_RESTORE_): Likewise.
32356 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32357 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32358 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32359 (ROUND_RESTORE_FE_UPWARD): Likewise.
32360 (RUN_TEST_LOOP_f_f): New macro.
32361 (acos_test_data): New variable.
32362 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32363 (acos_tonearest_test_data): New variable.
32364 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32366 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32368 * benchtests/bench-skeleton.c (startup): Fix coding style.
32370 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32373 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32374 negative infinity argument.
32375 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32376 negative infinity argument.
32377 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32378 negative infinity argument.
32379 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32382 2013-05-10 Florian Weimer <fweimer@redhat.com>
32384 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32385 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32386 * iconv/iconv_prog.c (main): Likewise.
32387 * locale/programs/charmap-dir.c (charmap_readdir)
32388 (fopen_uncompressed): Likewise.
32389 * locale/programs/locfile.c (siblings_uncached)
32390 (write_locale_data): Use lstat64 instead of lstat.
32391 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32394 2013-05-10 Andreas Jaeger <aj@suse.de>
32397 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32399 Include <locale.h>.
32401 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32403 * elf/dl-close.c (_dl_close_worker): Add comments.
32405 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32408 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32410 (__ieee754_rem_pio2l): Update comments.
32413 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32415 (__ieee754_rem_pio2l): Update comments.
32417 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32418 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32420 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32423 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32424 (M_PI_34_LOG10El): Likewise.
32425 (M_PI2_LOG10El): Likewise.
32426 (M_PI4_LOG10El): Likewise.
32427 (M_PI_LOG10El): Likewise.
32429 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32433 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32435 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32436 (MINUS_ZERO_INIT): Likewise.
32437 (PLUS_INFTY_INIT): Likewise.
32438 (MINUS_INFTY_INIT): Likewise.
32439 (QNAN_VALUE_INIT): Likewise.
32440 (MAX_VALUE_INIT): Likewise.
32441 (MIN_VALUE_INIT): Likewise.
32442 (MIN_SUBNORM_VALUE_INIT): Likewise.
32443 (plus_zero): Initialize with PLUS_ZERO_INIT.
32444 (minus_zero): Initialize with MINUS_ZERO_INIT.
32445 (plus_infty): Initialize with PLUS_INFTY_INIT.
32446 (minus_infty): Initialize with MINUS_INFTY_INIT.
32447 (qnan_value): Initialize with QNAN_VALUE_INIT.
32448 (max_value): Initialize with MAX_VALUE_INIT.
32449 (min_value): Initialize with MIN_VALUE_INIT.
32450 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32452 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32453 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32454 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32455 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32457 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32458 (RUN_TEST_2_f): Likewise.
32459 (RUN_TEST_ff_f): Likewise.
32460 (RUN_TEST_fi_f): Likewise.
32461 (RUN_TEST_fl_f): Likewise.
32462 (RUN_TEST_fff_f): Likewise.
32463 (RUN_TEST_c_f): Likewise.
32464 (RUN_TEST_f_f1): Likewise.
32465 (RUN_TEST_fF_f1): Likewise.
32466 (RUN_TEST_fI_f1): Likewise.
32467 (RUN_TEST_ffI_f1): Likewise.
32468 (RUN_TEST_c_c): Likewise.
32469 (RUN_TEST_cc_c): Likewise.
32470 (RUN_TEST_f_i): Likewise.
32471 (RUN_TEST_f_i_tg): Likewise.
32472 (RUN_TEST_ff_i_tg): Likewise.
32473 (RUN_TEST_f_b): Likewise.
32474 (RUN_TEST_f_b_tg): Likewise.
32475 (RUN_TEST_f_l): Likewise.
32476 (RUN_TEST_f_L): Likewise.
32477 (RUN_TEST_sincos): Likewise.
32478 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32479 whether to show exceptions. Do not include ");\n" in return
32481 (special_functions): Output call to RUN_TEST_sincos instead of
32482 check_float calls. Update calls to new_test.
32483 (parse_args): Output call to single RUN_TEST_* macro instead of
32484 check_* calls and other assignments. Update calls to new_test.
32490 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32491 input to result for tgamma overflow.
32492 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32493 (gamma_coeff): New variable.
32494 (NCOEFF): New macro.
32495 (gamma_positive): New function.
32496 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32497 underflow here. Use gamma_positive instead of exp (lgamma) for
32499 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32500 (gamma_coeff): New variable.
32501 (NCOEFF): New macro.
32502 (gammaf_positive): New function.
32503 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32504 underflow here. Use gamma_positive instead of exp (lgamma) for
32506 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32507 (gamma_coeff): New variable.
32508 (NCOEFF): New macro.
32509 (gammal_positive): New function.
32510 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32511 underflow here. Use gamma_positive instead of exp (lgamma) for
32513 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32514 (gamma_coeff): New variable.
32515 (NCOEFF): New macro.
32516 (gammal_positive): New function.
32517 (__ieee754_gammal_r): Handle positive infinity, overflow and
32518 underflow here. Handle NaN the same as positive infinity. Remove
32519 check x < 0xffffffff for negative integers. Use gamma_positive
32520 instead of exp (lgamma) for other arguments.
32521 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32522 (gamma_coeff): New variable.
32523 (NCOEFF): New macro.
32524 (gammal_positive): New function.
32525 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32526 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32527 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32528 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32529 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32530 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32531 * sysdeps/generic/math_private.h (__gamma_productf): New
32533 (__gamma_product): Likewise.
32534 (__gamma_productl): Likewise.
32535 * math/Makefile (libm-calls): Add gamma_product.
32536 * math/libm-test.inc (tgamma_test): Add more tests.
32537 * sysdeps/i386/fpu/libm-test-ulps: Update.
32538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32540 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32542 * benchtests/bench-skeleton.c (main): Preheat CPU.
32544 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32546 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32548 2013-05-07 Roland McGrath <roland@hack.frob.com>
32550 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32551 and _dl_skip_args_internal.
32553 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32555 * manual/message.texi (Message Translation): Talk about users.
32556 Message to key mapping impacts design.
32558 2013-05-06 Roland McGrath <roland@hack.frob.com>
32560 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32562 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32564 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32565 * sysdeps/wordsize-64/glob64.c: ... here.
32567 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32568 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32571 * debug/getlogin_r_chk.c: Moved to ...
32572 * login/getlogin_r_chk.c: ... here.
32573 * debug/Makefile (routines): Move getlogin_r_chk to ...
32574 * login/Makefile (routines): ... here.
32575 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32576 * login/Versions (libc: GLIBC_2.4): ... here.
32578 * io/poll.c (__poll): Renamed from poll.
32579 Add libc_hidden_def.
32580 (poll): Define as weak alias.
32582 * debug/ptsname_r_chk.c: Moved to ...
32583 * login/ptsname_r_chk.c: ... here.
32584 * debug/Makefile (routines): Move ptsname_r_chk to ...
32585 * login/Makefile (routines): ... here.
32586 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32587 * login/Versions (libc: GLIBC_2.4): ... here.
32589 * posix/getlogin.c: Moved to ...
32590 * login/getlogin.c: ... here.
32591 * posix/getlogin_r.c: Moved to ...
32592 * login/getlogin_r.c: ... here.
32593 * posix/getlogin_r.c: Moved to ...
32594 * login/getlogin_r.c: ... here.
32595 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32596 * login/Makefile (routines): ... here.
32597 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32598 * login/Versions (libc: GLIBC_2.0): ... here.
32600 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32601 (setrlimit): Define as weak alias.
32603 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32604 Call __ names for open, ftruncate, and close.
32605 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32606 (truncate): Define as weak alias.
32608 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32610 * math/gen-libm-test.pl (parse_args): Initialize x before each
32611 test of frexp, modf and remquo.
32613 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32614 test signgam value.
32616 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32620 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32622 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32624 2013-05-06 Roland McGrath <roland@hack.frob.com>
32626 * elf/dl-writev.h: New file.
32627 * elf/dl-misc.c: Include it.
32628 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32629 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32631 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32633 * math/libm-test.inc (noXFails): Remove variable.
32634 (noXPasses): Likewise.
32635 (BUILD_COMPLEX_INT): Remove macro.
32636 (print_screen): Remove xfail argument.
32637 (print_screen_max_error): Likewise.
32638 (update_stats): Likewise.
32639 (print_max_error): Likewise. Update calls to other affected
32641 (print_complex_max_error): Likewise.
32642 (test_single_exception): Update calls to print_screen.
32643 (test_single_errno): Likewise.
32644 (check_float_internal): Remove xfail argument. Update calls to
32645 other affected functions.
32646 (check_float): Likewise.
32647 (check_complex): Likewise.
32648 (check_int): Likewise.
32649 (check_long): Likewise.
32650 (check_bool): Likewise.
32651 (check_longlong): Likewise.
32652 (main): Don't print noXFails and noXPasses.
32653 * math/gen-libm-test.pl (top level): Don't mention expected
32654 failure handling in comment.
32655 (new_test): Don't handle expected failures.
32656 (parse_args): Don't mention expected failure handling in comment.
32657 (generate_testfile): Don't handle expected failures.
32658 (parse_ulps): Likewise.
32659 (print_ulps_file): Likewise.
32660 (get_failure): Remove function.
32661 (output_test): Don't handle expected failures.
32662 * make/README.libm-test: Don't mention expected failure handling.
32664 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32665 (minus_zero): Likewise.
32666 (plus_infty): Likewise.
32667 (minus_infty): Likewise.
32668 (qnan_value): Likewise.
32669 (max_value): Likewise.
32670 (min_value): Likewise.
32671 (min_subnorm_value): Likewise.
32672 (initialize): Do not initialize those variables dynamically.
32674 2013-05-03 Roland McGrath <roland@hack.frob.com>
32676 * io/open.c (__open_2): Moved to ...
32677 * io/open_2.c: ... this new file.
32678 * io/open64.c (__open64_2): Moved to ...
32679 * io/open64_2.c: ... this new file.
32680 * io/openat.c (__openat_2): Moved to ...
32681 * io/openat_2.c: ... this new file.
32682 * io/openat64.c (__openat64_2): Moved to ...
32683 * io/openat64_2.c: ... this new file.
32684 * io/Makefile (routines): Add them.
32685 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32686 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32687 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32688 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32689 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32690 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32691 (__openat64): Add hidden_ver.
32692 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32693 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32695 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32696 Separately conditionalize setting of GLRO(dl_sysinfo) so
32697 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32698 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32700 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32702 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32703 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32705 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32706 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32707 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32708 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32709 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32711 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32713 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32714 test signgam value.
32716 * math/libm-test.inc (hypot_test): Do not use
32717 IGNORE_ZERO_INF_SIGN.
32719 2013-05-03 Andreas Jaeger <aj@suse.de>
32721 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32723 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32724 (PF_MAX): Adjust for VSOCK change.
32726 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32730 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32733 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32734 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32735 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32737 2013-05-02 David S. Miller <davem@davemloft.net>
32739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32741 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32743 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32745 2013-05-01 Roland McGrath <roland@hack.frob.com>
32747 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32749 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32752 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32753 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32754 Use __attribute__ ((__gnu_inline__)).
32755 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32756 Don't use __attribute__ ((__gnu_inline__)).
32758 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32761 * math/s_catan.c (__catan): Handle small real or imaginary part of
32762 input specially to avoid spurious underflow.
32763 * math/s_catanf.c (__catanf): Likewise.
32764 * math/s_catanh.c (__catanh): Likewise.
32765 * math/s_catanhf.c (__catanhf): Likewise.
32766 * math/s_catanhl.c (__catanhl): Likewise.
32767 * math/s_catanl.c (__catanl): Likewise.
32768 * math/libm-test.inc (catan_test): Add more tests.
32769 (catanh_test): Likewise.
32770 * sysdeps/i386/fpu/libm-test-ulps: Update.
32771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32773 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32777 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32780 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32781 accurately for denominator in atan2.
32782 * math/s_catanf.c (__catanf): Likewise.
32783 * math/s_catanh.c (__catanh): Likewise.
32784 * math/s_catanhf.c (__catanhf): Likewise.
32785 * math/s_catanhl.c (__catanhl): Likewise.
32786 * math/s_catanl.c (__catanl): Likewise.
32787 * math/libm-test.inc (catan_test): Add more tests.
32788 (catanh_test): Likewise.
32789 * sysdeps/i386/fpu/libm-test-ulps: Update.
32790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32792 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32794 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32796 * benchtests/Makefile (bench): Remove slow benchmarks.
32797 * benchtests/atan-inputs: Add slow benchmark inputs.
32798 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32799 (BENCH_FUNC): Accept variant offset.
32801 * benchtests/bench-skeleton.c (main): Run benchmark for each
32803 * benchtests/cos-inputs: Add slow benchmark inputs.
32804 * benchtests/exp-inputs: Likewise.
32805 * benchtests/pow-inputs: Likewise.
32806 * benchtests/sin-inputs: Likewise.
32807 * benchtests/slowatan-inputs: Remove.
32808 * benchtests/slowatan.c: Remove.
32809 * benchtests/slowcos-inputs: Remove.
32810 * benchtests/slowcos.c: Remove.
32811 * benchtests/slowexp-inputs: Remove.
32812 * benchtests/slowexp.c: Remove.
32813 * benchtests/slowpow-inputs: Remove.
32814 * benchtests/slowpow.c: Remove.
32815 * benchtests/slowsin-inputs: Remove.
32816 * benchtests/slowsin.c: Remove.
32817 * benchtests/slowtan-inputs: Remove.
32818 * benchtests/slowtan.c: Remove.
32819 * benchtests/tan-inputs: Add slow benchmark inputs.
32820 * scripts/bench.pl: Parse comments and directives.
32822 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32824 ($(objpfx)bench-%.c): Remove *-ITER.
32825 * benchtests/bench-modf.c: Remove definition of ITER.
32826 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32827 (main): Loop for DURATION seconds instead of fixed number of
32829 * scripts/bench.pl: Don't expect iterations in parameters.
32831 2013-04-29 Roland McGrath <roland@hack.frob.com>
32833 * io/fchdir.c (__fchdir): Renamed from fchdir.
32834 (fchdir): Define as weak alias.
32836 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32838 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32839 (ERRNO_EDOM): Likewise.
32840 (ERRNO_ERANGE): Likewise.
32841 (noErrnoTests): New variable.
32842 (init_max_error): Set errno to 0.
32843 (test_single_errno): New function.
32844 (test_errno): Likewise.
32845 (check_float_internal): Call test_errno. Set errno to 0.
32846 (check_complex): Refer to errno tests in comment.
32847 (check_int): Call test_errno. Set errno to 0.
32848 (check_long): Likewise.
32849 (check_bool): Likewise.
32850 (check_longlong): Likewise.
32851 (cos_test): Use ERRNO_* flags for errno tests instead of
32853 (expm1_test): Likewise.
32854 (fmod_test): Likewise.
32855 (ilogb_test): Likewise.
32856 (lgamma_test): Likewise.
32857 (pow_test): Likewise.
32858 (remainder_test): Likewise.
32859 (sin_test): Likewise.
32860 (tan_test): Likewise.
32861 (yn_test): Likewise.
32862 (initialize): Set errno to 0.
32863 (main): Print number of errno tests.
32864 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32866 2013-04-29 Andreas Jaeger <aj@suse.de>
32869 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32873 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32874 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32878 * stdlib/random.c (__initstate): Return NULL if
32882 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32883 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32886 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32890 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32892 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32893 of individual tests.
32894 (casin_test): Likewise.
32895 (casinh_test): Likewise.
32897 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32900 * math/s_catan.c (__catan): Handle arguments with large real or
32901 imaginary part separately without squaring.
32902 * math/s_catanf.c (__catanf): Likewise.
32903 * math/s_catanh.c (__catanh): Likewise.
32904 * math/s_catanhf.c (__catanhf): Likewise.
32905 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32907 (__catanhl): Handle arguments with large real or imaginary part
32908 separately without squaring.
32909 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32911 (__catanl): Handle arguments with large real or imaginary part
32912 separately without squaring.
32913 * math/libm-test.inc (catan_test): Add more tests.
32914 (catanh_test): Likewise.
32915 * sysdeps/i386/fpu/libm-test-ulps: Update.
32916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32918 2013-04-27 Andreas Jaeger <aj@suse.de>
32921 * stdlib/stdlib.h: Update guards for qecvt.
32922 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32925 2013-04-27 Allan McRae <allan@archlinux.org>
32927 * sysdeps/i386/fpu/libm-test-ulps: Update.
32929 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32932 * math/s_catan.c: Include <float.h>.
32933 (__catan): Ensure underflow exception occurs for underflowed
32935 * math/s_catanf.c: Include <float.h>.
32936 (__catanf): Ensure underflow exception occurs for underflowed
32938 * math/s_catanh.c: Include <float.h>.
32939 (__catanh): Ensure underflow exception occurs for underflowed
32941 * math/s_catanhf.c: Include <float.h>.
32942 (__catanhf): Ensure underflow exception occurs for underflowed
32944 * math/s_catanhl.c: Include <float.h>.
32945 (__catanhl): Ensure underflow exception occurs for underflowed
32947 * math/s_catanl.c: Include <float.h>.
32948 (__catanl): Ensure underflow exception occurs for underflowed
32950 * math/libm-test.inc (catan_test): Add more tests.
32951 (catanh_test): Likewise.
32954 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32955 underflowed result.
32956 * math/s_ccoshf.c (__ccoshf): Likewise.
32957 * math/s_ccoshl.c (__ccoshl): Likewise.
32958 * math/s_csin.c (__csin): Likewise.
32959 * math/s_csinf.c (__csinf): Likewise.
32960 * math/s_csinh.c (__csinh): Likewise.
32961 * math/s_csinhf.c (__csinhf): Likewise.
32962 * math/s_csinhl.c (__csinhl): Likewise.
32963 * math/s_csinl.c (__csinl): Likewise.
32964 * math/libm-test.inc (ccos_test): Add more tests.
32965 (ccosh_test): Likewise.
32966 (csin_test): Likewise.
32967 (csinh_test): Likewise.
32969 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32971 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32972 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32973 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32974 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32975 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32976 powerpc/power5+/fpu folders.
32977 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32980 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32984 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32986 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32987 additions to variable.
32988 [$(config-machine) = x86_64] (modules-names): Likewise.
32989 ($(objpfx)tst-audit3): Remove dependency.
32990 ($(objpfx)tst-audit3.out): Likewise.
32991 ($(objpfx)tst-audit4): Likewise.
32992 ($(objpfx)tst-audit4.out): Likewise.
32993 ($(objpfx)tst-audit5): Likewise.
32994 ($(objpfx)tst-audit5.out): Likewise.
32995 ($(objpfx)tst-audit6): Likewise.
32996 ($(objpfx)tst-audit6.out): Likewise.
32997 ($(objpfx)tst-audit7): Likewise.
32998 ($(objpfx)tst-audit7.out): Likewise.
32999 (tst-audit3-ENV): Remove variable.
33000 (tst-audit4-ENV): Likewise.
33001 (tst-audit5-ENV): Likewise.
33002 (tst-audit6-ENV): Likewise.
33003 (tst-audit7-ENV): Likewise.
33004 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33005 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33006 addition to variable.
33007 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33008 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33009 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33010 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33011 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33012 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33013 tst-audit3, tst-audit4 and tst-audit5.
33014 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33015 tst-audit6 and tst-audit7.
33016 [$(subdir) = elf] (modules-names): Add audit modules for those
33018 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33019 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33020 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33021 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33022 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33023 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33024 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33025 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33026 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33027 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33028 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33029 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33030 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33031 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33032 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33033 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33035 [$(subdir) = elf && $(config-cflags-avx) = yes]
33036 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33037 [$(subdir) = elf && $(config-cflags-avx) = yes]
33038 (CFLAGS-tst-auditmod4a.c): Likewise.
33039 [$(subdir) = elf && $(config-cflags-avx) = yes]
33040 (CFLAGS-tst-auditmod4b.c): Likewise.
33041 [$(subdir) = elf && $(config-cflags-avx) = yes]
33042 (CFLAGS-tst-auditmod6b.c): Likewise.
33043 [$(subdir) = elf && $(config-cflags-avx) = yes]
33044 (CFLAGS-tst-auditmod6c.c): Likewise.
33045 [$(subdir) = elf && $(config-cflags-avx) = yes]
33046 (CFLAGS-tst-auditmod7b.c): Likewise.
33047 * elf/tst-audit3.c: Move to ...
33048 * sysdeps/x86_64/tst-audit3.c: ... here.
33049 * elf/tst-audit4.c: Move to ...
33050 * sysdeps/x86_64/tst-audit4.c: ... here.
33051 * elf/tst-audit5.c: Move to ...
33052 * sysdeps/x86_64/tst-audit5.c: ... here.
33053 * elf/tst-audit6.c: Move to ...
33054 * sysdeps/x86_64/tst-audit6.c: ... here.
33055 * elf/tst-audit7.c: Move to ...
33056 * sysdeps/x86_64/tst-audit7.c: ... here.
33057 * elf/tst-auditmod3a.c: Move to ...
33058 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33059 * elf/tst-auditmod3b.c: Move to ...
33060 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33061 * elf/tst-auditmod4a.c: Move to ...
33062 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33063 * elf/tst-auditmod4b.c: Move to ...
33064 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33065 * elf/tst-auditmod5a.c: Move to ...
33066 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33067 * elf/tst-auditmod5b.c: Move to ...
33068 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33069 * elf/tst-auditmod6a.c: Move to ...
33070 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33071 * elf/tst-auditmod6b.c: Move to ...
33072 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33073 * elf/tst-auditmod6c.c: Move to ...
33074 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33075 * elf/tst-auditmod7a.c: Move to ...
33076 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33077 * elf/tst-auditmod7b.c: Move to ...
33078 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33080 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33083 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33084 define unconditionally.
33085 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33086 define unconditionally.
33087 (INT8_C, INT16_C, etc.): Likewise.
33089 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33091 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33092 __ehdr_start with hidden visibility.
33094 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33096 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33098 * math/libm-test.inc (cos_test): Use accurate hex constants.
33099 (sincost_test): Likewise.
33101 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33103 * math/libm-test.inc (catan_test): Add more tests.
33104 (catanh_test): Likewise.
33106 * math/s_catanf.c (__catanf): Use suffixed floating-point
33108 * math/s_catanhf.c (__catanhf): Likewise.
33109 * math/s_catanhl.c (__catanhl): Likewise.
33110 * math/s_catanl.c (__catanl): Likewise.
33113 * math/s_catan.c (__catan): Calculate imaginary part of result
33114 with log1p not log unless computing log of number close to 0.
33115 * math/s_catanf.c (__catanf): Likewise.
33116 * math/s_catanl.c (__catanl): Likewise.
33117 * math/s_catanh.c (__catanh): Calculate real part of result with
33118 log1p not log unless computing log of number close to 0.
33119 * math/s_catanhf.c (__catanhf): Likewise.
33120 * math/s_catanhl.c (__catanhl): Likewise.
33121 * math/libm-test.inc (catan_test): Add more tests.
33122 (catanh_test): Likewise.
33123 * sysdeps/i386/fpu/libm-test-ulps: Update.
33124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33126 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33128 * benchtests/Makefile: Mention files in which fast and slow
33129 paths of math functions are implemented.
33131 2013-04-23 Roland McGrath <roland@hack.frob.com>
33133 * sysdeps/posix/timespec_get.c: New file.
33135 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33137 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33139 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33141 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33142 powerpc/power5/fpu folders.
33143 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33144 * benchtests/Makefile: Add modf testcase.
33145 * benchtests/bench-modf.c: New file: Benchmark test for mo
33147 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33150 * time/Makefile (tests): Add tst-strptime-whitespace.
33151 * time/strptime_l.c (get_number): Use ISSPACE.
33152 (__strptime_internal): Likewise.
33153 * time/tst-strptime-whitespace.c: New test case.
33155 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33157 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33159 (_nss_files_init): Set it here.
33161 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33163 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33164 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33167 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33169 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33171 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33176 2013-04-21 David S. Miller <davem@davemloft.net>
33178 * po/ru.po: Update Russion translation from translation project.
33180 2013-04-17 Adam Conrad <adconrad@0c3.net>
33182 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33185 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33187 * configure.in: Remove i386 configure warning. Remove i386 case.
33188 * configure: Regenerate.
33189 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33190 Add example to error message.
33191 * sysdeps/i386/configure: Regenerate.
33193 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33195 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33197 * benchtests/cos-inputs: New file.
33198 * benchtests/slowcos-inputs: New file.
33199 * benchtests/slowcos.c: New file.
33200 * benchtests/slowtan-inputs: New file.
33201 * benchtests/slowtan.c: New file.
33202 * benchtests/tan-inputs: New file.
33204 2013-04-16 Roland McGrath <roland@hack.frob.com>
33206 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33209 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33211 * benchtests/Makefile: Include cppflags-iterator.mk to add
33212 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33214 * Makefile.in (bench-clean): New target.
33215 * benchtests/Makefile (bench-clean): Likewise.
33217 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33219 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33221 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33223 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33225 2013-04-15 Andreas Schwab <schwab@suse.de>
33227 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33228 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33229 * nscd/pwdcache.c (cache_addpw): Likewise.
33230 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33233 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33235 * benchtests/Makefile (bench): Write all output to
33236 bench-out.tmp together.
33238 2013-04-15 Andreas Schwab <schwab@suse.de>
33240 * nscd/nscd.c (main): Don't fork again after closing files.
33242 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33244 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33246 * benchtests/Rules (bench-deps): Collect dependencies into a
33247 single variable. Add Makefile to dependencies.
33248 ($(objpfx)bench-%.c): Depend on bench-deps.
33250 2013-04-12 Roland McGrath <roland@hack.frob.com>
33251 Xavier Roche <roche+kml2@exalead.com>
33254 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33255 just that it's a file descriptor.
33256 * manual/llio.texi (Synchronizing AIO Operations): Update description
33257 for EBADF error from aio_fsync.
33259 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33261 * Rules (bench): Move target definition...
33262 * benchtests/Makefile: ... here.
33264 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33266 * math/libm-test.inc (cos_test): Fix PI/2 test.
33267 (sincos_test): Likewise.
33268 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33269 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33271 2013-04-11 Andreas Schwab <schwab@suse.de>
33274 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33275 accept exponent character only when digits were seen.
33276 * stdio-common/Makefile (tests): Add bug26.
33277 * stdio-common/bug26.c: New file.
33280 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33283 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33285 * Makeconfig (rtld-prefix): Define built linker prefix.
33286 * Rules (run-bench): Use it.
33287 * math/Makefile (run-regen-ulps): Likewise.
33289 * Rules (bench): Remove eval.
33291 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33292 Roland McGrath <roland@hack.frob.com>
33293 Ondrej Bilka <neleai@seznam.cz>
33296 * time/getdate.c: Include ctype.h and alloca.h.
33297 (__getdate_r): Trim leading and trailing spaces of input.
33298 * time/tst-getdate.c (tests): Add tests with leading and
33301 2013-04-08 Roland McGrath <roland@hack.frob.com>
33304 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33305 when computing value.
33307 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33309 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33310 Use testrun.sh to run libm tests.
33313 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33315 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33318 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33320 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33322 * Makefile.in (regen-ulps): New target.
33323 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33324 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33325 [ifneq (no,$(PERL)] (regen-ulps): New target.
33326 [ifeq (no,$(PERL)] (regen-ulps): New target.
33327 * math/libm-test.inc (ulps_file_name): Define.
33328 (output_dir): New variable.
33329 (options): Add "output-dir" option.
33330 (parse_opt): Handle 'o' case.
33331 (main): If output_dir is non-NULL use it as a prefix
33333 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33335 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33337 [BZ #10060, #10062]
33338 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33339 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33340 fail configure if __sync_val_compare_and_swap is not inlined.
33341 * sysdeps/i386/configure: Regenerate.
33342 * configure.in: Build for i686 when configured for i386.
33343 * configure: Regenerate.
33344 * README: Remove i386 reference.
33346 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33348 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33349 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33351 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33353 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33354 (lmsnanval): New variables.
33355 (F): Add conversion tests.
33356 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33357 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33359 * stdio-common/tstdiomisc.c (F): Properly collect individual
33362 [BZ #14686, #15336]
33363 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33364 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33365 Instead, use input NaN values or generate a qNaN by arithmetic
33366 operation. Also fix bugs to comply with the standard.
33367 * math/libm-test.inc (remainder_test): Add more tests.
33369 [BZ #15335, #15342]
33370 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33372 input NaN values or generate a qNaN by arithmetic operation.
33374 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33377 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33380 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33383 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33384 underflowed result.
33385 * math/s_cexpf.c (__cexpf): Likewise.
33386 * math/s_cexpl.c (__cexpl): Likewise.
33387 * math/libm-test.inc (cexp_test): Add more tests.
33389 2013-04-03 Andreas Schwab <schwab@suse.de>
33392 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33393 order arrays from heap if bigger than alloca cutoff.
33395 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33397 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33398 (SNAN_TESTS_double): Refer to GCC PR56831.
33399 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33402 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33404 * Rules (bench): Move bench.out after the run is complete.
33406 * Rules (bench): Echo currently running benchmark.
33408 * benchtests/Makefile (bench): Add atan and slowatan.
33409 * benchtests/atan-inputs: New file.
33410 * benchtests/slowatan-inputs: New file.
33411 * benchtests/slowatan.c: New file.
33413 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33414 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33418 * sysdeps/unix/sysv/linux/kernel-features.h
33419 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33420 __ASSUME_XFS_RESTRICTED_CHOWN.
33421 * sysdeps/unix/sysv/linux/pathconf.c
33422 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33423 Save and restore errno.
33425 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33428 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33429 arguments using __kernel_casinh.
33430 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33431 arguments using __kernel_casinhf.
33432 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33433 arguments using __kernel_casinhl.
33434 * math/libm-test.inc (cacosh_test): Add more tests.
33435 * sysdeps/i386/fpu/libm-test-ulps: Update.
33436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33438 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33440 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33443 * bench/Makefile (bench): Add sin and slowsin.
33444 * benchtests/sin-inputs: New file.
33445 * benchtests/slowsin-inputs: New file.
33446 * benchtests/slowsin.c: New file.
33448 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33449 (bench): Add slowexp and slowpow.
33450 (exp-ITER): Increase iterations.
33451 (pow-ITER): Likewise.
33452 * benchtests/exp-inputs: Change input.
33453 * benchtests/pow-inputs: Likewise.
33454 * benchtests/slowexp-inputs: New file.
33455 * benchtests/slowexp.c: New file.
33456 * benchtests/slowpow-inputs: New file.
33457 * benchtests/slowpow.c: New file.
33459 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33461 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33463 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33464 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33465 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33466 * benchtests/Makefile: Add rint benchtest.
33467 * benchtests/rint-inputs: Input for rint benchtest.
33469 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33471 * Versions.def (libm): Add GLIBC_2.18.
33472 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33473 hidden libm prototypes.
33474 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33475 * math/Makefile (libm-calls): Add s_issignaling.
33476 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33477 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33478 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33480 * math/math.h [__USE_GNU] (issignaling): New macro.
33481 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33482 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33483 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33484 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33485 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33487 * manual/arith.texi (issignaling): New section.
33488 * manual/libm-err-tab.pl (@all_functions): Update comment.
33489 * math/gen-libm-test.pl (parse_args): Apply special handling for
33491 * math/libm-test.inc (print_float, issignaling_test): New
33493 (check_float_internal): Add issignaling checks.
33494 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33495 default definition.
33496 * sysdeps/powerpc/math-tests.h: New file.
33497 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33499 * math/test-snan.c (TEST_FUNC): Likewise.
33501 2013-03-30 David S. Miller <davem@davemloft.net>
33503 * po/de.po: Update from translation team.
33505 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33508 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33509 imaginary part less than 1.0 and real part less than 0.5
33511 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33512 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33513 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33514 (cacos_test): Add more tests.
33515 (casin_test): Likewise.
33516 (casinh_test): Likewise.
33517 * sysdeps/i386/fpu/libm-test-ulps: Update.
33518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33520 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33522 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33523 ONE with its value.
33525 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33526 (__pow_mp): Replace ONE and MONE with their values.
33527 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33528 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33529 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33530 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33531 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33532 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33534 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33536 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33537 (__pow_mp): Replace ZERO and MZERO with their values.
33538 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33539 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33540 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33542 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33543 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33546 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33548 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33550 2013-03-28 Roland McGrath <roland@hack.frob.com>
33552 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33553 Declare with __attribute__ ((weak)).
33554 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33555 Call __call_tls_dtors only if it's not NULL.
33557 2013-03-28 Roland McGrath <roland@hack.frob.com>
33559 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33560 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33561 magic __ehdr_start linker symbol if it's defined.
33562 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33563 them up here if it was already done.
33565 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33566 (_dl_aux_init): Use const in cast when setting it.
33567 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33568 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33569 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33571 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33573 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33574 * csu/libc-tls.c: Nor here.
33575 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33577 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33578 (__libc_message): Never call vsyslog.
33580 2013-03-28 Alan Modra <amodra@gmail.com>
33582 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33584 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33587 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33590 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33594 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33597 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33598 Don't add gid passed as argument.
33600 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33602 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33605 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33606 imaginary part between 1.0 and 1.5 and real part less than 0.5
33608 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33609 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33610 * math/libm-test.inc (cacos_test): Add more tests.
33611 (casin_test): Likewise.
33612 (casinh_test): Likewise.
33613 * sysdeps/i386/fpu/libm-test-ulps: Update.
33614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33616 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33618 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33621 (denorm): Likewise.
33622 (__dbl_mp): Likewise.
33623 (add_magnitudes): Likewise.
33624 (sub_magnitudes): Likewise.
33632 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33634 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33635 (__dubcos): Likewise.
33636 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33637 (__ieee754_acos): Likewise.
33638 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33639 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33640 (__exp1): Likewise.
33641 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33644 (my_log2): Likewise.
33645 (checkint): Likewise.
33646 * sysdeps/ieee754/dbl-64/e_remainder.c
33647 (__ieee754_remainder): Likewise.
33648 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33650 (bsloww): Likewise.
33651 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33653 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33654 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33655 MANTISSA_STORE_T to store computations on mantissa. Use
33656 macros for rounding and division.
33657 (denorm): Likewise.
33658 (__dbl_mp): Likewise.
33659 (add_magnitudes): Likewise.
33660 (sub_magnitudes): Likewise.
33663 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33664 powers of two in terms of TWOPOW macro.
33665 (mp_no): Make type of mantissa as MANTISSA_T.
33666 [!RADIXI]: Define RADIXI.
33667 [!TWO52]: Define TWO52.
33668 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33670 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33672 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33673 llroundl symbol when building for PPC32.
33675 2013-03-24 Mark H Weaver <mhw@netris.org>
33677 * manual/arith.texi (Normalization Functions): Fix prototypes for
33678 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33680 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33684 high value to check if expl overflow.
33685 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33686 to check for underflow and overflow.
33687 * math/libm-test.inc: Add exp test.
33689 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33692 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33695 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33697 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33700 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33702 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33703 wrap blocks consisting of several statements.
33705 * sysdeps/generic/math-tests.h: New file.
33706 * sysdeps/i386/fpu/math-tests.h: Likewise.
33707 * math/test-snan.c: Include it.
33708 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33710 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33713 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33714 (__ieee754_j0l): Do not improve calculations using cos of twice
33715 input for inputs above LDBL_MAX / 2.0L.
33716 (__ieee754_y0l): Likewise.
33717 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33718 (__ieee754_j1l): Do not improve calculations using cos of twice
33719 input for inputs above LDBL_MAX / 2.0L.
33720 (__ieee754_y1l): Likewise.
33721 * math/libm-test.inc (j0_test): Add another test.
33722 (j1_test): Likewise.
33723 (y0_test): Likewise.
33724 (y1_test): Likewise.
33725 * sysdeps/i386/fpu/libm-test-ulps: Update.
33727 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33729 * Rules ($(objpfx)bench-%.c): Include code from a C source
33732 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33735 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33736 imaginary part 1.0 and real part less than 0.5 specially.
33737 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33738 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33739 * math/libm-test.inc (cacos_test): Add more tests.
33740 (casin_test): Likewise.
33741 (casinh_test): Likewise.
33742 * sysdeps/i386/fpu/libm-test-ulps: Update.
33743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33745 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33747 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33748 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33750 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33752 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33753 * config.make.in (config-cflags-sse4): Remove variable.
33754 (config-cflags-avx): Likewise.
33755 (config-cflags-sse2avx): Likewise.
33756 (config-cflags-novzeroupper): Likewise.
33757 (config-asflags-i686): Likewise.
33758 (have-mfma4): Likewise.
33759 (have-as-vis3): Likewise.
33761 * configure.in (MIG): Do not AC_SUBST.
33762 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33763 (libc_cv_cc_sse4): Do not AC_SUBST.
33764 (libc_cv_cc_avx): Likewise.
33765 (libc_cv_cc_sse2avx): Likewise.
33766 (libc_cv_cc_novzeroupper): Likewise.
33767 (libc_cv_cc_fma4): Likewise.
33768 (libc_cv_as_i686): Likewise.
33769 (libc_cv_sparc_as_vis3): Likewise.
33770 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33772 (config-asflags-i686): Likewise.
33773 (config-cflags-avx): Likewise.
33774 (config-cflags-sse2avx): Likewise.
33775 (have-mfma4): Likewise.
33776 (config-cflags-novzeroupper): Likewise.
33777 * sysdeps/mach/configure.in (MIG): Likewise.
33778 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33779 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33781 (config-cflags-avx): Likewise.
33782 (config-cflags-sse2avx): Likewise.
33783 (have-mfma4): Likewise.
33784 (config-cflags-novzeroupper): Likewise.
33785 * configure: Regenerated.
33786 * sysdeps/i386/configure: Likewise.
33787 * sysdeps/mach/configure: Likewise.
33788 * sysdeps/sparc/configure: Likewise.
33789 * sysdeps/x86_64/configure: Likewise.
33791 2013-03-20 Roland McGrath <roland@hack.frob.com>
33794 * locale/programs/localedef.c (options): Put N_ translation marker
33795 on argument names, not just descriptions.
33797 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33799 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33801 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33804 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33806 2013-03-19 Roland McGrath <roland@hack.frob.com>
33808 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33809 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33810 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33811 [!BEFORE_ABORT] (before_abort): New function.
33812 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33813 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33814 (writev_for_fatal): New function.
33815 (WRITEV_FOR_FATAL): New macro; call that.
33816 (backtrace_and_maps): New function.
33817 (BEFORE_ABORT): New macro; call that.
33818 (struct str_list): Type removed.
33819 (__libc_message, __libc_fatal): Functions removed.
33820 Include <sysdeps/posix/libc_fatal.c> instead.
33822 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33824 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33826 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33829 2013-03-19 Andreas Schwab <schwab@suse.de>
33831 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33832 * sysdeps/gnu/configure: Regenerate.
33834 * configure.in: Substitute libc_cv_rtlddir.
33835 * configure: Regenerate.
33836 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33837 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33838 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33839 * elf/Makefile (install-others, CFLAGS-interp.c)
33840 (ldso_install, common-ldd-rewrite): Likewise.
33841 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33842 $(inst_slibdir)/$(rtld-installed-name).
33843 * scripts/rellns-sh: Add -p option.
33844 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33847 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33849 * manual/nptl.texi: Renamed to ...
33850 * manual/threads.texi: ... this.
33851 * manual/Makefile (chapters): Update.
33853 2013-03-18 Roland McGrath <roland@hack.frob.com>
33856 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33857 on argument names, not just descriptions.
33858 * malloc/memusagestat.c (options): Likewise.
33859 * nss/getent.c (options): Likewise.
33861 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33864 * iconv/iconv_prog.c (options): Put N_ translation marker
33865 on argument names, not just descriptions.
33866 * iconv/iconvconfig.c (options): Likewise.
33868 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33870 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33871 implementation which is faster on all x86_64 architectures.
33872 Tested on AMD, Intel Nehalem, SNB, IVB.
33873 * sysdeps/x86_64/strnlen.S: Likewise.
33875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33876 Remove all multiarch strlen and strnlen versions.
33877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33878 Remove strlen and strnlen related parts.
33880 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33881 Inline strlen part.
33882 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33884 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33885 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33886 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33887 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33888 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33889 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33891 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33893 * manual/memory.texi (Malloc Tunable Parameters):
33894 Sort parameters alphabetically. Add comments for missing entries.
33896 2013-03-17 David S. Miller <davem@davemloft.net>
33898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33900 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33903 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33904 for arguments at most half maximum finite value.
33905 * math/libm-test.inc (j0_test): Add more tests.
33906 (j1_test): Likewise.
33907 (y0_test): Likewise.
33908 (y1_test): Likewise.
33909 * sysdeps/i386/fpu/libm-test-ulps: Update.
33910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33913 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33914 1 / x and functions P and Q for arguments above 0x1p256L.
33915 (__ieee754_y0l): Likewise.
33916 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33917 (__ieee754_y1l): Likewise.
33918 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33919 (j1_test): Likewise.
33920 (y0_test): Likewise.
33921 (y1_test): Likewise.
33923 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33925 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33928 2013-03-15 Roland McGrath <roland@hack.frob.com>
33930 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33931 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33932 zero since it's initialized to EXEC_PAGESIZE.
33934 * sysdeps/unix/sysv/linux/ldsodefs.h
33935 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33936 * sysdeps/generic/ldsodefs.h: ... here.
33938 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33940 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33942 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33944 * math/test-snan.c: Renamed from
33945 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33946 * math/Makefile (tests): Add test-snan.
33947 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33950 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33951 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33953 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33954 __builtin_nan family of functions.
33955 * math/libm-test.inc (initialize): Initialize qnan_value with
33956 __builtin_nan family of functions.
33957 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33959 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33961 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33962 storage class. Initialize qNaN_var and sNaN_var with
33963 __builtin_nan and __builtin_nans families of functions,
33966 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33967 (sqrt_test): Remove duplicate test with qNaN input.
33968 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33969 (round_test, signbit_test, significand_test): Note missing +/-Inf
33970 as well as qNaN tests.
33972 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33973 qNaN_var. Fix a few strings, too.
33974 * math/libm-test.inc (nan_value): Rename to qnan_value.
33975 * math/gen-libm-test.pl (%beautify): Adjust to that.
33976 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33977 * math/test-misc.c (main): Likewise.
33978 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33979 to __qnan_bytes, and __qnan_union, respectively.
33980 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33982 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33983 and lqnanval, respectively.
33984 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33985 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33986 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33987 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33989 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33990 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33993 * math/test-misc.c (main): Fix copy'n'pastos.
33994 * misc/tst-efgcvt.c (special): Likewise.
33996 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33997 Remove declarations.
33999 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34001 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34002 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34003 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34004 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34006 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34008 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34009 macro to return vdso values correctly in IFUNC implementations.
34010 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34011 Optimization by using IFUNC.
34013 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34014 Richard Henderson <rth@redhat.com>
34015 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34017 * Makefile.in (bench): New target.
34018 * NEWS: Mention the benchmark framework.
34019 * Rules (bench): Likewise.
34020 (binaries-bench): Generate binaries for functions to
34022 * benchtests/Makefile: New makefile for benchmark tests.
34023 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34025 * benchtests/exp-inputs: New input file for EXP function.
34026 * benchtests/pow-inputs: New input file for POW function.
34027 * scripts/bench.pl: New script to generate source files for
34028 benchmark programs.
34030 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34032 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34033 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34034 computations on mantissa. Use macros for rounding and
34036 (denorm): Likewise.
34037 (__dbl_mp): Likewise.
34038 (add_magnitudes): Likewise.
34039 (sub_magnitudes): Likewise.
34042 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34043 powers of two in terms of TWOPOW macro.
34044 (mp_no): Make type of mantissa as MANTISSA_T.
34045 [!RADIXI]: Define RADIXI.
34046 [!TWO52]: Define TWO52.
34047 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34049 * manual/nptl.texi (cindex): Modify threads to pthreads.
34051 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34053 * sysdeps/x86_64/preconfigure: Regenerated.
34055 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34058 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34060 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34061 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34063 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34064 * math/libm-test.inc (j0_test): Do not allow one spurious
34065 underflow exception.
34066 (y1_test): Likewise.
34068 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34070 * manual/Makefile (chapters): Add nptl.
34071 * manual/debug.texi (Debugging Support): Add link to Threads
34073 * manual/nptl.texi: New file.
34075 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34077 2013-03-14 Petr Baudis <pasky@ucw.cz>
34079 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34080 for non-NULL pointer before the memory validity test. Pointed
34081 out by Holger Brunck <holger.brunck@keymile.com>.
34083 2013-03-13 Andreas Schwab <schwab@suse.de>
34085 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34088 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34090 * timezone/zic.c: Update from tzcode 2013b.
34092 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34094 * manual/install.texi (Configuring and compiling):
34095 Mention i686 and i586.
34096 * INSTALL: Regenerate.
34098 2013-03-12 Roland McGrath <roland@hack.frob.com>
34100 * sysdeps/init_array/elf-init.c: New file.
34102 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34103 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34105 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34106 __gmon_start__ as global, but as static with a .preinit_array pointer.
34107 * sysdeps/init_array/gmon-start.c: New file. Use that.
34108 * sysdeps/init_array/crti.S: New file, empty except for comments.
34109 * sysdeps/init_array/crtn.S: Likewise.
34111 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34113 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34116 Remove Prefer_SSE_for_memop.
34117 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34118 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34119 HAS_PREFER_SSE_FOR_MEMOP.
34120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34123 Remove bzero, memset ifunc support.
34124 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34125 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34126 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34127 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34129 2013-03-11 Andreas Schwab <schwab@suse.de>
34132 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34135 (GLIBC_2.16): Remove pthread_atfork.
34137 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34139 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34140 (ptestcases.h): Likewise.
34142 2013-03-08 Roland McGrath <roland@hack.frob.com>
34144 * Makeconfig ($(common-objpfx)config.status): Depend on
34145 sysdeps/*/preconfigure{,.in} too.
34147 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34149 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34150 (__free_hook): Use void * instead of __malloc_ptr_t.
34151 (__malloc_hook): Likewise.
34152 (__realloc_hook): Likewise.
34153 (__memalign_hook): Likewise.
34154 (__after_morecore_hook): Likewise.
34155 * malloc/arena.c (save_malloc_hook): Likewise.
34156 (save_free_hook): Likewise.
34157 * malloc/hooks.c (malloc_hook_ini): Likewise.
34158 (realloc_hook_ini): Likewise.
34159 (memalign_hook_ini): Likewise.
34160 * malloc/malloc.c (malloc_hook_ini): Likewise.
34161 (realloc_hook_ini): Likewise.
34162 (memalign_hook_ini): Likewise.
34163 (__free_hook): Likewise.
34164 (__malloc_hook): Likewise.
34165 (__realloc_hook): Likewise.
34166 (__memalign_hook): Likewise.
34167 (__libc_malloc): Likewise.
34168 (__libc_free): Likewise.
34169 (__libc_realloc): Likewise.
34170 (__libc_memalign): Likewise.
34171 (__libc_valloc): Likewise.
34172 (__libc_pvalloc): Likewise.
34173 (__libc_calloc): Likewise.
34174 (__posix_memalign): Likewise.
34175 * malloc/morecore.c (__sbrk): Likewise.
34176 (__default_morecore): Likewise.
34178 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34180 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34181 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34182 __malloc_ptrdiff_t.
34184 * malloc/malloc.h (__malloc_size_t): Remove macro.
34185 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34187 (old_memalign_hook): Likewise.
34188 (old_realloc_hook): Likewise.
34189 (struct hdr): Likewise.
34191 (mallochook): Likewise.
34192 (memalignhook): Likewise.
34193 (reallochook): Likewise.
34194 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34195 (tr_old_realloc_hook): Likewise.
34196 (tr_old_memalign_hook): Likewise.
34197 (tr_mallochook): Likewise.
34198 (tr_reallochook): Likewise.
34199 (tr_memalignhook): Likewise.
34201 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34203 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34204 default_ldbl_pack and using as default implementation.
34205 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34207 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34208 redundant definition.
34209 (ldbl_insert_mantissa): Likewise.
34210 (ldbl_canonicalize): Likewise.
34211 (ldbl_nearbyint): Likewise.
34212 (ldbl_pack): Rename to ldbl_pack_ppc.
34213 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34214 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34215 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34217 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34220 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34221 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34222 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34224 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34225 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34226 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34228 2013-03-07 Andreas Jaeger <aj@suse.de>
34230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34233 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34235 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34236 Include mpa.h and declare __MPEXP.
34237 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34238 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34239 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34240 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34241 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34242 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34243 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34245 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34246 (__slowpow): Use long double EXPL and LOGL functions to
34248 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34249 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34251 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34252 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34256 intermediate variable to calculate exponent.
34258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34262 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34263 [!NO__SQR]: Define __sqr.
34264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34265 and NO__SQR. Remove all code except __mul and __sqr. Include
34266 sysdeps/ieee754/dbl-64/mpa.c.
34267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34270 * posix/Makefile (tests): Add tst-pathconf.
34271 * posix/tst-pathconf.c: New test case.
34272 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34274 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34276 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34278 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34280 2013-03-06 Andreas Jaeger <aj@suse.de>
34282 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34283 definition via __MAP_ANONYMOUS.
34285 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34286 it's not part of Linux headers.
34288 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34289 (MAP_HUGE_MASK): Define.
34291 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34293 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34296 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34297 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34299 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34300 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34302 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34304 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34305 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34306 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34307 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34308 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34309 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34311 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34315 Handle f2fs and efivarfs.
34317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34320 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34321 (EFIVARFS_MAGIC): Add.
34322 (F2FS_LINK_MAX): Add.
34324 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34326 * stdio-common/vfprintf.c: Replace __builtin_expect with
34329 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34332 * sysdeps/generic/bp-sym.h: Remove file.
34333 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34334 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34335 <bp-sym.h> and <bp-asm.h>.
34336 (__longjmp): Don't use BP_SYM.
34337 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34339 (memcpy): Don't use BP_SYM.
34340 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34341 <bp-sym.h> and <bp-asm.h>.
34342 (memcpy): Don't use BP_SYM.
34343 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34345 (memcpy): Don't use BP_SYM.
34346 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34348 (memset): Don't use BP_SYM.
34349 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34350 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34351 (__bzero): Don't use BP_SYM.
34352 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34353 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34354 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34355 <bp-sym.h> and <bp-asm.h>.
34356 (memcmp): Don't use BP_SYM. Remove comment about bounded
34358 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34359 <bp-sym.h> and <bp-asm.h>.
34360 (memcpy): Don't use BP_SYM.
34361 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34362 <bp-sym.h> and <bp-asm.h>.
34363 (memset): Don't use BP_SYM.
34364 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34365 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34366 (__bzero): Don't use BP_SYM.
34367 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34368 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34370 <bp-sym.h> and <bp-asm.h>.
34371 (strncmp): Don't use BP_SYM. Remove comment about bounded
34373 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34374 <bp-sym.h> and <bp-asm.h>.
34375 (memcpy): Don't use BP_SYM.
34376 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34377 <bp-sym.h> and <bp-asm.h>.
34378 (memset): Don't use BP_SYM.
34379 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34380 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34381 (__bzero): Don't use BP_SYM.
34382 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34383 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34384 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34385 <bp-sym.h> and <bp-asm.h>.
34386 (__memchr): Don't use BP_SYM.
34387 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34388 <bp-sym.h> and <bp-asm.h>.
34389 (memcmp): Don't use BP_SYM. Remove comment about bounded
34391 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34392 <bp-sym.h> and <bp-asm.h>.
34393 (memcpy): Don't use BP_SYM.
34394 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34395 <bp-sym.h> and <bp-asm.h>.
34396 (__mempcpy): Don't use BP_SYM.
34397 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34398 <bp-sym.h> and <bp-asm.h>.
34399 (__memrchr): Don't use BP_SYM.
34400 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34401 <bp-sym.h> and <bp-asm.h>.
34402 (memset): Don't use BP_SYM.
34403 (__bzero): Likewise.
34404 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34405 <bp-sym.h> and <bp-asm.h>.
34406 (__rawmemchr): Don't use BP_SYM.
34407 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34408 <bp-sym.h> and <bp-asm.h>.
34409 (__STRCMP): Don't use BP_SYM.
34410 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34411 <bp-sym.h> and <bp-asm.h>.
34412 (strchr): Don't use BP_SYM.
34413 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34414 <bp-sym.h> and <bp-asm.h>.
34415 (__strchrnul): Don't use BP_SYM.
34416 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34417 <bp-sym.h> and <bp-asm.h>.
34418 (strlen): Don't use BP_SYM.
34419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34420 <bp-sym.h> and <bp-asm.h>.
34421 (strncmp): Don't use BP_SYM. Remove comment about bounded
34423 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34424 <bp-sym.h> and <bp-asm.h>.
34425 (__strnlen): Don't use BP_SYM.
34426 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34427 <bp-sym.h> and <bp-asm.h>.
34428 (__GI__setjmp): Don't use BP_SYM.
34429 (_setjmp): Likewise.
34430 (__sigsetjmp): Likewise.
34431 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34432 (L(start_addresses)): Don't use BP_SYM.
34433 (_start): Likewise.
34434 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34436 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34437 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34438 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34439 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34440 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34442 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34443 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34444 about bounded pointers.
34445 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34446 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34447 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34449 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34450 about bounded pointers. Remove GKM FIXME comments.
34451 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34452 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34454 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34455 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34456 Remove GKM FIXME comments.
34457 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34458 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34459 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34461 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34462 about bounded pointers. Remove GKM FIXME comment.
34463 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34465 (strncmp): Don't use BP_SYM. Remove comment about bounded
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34468 <bp-sym.h> and <bp-asm.h>.
34469 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34471 <bp-sym.h> and <bp-asm.h>.
34472 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34475 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34477 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34480 2013-03-05 David S. Miller <davem@davemloft.net>
34482 * po/es.po: Update from translation team.
34484 2013-03-05 Andreas Jaeger <aj@suse.de>
34486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34487 <bits/mman-linux.h>.
34488 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34490 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34491 <bits/mman-linux.h> to end of file.
34492 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34494 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34495 <bits/mman-linux.h> to end of file.
34496 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34498 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34499 <bits/mman-linux.h> to end of file.
34501 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34502 (MCL_CURRENT, MCL_FUTURE): Define here.
34504 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34507 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34509 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34511 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34513 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34514 fourth parameter needed for rt_sigprocmask syscall.
34515 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34516 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34517 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34518 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34519 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34520 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34522 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34525 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34526 comment about bounded pointers.
34527 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34528 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34530 2013-03-04 Andreas Jaeger <aj@suse.de>
34532 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34533 common definitions.
34535 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34536 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34537 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34538 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34539 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34540 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34542 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34546 __ieee754_sqrl instead of __sqrl.
34548 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34550 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34551 * sysdeps/powerpc/fpu_control.h: ... here.
34552 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34553 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34554 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34555 * sysdeps/powerpc/bits/mathinline.h: ... here.
34557 2013-03-01 Roland McGrath <roland@hack.frob.com>
34559 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34560 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34561 to just [NEED_DL_SYSINFO_DSO].
34562 * elf/dl-support.c: Likewise.
34563 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34564 * elf/rtld.c (dl_main): Likewise.
34565 * elf/setup-vdso.h (setup_vdso): Likewise.
34566 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34567 * sysdeps/unix/sysv/linux/dl-sysdep.c
34568 (_dl_discover_osversion): Likewise.
34570 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34572 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34573 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34575 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34577 * NEWS: Mention libm performance improvements and non-x86 PI
34580 * csu/libc-start.c (__pthread_initialize_minimal): Change
34581 function arguments.
34582 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34584 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34587 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34588 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34589 <bp-sym.h> and <bp-asm.h>.
34590 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34591 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34593 (memcpy): Don't use BP_SYM.
34594 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34596 (__mpn_add_n): Don't use BP_SYM.
34597 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34598 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34600 (__mpn_addmul_1): Don't use BP_SYM.
34601 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34602 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34604 (_setjmp): Don't use BP_SYM.
34605 (__novmx_setjmp): Likewise.
34606 (__GI__setjmp): Likewise.
34607 (__vmx_setjmp): Likewise.
34608 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34610 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34611 (__bzero): Don't use BP_SYM.
34612 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34613 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34614 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34615 <bp-sym.h> and <bp-asm.h>.
34616 (memcpy): Don't use BP_SYM.
34617 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34618 <bp-sym.h> and <bp-asm.h>.
34619 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34620 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34621 <bp-sym.h> and <bp-asm.h>.
34622 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34623 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34625 (__mpn_lshift): Don't use BP_SYM.
34626 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34627 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34629 (memset): Don't use BP_SYM.
34630 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34631 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34632 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34634 (__mpn_mul_1): Don't use BP_SYM.
34635 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34637 <bp-sym.h> and <bp-asm.h>.
34638 (memcmp): Don't use BP_SYM.
34639 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34640 <bp-sym.h> and <bp-asm.h>.
34641 (memcpy): Don't use BP_SYM.
34642 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34643 <bp-sym.h> and <bp-asm.h>.
34644 (memset): Don't use BP_SYM.
34645 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34646 <bp-sym.h> and <bp-asm.h>.
34647 (strncmp): Don't use BP_SYM.
34648 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34649 <bp-sym.h> and <bp-asm.h>.
34650 (memcpy): Don't use BP_SYM.
34651 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34652 <bp-sym.h> and <bp-asm.h>.
34653 (memset): Don't use BP_SYM.
34654 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34655 <bp-sym.h> and <bp-asm.h>.
34656 (__memchr): Don't use BP_SYM.
34657 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34658 <bp-sym.h> and <bp-asm.h>.
34659 (memcmp): Don't use BP_SYM.
34660 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34661 <bp-sym.h> and <bp-asm.h>.
34662 (memcpy): Don't use BP_SYM.
34663 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34664 <bp-sym.h> and <bp-asm.h>.
34665 (__mempcpy): Don't use BP_SYM.
34666 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34667 <bp-sym.h> and <bp-asm.h>.
34668 (__memrchr): Don't use BP_SYM.
34669 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34670 <bp-sym.h> and <bp-asm.h>.
34671 (memset): Don't use BP_SYM.
34672 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34673 <bp-sym.h> and <bp-asm.h>.
34674 (__rawmemchr): Don't use BP_SYM.
34675 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34676 <bp-sym.h> and <bp-asm.h>.
34677 (__STRCMP): Don't use BP_SYM.
34678 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34679 <bp-sym.h> and <bp-asm.h>.
34680 (strchr): Don't use BP_SYM.
34681 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34682 <bp-sym.h> and <bp-asm.h>.
34683 (__strchrnul): Don't use BP_SYM.
34684 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34685 <bp-sym.h> and <bp-asm.h>.
34686 (strlen): Don't use BP_SYM.
34687 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34688 <bp-sym.h> and <bp-asm.h>.
34689 (strncmp): Don't use BP_SYM.
34690 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34691 <bp-sym.h> and <bp-asm.h>.
34692 (__strnlen): Don't use BP_SYM.
34693 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34695 (__mpn_rshift): Don't use BP_SYM.
34696 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34697 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34698 <bp-sym.h> and <bp-asm.h>.
34699 (__sigsetjmp): Don't use BP_SYM.
34700 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34701 (L(start_addresses)): Don't use BP_SYM.
34702 (_start): Likewise.
34703 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34705 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34706 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34707 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34708 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34710 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34711 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34712 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34713 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34715 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34717 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34718 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34720 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34722 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34723 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34724 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34726 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34728 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34730 (strncmp): Don't use BP_SYM,
34731 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34733 (__mpn_sub_n): Don't use BP_SYM.
34734 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34735 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34737 (__mpn_submul_1): Don't use BP_SYM.
34738 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34740 <bp-sym.h> and <bp-asm.h>.
34741 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34743 <bp-sym.h> and <bp-asm.h>.
34744 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34747 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34750 Use ZK to minimize writes to Z.
34751 (sub_magnitudes): Simplify code a bit.
34752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34753 Use ZK to minimize writes to Z.
34754 (sub_magnitudes): Simplify code a bit.
34756 2013-02-27 Roland McGrath <roland@hack.frob.com>
34758 * csu/gmon-start.c: Add special exception to license text.
34760 2013-02-27 Richard Henderson <rth@redhat.com>
34762 * scripts/config.guess: Update from config.git.
34763 * scripts/config.sub: Likewise.
34765 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34767 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34769 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34771 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34773 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34775 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34777 2013-02-26 Roland McGrath <roland@hack.frob.com>
34779 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34780 [$(build-shared = yes].
34782 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34784 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34785 (__mul): Reduce iterations for calculating mantissa.
34787 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34789 (__mpranred): Likewise.
34792 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34793 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34795 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34797 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34798 Define __attribute__.
34800 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34802 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34804 * posix/regex_internal.h (__attribute): Remove.
34805 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34806 (re_string_context_at): Likewise.
34807 (bitset_not): Use __attribute__ and mark function as possibly
34809 (bitset_merge): Likewise.
34810 (bitset_mask): Likewise.
34811 (re_string_char_size_at): Likewise.
34812 (re_string_wchar_at): Likewise.
34813 (re_string_elem_size_at): Likewise.
34815 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34817 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34821 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34825 (denorm): Likewise.
34826 (__dbl_mp): Likewise.
34827 (add_magnitudes): Likewise.
34828 (sub_magnitudes): Likewise.
34832 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34835 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34838 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34842 up changes with default code.
34843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34846 2013-02-24 Allan McRae <allan@archlinux.org>
34848 * manual/socket.texi (The Internet Namespace): Order menu items
34849 to match that in the file.
34851 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34852 node listing of the info page menu.
34854 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34857 * sysdeps/i386/bp-asm.h: Remove file.
34858 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34859 (PARMS): Do not use macros from bp-asm.h.
34863 (__mpn_add_n): Do not use BP_SYM
34864 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34866 (PARMS): Do not use macros from bp-asm.h.
34869 (__mpn_addmul_1): Do not use BP_SYM
34870 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34872 (PARMS): Do not use macros from bp-asm.h.
34873 (SIGMSK): Likewise.
34874 (_setjmp): Likewise. Do not use BP_SYM.
34875 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34877 (PARMS): Do not use macros from bp-asm.h.
34878 (SIGMSK): Likewise.
34879 (setjmp): Likewise. Do not use BP_SYM.
34880 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34882 (PARMS): Do not use macros from bp-asm.h.
34883 (__frexp): Do not use BP_SYM.
34885 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34887 (PARMS): Do not use macros from bp-asm.h.
34888 (__frexpf): Do not use BP_SYM.
34889 (frexpf): Likewise.
34890 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34892 (PARMS): Do not use macros from bp-asm.h.
34893 (__frexpl): Do not use BP_SYM.
34894 (frexpl): Likewise.
34895 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34897 (PARMS): Do not use macros from bp-asm.h.
34898 (__remquo): Do not use BP_SYM.
34899 (remquo): Likewise.
34900 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34902 (PARMS): Do not use macros from bp-asm.h.
34903 (__remquof): Do not use BP_SYM.
34904 (remquof): Likewise.
34905 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34907 (PARMS): Do not use macros from bp-asm.h.
34908 (__remquol): Do not use BP_SYM.
34909 (remquol): Likewise.
34910 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34912 (PARMS): Do not use macros from bp-asm.h.
34915 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34916 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34918 (PARMS): Do not use macros from bp-asm.h.
34919 (strlen): Do not use BP_SYM.
34920 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34922 (PARMS): Do not use macros from bp-asm.h.
34926 (__mpn_add_n): Do not use BP_SYM.
34927 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34929 (PARMS): Do not use macros from bp-asm.h.
34932 (__mpn_addmul_1): Do not use BP_SYM.
34933 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34936 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34938 (PARMS): Do not use macros from bp-asm.h.
34941 (__mpn_lshift): Do not use BP_SYM.
34942 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34944 (PARMS): Do not use macros from bp-asm.h.
34948 (memcpy): Likewise. Do not use BP_SYM.
34949 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34950 libc_hidden_def and weak_alias.
34951 (mempcpy): Do not use BP_SYM in weak_alias.
34952 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34954 (PARMS): Do not use macros from bp-asm.h.
34957 [!BZERO_P] (CHR): Likewise.
34958 (memset): Likewise. Do not use BP_SYM.
34959 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34961 (PARMS): Do not use macros from bp-asm.h.
34964 (__mpn_mul_1): Do not use BP_SYM.
34965 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34967 (PARMS): Do not use macros from bp-asm.h.
34970 (__mpn_rshift): Do not use BP_SYM.
34971 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34973 (PARMS): Do not use macros from bp-asm.h.
34976 (strchr): Likewise. Do not use BP_SYM.
34977 (index): Do not use BP_SYM in weak_alias.
34978 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34980 (PARMS): Do not use macros from bp-asm.h.
34983 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34984 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34986 (PARMS): Do not use macros from bp-asm.h.
34987 (strlen): Do not use BP_SYM.
34988 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34990 (PARMS): Do not use macros from bp-asm.h.
34994 (__mpn_sub_n): Do not use BP_SYM.
34995 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34997 (PARMS): Do not use macros from bp-asm.h.
35000 (__mpn_submul_1): Do not use BP_SYM.
35001 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35003 (PARMS): Do not use macros from bp-asm.h.
35007 (__mpn_add_n): Do not use BP_SYM.
35008 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35011 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35013 (PARMS): Do not use macros from bp-asm.h.
35016 (memcmp): Do not use BP_SYM.
35017 (bcmp): Do not use BP_SYM in weak_alias.
35018 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35020 (PARMS): Do not use macros from bp-asm.h.
35024 (memcpy): Likewise. Do not use BP_SYM.
35025 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35027 (PARMS): Do not use macros from bp-asm.h.
35031 (memmove): Likewise. Do not use BP_SYM.
35032 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35034 (PARMS): Do not use macros from bp-asm.h.
35038 (__mempcpy): Likewise. Do not use BP_SYM.
35039 (mempcpy): Do not use BP_SYM in weak_alias.
35040 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35042 (PARMS): Do not use macros from bp-asm.h.
35045 [!BZERO_P] (CHR): Likewise.
35046 (memset): Likewise. Do not use BP_SYM.
35047 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35049 (PARMS): Do not use macros from bp-asm.h.
35051 (strcmp): Do not use BP_SYM.
35052 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35054 (PARMS): Do not use macros from bp-asm.h.
35057 [USE_AS_STRTOK_R] (SAVE): Likewise.
35058 (FUNCTION): Likewise. Do not use BP_SYM.
35059 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35061 (strtok_r): Likewise.
35062 (__GI___strtok_r): Likewise.
35063 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35064 (PARMS): Do not use macros from bp-asm.h.
35067 (__mpn_lshift): Do not use BP_SYM.
35068 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35069 (PARMS): Do not use macros from bp-asm.h.
35072 (__memchr): Do not use BP_SYM.
35073 (memchr): Do not use BP_SYM in weak_alias.
35074 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35075 (PARMS): Do not use macros from bp-asm.h.
35078 (memcmp): Do not use BP_SYM.
35079 (bcmp): Do not use BP_SYM in weak_alias.
35080 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35081 (PARMS): Do not use macros from bp-asm.h.
35084 (__mpn_mul_1): Do not use BP_SYM.
35085 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35087 (PARMS): Do not use macros from bp-asm.h.
35090 (__rawmemchr): Do not use BP_SYM.
35091 (rawmemchr): Do not use BP_SYM in weak_alias.
35092 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35093 (PARMS): Do not use macros from bp-asm.h.
35096 (__mpn_rshift): Do not use BP_SYM.
35097 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35098 (PARMS): Do not use macros from bp-asm.h.
35099 (SIGMSK): Likewise.
35100 (__sigsetjmp): Likewise. Do not use BP_SYM.
35101 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35102 (_start): Do not use BP_SYM.
35103 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35104 (PARMS): Do not use macros from bp-asm.h.
35107 (__stpcpy): Likewise. Do not use BP_SYM.
35108 (stpcpy): Do not use BP_SYM in weak_alias.
35109 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35111 (PARMS): Do not use macros from bp-asm.h.
35115 (__stpncpy): Likewise. Do not use BP_SYM.
35116 (stpncpy): Do not use BP_SYM in weak_alias.
35117 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35118 (PARMS): Do not use macros from bp-asm.h.
35121 (strchr): Likewise. Do not use BP_SYM.
35122 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35124 (PARMS): Do not use macros from bp-asm.h.
35127 (__strchrnul): Likewise. Do not use BP_SYM.
35128 (strchrnul): Do not use BP_SYM in weak_alias.
35129 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35131 (PARMS): Do not use macros from bp-asm.h.
35133 (strcspn): Do not use BP_SYM.
35134 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35136 (PARMS): Do not use macros from bp-asm.h.
35139 (strpbrk): Likewise. Do not use BP_SYM.
35140 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35142 (PARMS): Do not use macros from bp-asm.h.
35145 (strrchr): Likewise. Do not use BP_SYM.
35146 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35147 (PARMS): Do not use macros from bp-asm.h.
35149 (strspn): Do not use BP_SYM.
35150 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35151 (PARMS): Do not use macros from bp-asm.h.
35155 (FUNCTION): Likewise. Do not use BP_SYM.
35156 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35158 (strtok_r): Likewise.
35159 (__GI___strtok_r): Likewise.
35160 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35161 (PARMS): Do not use macros from bp-asm.h.
35165 (__mpn_sub_n): Do not use BP_SYM.
35166 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35168 (PARMS): Do not use macros from bp-asm.h.
35171 (__mpn_submul_1): Do not use BP_SYM.
35172 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35174 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35176 (PARMS): Do not use macros from bp-asm.h.
35181 (__clone): Do not use BP_SYM.
35182 (clone): Do not use BP_SYM in weak_alias.
35183 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35185 (PARMS): Do not use macros from bp-asm.h.
35187 (__mmap64): Do not use BP_SYM.
35188 (mmap64): Do not use BP_SYM in weak_alias.
35189 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35190 <bp-sym.h> and <bp-asm.h>.
35191 (PARMS): Do not use macros from bp-asm.h.
35192 (__posix_fadvise64_l64): Do not use BP_SYM.
35193 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35194 (PARMS): Do not use macros from bp-asm.h.
35196 (semtimedop): Do not use BP_SYM.
35197 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35200 2013-02-21 Allan McRae <allan@archlinux.org>
35202 * manual/message.texi (Charset conversion in gettext):
35203 Move @end statement to beginning of line.
35205 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35213 (denorm): Likewise.
35214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35217 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35219 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35220 tail-call to the resolved function if pltexit isn't needed.
35222 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35225 or Y being zero as being unlikely.
35226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35229 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35231 * manual/nss.texi (System Databases and Name Service Switch):
35232 Remove frobnicate @pxref.
35234 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35236 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35237 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35239 2013-02-20 Petr Machata <pmachata@redhat.com>
35241 * elf/elf.h (R_ARM_TARGET1): New macro.
35242 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35243 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35244 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35245 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35246 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35247 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35248 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35249 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35250 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35251 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35252 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35253 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35254 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35255 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35256 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35257 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35258 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35259 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35260 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35261 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35262 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35263 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35264 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35265 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35266 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35267 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35268 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35269 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35270 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35271 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35272 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35273 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35274 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35275 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35276 (R_ARM_THM_GOT_BREL12): Likewise.
35277 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35278 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35279 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35280 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35281 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35282 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35283 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35284 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35285 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35287 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35289 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35290 __attribute_used__ to __attribute__ ((unused)).
35292 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35294 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35297 comment formatting.
35298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35300 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35303 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35305 (ENTER): Remove both macro definitions.
35307 (CHECK_BOUNDS_LOW): Likewise.
35308 (CHECK_BOUNDS_HIGH): Likewise.
35309 (CHECK_BOUNDS_BOTH): Likewise.
35310 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35311 (RETURN_BOUNDED_POINTER): Likewise.
35312 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35313 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35314 (POP_ERRNO_LOCATION_RETURN): Likewise.
35315 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35316 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35317 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35319 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35320 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35321 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35322 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35323 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35324 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35325 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35326 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35327 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35328 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35329 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35330 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35331 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35332 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35334 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35335 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35337 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35338 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35339 * sysdeps/i386/i586/memset.S (memset): Likewise.
35340 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35341 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35342 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35344 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35345 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35346 Change uses of L(2) to L(out).
35347 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35348 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35349 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35350 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35351 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35353 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35354 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35356 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35357 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35358 (RETURN): Do not use macro LEAVE.
35359 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35360 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35361 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35362 * sysdeps/i386/i686/memset.S (memset): Likewise.
35363 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35364 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35365 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35366 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35368 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35369 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35370 L(1_2) and L(1_3) into L(1).
35371 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35372 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35373 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35374 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35375 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35376 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35377 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35378 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35379 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35381 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35382 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35383 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35384 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35385 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35386 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35387 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35388 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35389 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35390 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35391 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35392 * sysdeps/i386/strspn.S (strspn): Likewise.
35393 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35395 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35396 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35397 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35398 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35399 L(1_3) into L(1_1).
35400 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35401 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35402 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35404 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35406 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35408 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35411 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35413 * math/atest-exp.c (exp_mpn): Remove ROUND.
35414 * math/atest-exp2.c (exp_mpn): Likewise.
35415 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35417 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35418 * stdlib/tst-tls-atexit-lib.c: Likewise.
35419 * stdlib/tst-tls-atexit.c: Likewise.
35421 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35423 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35424 and __attribute_alloc_size__.
35426 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35428 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35429 __attribute_alloc_size__.
35430 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35431 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35433 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35435 * include/programs/xmalloc.h: New file.
35436 * catgets/gencat.c: Include it.
35437 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35438 * elf/pldd.c: Likewise.
35439 * iconv/iconv_charmap.c: Likewise.
35440 * iconv/iconvconfig.c: Likewise.
35441 * iconv/strtab.c: Likewise.
35442 * locale/programs/locale.c: Likewise.
35443 * locale/programs/localedef.h: Likewise.
35444 * locale/programs/simple-hash.c: Likewise.
35445 * nscd/nscd.h: Likewise.
35446 * nss/makedb.c: Likewise.
35447 * sysdeps/generic/ldconfig.h: Likewise.
35449 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35451 * Versions.def: Add GLIBC_2.18.
35452 * include/link.h (struct link_map): New member l_tls_dtor_count.
35453 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35454 (__call_tls_dtors): Likewise.
35455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35456 __cxa_thread_atexit_impl.
35457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35473 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35474 (tests): Add test case tst-tls-atexit.
35475 (modules-names): Add shared library for tst-tls-atexit.
35476 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35477 (GLIBC_PRIVATE): Add __call_tls_dtors.
35478 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35480 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35481 * stdlib/tst-tls-atexit.c: New test case.
35482 * stdlib/tst-tls-atexit-lib.c: New test case.
35484 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35486 * elf/Versions (ld): Add _dl_find_dso_for_object.
35487 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35488 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35489 (dl_open_worker): Use _dl_find_dso_for_object.
35490 * elf/dl-sym.c (do_sym): Likewise.
35491 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35493 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35495 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35496 Syntactic changes only.
35497 (_dl_runtime_profile): Do a tail-call to the resolved function.
35499 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35502 * sysdeps/x86_64/bp-asm.h: Remove file.
35503 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35504 <bp-sym.h> and <bp-asm.h>.
35505 (__clone): Do not use BP_SYM.
35506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35507 <bp-sym.h> and <bp-asm.h>.
35508 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35509 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35511 (_setjmp): Do not use BP_SYM.
35512 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35514 (setjmp): Do not use BP_SYM.
35515 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35517 (mempcpy): Do not use BP_SYM in weak_alias.
35518 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35520 (strchr): Do not use BP_SYM.
35521 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35523 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35524 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35525 (_start): Do not use BP_SYM.
35526 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35528 (strcat): Do not use BP_SYM.
35529 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35531 (STRCMP): Do not use BP_SYM.
35532 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35534 (STRCPY): Do not use BP_SYM.
35535 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35537 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35539 (FUNCTION): Do not use BP_SYM.
35540 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35542 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35544 2013-02-17 Andreas Jaeger <aj@suse.de>
35546 * time/Versions: Sort entries.
35547 * string/Versions: Likewise.
35548 * resolv/Versions: Likewise.
35549 * posix/Versions: Likewise.
35550 * iconv/Versions: Likewise.
35551 * elf/Versions: Likewise.
35552 * wcsmbs/Versions: Likewise.
35554 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35556 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35557 loop termination condition.
35559 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35560 variable to calculate EZ.
35563 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35564 the lower precision input.
35566 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35569 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35570 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35571 (run-via-rtld-prefix): Do not handle %-bp tests.
35572 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35573 (all-object-suffixes): Remove .ob.
35574 (bppfx): Remove variable.
35575 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35576 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35577 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35578 [$(build-bounded) = yes] (libtype.ob): Likewise.
35579 * Makerules (elide-routines.ob): Remove variable.
35580 (do-tests-clean): Do not handle *-bp.out.
35581 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35582 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35583 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35584 (tests): Do not include $(tests-bp.out).
35585 (xtests): Do not include $(xtests-bp.out).
35586 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35587 [$(build-bounded) = yes] ($(addprefix
35588 $(objpfx),$(binaries-bounded))): Remove rule.
35589 ($(objpfx)%-bp.out): Remove rule.
35590 * config.make.in (build-bounded): Remove variable.
35591 * crypt/Makefile [$(build-bounded) = yes]
35592 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35593 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35594 append to variable.
35595 [$(build-bounded) = yes] (install-lib): Likewise.
35596 [$(build-bounded) = yes] (generated): Likewise.
35597 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35599 * intl/Makefile [$(build-bounded) = yes]
35600 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35601 * math/Makefile [$(build-bounded) = yes]
35602 ($(tests:%=$(objpfx)%-bp): Likewise.
35603 * misc/Makefile [$(build-bounded) = yes]
35604 ($(objpfx)tst-tsearch-bp): Likewise.
35605 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35606 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35608 * string/Makefile (o-objects.ob): Remove variable.
35609 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35610 (CFLAGS-.ob): Remove variable.
35611 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35612 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35613 both definitions of variable.
35614 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35615 (ASFLAGS-.ob): Remove variable.
35617 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35620 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35621 Remove __BOUNDED_POINTERS__ from condition.
35622 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35623 * string/bits/string2.h [!__NO_STRING_INLINES &&
35624 !__BOUNDED_POINTERS__]: Likewise.
35625 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35627 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35628 Remove conditional code.
35629 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35630 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35631 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35635 * csu/libc-start.c: Do not include <bp-sym.h>.
35636 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35637 * elf/dl-open.c: Do not include <bp-sym.h>.
35638 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35639 * math/fegetenv.c: Do not include <bp-sym.h>.
35640 (fegetenv): Do not use BP_SYM in versioned symbols.
35641 * nptl/sysdeps/pthread/bits/libc-lockP.h
35642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35645 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35647 (__pthread_mutex_destroy): Likewise.
35648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35649 (__pthread_mutex_lock): Likewise.
35650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35651 (__pthread_mutex_trylock): Likewise.
35652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35653 (__pthread_mutex_unlock): Likewise.
35654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35655 (__pthread_mutexattr_init): Likewise.
35656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35657 (__pthread_mutexattr_destroy): Likewise.
35658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35659 (__pthread_mutexattr_settype): Likewise.
35660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35661 (__pthread_rwlock_init): Likewise.
35662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35663 (__pthread_rwlock_destroy): Likewise.
35664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35665 (__pthread_rwlock_rdlock): Likewise.
35666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35667 (__pthread_rwlock_tryrdlock): Likewise.
35668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35669 (__pthread_rwlock_wrlock): Likewise.
35670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35671 (__pthread_rwlock_trywrlock): Likewise.
35672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35673 (__pthread_rwlock_unlock): Likewise.
35674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35675 (__pthread_key_create): Likewise.
35676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35677 (__pthread_setspecific): Likewise.
35678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35679 (__pthread_getspecific): Likewise.
35680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35683 (_pthread_cleanup_push_defer): Likewise.
35684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35685 (_pthread_cleanup_pop_restore): Likewise.
35686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35687 (pthread_setcancelstate): Likewise.
35688 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35690 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35691 (memchr): Do not use BP_SYM in weak_alias.
35692 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35693 (fegetenv): Do not use BP_SYM in versioned symbols.
35694 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35695 (fesetenv): Do not use BP_SYM in versioned symbols.
35696 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35697 (feupdateenv): Do not use BP_SYM in versioned symbols.
35698 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35699 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35700 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35701 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35702 (open64): Do not use BP_SYM in weak_alias.
35703 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35704 (fegetenv): Do not use BP_SYM in versioned symbols.
35705 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35706 (fesetenv): Do not use BP_SYM in versioned symbols.
35707 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35708 (feupdateenv): Do not use BP_SYM in versioned symbols.
35709 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35710 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35711 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35712 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35713 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35714 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35715 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35717 (__libc_start_main): Do not use BP_SYM.
35719 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35722 redundant return line.
35724 (denorm): Likewise.
35725 (dbl_mp): Likewise.
35726 (sub_magnitudes): Likewise.
35732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35734 (denorm): Likewise.
35735 (dbl_mp): Likewise.
35736 (sub_magnitudes): Likewise.
35743 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35745 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35746 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35749 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35750 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35752 of __mul for squares.
35753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35757 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35758 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35760 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35763 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35765 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35766 prototype or function definition. Rename ubp_* variables and
35767 parameters. Remove argv definitions conditional on
35768 [__BOUNDED_POINTERS__].
35769 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35770 * elf/dl-runtime.c (_dl_fixup): Likewise.
35771 * include/set-hooks.h (RUN_HOOK): Likewise.
35772 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35774 * string/strcpy.c (strcpy): Do not use __unbounded.
35775 * sysdeps/generic/frame.h (struct layout): Likewise.
35776 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35777 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35778 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35779 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35780 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35781 (__backtrace): Likewise.
35782 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35784 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35785 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35786 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35788 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35789 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35790 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35791 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35792 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35793 Do not use __unbounded.
35794 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35795 Rename __unboundedrlimits parameter to rlimits in prototype.
35796 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35797 Do not use __unbounded.
35798 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35799 not use __ptrvalue.
35800 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35801 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35802 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35803 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35804 __ptrvalue or __unbounded.
35805 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35806 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35808 (__new_msgctl): Do not use __ptrvalue.
35809 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35811 (__libc_msgrcv): Do not use __ptrvalue.
35812 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35813 startup_info): Do not use __unbounded.
35814 (__libc_start_main): Likewise. Rename ubp_* variables and
35815 parameters. Remove argv definitions conditional on
35816 [__BOUNDED_POINTERS__].
35817 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35819 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35821 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35823 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35825 (__new_shmctl): Do not use __ptrvalue.
35826 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35827 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35829 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35830 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35831 (__libc_sigaction): Likewise.
35832 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35833 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35835 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35837 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35839 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35841 * string/mempcpy.c: Implement by calling memcpy.
35843 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35850 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35851 values in the mantissa.
35853 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35854 minimize writes to Z.
35855 (sub_magnitudes): Simplify code a bit.
35857 2013-02-12 Roland McGrath <roland@hack.frob.com>
35859 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35860 from the message. The linker prefixes all warnings with that already.
35862 2013-02-12 Andreas Schwab <schwab@suse.de>
35865 * posix/regexec.c (extend_buffers): Add parameter min_len.
35866 (check_matching): Pass minimum needed length.
35867 (clean_state_log_if_needed): Likewise.
35868 (get_subexp): Likewise.
35869 * posix/Makefile (tests): Add bug-regex34.
35870 (bug-regex34-ENV): Define.
35871 * posix/bug-regex34.c: New file.
35874 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35875 elements compare against the byte sequence of it, not its name.
35876 * posix/Makefile (tests): Add bug-regex35.
35877 (bug-regex35-ENV): Define.
35878 * posix/bug-regex35.c: New file.
35880 2013-02-11 Tom de Vries <tom@codesourcery.com>
35882 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35884 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35885 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35886 (CHECK_EOL): Add undef.
35888 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35890 * bits/stdlib-bsearch.h: New file.
35891 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35892 * stdlib/stdlib.h: Likewise.
35894 2013-02-11 Roland McGrath <roland@hack.frob.com>
35896 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35897 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35899 * manual/search.texi (Array Search Function): Add missing const in
35901 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35902 declaration to use rlim_t.
35903 (Basic Scheduling Functions): Remove erroneous const from
35904 sched_getparam prototype. Remove erroneous * from
35905 sched_get_priority_max and sched_get_priority_min prototypes.
35906 (Resource Usage): Fix summary @comment on vtimes to refer to
35907 sys/vtimes.h rather than vtimes.h.
35908 Add missing *s in vtimes prototype.
35909 (Limits on Resources): Fix ulimit prototype to return long int.
35910 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35911 prototypes to use long int rather than double.
35912 (BSD Random): Fix initstate and setstate to use char *, not void *.
35913 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35914 prototype to make second argument 'struct aiocb64 *const[]'.
35915 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35916 (Status of AIO Operations): Remove erroneous const in aio_return and
35917 aio_return64 prototypes.
35918 (Synchronizing I/O): Fix sync prototype to return void.
35919 * manual/startup.texi (Suboptions): Remove an erroneous const in
35920 getsubopt prototype.
35921 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35922 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35923 use size_t rather than int.
35924 (Scanning All Users): Likewise for getpwent_r.
35925 (Setting Groups): Add missing const to setgroups prototype.
35926 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35927 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35928 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35929 'const void *' rather than 'const char *'.
35930 (Host Address Functions): Likewise for inet_ntop.
35931 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35932 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35933 ssize_t for return value.
35934 (Sending Data): Likewise for send, sendto, sendmsg.
35935 (Socket Option Functions): Add a missing const in setsockopt prototype.
35936 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35937 use wchar_t for the argument.
35938 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35939 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35941 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35942 double/float/long double for second argument.
35943 Fix return types of significand, significandf, significandl.
35944 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35945 argument in fchmod prototype.
35946 (File Owner): Use uid_t and gid_t in fchown prototype.
35947 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35948 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35949 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35950 use 'const struct dirent **' as argument types to CMP function pointer
35952 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35953 (File Times): Fix summary magic @comment for struct utimbuf and utime
35954 to refer to utime.h, not time.h.
35955 * manual/string.texi (Argz Functions): Add missing const in
35956 argz_extract and argz_next prototypes.
35957 (Finding Tokens in a String): Likewise for basename.
35958 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35959 (Copying and Concatenation): Fix typo in wmemmove prototype.
35960 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35961 (Signal Stack): Remove erroneous const in sigstack prototype.
35962 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35964 (Simple Calendar Time): Likewise for stime.
35965 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35967 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35968 say sys/sysctl.h instead.
35969 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35970 and vsyslog prototypes.
35972 2013-02-11 Tom de Vries <tom@codesourcery.com>
35974 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35977 2013-02-11 Roland McGrath <roland@hack.frob.com>
35979 * misc/sys/mman.h: Fix typo in mremap comment.
35981 2013-02-08 Roland McGrath <roland@hack.frob.com>
35983 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35984 the '\0' terminator.
35986 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35989 * debug/segfault.c: Don't include <bp-checks.h>.
35990 * sysdeps/generic/bp-checks.h: Remove file.
35991 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35992 (__GETDENTS): Don't use CHECK_N.
35993 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35994 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35995 (__getgroups): Don't use CHECK_N.
35996 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35997 (setgroups): Don't use CHECK_N.
35998 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35999 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36000 (__libc_msgrcv): Don't use CHECK_N.
36001 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36002 (__libc_msgsnd): Don't use CHECK_N.
36003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36005 (__libc_pread): Don't use CHECK_N.
36006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36007 include <bp-checks.h>.
36008 (__libc_pread64): Don't use CHECK_N.
36009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36010 include <bp-checks.h>.
36011 (__libc_pwrite): Don't use CHECK_N.
36012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36013 include <bp-checks.h>.
36014 (__libc_pwrite64): Don't use CHECK_N.
36015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36017 (__libc_pread): Don't use CHECK_N.
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36019 include <bp-checks.h>.
36020 (__libc_pread64): Don't use CHECK_N.
36021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36022 include <bp-checks.h>.
36023 (__libc_pwrite): Don't use CHECK_N.
36024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36025 include <bp-checks.h>.
36026 (__libc_pwrite64): Don't use CHECK_N.
36027 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36028 (do_pread): Don't use CHECK_N.
36029 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36030 (do_pread64): Don't use CHECK_N.
36031 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36032 (do_pwrite): Don't use CHECK_N.
36033 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36034 (do_pwrite64): Don't use CHECK_N.
36035 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36036 (__libc_readv): Don't use CHECK_N.
36037 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36038 (semop): Don't use CHECK_N.
36039 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36041 (semtimedop): Don't use CHECK_N.
36042 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36043 (__libc_pread): Don't use CHECK_N.
36044 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36046 (__libc_pread64): Don't use CHECK_N.
36047 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36049 (__libc_pwrite): Don't use CHECK_N.
36050 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36052 (__libc_pwrite64): Don't use CHECK_N.
36053 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36055 (__libc_msgrcv): Don't use CHECK_N.
36056 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36057 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36058 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36059 (__libc_writev): Don't use CHECK_N.
36061 2013-02-08 Roland McGrath <roland@hack.frob.com>
36063 * string/strcpy.c: Removed unused variable.
36065 * Makeconfig (+sysdep-includes): Define with := rather than =.
36066 Use an existing include/ subdir of each sysdeps dir before it.
36068 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36070 * nscd/connection.c (register_traced_file): Comment function.
36071 [HAVE_INOTIFY] (union __inev): Define.
36072 [HAVE_INOTIFY] (inotify_check_files): New function.
36073 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36074 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36076 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36078 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36080 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36081 loaded if not already and that a failure is permanent.
36083 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36086 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36087 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36089 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36092 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36093 (CHECK_1_NULL_OK): Likewise.
36094 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36095 (__fxstat): Do not use CHECK_1.
36096 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36098 (___fxstat64): Do not use CHECK_1.
36099 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36101 (__fxstatat): Do not use CHECK_1.
36102 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36104 (__fxstatat64): Do not use CHECK_1.
36105 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36107 (__fxstat): Do not use CHECK_1.
36108 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36110 (__fxstatat): Do not use CHECK_1.
36111 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36113 (__getresgid): Do not use CHECK_1.
36114 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36116 (__getresuid): Do not use CHECK_1.
36117 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36119 (__lxstat): Do not use CHECK_1.
36120 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36122 (__old_msgctl): Do not use CHECK_1.
36123 (__new_msgctl): Likewise.
36124 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36126 (__new_setrlimit): Do not use CHECK_1.
36127 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36129 (__old_shmctl): Do not use CHECK_1.
36130 (__new_shmctl): Likewise.
36131 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36133 (__xstat): Do not use CHECK_1.
36134 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36135 (__lxstat): Do not use CHECK_1.
36136 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36138 (___lxstat64): Do not use CHECK_1.
36139 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36140 (__old_msgctl): Do not use CHECK_1.
36141 (__new_msgctl): Likewise.
36142 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36144 (__gettimeofday): Do not use CHECK_1.
36145 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36146 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36147 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36149 (__gettimeofday): Do not use CHECK_1.
36150 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36151 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36152 (__new_shmctl): Do not use CHECK_1.
36153 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36155 (do_sigtimedwait): Do not use CHECK_1.
36156 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36158 (do_sigwaitinfo): Do not use CHECK_1.
36159 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36161 (msgctl): Do not use CHECK_1.
36162 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36164 (shmctl): Do not use CHECK_1.
36165 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36166 (ustat): Do not use CHECK_1.
36167 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36169 (__fxstat): Do not use CHECK_1.
36170 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36172 (__fxstatat): Do not use CHECK_1.
36173 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36175 (__lxstat): Do not use CHECK_1.
36176 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36178 (__xstat): Do not use CHECK_1.
36179 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36180 (__xstat): Do not use CHECK_1.
36181 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36182 (___xstat64): Do not use CHECK_1.
36185 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36187 (CHECK_BOUNDS_HIGH): Likewise.
36188 * string/strcpy.c: Do not include <bp-checks.h>.
36189 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36191 2013-02-07 Roland McGrath <roland@hack.frob.com>
36193 * nscd/nscd-client.h (__nscd_drop_map_ref):
36194 Add __attribute__ ((unused)).
36195 * nis/nss-nisplus.h (niserr2nss): Likewise.
36197 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36198 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36200 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36201 Remove inline keyword.
36202 * include/rounding-mode.h (round_away): Likewise.
36203 * libio/wfileops.c (adjust_wide_data): Likewise.
36204 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36205 (__m128i_strloadu_tolower): Likewise.
36206 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36207 (__m128i_strloadu_tolower): Likewise.
36208 * time/mktime.c (ydhms_diff): Likewise.
36209 * locale/elem-hash.h (elem_hash): Likewise.
36210 * locale/setlocale.c (setdata): Likewise.
36211 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36212 (re_string_wchar_at): Likewise.
36213 (bitset_not, bitset_merge, bitset_mask): Likewise.
36214 [!(__GNUC__ > 3)] (inline): Remove macro.
36215 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36216 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36217 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36218 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36219 * string/memcmp.c (memcmp_bytes): Likewise.
36220 * locale/programs/locarchive.c (compute_hashval): Likewise.
36221 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36222 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36223 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36224 * nss/getent.c (print_rpc, print_protocols): Likewise.
36225 (print_passwd, print_group, print_aliases): Likewise.
36226 * nis/nss-nisplus.h (niserr2nss): Likewise.
36227 * nscd/connections.c (restart_p): Likewise.
36228 Change return type to bool.
36230 2013-02-05 Roland McGrath <roland@hack.frob.com>
36232 * Makeconfig (all-Depend-files): Add existing
36233 $(sorted-subdirs:=/Depend) files.
36234 (all-subdirs): Remove nss.
36235 * sysdeps/unix/inet/Subdirs: Add it here instead.
36236 * hesiod/Depend: New file.
36238 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36239 instead of calling alloca.
36241 * io/lseek.c (__lseek): Rename to __libc_lseek.
36242 Define __lseek as an alias.
36244 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36246 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36248 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36249 else clause and remove check for non-standard endianness.
36251 2013-02-04 David S. Miller <davem@davemloft.net>
36253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36255 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36258 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36259 (__ubp_memchr): Remove prototype.
36260 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36261 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36262 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36263 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36264 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36266 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36267 (__ubp_memchr): Likewise.
36268 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36269 (__ubp_memchr): Likewise.
36270 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36271 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36272 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36273 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36275 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36276 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36277 (__getcwd): Do not use CHECK_STRING.
36278 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36280 (__real_chown): Do not use CHECK_STRING.
36281 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36283 (fchownat): Do not use CHECK_STRING.
36284 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36286 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36288 (__lchown): Do not use CHECK_STRING.
36289 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36290 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36291 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36292 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36294 include <bp-checks.h>.
36295 (truncate64): Do not use CHECK_STRING.
36296 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36298 (__real_chown): Do not use CHECK_STRING.
36299 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36301 (__lchown): Do not use CHECK_STRING.
36302 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36304 (__chown): Do not use CHECK_STRING.
36305 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36307 (truncate64): Do not use CHECK_STRING.
36308 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36310 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36311 (__xmknod): Do not use CHECK_STRING.
36312 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36314 (__xmknodat): Do not use CHECK_STRING.
36315 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36316 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36318 2013-02-04 Andreas Schwab <schwab@suse.de>
36321 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36322 * include/netdb.h: Likewise for h_errno.
36323 * elf/tst-stackguard1.c: Include <tls.h>.
36325 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36327 * elf/link.h (struct link_map): Extend the l_addr comment.
36328 * include/link.h (struct link_map): Likewise.
36330 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36333 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36334 (BOUNDED_1): Remove macro.
36335 * debug/backtrace.c: Don't include <bp-checks.h>.
36336 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36337 (__backtrace): Likewise.
36338 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36340 (__backtrace): Don't use BOUNDED_1.
36341 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36343 (__backtrace): Don't use BOUNDED_1.
36344 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36345 (__backtrace): Don't use BOUNDED_1.
36346 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36347 (shmat): Don't use BOUNDED_N.
36349 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36352 * sysdeps/generic/bp-start.h: Remove file.
36353 * csu/libc-start.c: Don't include <bp-start.h>.
36354 (LIBC_START_MAIN): Set up __environ directly instead of using
36355 INIT_ARGV_and_ENVIRON.
36356 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36360 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36362 (CHECK_FCNTL): Likewise.
36363 (CHECK_N_PAGES): Likewise.
36366 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36368 (CHECK_SIGSET_NULL_OK): Likewise.
36369 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36371 (sigpending): Don't use CHECK_SIGSET.
36372 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36374 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36375 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36377 (do_sigsuspend): Don't use CHECK_SIGSET.
36378 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36380 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36381 (do_sigwait): Don't use CHECK_SIGSET.
36382 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36384 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36385 include <bp-checks.h>.
36386 (sigpending): Don't use CHECK_SIGSET.
36387 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36388 include <bp-checks.h>.
36389 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36390 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36392 (sigpending): Don't use CHECK_SIGSET.
36393 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36395 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36398 * sysdeps/generic/bp-semctl.h: Remove file.
36399 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36400 <bp-checks.h> and <bp-semctl.h>.
36401 (__old_semctl): Don't use CHECK_SEMCTL.
36402 (__new_semctl): Likewise.
36403 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36405 (__old_semctl): Don't use CHECK_SEMCTL.
36406 (__new_semctl): Likewise.
36407 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36408 <bp-checks.h> and <bp-semctl.h>.
36409 (__old_semctl): Don't use CHECK_SEMCTL.
36410 (__new_semctl): Likewise.
36411 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36412 <bp-checks.h> and <bp-semctl.h>.
36413 (semctl): Don't use CHECK_SEMCTL.
36416 * Makerules (elide-bp-thunks): Remove variable.
36417 (elide-routines.oS): Don't use $(elide-bp-thunks).
36418 (elide-routines.os): Likewise.
36419 (elide-routines.o): Likewise.
36420 (elide-routines.op): Likewise.
36421 (elide-routines.og): Likewise.
36422 (objects): Don't use $(bp-thunks).
36423 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36425 (common-generated): Do not add s-proto-bp.d.
36426 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36429 Do not generate makefile rules for bounded-pointer thunks.
36430 * sysdeps/generic/bp-thunks.h: Remove file.
36431 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36432 * sysdeps/unix/s-proto-bp.S: Likewise.
36435 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36436 parts of result separately when argument is not close to line from
36437 -i to i and one part of argument is small.
36438 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36439 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36440 * math/libm-test.inc (cacos_test): Add more tests.
36441 (casin_test): Likewise.
36442 (casinh_test): Likewise.
36443 * sysdeps/i386/fpu/libm-test-ulps: Update.
36444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36446 2013-01-31 David S. Miller <davem@davemloft.net>
36448 * po/de.po: Update from translation team.
36450 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36452 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36454 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36456 * configure.in (_AC_PROG_CC_C89): New definition.
36457 * configure: Regenerate.
36459 * configure.in (AC_PROG_CPP): New definition.
36460 * configure: Regenerate.
36462 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36464 * debug/tst-backtrace.h: New file.
36465 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36466 (ret): Remove variable.
36468 (FAIL): Remove macro.
36469 (NO_INLINE): Likewise.
36470 (fn1): Use match function instead of strstr.
36471 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36472 (ret): Remove variable.
36474 (FAIL): Remove macro.
36475 (NO_INLINE): Likewise.
36476 (fn): Use match function instead of strstr.
36477 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36478 (ret): Remove variable.
36480 (FAIL): Remove macro.
36481 (NO_INLINE): Likewise.
36482 (handle_signal): Use match function instead of strstr.
36483 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36484 (ret): Remove variable.
36486 (FAIL): Remove macro.
36487 (NO_INLINE): Likewise.
36488 (handle_signal): Use match function instead of strstr.
36490 2013-01-23 Roland McGrath <roland@hack.frob.com>
36492 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36494 2013-01-23 David S. Miller <davem@davemloft.net>
36496 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36497 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36498 argument of CAS if possible.
36499 * sysdeps/sparc/sparc64/bits/atomic.h
36500 (__arch_compare_and_exchange_val_32_acq): Likewise.
36501 (__arch_compare_and_exchange_val_64_acq): Likewise.
36503 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36505 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36506 * sysdeps/posix/ulimit.c: ... this.
36507 Include <limits.h>.
36508 * sysdeps/unix/bsd/ulimit.c: Remove file.
36510 2013-01-23 Adam Conrad <adconrad@0c3.net>
36512 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36513 (LDFLAGS-tst-array5): Likewise.
36515 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36518 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36519 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36520 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36521 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36523 2013-01-21 David S. Miller <davem@davemloft.net>
36525 * sysdeps/sparc/backtrace.c: New file.
36526 * sysdeps/sparc/sparc32/backtrace.h: New file.
36527 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36528 * sysdeps/sparc/sparc64/backtrace.h: New file.
36529 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36530 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36533 2013-01-21 Andreas Schwab <schwab@suse.de>
36536 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36539 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36545 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36546 Mark Mitchell <mark@codesourcery.com>
36547 Tom de Vries <tom@codesourcery.com>
36548 Paul Pluzhnikov <ppluzhnikov@google.com>
36550 * debug/tst-backtrace2.c: New file.
36551 * debug/tst-backtrace3.c: Likewise.
36552 * debug/tst-backtrace4.c: Likewise.
36553 * debug/tst-backtrace5.c: Likewise.
36554 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36555 (CFLAGS-tst-backtrace3.c): Likewise.
36556 (CFLAGS-tst-backtrace4.c): Likewise.
36557 (CFLAGS-tst-backtrace5.c): Likewise.
36558 (LDFLAGS-tst-backtrace2): Likewise.
36559 (LDFLAGS-tst-backtrace3): Likewise.
36560 (LDFLAGS-tst-backtrace4): Likewise.
36561 (LDFLAGS-tst-backtrace5): Likewise.
36562 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36563 tst-backtrace4 and tst-backtrace5.
36565 2013-01-18 Anton Blanchard <anton@samba.org>
36566 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36568 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36569 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36570 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36571 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36573 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36574 "+r" and remove output regs list as redundant. Add explicit inline
36575 asm to specify register of return val to work around compiler codegen
36576 bug. Remove (int) cast on return value. Add return type parameter to
36577 use in macro so that this macro does not truncate return value for
36579 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36580 pass to INTERNAL_VSYSCALL_NCS.
36581 (INLINE_VSYSCALL): Add 'long int' as return type to
36582 INTERNAL_VSYSCALL_NCS macro invocation.
36583 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36584 INTERNAL_VSYSCALL_NCS macro invocation.
36585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36587 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36590 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36591 Fix application of SIMD FP exception mask.
36593 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36594 mp_no from a power of two.
36595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36596 __mpexp_twomm1. Use __pow_mp.
36598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36601 2013-01-17 David S. Miller <davem@davemloft.net>
36603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36605 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36608 * include/complex.h: Condition contents on [!_COMPLEX_H].
36609 (__kernel_casinhf): New prototype.
36610 (__kernel_casinh): Likewise.
36611 (__kernel_casinhl): Likewise.
36612 * math/Makefile (libm_calls): Add k_casinh.
36613 * math/k_casinh.c: New file.
36614 * math/k_casinhf.c: Likewise.
36615 * math/k_casinhl.c: Likewise.
36616 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36617 finite nonzero arguments.
36618 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36619 finite nonzero arguments.
36620 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36621 finite nonzero arguments.
36622 * math/s_casinh.c: Do not include <float.h>.
36623 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36624 * math/s_casinhf.c: Do not include <float.h>.
36625 (__casinhf): Move code for finite nonzero arguments to
36627 * math/s_casinhl.c: Do not include <float.h>.
36628 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36630 (__casinhl): Move code for finite nonzero arguments to
36632 * math/libm-test.inc (cacos_test): Add more tests.
36633 * sysdeps/i386/fpu/libm-test-ulps: Update.
36634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36636 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36638 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36639 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36640 [!HAVE_MREMAP]: Remove [defined linux] case.
36641 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36643 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36645 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36647 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36649 * elf/elf.h (R_386_SIZE32): New relocation.
36650 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36652 (elf_machine_rela): Likewise.
36653 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36654 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36656 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36658 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36659 (FP_FAST_FMA): Do not define.
36660 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36661 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36662 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36663 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36664 !_SOFT_FLOAT]: Likewise.
36665 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36666 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36668 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36669 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36670 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36671 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36672 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36673 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36676 2013-01-16 Andreas Schwab <schwab@suse.de>
36679 * include/stdlib.h (__mktemp): Add declaration.
36680 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36681 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36683 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36685 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36687 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36688 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36689 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36691 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36692 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36694 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36696 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36697 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36698 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36700 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36701 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36703 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36705 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36707 2013-01-15 David S. Miller <davem@davemloft.net>
36709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36710 trunc{,f} to libm-sysdep_routes.
36711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36721 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36722 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36723 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36724 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36725 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36726 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36729 nearbyint{,f} to libm-sysdep_routes.
36730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36744 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36747 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36748 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36750 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36751 libc_feholdexcept and libc_fesetenv.
36753 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36755 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36757 2013-01-14 David S. Miller <davem@davemloft.net>
36759 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36760 (SPARC_ASM_VIS2_IFUNC): Likewise.
36761 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36763 use of 'siam' instruction.
36764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36797 routines to libm-sysdep_routines.
36798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36801 fdim/fdimf to libm-sysdep_routines.
36802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36810 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36811 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36813 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36815 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36817 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36818 to optimize copies.
36820 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36825 local variable MPTWO.
36826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36829 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36831 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36834 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36836 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36838 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36840 * manual/pattern.texi (glob_t): Document gl_flags.
36841 (glob64_t): Likewise.
36843 2013-01-11 David S. Miller <davem@davemloft.net>
36845 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36846 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36847 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36848 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36849 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36850 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36851 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36852 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36853 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36854 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36855 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36856 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36857 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36859 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36860 sparc V9 rather than using V8 code.
36861 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36862 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36866 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36869 2013-01-11 Roland McGrath <roland@hack.frob.com>
36871 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36872 not in the main loop.
36873 * configure: Regenerated.
36875 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36877 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36878 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36880 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36881 [!__GLIBC_HAVE_LONG_LONG] case.
36882 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36883 condition to just #else.
36884 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36885 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36886 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36887 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36889 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36890 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36891 #elif condition to just #else.
36892 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36893 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36894 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36895 #elif condition to just #else.
36897 2013-01-11 Steve Ellcey <sellcey@mips.com>
36899 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36900 (EF_MIPS_ARCH_64): Fix value.
36901 (EF_MIPS_ARCH_32R2): New.
36902 (EF_MIPS_ARCH_64R2): New.
36904 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36906 * Makeconfig (+link-pie-before-libc): New.
36907 (+link-pie-after-libc): Likewise.
36908 (+link-pie-tests): Likewise.
36909 (+link-pie): Rewritten.
36910 (link-before-libc): Remove $(config-LDFLAGS).
36911 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36912 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36913 (config-LDFLAGS): Renamed to ...
36914 (rtld-LDFLAGS): This.
36915 (rtld-tests-LDFLAGS): New macro.
36916 (link-libc-rpath-link): Likewise.
36917 (link-libc-tests-rpath-link): Likewise.
36918 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36919 (link-libc): Prepand $(link-libc-rpath-link).
36920 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36921 (test-program-prefix): New macro.
36922 (test-via-rtld-prefix): Likewise.
36923 (test-program-cmd): Likewise.
36924 (host-test-program-cmd): Likewise.
36925 * Makefile ($(common-objpfx)testrun.sh): Replace
36926 $(run-program-prefix) with $(test-program-prefix).
36927 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36929 ($(common-objpfx)shlib.lds): Likewise.
36930 (build-module-helper): Likewise.
36931 ($(common-objpfx)format.lds): Likewise.
36932 * Rules (binaries-pie-tests): New.
36933 (binaries-pie-notests): Likewise.
36934 (binaries-pie): Rewritten.
36935 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36936 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36937 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36938 (make-test-out): Replace $(host-built-program-cmd) with
36939 $(host-test-program-cmd).
36940 * config.make.in (build-hardcoded-path-in-tests): New variable.
36941 * configure.in (--enable-hardcoded-path-in-tests): New configure
36943 (hardcoded_path_in_tests): New AC_SUBST.
36944 * configure: Regenerated.
36945 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36946 $(built-program-cmd) with $(test-program-cmd).
36947 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36948 (test_program_cmd): This.
36949 * elf/Makefile ($(objpfx)order.out): Run test with
36950 $(test-program-prefix).
36951 ($(objpfx)order2.out): Likewise.
36952 ($(objpfx)tst-initorder.out): Likewise.
36953 ($(objpfx)tst-initorder2.out): Likewise.
36954 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36955 $(test-program-cmd).
36956 ($(objpfx)tst-array1-static.out): Likewise.
36957 ($(objpfx)tst-array2.out): Likewise.
36958 ($(objpfx)tst-array3.out): Likewise.
36959 ($(objpfx)tst-array4.out): Likewise.
36960 ($(objpfx)tst-array5.out): Likewise.
36961 ($(objpfx)tst-array5-static.out): Likewise.
36962 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36963 $(test-program-cmd).
36964 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36965 $(run-program-prefix) with $(test-program-prefix).
36966 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36967 (test_program_prefix): This.
36968 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36969 $(run-program-prefix) with $(test-program-prefix).
36970 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36971 (test_program_prefix): This.
36972 * iconvdata/tst-tables.sh: Likewise.
36973 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36974 $(run-program-prefix) with $(test-program-prefix).
36975 ($(objpfx)tst-translit.out): Likewise.
36976 ($(objpfx)tst-gettext2.out): Likewise.
36977 ($(objpfx)tst-gettext4.out): Likewise.
36978 ($(objpfx)tst-gettext6.out): Likewise.
36979 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36980 (test_program_prefix): This.
36981 * intl/tst-gettext2.sh: Likewise.
36982 * intl/tst-gettext4.sh Likewise.
36983 * intl/tst-gettext6.sh: Likewise.
36984 * intl/tst-translit.sh: Likewise.
36985 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36986 with $(test-program-cmd).
36987 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36988 $(run-program-prefix) with $(test-program-prefix).
36989 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36990 (test_program_prefix): This.
36991 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36992 $(run-program-prefix) with $(test-program-prefix).
36993 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36994 (test_program_prefix): This.
36995 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36996 * posix/Makefile ($(objpfx)globtest.out): Replace
36997 $(run-via-rtld-prefix) and $(test-wrapper) with
36998 $(test-program-prefix) and $(test-via-rtld-prefix).
36999 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37000 $(test-program-prefix).
37001 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37002 $(host-test-program-cmd).
37003 (tst-spawn-ARGS): Likewise.
37004 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37005 $(test-program-prefix).
37006 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37007 (test_via_rtld_prefix): This.
37008 (test_wrapper): Renamed to ...
37009 (test_program_prefix): This.
37010 (run_program_prefix): Replaced by test_program_prefix.
37011 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37012 (test_program_prefix): This.
37013 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37014 with $(host-test-program-cmd).
37015 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37016 $(run-program-prefix) with $(test-program-prefix).
37017 ($(objpfx)tst-printf.out): Likewise.
37018 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37019 $(test-program-cmd).
37020 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37021 (test_program_prefix): This.
37022 * stdio-common/tst-unbputc.sh: Likewise.
37023 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37024 $(run-program-prefix) with $(test-program-prefix).
37025 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37026 (test_program_prefix): This.
37027 * string/Makefile ($(objpfx)tst-svc.out): Replace
37028 $(built-program-cmd) with $(test-program-cmd).
37030 2013-01-11 Andreas Jaeger <aj@suse.de>
37033 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37034 value. Sync with Linux 3.7.
37036 2013-01-10 David S. Miller <davem@davemloft.net>
37038 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37039 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37040 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37042 2013-01-10 Roland McGrath <roland@hack.frob.com>
37044 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37046 * configure: Regenerated.
37048 2013-01-10 David S. Miller <davem@davemloft.net>
37050 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37051 sparc V9 rather than using V8 code.
37052 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37053 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37055 2013-01-10 Roland McGrath <roland@hack.frob.com>
37057 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37058 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37059 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37060 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37061 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37062 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37063 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37064 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37065 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37066 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37067 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37068 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37069 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37070 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37071 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37072 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37073 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37074 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37075 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37076 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37077 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37078 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37079 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37080 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37081 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37082 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37083 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37085 2013-01-10 David S. Miller <davem@davemloft.net>
37087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37089 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37091 * posix/Makefile (tests-static): New variable.
37092 (tests): Add $(tests-static).
37093 (tst-exec-static-ARGS): New variable.
37094 (tst-spawn-static-ARGS): Likewise.
37095 * posix/tst-exec-static.c: New file.
37096 * posix/tst-spawn-static.c: Likewise.
37097 * posix/tst-exec.c: Support run directly.
37098 * posix/tst-spawn.c: Likewise.
37100 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37102 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37104 * math/bits/mathcalls.h (llrint): Likewise.
37105 (llround): Likewise.
37106 * stdlib/stdlib.h (struct drand48_data): Likewise.
37107 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37108 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37109 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37111 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37113 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37114 (elf_greg_t): Likewise.
37115 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37116 (__jmp_buf): Likewise.
37117 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37119 (llrint): Likewise, for all definitions.
37120 (llrintl): Likewise.
37122 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37123 Remove [__GNUC__] condition.
37124 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37125 condition to just [__USE_ISOC99].
37126 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37128 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37131 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37132 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37134 (_POSIX_V6_ILP32_OFF32): Likewise.
37135 (_XBS5_ILP32_OFF32): Likewise.
37136 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37137 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37139 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37141 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37143 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37144 doubles __mpexp_twomm1. Adjust usage.
37145 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37148 2013-01-10 Andreas Schwab <schwab@suse.de>
37151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37152 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37154 2013-01-09 David S. Miller <davem@davemloft.net>
37157 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37158 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37159 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37160 (TCP_FASTOPEN): Define.
37161 (tcp_repair_opt): New structure.
37162 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37164 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37165 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37166 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37167 (tcp_cookie_transactions): New structure.
37169 2013-01-09 Anton Blanchard <anton@samba.org>
37171 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37172 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37173 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37174 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37176 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37178 * include/features.h (__USE_ANSI): Remove.
37180 2013-01-09 Roland McGrath <roland@hack.frob.com>
37182 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37184 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37186 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37188 * sysdeps/s390/fpu/libm-test-ulps: Update.
37190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37192 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37196 (denorm): Likewise.
37197 (__mp_dbl): Likewise.
37198 (__dbl_mp): Likewise.
37199 (add_magnitudes): Likewise.
37200 (sub_magnitudes): Likewise.
37206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37210 (denorm): Likewise.
37211 (__mp_dbl): Likewise.
37212 (__dbl_mp): Likewise.
37213 (add_magnitudes): Likewise.
37214 (sub_magnitudes): Likewise.
37220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37224 (denorm): Likewise.
37225 (__mp_dbl): Likewise.
37226 (__dbl_mp): Likewise.
37227 (add_magnitudes): Likewise.
37228 (sub_magnitudes): Likewise.
37235 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37237 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37238 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37239 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37240 2 && __USE_EXTERN_INLINES]: Likewise.
37242 2013-01-08 Andreas Jaeger <aj@suse.de>
37245 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37247 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37248 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37250 2013-01-07 Anton Blanchard <anton@samba.org>
37252 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37253 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37254 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37255 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37256 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37257 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37258 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37259 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37261 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37262 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37263 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37266 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37267 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37268 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37269 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37270 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37271 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37272 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37273 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37275 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37276 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37277 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37278 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37279 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37281 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37282 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37284 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37285 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37286 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37287 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37288 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37289 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37290 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37292 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37293 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37294 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37296 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37298 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37299 (__MALLOC_PMT): Likewise.
37300 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37301 [__GNUC__], only on [_LIBC].
37302 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37303 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37304 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37305 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37306 forward declaration.
37307 (realloc_hook_ini): Likewise.
37308 (memalign_hook_ini): Likewise.
37309 (__libc_memalign): Do not use __MALLOC_PMT in variable
37311 (__libc_valloc): Likewise.
37312 (__libc_pvalloc): Likewise.
37313 (__libc_calloc): Likewise.
37314 (__posix_memalign): Likewise.
37317 * math/s_casinh.c: Include <float.h>.
37318 (__casinh): Do not do computation with squaring and square root
37319 for large arguments.
37320 * math/s_casinhf.c: Include <float.h>.
37321 (__casinhf): Do not do computation with squaring and square root
37322 for large arguments.
37323 * math/s_casinhl.c: Include <float.h>.
37324 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37325 (__casinhl): Do not do computation with squaring and square root
37326 for large arguments.
37327 * math/libm-test.inc (casin_test): Add more tests.
37328 (casinh_test): Likewise.
37329 * sysdeps/i386/fpu/libm-test-ulps: Update.
37330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37332 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37334 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37335 (__x86_64_raw_data_cache_size): Likewise.
37336 (__x86_64_data_cache_size_half): Likewise.
37337 (__x86_64_raw_data_cache_size_half): Likewise.
37338 (__x86_64_shared_cache_size): Likewise.
37339 (__x86_64_raw_shared_cache_size): Likewise.
37340 (__x86_64_shared_cache_size_half): Likewise.
37341 (__x86_64_raw_shared_cache_size_half): Likewise.
37342 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37344 (__x86_data_cache_size): This.
37345 (__x86_64_raw_data_cache_size): Renamed to ...
37346 (__x86_raw_data_cache_size): This.
37347 (__x86_64_data_cache_size_half): Renamed to ...
37348 (__x86_data_cache_size_half): This.
37349 (__x86_64_raw_data_cache_size_half): Renamed to ...
37350 (__x86_raw_data_cache_size_half): This.
37351 (__x86_64_shared_cache_size): Renamed to ...
37352 (__x86_shared_cache_size): This.
37353 (__x86_64_raw_shared_cache_size): Renamed to ...
37354 (__x86_raw_shared_cache_size): This.
37355 (__x86_64_shared_cache_size_half): Renamed to ...
37356 (__x86_shared_cache_size_half): This.
37357 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37358 (__x86_raw_shared_cache_size_half): This.
37359 * sysdeps/x86_64/memcpy.S: Updated.
37360 * sysdeps/x86_64/memset.S: Likewise.
37361 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37362 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37363 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37365 2013-01-04 David S. Miller <davem@davemloft.net>
37367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37369 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37371 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37372 1 to avoid redefinition warning.
37373 (__USE_GNU): Don't define.
37374 (init_signaling_nan): Protoize.
37376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37378 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37380 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37382 (__cpymn): Likewise.
37383 (norm): Remove commented code.
37384 (denorm): Likewise.
37385 (__mp_dbl): Likewise.
37387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37388 (__cpymn): Likewise.
37389 (norm): Remove commented code.
37390 (denorm): Likewise.
37391 (__mp_dbl): Likewise.
37394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37395 mp_no value for 1.0 and 2.0.
37396 (norm): Use RADIXI instead of radixi.d.
37397 (denorm): Likewise.
37398 (__mul): Use 0.0 instead of zero.d.
37399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37400 mp_no value for 1.0 and 2.0.
37401 (norm): Use RADIXI instead of radixi.d.
37402 (denorm): Likewise.
37403 (__mul): Use 0.0 instead of zero.d.
37405 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37408 * math/s_casinh.c (__casinh): Reduce finite argument to first
37409 quadrant then set signs of results at the end.
37410 * math/s_casinhf.c (__casinhf): Likewise.
37411 * math/s_casinhl.c (__casinhl): Likewise.
37412 * math/libm-test.inc (casin_test): Add more tests.
37413 (casinh_test): Likewise.
37414 * sysdeps/i386/fpu/libm-test-ulps: Update.
37415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37417 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37419 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37421 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37423 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37425 (denorm): Likewise.
37426 (__mp_dbl): Likewise.
37429 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37430 and adjust the header comment.
37432 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37433 variable name from declaration.
37435 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37438 Initialize COMMON_CPUID_INDEX_7 element.
37439 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37440 (CPUID_RTM): Likewise.
37441 (HAS_RTM): Likewise.
37442 (COMMON_CPUID_INDEX_7): New enum.
37444 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37447 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37448 size is zero, record memory as freed.
37450 2013-01-03 Andreas Jaeger <aj@suse.de>
37452 * po/ia.po: Add new Interlingua translation.
37454 2012-01-03 Allan McRae <allan@archlinux.org>
37456 * locale/programs/localedef.c: Fix description of '--posix' flag.
37458 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37460 * NEWS: Update dates in second copyright notice.
37461 * README: Update copyright dates in example.
37462 * manual/libc.texinfo: Update copyright dates.
37463 * scripts/test-installation.pl: Update copyright date in --version
37466 * hurd/ctty-input.c: Fix copyright notice formatting.
37467 * hurd/ctty-output.c: Likewise.
37468 * hurd/dtable.c: Likewise.
37469 * hurd/hurd-raise.c: Likewise.
37470 * hurd/hurdprio.c: Likewise.
37471 * hurd/msgportdemux.c: Likewise.
37472 * misc/sys/file.h: Likewise.
37473 * misc/sys/ioctl.h: Likewise.
37474 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37475 * sysdeps/mach/hurd/chdir.c: Likewise.
37476 * sysdeps/mach/hurd/fchdir.c: Likewise.
37477 * sysdeps/mach/hurd/rename.c: Likewise.
37478 * sysdeps/mach/hurd/rmdir.c: Likewise.
37479 * sysdeps/mach/hurd/seekdir.c: Likewise.
37480 * sysdeps/mach/hurd/setsid.c: Likewise.
37481 * sysdeps/posix/wait3.c: Likewise.
37483 * All files with FSF copyright notices: Update copyright dates
37484 using scripts/update-copyrights.
37485 * intl/plural.c: Regenerated.
37486 * locale/programs/charmap-kw.h: Likewise.
37487 * locale/programs/locfile-kw.h: Likewise.
37489 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37491 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37494 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37495 calculation loop and add branch prediction.
37497 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37498 check access beyond bounds of m1np.
37500 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37502 (__inv): Remove local variable MPTWO to use the global
37504 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37505 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37508 MP3HALFS static const.
37510 2013-01-01 David S. Miller <davem@davemloft.net>
37512 * po/ca.po: Update from translation team.
37514 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37516 * scripts/update-copyrights: New file.
37517 * Makeconfig: Reformat copyright notice.
37518 * ctype/ctype.h: Likewise.
37519 * debug/swprintf_chk.c: Likewise.
37520 * elf/dl-cache.c: Likewise.
37521 * elf/dl-debug.c: Likewise.
37522 * elf/dl-object.c: Likewise.
37523 * grp/initgroups.c: Likewise.
37524 * hurd/Makefile: Likewise.
37525 * hurd/hurd/signal.h: Likewise.
37526 * hurd/hurdfault.c: Likewise.
37527 * hurd/hurdioctl.c: Likewise.
37528 * hurd/hurdlookup.c: Likewise.
37529 * hurd/intr-msg.c: Likewise.
37530 * iconv/gconv_open.c: Likewise.
37531 * libio/swprintf.c: Likewise.
37532 * locale/lc-ctype.c: Likewise.
37533 * locale/nl_langinfo.c: Likewise.
37534 * mach/Machrules: Likewise.
37535 * mach/Makefile: Likewise.
37536 * malloc/obstack.h: Likewise.
37537 * manual/Makefile: Likewise.
37538 * manual/tsort.awk: Likewise.
37539 * misc/bits/stab.def: Likewise.
37540 * nis/nis_print_group_entry.c: Likewise.
37541 * nis/nis_table.c: Likewise.
37542 * nis/nss_compat/compat-pwd.c: Likewise.
37543 * nis/nss_compat/compat-spwd.c: Likewise.
37544 * po/Makefile: Likewise.
37545 * posix/fnmatch.c: Likewise.
37546 * posix/regex.h: Likewise.
37547 * resolv/Makefile: Likewise.
37548 * resolv/nss_dns/dns-network.c: Likewise.
37549 * resolv/res_hconf.c: Likewise.
37550 * scripts/gen-sorted.awk: Likewise.
37551 * soft-fp/soft-fp.h: Likewise.
37552 * stdio-common/printf.h: Likewise.
37553 * stdlib/monetary.h: Likewise.
37554 * stdlib/random.c: Likewise.
37555 * stdlib/random_r.c: Likewise.
37556 * sysdeps/generic/Makefile: Likewise.
37557 * sysdeps/gnu/Makefile: Likewise.
37558 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37581 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37582 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37583 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37584 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37585 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37586 * sysdeps/mach/hurd/errnos.awk: Likewise.
37587 * sysdeps/mach/hurd/fork.c: Likewise.
37588 * sysdeps/mach/hurd/getcwd.c: Likewise.
37589 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37590 * sysdeps/mach/hurd/mmap.c: Likewise.
37591 * sysdeps/mach/hurd/utimes.c: Likewise.
37592 * sysdeps/mach/hurd/xmknod.c: Likewise.
37593 * sysdeps/posix/profil.c: Likewise.
37594 * sysdeps/posix/readdir_r.c: Likewise.
37595 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37596 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37597 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37598 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37600 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37601 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37602 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37604 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37605 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37606 * sysdeps/pthread/lio_listio.c: Likewise.
37607 * sysdeps/sparc/dl-procinfo.h: Likewise.
37608 * sysdeps/unix/i386/sysdep.S: Likewise.
37609 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37610 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37611 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37612 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37614 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37615 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37616 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37617 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37618 * sysdeps/wordsize-32/divdi3.c: Likewise.
37619 * time/sys/time.h: Likewise.
37620 * wcsmbs/Makefile: Likewise.
37622 2013-01-01 David S. Miller <davem@davemloft.net>
37624 * po/fr.po: Update from translation team.
37626 * catgets/gencat.c: Update copyright year.
37627 * csu/version.c: Likewise.
37628 * debug/catchsegv.sh: Likewise.
37629 * debug/pcprofiledump.c: Likewise.
37630 * debug/xtrace.sh: Likewise.
37631 * elf/ldconfig.c: Likewise.
37632 * elf/ldd.bash.in: Likewise.
37633 * elf/pldd.c: Likewise.
37634 * elf/sotruss.ksh: Likewise.
37635 * elf/sprof.c: Likewise.
37636 * iconv/iconv_prog.c: Likewise.
37637 * iconv/iconvconfig.c: Likewise.
37638 * locale/programs/locale.c: Likewise.
37639 * locale/programs/localedef.c: Likewise.
37640 * login/programs/pt_chown.c: Likewise.
37641 * malloc/memusage.sh: Likewise.
37642 * malloc/memusagestat.c: Likewise.
37643 * malloc/mtrace.pl: Likewise.
37644 * nscd/nscd.c: Likewise.
37645 * nss/getent.c: Likewise.
37646 * nss/makedb.c: Likewise.
37647 * posix/getconf.c: Likewise.
37649 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37651 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37654 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37656 * math/bits/mathcalls.h (modf): Use __nonnull.
37658 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37660 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37661 (split): Use macro CN instead of the bare value.
37662 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37664 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37665 instead of the bare value.
37666 (power1): Likewise.
37668 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37670 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37674 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37676 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37677 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37678 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37679 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37681 2012-12-28 Andreas Jaeger <aj@suse.de>
37683 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
37684 values are from Linux 3.7.
37686 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37687 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37689 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37691 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37694 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37696 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37697 variables with preprocessor constants.
37698 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37699 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37700 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37702 2012-12-27 Bruno Haible <bruno@clisp.org>
37705 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37708 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37710 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37711 and use variable directly.
37712 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37714 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37716 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37717 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37719 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37721 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37722 include directive. Remove local variable MPONE.
37723 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37724 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37725 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37727 2012-12-25 David S. Miller <davem@davemloft.net>
37729 * version.h (RELEASE): Set to "development".
37730 (VERSION): Set to "2.17.90".
37731 * NEWS: Add 2.18 section.
37733 2012-12-21 David S. Miller <davem@davemloft.net>
37735 * po/hr.po: Update from translation team.
37737 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37739 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37741 2012-12-19 Steve Ellcey <sellcey@mips.com>
37743 * NEWS: Mention new memcpy for MIPS.
37745 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37747 * manual/contrib.texi (Contributors): Spelling correction.
37749 2012-12-15 David S. Miller <davem@davemloft.net>
37751 * po/ru.po: Update from translation team.
37753 2012-12-13 David S. Miller <davem@davemloft.net>
37755 * NEWS: Mention IFUNC testsuite enhancements.
37757 * po/pl.po: Update from translation team.
37758 * po/bg.po: Likewise.
37760 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37761 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37763 2012-12-11 David S. Miller <davem@davemloft.net>
37765 * po/sv.po: Update from translation team.
37767 * po/vi.po: Update from translation team.
37769 * po/cs.po: Update from translation team.
37771 * po/de.po: Update from translation team.
37772 * po/eo.po: Likewise.
37773 * po/nl.po: Likewise.
37775 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37778 * manual/argp.texi (Argp Helper Functions): Move node to follow
37779 Argp Parsing State.
37782 * manual/conf.texi (Limits on File System Capacity): Mention if
37783 terminating null is included in the max size.
37785 2012-12-10 Andreas Jaeger <aj@suse.de>
37787 * po/cs.po: Update from translation team.
37789 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37791 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37792 void pointer and cast to uintptr_t.
37793 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37795 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37796 * sysdeps/s390/s390-64/memset.S: Likewise.
37798 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37801 * menual/message.texi (Message Translation): Fix typos.
37802 (Helper programs for gettext): Likewise.
37804 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37807 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37810 2012-12-07 David S. Miller <davem@davemloft.net>
37812 * po/libc.pot: Update.
37814 2012-12-07 Richard Henderson <rth@redhat.com>
37817 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37818 normal/normal case to before the switch.
37819 (_FP_DIV): Likewise.
37821 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37822 Mike Frysinger <vapier@gentoo.org>
37824 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37825 check for __NR_fadvise64_64.
37827 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37829 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37830 0, not just to plain "0" as a statement.
37831 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37834 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37836 * NEWS: Use sourceware.org in Bugzilla URL.
37838 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37841 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37843 * stdio-common/tst-put-error.c (do_test): Add newline to the
37844 padded test to ensure flush.
37846 2012-12-05 Jeff Law <law@redhat.com>
37848 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37850 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37852 * README: Don't refer to ports add-on as distributed separately.
37853 Mention AArch64 in list of systems supported in the ports add-on.
37855 * LICENSES: Add more non-FSF copyright and license notices.
37857 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37860 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37862 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37863 10000 as width of padded output.
37865 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37867 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37869 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37870 variable LX with __attribute__ ((unused)).
37871 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37873 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37874 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37875 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37876 with __attribute__ ((unused)).
37878 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37880 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37882 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37884 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37885 (CFLAGS-nldbl-acos.c): New variable.
37886 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37887 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37888 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37889 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37890 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37891 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37892 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37893 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37894 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37895 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37896 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37897 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37898 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37899 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37900 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37901 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37902 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37903 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37904 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37905 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37906 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37907 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37908 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37909 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37910 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37911 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37912 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37913 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37914 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37915 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37916 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37917 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37918 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37919 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37920 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37921 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37922 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37923 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37924 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37925 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37926 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37927 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37928 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37929 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37930 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37931 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37932 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37933 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37934 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37935 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37936 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37937 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37938 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37939 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37940 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37941 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37942 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37943 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37944 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37945 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37946 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37947 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37948 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37949 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37950 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37951 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37952 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37953 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37954 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37955 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37956 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37957 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37958 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37959 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37960 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37961 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37962 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37963 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37964 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37965 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37966 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37967 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37968 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37969 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37970 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37971 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37972 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37973 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37974 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37975 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37976 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37977 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37978 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37979 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37980 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37981 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37982 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37985 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37989 whole low double instead of just low 47 bits when splitting values
37992 2012-12-03 Allan McRae <allan@archlinux.org>
37994 * manual/stdio.texi (Predefined Printf Handlers): Remove
37995 @hsep and @vsep usage.
37997 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37999 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38000 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38002 2012-12-03 Jeff Law <law@redhat.com>
38004 * time/sys/time.h (settimeofday): Do not mark TV argument
38007 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38009 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38010 when currently writing and seek to current position when not.
38011 * libio/Makefile (tests): Remove bug-fclose1.
38012 * libio/bug-fclose1.c: Delete.
38014 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38016 * manual/arith.texi (feenableexcept): Fix typo.
38017 (fedisableexcept): Likewise.
38019 2012-11-30 Roland McGrath <roland@hack.frob.com>
38021 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38022 second, differently-typed declaration, rather than a cast.
38024 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38026 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38027 * include/rpc/svc.h: ... here.
38029 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38032 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38033 depending n and resplen2 to catch cases where answer
38036 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38038 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38039 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38041 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38043 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38045 2012-11-29 Roland McGrath <roland@hack.frob.com>
38047 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38049 2012-11-28 Jeff Law <law@redhat.com>
38052 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38053 dataset_temporary. Track alloca usage into alloca_used.
38054 If dataset is large allocate and release it via malloc/free.
38056 2012-06-04 Florian Weimer <fweimer@redhat.com>
38059 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38061 2012-11-28 David S. Miller <davem@davemloft.net>
38063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38065 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38068 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38069 of pi/2 rounded to nearest to 64 bits.
38070 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38071 nearest to 64 bits.
38072 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38075 2012-11-28 Jeff Law <law@redhat.com>
38076 Martin Osvald <mosvald@redhat.com>
38079 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38080 * sunrpc/svc.c: Include time.h.
38081 (__svc_accept_failed): New function.
38082 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38083 any reason other than EINTR, call __svc_accept_failed.
38084 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38085 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38087 2012-11-28 Andreas Schwab <schwab@suse.de>
38089 * scripts/abilist.awk: Also handle indirect functions in .opd
38092 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38095 * sysdeps/x86/fpu/powl_helper.c: New file.
38096 * sysdeps/x86/fpu/Makefile: Likewise.
38097 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38099 (__ieee754_powl): Use __powl_helper for finite arguments except
38100 integer exponents below 8.
38101 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38103 (__ieee754_powl): Use __powl_helper for finite arguments except
38104 integer exponents below 8.
38105 * math/libm-test.inc (pow_test): Add more tests and enable some
38106 previously disabled tests.
38107 * sysdeps/i386/fpu/libm-test-ulps: Update.
38108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38110 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38111 Carlos O'Donell <carlos_odonell@mentor.com>
38113 * nss/makedb.c (is_prime): Assert that input is odd and greater
38114 than 4. Note that fact in a comment too.
38115 (next_prime): Add 4 to input.
38117 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38120 * libio/Makefile (tests): Add test case tst-fwrite-error.
38121 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38122 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38123 * libio/tst-fwrite-error.c: New test case.
38125 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38127 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38128 before casting to void *.
38129 * include/libc-internal.h (__pointer_type): New macro.
38130 (__integer_if_pointer_type_sub): Likewise.
38131 (__integer_if_pointer_type): Likewise.
38132 (cast_to_integer): Likewise.
38133 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38134 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38135 before casting to atomic64_t.
38136 (atomic_exchange_acq): Likewise.
38137 (__arch_exchange_and_add_body): Likewise.
38138 (__arch_add_body): Likewise.
38139 (atomic_add_negative): Likewise.
38140 (atomic_add_zero): Likewise.
38142 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38144 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38145 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38146 (add_fdes): Likewise.
38147 (linear_search_fdes): Likewise.
38148 (binary_search_unencoded_fdes): Likewise.
38150 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38152 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38154 2012-11-24 Adam Conrad <adconrad@0c3.net>
38156 * configure.in: Autodetect C++ header directories.
38157 * configure: Regenerated.
38159 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38161 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38163 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38167 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38169 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38170 LDBL_MANT_DIG == 106]: Disable some tests.
38171 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38173 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38177 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38178 input for small inputs. Return +/- pi/2 for large inputs.
38179 * math/libm-test.inc (atan_test): Add more tests.
38181 * sysdeps/generic/unwind-dw2-fde-glibc.c
38182 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38183 __attribute__ ((unused)).
38186 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38187 x * y if x and y are nonzero and z is zero.
38190 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38191 nonzero exponents with absolute value below 0x1p-117 to +/-
38195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38196 up arguments below 2**-450, not just those below 2**-500.
38197 * math/libm-test.inc (hypot_test): Add another test.
38200 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38201 Return a+b for ratio over 2**120, not 2**60.
38202 * math/libm-test.inc (hypot_test): Add another test.
38204 * math/libm-test.inc (clog_test): Use
38205 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38206 (clog10_test): Likewise.
38209 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38211 2012-11-22 Andreas Schwab <schwab@suse.de>
38213 * sysdeps/i386/fpu/libm-test-ulps: Update.
38215 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38217 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38218 printf output with newline.
38220 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38223 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38224 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38225 -z nodlopen, -z initfirst and -z execstack support.
38226 * configure: Regenerated.
38228 * elf/elf.h (DF_1_NODIRECT): New macro.
38229 (DF_1_IGNMULDEF): Likewise.
38230 (DF_1_NOKSYMS): Likewise.
38231 (DF_1_NOHDR): Likewise.
38232 (DF_1_EDITED): Likewise.
38233 (DF_1_NORELOC): Likewise.
38234 (DF_1_SYMINTPOSE): Likewise.
38235 (DF_1_GLOBAUDIT): Likewise.
38236 (DF_1_SINGLETON): Likewise.
38237 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38238 DT_1_SUPPORTED_MASK bits.
38239 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38241 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38243 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38245 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38247 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38250 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38251 (sendmmsg): Move declarations...
38252 * socket/sys/socket.h: ... here.
38253 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38254 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38256 * socket/recvmmsg.c: ... this new file.
38257 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38258 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38259 definition of __sendmmsg hidden.
38260 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38261 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38262 Move ENOSYS stub into and include it from...
38263 * socket/sendmmsg.c: ... this new file.
38264 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38265 (sysdep_routines): Move recvmmsg and sendmmsg...
38266 * socket/Makefile (routines): ... here.
38267 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38268 (GLIBC_PRIVATE): Add __sendmmsg.
38269 * include/sys/socket.h (__sendmmsg): Add declarations.
38270 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38273 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38275 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38276 variable I1 with __attribute__ ((unused)).
38277 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38279 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38281 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38282 DUMMY variables with __attribute__ ((unused)).
38284 * bits/byteswap.h: Include <bits/types.h>.
38285 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38287 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38289 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38290 string_t. Do not manually set errno.
38291 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38292 length with __strnlen. Make sure to both set errno and return it on
38295 2012-11-19 David S. Miller <davem@davemloft.net>
38297 With help from Joseph Myers.
38298 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38299 very large arguments properly.
38300 * math/libm-test.inc (atan_test): New tests.
38301 (atan2_test): New tests.
38302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38305 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38308 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38311 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38312 [POSIX] (EADDRNOTAVAIL): Likewise.
38313 [POSIX] (EAFNOSUPPORT): Likewise.
38314 [POSIX] (EALREADY): Likewise.
38315 [POSIX] (ECONNABORTED): Likewise.
38316 [POSIX] (ECONNREFUSED): Likewise.
38317 [POSIX] (ECONNRESET): Likewise.
38318 [POSIX] (EDESTADDRREQ): Likewise.
38319 [POSIX] (EDQUOT): Likewise.
38320 [POSIX] (EHOSTUNREACH): Likewise.
38321 [POSIX] (EIDRM): Likewise.
38322 [POSIX] (EISCONN): Likewise.
38323 [POSIX] (ELOOP): Likewise.
38324 [POSIX] (EMULTIHOP): Likewise.
38325 [POSIX] (ENETDOWN): Likewise.
38326 [POSIX] (ENETUNREACH): Likewise.
38327 [POSIX] (ENOBUFS): Likewise.
38328 [POSIX] (ENODATA): Likewise.
38329 [POSIX] (ENOLINK): Likewise.
38330 [POSIX] (ENOMSG): Likewise.
38331 [POSIX] (ENOPROTOOPT): Likewise.
38332 [POSIX] (ENOSR): Likewise.
38333 [POSIX] (ENOSTR): Likewise.
38334 [POSIX] (ENOTCONN): Likewise.
38335 [POSIX] (ENOTSOCK): Likewise.
38336 [POSIX] (EOPNOTSUPP): Likewise.
38337 [POSIX] (EOVERFLOW): Likewise.
38338 [POSIX] (EPROTO): Likewise.
38339 [POSIX] (EPROTONOSUPPORT): Likewise.
38340 [POSIX] (EPROTOTYPE): Likewise.
38341 [POSIX] (ESTALE): Likewise.
38342 [POSIX] (ETIME): Likewise.
38343 [POSIX] (ETXTBSY): Likewise.
38344 [POSIX] (EWOULDBLOCK): Likewise.
38345 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38346 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38347 [POSIX] (SEEK_CUR): Likewise.
38348 [POSIX] (SEEK_END): Likewise.
38349 [POSIX || UNIX98] (mode_t): Do not require.
38350 [POSIX] (off_t): Likewise.
38351 [POSIX] (pid_t): Likewise.
38352 [POSIX] (sys/stat.h): Do not allow header.
38353 [POSIX] (unistd.h): Likewise.
38354 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38355 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38356 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38357 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38359 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38360 sigevent): Specify elements.
38361 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38363 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38364 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38366 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38367 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38368 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38369 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38370 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38371 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38372 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38373 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38374 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38375 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38376 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38377 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38378 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38379 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38381 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38383 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38385 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38387 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38388 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38389 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38390 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38391 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38392 Specify lower bound on value.
38393 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38394 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38395 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38396 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38397 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38398 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38399 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38400 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38402 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38404 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38405 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38406 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38407 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38408 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38409 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38410 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38411 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38412 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38413 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38414 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38415 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38416 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38417 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38418 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38419 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38421 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38423 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38424 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38425 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38426 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38427 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38428 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38430 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38431 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38432 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38433 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38434 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38435 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38436 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38438 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38439 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38440 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38441 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38442 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38443 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38444 specify as optional.
38445 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38446 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38447 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38448 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38449 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38450 [XPG3] (NL_LANGMAX): Likewise.
38451 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38452 [POSIX || XPG3] (NL_NMAX): Likewise.
38453 [POSIX || XPG3] (NL_SETMAX): Likewise.
38454 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38455 [XPG3] (NZERO): Likewise.
38456 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38457 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38458 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38459 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38460 (REG_ERANGE): Expect.
38461 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38463 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38464 Use (void) in prototype.
38465 [POSIX] (*_t): Allow.
38466 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38467 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38468 (WRDE_BADVAL): Expect.
38470 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38472 [XPG3 || XPG4] (O_RSYNC): Likewise.
38473 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38475 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38476 [XPG3 || XPG4] (sigqueue): Likewise.
38477 [XPG3 || XPG4] (sigtimedwait): Likewise.
38478 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38479 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38480 [XPG3 || XPG4] (vsnprintf): Likewise.
38481 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38483 [XPG3 || XPG4] (blksize_t): Likewise.
38484 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38486 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38487 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38488 [XPG3 || XPG4] (struct itimerspec): Likewise.
38489 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38490 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38491 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38492 [XPG3 || XPG4] (clockid_t): Likewise.
38493 [XPG3 || XPG4] (timer_t): Likewise.
38494 [XPG3 || XPG4] (clock_getres): Likewise.
38495 [XPG3 || XPG4] (clock_gettime): Likewise.
38496 [XPG3 || XPG4] (clock_settime): Likewise.
38497 [XPG3 || XPG4] (nanosleep): Likewise.
38498 [XPG3 || XPG4] (timer_create): Likewise.
38499 [XPG3 || XPG4] (timer_delete): Likewise.
38500 [XPG3 || XPG4] (timer_gettime): Likewise.
38501 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38502 [XPG3 || XPG4] (timer_settime): Likewise.
38503 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38504 [XPG3 || XPG4] (getlogin_r): Likewise.
38505 [XPG3 || XPG4] (pread): Likewise.
38506 [XPG3 || XPG4] (pthread_atfork): Likewise.
38507 [XPG3 || XPG4] (pwrite): Likewise.
38510 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38513 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38515 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38516 finalizing MALLSTREAM.
38518 * sysdeps/mach/hurd/syncfs.c: New file.
38520 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38523 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38524 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38525 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38526 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38527 (_nss_dns_gethostbyname4_r): Likewise.
38528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38529 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38531 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38534 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38536 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38538 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38539 * elf/cache.c (print_entry): Print ",AArch64" for
38542 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38543 * elf/cache.c (print_entry): Print ",hard-float" for
38546 2012-11-18 David S. Miller <davem@davemloft.net>
38548 With help from Joseph Myers.
38549 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38551 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38553 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38554 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38556 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38557 * math/libm-test.inc (y0_test): New tests.
38558 (y1_test): New tests.
38559 * sysdeps/i386/fpu/libm-test-ulps: Update.
38560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38563 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38565 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38567 * configure: Regenerated.
38569 2012-11-17 David S. Miller <davem@davemloft.net>
38572 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38573 nonzero exponents with absolute value below 0x1p-128 to +/-
38576 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38578 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38580 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38582 * posix/getconf-speclist.c: New file.
38583 * posix/posix-envs.def: Likewise.
38584 * posix/confstr.c (START_ENV_GROUP): New macro.
38585 (END_ENV_GROUP): Likewise.
38586 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38587 (KNOWN_PRESENT_ENV_STRING): Likewise.
38588 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38589 (UNKNOWN_ENVIRONMENT): Likewise.
38590 (confstr): Include posix-envs.def instead of handling
38591 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38592 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38593 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38594 (END_ENV_GROUP): Likewise.
38595 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38596 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38597 (UNKNOWN_ENVIRONMENT): Likewise.
38598 (__sysconf): Include posix-envs.def instead of handling associated
38599 cases directly here.
38600 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38601 preprocessing getconf-speclist.c rather than running getconf or
38602 generating empty file.
38604 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38606 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38608 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38611 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38613 2012-11-16 David S. Miller <davem@davemloft.net>
38615 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38616 smaller than LDBL_EPSILON/2.0L, just return xm1.
38618 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38620 * elf/tst-array1.c (init): Set constructor priority to 1000.
38621 (fini): Set destructor priority to 1000.
38622 * elf/tst-array2dep.c: Likewise.
38624 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38627 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38628 (_IO_new_file_xsputn): Also return EOF if none of the input
38629 data was written when overflow failed.
38630 * libio/iopadn.c (_IO_padn): Likewise.
38631 * libio/iowpadn.c (_IO_wpadn): Likewise.
38632 * stdio-common/tst-put-error.c: Add copyright notice.
38633 (do_test): Add case for printing padded string.
38634 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38635 _IO_padn returned error.
38636 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38637 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38640 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38642 * libio/libioP.h: Add comment note that the references to C++
38643 bits are now obsolete.
38645 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38647 * math/libm-test.inc (check_complex): Use asprintf.
38649 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38651 * debug/pcprofiledump.c (print_version): Update copyright year.
38652 * malloc/memusagestat.c (print_version): Likewise.
38654 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38657 * elf/Makefile (tests): Add tst-audit8.
38658 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38659 ($(objpfx)tst-audit8.out): New target.
38660 (tst-audit8-ENV): New variable.
38661 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38662 audit if l_reloc_result is NULL.
38663 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38664 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38665 * elf/tst-audit8.c: New file.
38667 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38669 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38670 * misc/Makefile (CFLAGS-select.c): Define.
38671 * posix/Makefile (CFLAGS-pause.c): Define.
38673 2012-11-13 David S. Miller <davem@davemloft.net>
38675 * crypt/Makefile: Move test targets after toplevel Rules
38676 inclusion. Grab any necessary sysdep routines when linking.
38677 * crypt/md5.c (md5_process_block): Remove define, we will always
38678 name it __md5_process_block.
38679 (md5_finish_ctx): Update md5_process_block call.
38680 (md5_stream): Likewise.
38681 (md5_process_bytes): Likewise.
38682 (md5_process_block): Rename to __md5_process_block and move to ...
38683 * crypt/md5-block.c: ... here.
38684 * crypt/sha256.c (sha256_process_block): Move to ...
38685 * crypt/sha256-block.c: ... here.
38686 * crypt/sha512.c (sha512_process_block): Move to ...
38687 * crypt/sha512-block.c: ... here.
38688 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38690 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38691 * sysdeps/sparc/sparc64/multiarch/Makefile
38692 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38694 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38695 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38697 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38698 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38699 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38700 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38701 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38702 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38703 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38704 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38705 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38707 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38708 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38710 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38712 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38714 * timezone/tzselect.ksh: Update from tzcode git revision
38715 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38716 * timezone/zdump.c: Likewise.
38717 * timezone/zic.c: Likewise.
38718 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38719 in TZVERSION setting, not $(PKGVERSION).
38720 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38721 REPORT_BUGS_TO settings.
38724 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38727 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38729 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38730 detection to immediately after _FP_ROUND().
38731 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38734 2012-11-11 David S. Miller <davem@davemloft.net>
38736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38738 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38739 __close rather than their public counterparts.
38741 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38743 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38745 [UNIX98] (sem_timedwait): Do not expect.
38746 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38747 [XPG4 || UNIX98] (sockatmark): Do not expect.
38748 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38749 (clock_getcpuclockid): Do not expect.
38750 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38751 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38753 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38754 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38755 [UNIX98] (vwscanf): Likewise.
38756 [UNIX98] (vswscanf): Likewise.
38758 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38760 * timezone/version.h: Remove file.
38761 * timezone/README: Do not refer to version.h.
38762 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38763 $(objpfx)version.h.
38764 ($(objpfx)zdump.o): Likewise.
38765 ($(objpfx)version.h): New target.
38767 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38769 * timezone/README: Don't mention modification to tzselect.ksh.
38770 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38771 work on unmodified tzselect.ksh. Substitute version numbers in
38774 * Makefile (format-me): Remove.
38775 (INSTALL): Adjust indentation. Use commands directly instead of
38776 using $(format-me).
38778 * aclocal.m4 (ACX_PKGVERSION): New macro.
38779 (ACX_BUGURL): Likewise.
38780 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38781 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38782 (REPORT_BUGS_TO): Likewise.
38783 * configure: Regenerated.
38784 * config.h.in (PKGVERSION): New macro.
38785 (REPORT_BUGS_TO): Likewise.
38786 * config.make.in (PKGVERSION): New variable.
38787 (PKGVERSION_TEXI): Likewise.
38788 (REPORT_BUGS_TO): Likewise.
38789 (REPORT_BUGS_TEXI): Likewise.
38790 * Makefile (format-me): Use -I$(common-objpfx)manual.
38791 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38792 ($(common-objpfx)manual/%): New target.
38793 (manual/%): Remove target.
38794 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38795 (print_version): Use PKGVERSION.
38796 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38797 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38798 and REPORT_BUGS_TO.
38799 ($(objpfx)xtrace): Likewise.
38800 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38801 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38802 (print_version): Use PKGVERSION.
38803 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38804 (do_version): Use PKGVERSION.
38805 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38807 (common-ldd-rewrite): Likewise.
38808 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38809 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38810 (print_version): Use PKGVERSION.
38811 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38812 * elf/pldd.c (argp_program_bug_address): Remove variable.
38813 (more_help): New function.
38814 (argp): Use more_help.
38815 (print_version): Use PKGVERSION.
38816 * elf/sln.c (main): Use PKGVERSION.
38817 (usage): Use REPORT_BUGS_TO.
38818 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38819 (top level): Use PKGVERSION.
38820 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38821 (print_version): Use PKGVERSION.
38822 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38823 (print_version): Use PKGVERSION.
38824 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38825 (print_version): Use PKGVERSION.
38826 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38827 (print_version): Use PKGVERSION.
38828 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38829 (print_version): Use PKGVERSION.
38830 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38831 (print_version): Use PKGVERSION.
38832 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38834 ($(objpfx)memusage): Likewise.
38835 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38836 (do_version): Use PKGVERSION.
38837 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38838 (print_version): Use PKGVERSION.
38839 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38840 ($PKGVERSION): New variable.
38841 ($REPORT_BUGS_TO): Likewise.
38842 (usage): Use $REPORT_BUGS_TO.
38843 (top level): Use $PKGVERSION.
38844 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38845 ($(objpfx)pkgvers.texi): New rule.
38846 ($(objpfx)stamp-pkgvers): Likewise.
38847 * manual/install.texi: Include pkgvers.texi.
38848 (--with-pkgversion): Document new configure option.
38849 (--with-bugurl): Likewise.
38850 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38851 than necessarily for this particular distribution. Use
38852 REPORT_BUGS_TO for where to report bugs.
38853 * INSTALL: Regenerated.
38854 * manual/libc.texinfo: Include pkgvers.texi.
38855 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38856 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38857 (print_version): Use PKGVERSION.
38858 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38859 (print_version): Use PKGVERSION.
38860 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38861 (print_version): Use PKGVERSION.
38862 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38863 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38865 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38866 (print_version): Use PKGVERSION.
38867 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38868 (print_version): Use PKGVERSION.
38869 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38872 * timezone/checktab.awk: Update from tzcode 2012i.
38873 * timezone/ialloc.c: Likewise.
38874 * timezone/private.h: Likewise.
38875 * timezone/scheck.c: Likewise.
38876 * timezone/tzfile.h: Likewise.
38877 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38878 (TZVERSION): Hardcode tzcode version number.
38879 * timezone/zdump.c: Update from tzcode 2012i.
38880 * timezone/zic.c: Likewise.
38881 * timezone/version.h: New file.
38882 * timezone/README: Describe version.h. Update upstream location.
38885 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38886 (mktemp): Enable declaration.
38887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38888 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38904 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38905 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38906 for copies of such integer values.
38907 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38908 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38910 2012-11-09 Andreas Jaeger <aj@suse.de>
38912 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38913 definitions and declarations that are provided by
38914 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38916 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38918 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38919 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38920 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38923 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38925 * elf/elf.h: Update comment before AArch64 relocations.
38927 2012-11-07 David S. Miller <davem@davemloft.net>
38929 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38930 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38931 (__start_context): Declare.
38932 (__makecontext_ret): Delete.
38933 (__makecontext): Hook up __start_context instead of
38935 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38936 (sysdep_routines): Add __start_context when in stdlib.
38938 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38940 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38941 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38942 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38944 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38945 (READELF): New variable. Use it instead of hardcoded "readelf".
38947 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38949 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38950 * sysdeps/x86/Makefile: Here.
38951 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38952 * sysdeps/x86/tst-xmmymm.sh: This.
38954 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38956 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38958 [UNIX98] (pthread_barrier_t): Do not expect.
38959 [UNIX98] (pthread_barrierattr_t): Likewise.
38960 [UNIX98] (pthread_spinlock_t): Likewise.
38961 [UNIX98] (pthread_barrier_destroy): Likewise.
38962 [UNIX98] (pthread_barrier_init): Likewise.
38963 [UNIX98] (pthread_barrier_wait): Likewise.
38964 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38965 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38966 [UNIX98] (pthread_barrierattr_init): Likewise.
38967 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38968 [UNIX98] (pthread_getcpuclockid): Likewise.
38969 [UNIX98] (pthread_mutex_timedlock): Likewise.
38970 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38971 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38972 [UNIX98] (pthread_sigmask): Likewise.
38973 [UNIX98] (pthread_spin_destroy): Likewise.
38974 [UNIX98] (pthread_spin_init): Likewise.
38975 [UNIX98] (pthread_spin_lock): Likewise.
38976 [UNIX98] (pthread_spin_trylock): Likewise.
38977 [UNIX98] (pthread_spin_unlock): Likewise.
38978 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38980 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38981 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38982 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38983 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38984 [XPG3 || XPG4] (pthread_key_t): Likewise.
38985 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38986 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38987 [XPG3 || XPG4] (pthread_once_t): Likewise.
38988 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38989 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38990 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38991 [XPG3 || XPG4] (pthread_t): Likewise.
38993 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38995 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38997 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38998 Change function return type to int.
39000 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39001 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39002 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39003 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39004 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39005 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39006 [!POSIX] (posix_madvise): Likewise.
39007 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39009 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39010 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39011 (mode_t): Likewise.
39012 (posix_mem_offset): Likewise.
39013 (posix_typed_mem_get_info): Likewise.
39014 (posix_typed_mem_open): Likewise.
39016 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39017 Change condition to [XOPEN2K8].
39019 * conform/conformtest.pl: Preprocess allow-header data with -x c
39020 instead of from stdin.
39021 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39022 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39023 [C99-based standards] (cerfc): Likewise.
39024 [C99-based standards] (cexp2): Likewise.
39025 [C99-based standards] (cexpm1): Likewise.
39026 [C99-based standards] (clog10): Likewise.
39027 [C99-based standards] (clog1p): Likewise.
39028 [C99-based standards] (clog2): Likewise.
39029 [C99-based standards] (clgamma): Likewise.
39030 [C99-based standards] (ctgamma): Likewise.
39031 [C99-based standards] (cerff): Likewise.
39032 [C99-based standards] (cerfcf): Likewise.
39033 [C99-based standards] (cexp2f): Likewise.
39034 [C99-based standards] (cexpm1f): Likewise.
39035 [C99-based standards] (clog10f): Likewise.
39036 [C99-based standards] (clog1pf): Likewise.
39037 [C99-based standards] (clog2f): Likewise.
39038 [C99-based standards] (clgammaf): Likewise.
39039 [C99-based standards] (ctgammaf): Likewise.
39040 [C99-based standards] (cerfl): Likewise.
39041 [C99-based standards] (cerfcl): Likewise.
39042 [C99-based standards] (cexp2l): Likewise.
39043 [C99-based standards] (cexpm1l): Likewise.
39044 [C99-based standards] (clog10l): Likewise.
39045 [C99-based standards] (clog1pl): Likewise.
39046 [C99-based standards] (clog2l): Likewise.
39047 [C99-based standards] (clgammal): Likewise.
39048 [C99-based standards] (ctgammal): Likewise.
39049 * conform/data/inttypes.h-data [C99-based standards]: Include
39050 stdint.h-data. Remove all expectations for stdint.h contents.
39051 [C99-based standards] (PRI*): Do not allow.
39052 [C99-based standards] (SCN*): Likewise.
39053 [C99-based standards] (*_t): Likewise.
39054 [C99-based-standards] (PRId8): Expect macro.
39055 [C99-based-standards] (PRIi8): Likewise.
39056 [C99-based-standards] (PRIo8): Likewise.
39057 [C99-based-standards] (PRIu8): Likewise.
39058 [C99-based-standards] (PRIx8): Likewise.
39059 [C99-based-standards] (PRIX8): Likewise.
39060 [C99-based-standards] (SCNd8): Likewise.
39061 [C99-based-standards] (SCNi8): Likewise.
39062 [C99-based-standards] (SCNo8): Likewise.
39063 [C99-based-standards] (SCNu8): Likewise.
39064 [C99-based-standards] (SCNx8): Likewise.
39065 [C99-based-standards] (PRIdLEAST8): Likewise.
39066 [C99-based-standards] (PRIiLEAST8): Likewise.
39067 [C99-based-standards] (PRIoLEAST8): Likewise.
39068 [C99-based-standards] (PRIuLEAST8): Likewise.
39069 [C99-based-standards] (PRIxLEAST8): Likewise.
39070 [C99-based-standards] (PRIXLEAST8): Likewise.
39071 [C99-based-standards] (SCNdLEAST8): Likewise.
39072 [C99-based-standards] (SCNiLEAST8): Likewise.
39073 [C99-based-standards] (SCNoLEAST8): Likewise.
39074 [C99-based-standards] (SCNuLEAST8): Likewise.
39075 [C99-based-standards] (SCNxLEAST8): Likewise.
39076 [C99-based-standards] (PRIdFAST8): Likewise.
39077 [C99-based-standards] (PRIiFAST8): Likewise.
39078 [C99-based-standards] (PRIoFAST8): Likewise.
39079 [C99-based-standards] (PRIuFAST8): Likewise.
39080 [C99-based-standards] (PRIxFAST8): Likewise.
39081 [C99-based-standards] (PRIXFAST8): Likewise.
39082 [C99-based-standards] (SCNdFAST8): Likewise.
39083 [C99-based-standards] (SCNiFAST8): Likewise.
39084 [C99-based-standards] (SCNoFAST8): Likewise.
39085 [C99-based-standards] (SCNuFAST8): Likewise.
39086 [C99-based-standards] (SCNxFAST8): Likewise.
39087 [C99-based-standards] (PRId16): Likewise.
39088 [C99-based-standards] (PRIi16): Likewise.
39089 [C99-based-standards] (PRIo16): Likewise.
39090 [C99-based-standards] (PRIu16): Likewise.
39091 [C99-based-standards] (PRIx16): Likewise.
39092 [C99-based-standards] (PRIX16): Likewise.
39093 [C99-based-standards] (SCNd16): Likewise.
39094 [C99-based-standards] (SCNi16): Likewise.
39095 [C99-based-standards] (SCNo16): Likewise.
39096 [C99-based-standards] (SCNu16): Likewise.
39097 [C99-based-standards] (SCNx16): Likewise.
39098 [C99-based-standards] (PRIdLEAST16): Likewise.
39099 [C99-based-standards] (PRIiLEAST16): Likewise.
39100 [C99-based-standards] (PRIoLEAST16): Likewise.
39101 [C99-based-standards] (PRIuLEAST16): Likewise.
39102 [C99-based-standards] (PRIxLEAST16): Likewise.
39103 [C99-based-standards] (PRIXLEAST16): Likewise.
39104 [C99-based-standards] (SCNdLEAST16): Likewise.
39105 [C99-based-standards] (SCNiLEAST16): Likewise.
39106 [C99-based-standards] (SCNoLEAST16): Likewise.
39107 [C99-based-standards] (SCNuLEAST16): Likewise.
39108 [C99-based-standards] (SCNxLEAST16): Likewise.
39109 [C99-based-standards] (PRIdFAST16): Likewise.
39110 [C99-based-standards] (PRIiFAST16): Likewise.
39111 [C99-based-standards] (PRIoFAST16): Likewise.
39112 [C99-based-standards] (PRIuFAST16): Likewise.
39113 [C99-based-standards] (PRIxFAST16): Likewise.
39114 [C99-based-standards] (PRIXFAST16): Likewise.
39115 [C99-based-standards] (SCNdFAST16): Likewise.
39116 [C99-based-standards] (SCNiFAST16): Likewise.
39117 [C99-based-standards] (SCNoFAST16): Likewise.
39118 [C99-based-standards] (SCNuFAST16): Likewise.
39119 [C99-based-standards] (SCNxFAST16): Likewise.
39120 [C99-based-standards] (PRId32): Likewise.
39121 [C99-based-standards] (PRIi32): Likewise.
39122 [C99-based-standards] (PRIo32): Likewise.
39123 [C99-based-standards] (PRIu32): Likewise.
39124 [C99-based-standards] (PRIx32): Likewise.
39125 [C99-based-standards] (PRIX32): Likewise.
39126 [C99-based-standards] (SCNd32): Likewise.
39127 [C99-based-standards] (SCNi32): Likewise.
39128 [C99-based-standards] (SCNo32): Likewise.
39129 [C99-based-standards] (SCNu32): Likewise.
39130 [C99-based-standards] (SCNx32): Likewise.
39131 [C99-based-standards] (PRIdLEAST32): Likewise.
39132 [C99-based-standards] (PRIiLEAST32): Likewise.
39133 [C99-based-standards] (PRIoLEAST32): Likewise.
39134 [C99-based-standards] (PRIuLEAST32): Likewise.
39135 [C99-based-standards] (PRIxLEAST32): Likewise.
39136 [C99-based-standards] (PRIXLEAST32): Likewise.
39137 [C99-based-standards] (SCNdLEAST32): Likewise.
39138 [C99-based-standards] (SCNiLEAST32): Likewise.
39139 [C99-based-standards] (SCNoLEAST32): Likewise.
39140 [C99-based-standards] (SCNuLEAST32): Likewise.
39141 [C99-based-standards] (SCNxLEAST32): Likewise.
39142 [C99-based-standards] (PRIdFAST32): Likewise.
39143 [C99-based-standards] (PRIiFAST32): Likewise.
39144 [C99-based-standards] (PRIoFAST32): Likewise.
39145 [C99-based-standards] (PRIuFAST32): Likewise.
39146 [C99-based-standards] (PRIxFAST32): Likewise.
39147 [C99-based-standards] (PRIXFAST32): Likewise.
39148 [C99-based-standards] (SCNdFAST32): Likewise.
39149 [C99-based-standards] (SCNiFAST32): Likewise.
39150 [C99-based-standards] (SCNoFAST32): Likewise.
39151 [C99-based-standards] (SCNuFAST32): Likewise.
39152 [C99-based-standards] (SCNxFAST32): Likewise.
39153 [C99-based-standards] (PRId64): Likewise.
39154 [C99-based-standards] (PRIi64): Likewise.
39155 [C99-based-standards] (PRIo64): Likewise.
39156 [C99-based-standards] (PRIu64): Likewise.
39157 [C99-based-standards] (PRIx64): Likewise.
39158 [C99-based-standards] (PRIX64): Likewise.
39159 [C99-based-standards] (SCNd64): Likewise.
39160 [C99-based-standards] (SCNi64): Likewise.
39161 [C99-based-standards] (SCNo64): Likewise.
39162 [C99-based-standards] (SCNu64): Likewise.
39163 [C99-based-standards] (SCNx64): Likewise.
39164 [C99-based-standards] (PRIdLEAST64): Likewise.
39165 [C99-based-standards] (PRIiLEAST64): Likewise.
39166 [C99-based-standards] (PRIoLEAST64): Likewise.
39167 [C99-based-standards] (PRIuLEAST64): Likewise.
39168 [C99-based-standards] (PRIxLEAST64): Likewise.
39169 [C99-based-standards] (PRIXLEAST64): Likewise.
39170 [C99-based-standards] (SCNdLEAST64): Likewise.
39171 [C99-based-standards] (SCNiLEAST64): Likewise.
39172 [C99-based-standards] (SCNoLEAST64): Likewise.
39173 [C99-based-standards] (SCNuLEAST64): Likewise.
39174 [C99-based-standards] (SCNxLEAST64): Likewise.
39175 [C99-based-standards] (PRIdFAST64): Likewise.
39176 [C99-based-standards] (PRIiFAST64): Likewise.
39177 [C99-based-standards] (PRIoFAST64): Likewise.
39178 [C99-based-standards] (PRIuFAST64): Likewise.
39179 [C99-based-standards] (PRIxFAST64): Likewise.
39180 [C99-based-standards] (PRIXFAST64): Likewise.
39181 [C99-based-standards] (SCNdFAST64): Likewise.
39182 [C99-based-standards] (SCNiFAST64): Likewise.
39183 [C99-based-standards] (SCNoFAST64): Likewise.
39184 [C99-based-standards] (SCNuFAST64): Likewise.
39185 [C99-based-standards] (SCNxFAST64): Likewise.
39186 [C99-based-standards] (PRIdMAX): Likewise.
39187 [C99-based-standards] (PRIiMAX): Likewise.
39188 [C99-based-standards] (PRIoMAX): Likewise.
39189 [C99-based-standards] (PRIuMAX): Likewise.
39190 [C99-based-standards] (PRIxMAX): Likewise.
39191 [C99-based-standards] (PRIXMAX): Likewise.
39192 [C99-based-standards] (SCNdMAX): Likewise.
39193 [C99-based-standards] (SCNiMAX): Likewise.
39194 [C99-based-standards] (SCNoMAX): Likewise.
39195 [C99-based-standards] (SCNuMAX): Likewise.
39196 [C99-based-standards] (SCNxMAX): Likewise.
39197 [C99-based-standards] (PRIdPTR): Likewise.
39198 [C99-based-standards] (PRIiPTR): Likewise.
39199 [C99-based-standards] (PRIoPTR): Likewise.
39200 [C99-based-standards] (PRIuPTR): Likewise.
39201 [C99-based-standards] (PRIxPTR): Likewise.
39202 [C99-based-standards] (PRIXPTR): Likewise.
39203 [C99-based-standards] (SCNdPTR): Likewise.
39204 [C99-based-standards] (SCNiPTR): Likewise.
39205 [C99-based-standards] (SCNoPTR): Likewise.
39206 [C99-based-standards] (SCNuPTR): Likewise.
39207 [C99-based-standards] (SCNxPTR): Likewise.
39208 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39210 * conform/data/stdint.h-data: Update comments to clarify
39212 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39214 [C99-based standards] (INT8_MAX): Likewise.
39215 [C99-based standards] (INT16_MIN): Likewise.
39216 [C99-based standards] (INT16_MAX): Likewise.
39217 [C99-based standards] (INT32_MIN): Likewise.
39218 [C99-based standards] (INT32_MAX): Likewise.
39219 [C99-based standards] (INT64_MIN): Likewise.
39220 [C99-based standards] (INT64_MAX): Likewise.
39221 [C99-based standards] (UINT8_MAX): Likewise.
39222 [C99-based standards] (UINT16_MAX): Likewise.
39223 [C99-based standards] (UINT32_MAX): Likewise.
39224 [C99-based standards] (UINT64_MAX): Likewise.
39225 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39226 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39227 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39228 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39229 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39230 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39231 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39232 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39233 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39234 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39235 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39236 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39237 [C99-based standards] (INT_FAST8_MIN): Likewise.
39238 [C99-based standards] (INT_FAST8_MAX): Likewise.
39239 [C99-based standards] (INT_FAST16_MIN): Likewise.
39240 [C99-based standards] (INT_FAST16_MAX): Likewise.
39241 [C99-based standards] (INT_FAST32_MIN): Likewise.
39242 [C99-based standards] (INT_FAST32_MAX): Likewise.
39243 [C99-based standards] (INT_FAST64_MIN): Likewise.
39244 [C99-based standards] (INT_FAST64_MAX): Likewise.
39245 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39246 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39247 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39248 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39249 [C99-based standards] (INTPTR_MIN): Likewise.
39250 [C99-based standards] (INTPTR_MAX): Likewise.
39251 [C99-based standards] (UINTPTR_MAX): Likewise.
39252 [C99-based standards] (INTMAX_MIN): Likewise.
39253 [C99-based standards] (INTMAX_MAX): Likewise.
39254 [C99-based standards] (UINTMAX_MAX): Likewise.
39255 [C99-based standards] (PTRDIFF_MIN): Likewise.
39256 [C99-based standards] (PTRDIFF_MAX): Likewise.
39257 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39258 [C99-based standards] (SIZE_MAX): Likewise.
39259 [C99-based standards] (WCHAR_MAX): Likewise.
39260 [C99-based standards] (WINT_MAX): Likewise.
39261 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39262 constraint on value.
39263 [C99-based standards] (WCHAR_MIN): Likewise.
39264 [C99-based standards] (WINT_MIN): Likewise.
39265 [C99-based standards] (*_t): Allow.
39266 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39267 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39268 Include math.h-data and complex.h-data. Remove all expectations
39269 of math.h and complex.h contents.
39270 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39272 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39273 (struct tm): Expect tag.
39274 [C99-based-standards] (wcstof): Expect function.
39275 [C99-based-standards] (wcstold): Likewise.
39276 [C99-based-standards] (wcstoll): Likewise.
39277 [C99-based-standards] (wcstoull): Likewise.
39278 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39279 macro-int-constant. Specify type.
39280 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39281 constraint on value.
39282 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39284 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39286 [ISO C standards]: Do not allow headers.
39287 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39288 wcs[abcdefghijklmnopqrstuvwxyz]*.
39289 [ISO C standards] (*_t): Do not allow.
39290 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39292 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39293 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39295 [ISO C standards]: Do not allow headers.
39296 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39297 is[abcdefghijklmnopqrstuvwxyz]*.
39298 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39299 to[abcdefghijklmnopqrstuvwxyz]*.
39300 [ISO C standards] (*_t): Do not allow.
39301 * conform/data/stdalign.h-data: New file.
39302 * conform/data/stdbool.h-data: Likewise.
39303 * conform/data/stdnoreturn.h-data: Likewise.
39305 2012-11-07 Roland McGrath <roland@hack.frob.com>
39308 * manual/filesys.texi (Directory Entries): Typo fix.
39309 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39311 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39313 * elf/elf.h (EM_AARCH64): New macro.
39314 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39315 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39316 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39317 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39318 (R_AARCH64_TLSDESC): Likewise.
39319 (NT_ARM_TLS): Likewise.
39320 (NT_ARM_HW_BREAK): Likewise.
39321 (NT_ARM_HW_WATCH): Likewise.
39323 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39326 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39327 (__ieee754_powl): Saturate nonzero exponents with absolute value
39328 below 0x1p-79 to +/- 0x1p-79.
39329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39330 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39331 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39332 nonzero exponents with absolute value below 0x1p-32 to +/-
39334 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39335 (__ieee754_powl): Saturate nonzero exponents with absolute value
39336 below 0x1p-79 to +/- 0x1p-79.
39337 * math/libm-test.inc (pow_test): Add more tests.
39339 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39341 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39342 _dl_s390_cap_flags with kernel. Increase string length.
39343 (_dl_s390_platforms): Add z196 and zEC12.
39345 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39347 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39348 Change XOPEN21K to XOPEN2K.
39350 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39352 * string/memmove.c: Use memcpy when possible.
39354 2012-11-06 Andreas Jaeger <aj@suse.de>
39356 * po/eo.po: Update from translation team.
39358 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39362 exponent and small x and y exponents, scale x or y up. Increase
39363 by 2 the exponent used in scaling up.
39364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39365 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39366 * math/libm-test.inc (fma_test): Add more tests.
39367 (fma_test_towardzero): Likewise.
39368 (fma_test_downward): Likewise.
39369 (fma_test_upward): Likewise.
39371 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39374 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39378 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39379 namespace for names of struct fields.
39380 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39382 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39383 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39385 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39388 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39390 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39392 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39396 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39399 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39403 definitely overflow as x * y not x * y + z.
39404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39406 * math/libm-test.inc (fma_test): Add more tests.
39407 (fma_test_towardzero): Likewise.
39408 (fma_test_downward): Likewise.
39409 (fma_test_upward): Likewise.
39411 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39415 * include/stub-tag.h: Remove file.
39416 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39418 * manual/maint.texi (Porting): Don't reference it.
39419 * Makerules ($(objpfx)stubs): Likewise.
39420 * dirent/closedir.c: Don't include <stub-tag.h>.
39421 * dirent/dirfd.c: Likewise.
39422 * dirent/fdopendir.c: Likewise.
39423 * dirent/getdents.c: Likewise.
39424 * dirent/getdents64.c: Likewise.
39425 * dirent/opendir.c: Likewise.
39426 * dirent/readdir.c: Likewise.
39427 * dirent/readdir64.c: Likewise.
39428 * dirent/readdir64_r.c: Likewise.
39429 * dirent/readdir_r.c: Likewise.
39430 * dirent/rewinddir.c: Likewise.
39431 * dirent/seekdir.c: Likewise.
39432 * dirent/telldir.c: Likewise.
39433 * gmon/profil.c: Likewise.
39434 * grp/setgroups.c: Likewise.
39435 * inet/if_index.c: Likewise.
39436 * io/access.c: Likewise.
39437 * io/chdir.c: Likewise.
39438 * io/chmod.c: Likewise.
39439 * io/chown.c: Likewise.
39440 * io/close.c: Likewise.
39441 * io/dup.c: Likewise.
39442 * io/dup2.c: Likewise.
39443 * io/dup3.c: Likewise.
39444 * io/euidaccess.c: Likewise.
39445 * io/faccessat.c: Likewise.
39446 * io/fchdir.c: Likewise.
39447 * io/fchmod.c: Likewise.
39448 * io/fchmodat.c: Likewise.
39449 * io/fchown.c: Likewise.
39450 * io/fchownat.c: Likewise.
39451 * io/fcntl.c: Likewise.
39452 * io/flock.c: Likewise.
39453 * io/fstatfs.c: Likewise.
39454 * io/fstatfs64.c: Likewise.
39455 * io/fstatvfs.c: Likewise.
39456 * io/fstatvfs64.c: Likewise.
39457 * io/futimens.c: Likewise.
39458 * io/fxstat.c: Likewise.
39459 * io/fxstat64.c: Likewise.
39460 * io/fxstatat.c: Likewise.
39461 * io/fxstatat64.c: Likewise.
39462 * io/getcwd.c: Likewise.
39463 * io/isatty.c: Likewise.
39464 * io/lchmod.c: Likewise.
39465 * io/lchown.c: Likewise.
39466 * io/link.c: Likewise.
39467 * io/linkat.c: Likewise.
39468 * io/lseek.c: Likewise.
39469 * io/lseek64.c: Likewise.
39470 * io/lxstat64.c: Likewise.
39471 * io/mkdir.c: Likewise.
39472 * io/mkdirat.c: Likewise.
39473 * io/mkfifo.c: Likewise.
39474 * io/mkfifoat.c: Likewise.
39475 * io/open.c: Likewise.
39476 * io/open64.c: Likewise.
39477 * io/openat.c: Likewise.
39478 * io/openat64.c: Likewise.
39479 * io/pipe.c: Likewise.
39480 * io/pipe2.c: Likewise.
39481 * io/poll.c: Likewise.
39482 * io/posix_fadvise.c: Likewise.
39483 * io/posix_fadvise64.c: Likewise.
39484 * io/posix_fallocate.c: Likewise.
39485 * io/posix_fallocate64.c: Likewise.
39486 * io/read.c: Likewise.
39487 * io/readlink.c: Likewise.
39488 * io/readlinkat.c: Likewise.
39489 * io/rmdir.c: Likewise.
39490 * io/sendfile.c: Likewise.
39491 * io/sendfile64.c: Likewise.
39492 * io/statfs.c: Likewise.
39493 * io/statfs64.c: Likewise.
39494 * io/statvfs.c: Likewise.
39495 * io/statvfs64.c: Likewise.
39496 * io/symlink.c: Likewise.
39497 * io/symlinkat.c: Likewise.
39498 * io/ttyname.c: Likewise.
39499 * io/ttyname_r.c: Likewise.
39500 * io/umask.c: Likewise.
39501 * io/unlink.c: Likewise.
39502 * io/unlinkat.c: Likewise.
39503 * io/utime.c: Likewise.
39504 * io/utimensat.c: Likewise.
39505 * io/write.c: Likewise.
39506 * io/xmknod.c: Likewise.
39507 * io/xmknodat.c: Likewise.
39508 * io/xstat.c: Likewise.
39509 * io/xstat64.c: Likewise.
39510 * login/getpt.c: Likewise.
39511 * login/grantpt.c: Likewise.
39512 * login/unlockpt.c: Likewise.
39513 * math/e_acoshl.c: Likewise.
39514 * math/e_acosl.c: Likewise.
39515 * math/e_asinl.c: Likewise.
39516 * math/e_atan2l.c: Likewise.
39517 * math/e_atanhl.c: Likewise.
39518 * math/e_coshl.c: Likewise.
39519 * math/e_expl.c: Likewise.
39520 * math/e_fmodl.c: Likewise.
39521 * math/e_gammal_r.c: Likewise.
39522 * math/e_hypotl.c: Likewise.
39523 * math/e_j0l.c: Likewise.
39524 * math/e_j1l.c: Likewise.
39525 * math/e_jnl.c: Likewise.
39526 * math/e_lgammal_r.c: Likewise.
39527 * math/e_log10l.c: Likewise.
39528 * math/e_log2l.c: Likewise.
39529 * math/e_logl.c: Likewise.
39530 * math/e_powl.c: Likewise.
39531 * math/e_rem_pio2l.c: Likewise.
39532 * math/e_sinhl.c: Likewise.
39533 * math/e_sqrtl.c: Likewise.
39534 * math/fclrexcpt.c: Likewise.
39535 * math/fedisblxcpt.c: Likewise.
39536 * math/feenablxcpt.c: Likewise.
39537 * math/fegetenv.c: Likewise.
39538 * math/fegetexcept.c: Likewise.
39539 * math/fegetround.c: Likewise.
39540 * math/feholdexcpt.c: Likewise.
39541 * math/fesetenv.c: Likewise.
39542 * math/fesetround.c: Likewise.
39543 * math/feupdateenv.c: Likewise.
39544 * math/fgetexcptflg.c: Likewise.
39545 * math/fraiseexcpt.c: Likewise.
39546 * math/fsetexcptflg.c: Likewise.
39547 * math/ftestexcept.c: Likewise.
39548 * math/k_cosl.c: Likewise.
39549 * math/k_rem_pio2l.c: Likewise.
39550 * math/k_sinl.c: Likewise.
39551 * math/k_tanl.c: Likewise.
39552 * math/s_asinhl.c: Likewise.
39553 * math/s_atanl.c: Likewise.
39554 * math/s_cbrtl.c: Likewise.
39555 * math/s_erfl.c: Likewise.
39556 * math/s_expm1l.c: Likewise.
39557 * math/s_log1pl.c: Likewise.
39558 * math/s_tanhl.c: Likewise.
39559 * misc/acct.c: Likewise.
39560 * misc/brk.c: Likewise.
39561 * misc/chflags.c: Likewise.
39562 * misc/chroot.c: Likewise.
39563 * misc/fchflags.c: Likewise.
39564 * misc/fgetxattr.c: Likewise.
39565 * misc/flistxattr.c: Likewise.
39566 * misc/fremovexattr.c: Likewise.
39567 * misc/fsetxattr.c: Likewise.
39568 * misc/fsync.c: Likewise.
39569 * misc/ftruncate.c: Likewise.
39570 * misc/futimes.c: Likewise.
39571 * misc/futimesat.c: Likewise.
39572 * misc/getdomain.c: Likewise.
39573 * misc/getdtsz.c: Likewise.
39574 * misc/gethostid.c: Likewise.
39575 * misc/gethostname.c: Likewise.
39576 * misc/getloadavg.c: Likewise.
39577 * misc/getpagesize.c: Likewise.
39578 * misc/getsysstats.c: Likewise.
39579 * misc/getxattr.c: Likewise.
39580 * misc/gtty.c: Likewise.
39581 * misc/ioctl.c: Likewise.
39582 * misc/lgetxattr.c: Likewise.
39583 * misc/listxattr.c: Likewise.
39584 * misc/llistxattr.c: Likewise.
39585 * misc/lremovexattr.c: Likewise.
39586 * misc/lsetxattr.c: Likewise.
39587 * misc/lutimes.c: Likewise.
39588 * misc/madvise.c: Likewise.
39589 * misc/mincore.c: Likewise.
39590 * misc/mlock.c: Likewise.
39591 * misc/mlockall.c: Likewise.
39592 * misc/mmap.c: Likewise.
39593 * misc/mprotect.c: Likewise.
39594 * misc/msync.c: Likewise.
39595 * misc/munlock.c: Likewise.
39596 * misc/munlockall.c: Likewise.
39597 * misc/munmap.c: Likewise.
39598 * misc/preadv.c: Likewise.
39599 * misc/preadv64.c: Likewise.
39600 * misc/ptrace.c: Likewise.
39601 * misc/pwritev.c: Likewise.
39602 * misc/pwritev64.c: Likewise.
39603 * misc/readv.c: Likewise.
39604 * misc/reboot.c: Likewise.
39605 * misc/remap_file_pages.c: Likewise.
39606 * misc/removexattr.c: Likewise.
39607 * misc/revoke.c: Likewise.
39608 * misc/select.c: Likewise.
39609 * misc/setdomain.c: Likewise.
39610 * misc/setegid.c: Likewise.
39611 * misc/seteuid.c: Likewise.
39612 * misc/sethostid.c: Likewise.
39613 * misc/sethostname.c: Likewise.
39614 * misc/setregid.c: Likewise.
39615 * misc/setreuid.c: Likewise.
39616 * misc/setxattr.c: Likewise.
39617 * misc/sstk.c: Likewise.
39618 * misc/stty.c: Likewise.
39619 * misc/swapoff.c: Likewise.
39620 * misc/swapon.c: Likewise.
39621 * misc/sync.c: Likewise.
39622 * misc/syncfs.c: Likewise.
39623 * misc/syscall.c: Likewise.
39624 * misc/truncate.c: Likewise.
39625 * misc/ualarm.c: Likewise.
39626 * misc/usleep.c: Likewise.
39627 * misc/ustat.c: Likewise.
39628 * misc/utimes.c: Likewise.
39629 * misc/vhangup.c: Likewise.
39630 * misc/writev.c: Likewise.
39631 * posix/_exit.c: Likewise.
39632 * posix/alarm.c: Likewise.
39633 * posix/execve.c: Likewise.
39634 * posix/fexecve.c: Likewise.
39635 * posix/fork.c: Likewise.
39636 * posix/fpathconf.c: Likewise.
39637 * posix/getaddrinfo.c: Likewise.
39638 * posix/getegid.c: Likewise.
39639 * posix/geteuid.c: Likewise.
39640 * posix/getgid.c: Likewise.
39641 * posix/getgroups.c: Likewise.
39642 * posix/getlogin.c: Likewise.
39643 * posix/getlogin_r.c: Likewise.
39644 * posix/getpgid.c: Likewise.
39645 * posix/getpid.c: Likewise.
39646 * posix/getppid.c: Likewise.
39647 * posix/getresgid.c: Likewise.
39648 * posix/getresuid.c: Likewise.
39649 * posix/getsid.c: Likewise.
39650 * posix/getuid.c: Likewise.
39651 * posix/glob64.c: Likewise.
39652 * posix/nanosleep.c: Likewise.
39653 * posix/pathconf.c: Likewise.
39654 * posix/pause.c: Likewise.
39655 * posix/posix_madvise.c: Likewise.
39656 * posix/pread.c: Likewise.
39657 * posix/pread64.c: Likewise.
39658 * posix/pwrite.c: Likewise.
39659 * posix/pwrite64.c: Likewise.
39660 * posix/sched_getaffinity.c: Likewise.
39661 * posix/sched_getp.c: Likewise.
39662 * posix/sched_gets.c: Likewise.
39663 * posix/sched_primax.c: Likewise.
39664 * posix/sched_primin.c: Likewise.
39665 * posix/sched_rr_gi.c: Likewise.
39666 * posix/sched_setaffinity.c: Likewise.
39667 * posix/sched_setp.c: Likewise.
39668 * posix/sched_sets.c: Likewise.
39669 * posix/sched_yield.c: Likewise.
39670 * posix/setgid.c: Likewise.
39671 * posix/setlogin.c: Likewise.
39672 * posix/setpgid.c: Likewise.
39673 * posix/setresgid.c: Likewise.
39674 * posix/setresuid.c: Likewise.
39675 * posix/setsid.c: Likewise.
39676 * posix/setuid.c: Likewise.
39677 * posix/sleep.c: Likewise.
39678 * posix/spawni.c: Likewise.
39679 * posix/sysconf.c: Likewise.
39680 * posix/times.c: Likewise.
39681 * posix/wait.c: Likewise.
39682 * posix/wait3.c: Likewise.
39683 * posix/wait4.c: Likewise.
39684 * posix/waitpid.c: Likewise.
39685 * resolv/gai_sigqueue.c: Likewise.
39686 * resource/getpriority.c: Likewise.
39687 * resource/getrlimit.c: Likewise.
39688 * resource/getrusage.c: Likewise.
39689 * resource/nice.c: Likewise.
39690 * resource/setpriority.c: Likewise.
39691 * resource/setrlimit.c: Likewise.
39692 * resource/ulimit.c: Likewise.
39693 * rt/aio_cancel.c: Likewise.
39694 * rt/aio_fsync.c: Likewise.
39695 * rt/aio_read.c: Likewise.
39696 * rt/aio_sigqueue.c: Likewise.
39697 * rt/aio_suspend.c: Likewise.
39698 * rt/aio_write.c: Likewise.
39699 * rt/clock_getres.c: Likewise.
39700 * rt/clock_gettime.c: Likewise.
39701 * rt/clock_nanosleep.c: Likewise.
39702 * rt/clock_settime.c: Likewise.
39703 * rt/lio_listio.c: Likewise.
39704 * rt/mq_close.c: Likewise.
39705 * rt/mq_getattr.c: Likewise.
39706 * rt/mq_notify.c: Likewise.
39707 * rt/mq_open.c: Likewise.
39708 * rt/mq_receive.c: Likewise.
39709 * rt/mq_send.c: Likewise.
39710 * rt/mq_setattr.c: Likewise.
39711 * rt/mq_timedreceive.c: Likewise.
39712 * rt/mq_timedsend.c: Likewise.
39713 * rt/mq_unlink.c: Likewise.
39714 * rt/shm_open.c: Likewise.
39715 * rt/shm_unlink.c: Likewise.
39716 * rt/timer_create.c: Likewise.
39717 * rt/timer_delete.c: Likewise.
39718 * rt/timer_getoverr.c: Likewise.
39719 * rt/timer_gettime.c: Likewise.
39720 * rt/timer_settime.c: Likewise.
39721 * setjmp/__longjmp.c: Likewise.
39722 * setjmp/setjmp.c: Likewise.
39723 * signal/kill.c: Likewise.
39724 * signal/killpg.c: Likewise.
39725 * signal/raise.c: Likewise.
39726 * signal/sigaction.c: Likewise.
39727 * signal/sigaltstack.c: Likewise.
39728 * signal/sigblock.c: Likewise.
39729 * signal/sigignore.c: Likewise.
39730 * signal/sigintr.c: Likewise.
39731 * signal/signal.c: Likewise.
39732 * signal/sigpause.c: Likewise.
39733 * signal/sigpending.c: Likewise.
39734 * signal/sigqueue.c: Likewise.
39735 * signal/sigreturn.c: Likewise.
39736 * signal/sigset.c: Likewise.
39737 * signal/sigsetmask.c: Likewise.
39738 * signal/sigstack.c: Likewise.
39739 * signal/sigsuspend.c: Likewise.
39740 * signal/sigtimedwait.c: Likewise.
39741 * signal/sigvec.c: Likewise.
39742 * signal/sigwait.c: Likewise.
39743 * signal/sigwaitinfo.c: Likewise.
39744 * signal/sysv_signal.c: Likewise.
39745 * socket/accept.c: Likewise.
39746 * socket/accept4.c: Likewise.
39747 * socket/bind.c: Likewise.
39748 * socket/connect.c: Likewise.
39749 * socket/getpeername.c: Likewise.
39750 * socket/getsockname.c: Likewise.
39751 * socket/getsockopt.c: Likewise.
39752 * socket/isfdtype.c: Likewise.
39753 * socket/listen.c: Likewise.
39754 * socket/recv.c: Likewise.
39755 * socket/recvfrom.c: Likewise.
39756 * socket/recvmsg.c: Likewise.
39757 * socket/send.c: Likewise.
39758 * socket/sendmsg.c: Likewise.
39759 * socket/sendto.c: Likewise.
39760 * socket/setsockopt.c: Likewise.
39761 * socket/shutdown.c: Likewise.
39762 * socket/sockatmark.c: Likewise.
39763 * socket/socket.c: Likewise.
39764 * socket/socketpair.c: Likewise.
39765 * stdio-common/ctermid.c: Likewise.
39766 * stdio-common/cuserid.c: Likewise.
39767 * stdio-common/remove.c: Likewise.
39768 * stdio-common/rename.c: Likewise.
39769 * stdio-common/renameat.c: Likewise.
39770 * stdio-common/tempname.c: Likewise.
39771 * stdlib/getcontext.c: Likewise.
39772 * stdlib/makecontext.c: Likewise.
39773 * stdlib/setcontext.c: Likewise.
39774 * stdlib/swapcontext.c: Likewise.
39775 * stdlib/system.c: Likewise.
39776 * streams/fattach.c: Likewise.
39777 * streams/fdetach.c: Likewise.
39778 * streams/getmsg.c: Likewise.
39779 * streams/getpmsg.c: Likewise.
39780 * streams/putmsg.c: Likewise.
39781 * streams/putpmsg.c: Likewise.
39782 * sysdeps/unix/bsd/getpt.c: Likewise.
39783 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39784 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39785 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39788 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39789 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39790 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39791 * sysvipc/msgctl.c: Likewise.
39792 * sysvipc/msgget.c: Likewise.
39793 * sysvipc/msgrcv.c: Likewise.
39794 * sysvipc/msgsnd.c: Likewise.
39795 * sysvipc/semctl.c: Likewise.
39796 * sysvipc/semget.c: Likewise.
39797 * sysvipc/semop.c: Likewise.
39798 * sysvipc/semtimedop.c: Likewise.
39799 * sysvipc/shmat.c: Likewise.
39800 * sysvipc/shmctl.c: Likewise.
39801 * sysvipc/shmdt.c: Likewise.
39802 * sysvipc/shmget.c: Likewise.
39803 * termios/tcdrain.c: Likewise.
39804 * termios/tcflow.c: Likewise.
39805 * termios/tcflush.c: Likewise.
39806 * termios/tcgetattr.c: Likewise.
39807 * termios/tcgetpgrp.c: Likewise.
39808 * termios/tcsendbrk.c: Likewise.
39809 * termios/tcsetattr.c: Likewise.
39810 * termios/tcsetpgrp.c: Likewise.
39811 * time/adjtime.c: Likewise.
39812 * time/clock.c: Likewise.
39813 * time/getitimer.c: Likewise.
39814 * time/gettimeofday.c: Likewise.
39815 * time/setitimer.c: Likewise.
39816 * time/settimeofday.c: Likewise.
39817 * time/stime.c: Likewise.
39818 * time/time.c: Likewise.
39820 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39822 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39825 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39827 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39829 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39833 FE_TONEAREST before applying Dekker multiplication and Knuth
39834 addition. Clear inexact exceptions and check for exact zero
39835 results afterwards.
39836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39837 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39839 * math/libm-test.inc (fma_test): Add more tests.
39840 (fma_test_towardzero): Likewise.
39841 (fma_test_downward): Likewise.
39842 (fma_test_upward): Likewise.
39843 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39845 (libc_fesetround): New macro.
39846 (libc_fesetroundf): Likewise.
39847 (libc_fesetroundl): Likewise.
39848 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39850 (libc_fesetround_387): Likewise.
39851 (libc_fesetroundf): New macro.
39852 (libc_fesetround): Likewise.
39853 (libc_fesetroundl): Likewise.
39854 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39856 (libc_fesetroundf): New macro.
39857 (libc_fesetround): Likewise.
39858 (libc_fesetroundl): Likewise.
39859 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39860 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39861 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39863 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39864 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39866 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39867 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39869 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39873 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39874 integer constant usable in #if and use that to give value to enum
39876 (FE_DIVBYZERO): Likewise.
39877 (FE_UNDERFLOW): Likewise.
39878 (FE_OVERFLOW): Likewise.
39879 (FE_INVALID): Likewise.
39880 (FE_INVALID_SNAN): Likewise.
39881 (FE_INVALID_ISI): Likewise.
39882 (FE_INVALID_IDI): Likewise.
39883 (FE_INVALID_ZDZ): Likewise.
39884 (FE_INVALID_IMZ): Likewise.
39885 (FE_INVALID_COMPARE): Likewise.
39886 (FE_INVALID_SOFTWARE): Likewise.
39887 (FE_INVALID_SQRT): Likewise.
39888 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39889 (FE_TONEAREST): Likewise.
39890 (FE_TOWARDZERO): Likewise.
39891 (FE_UPWARD): Likewise.
39892 (FE_DOWNWARD): Likewise.
39893 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39894 (FE_DIVBYZERO): Likewise.
39895 (FE_OVERFLOW): Likewise.
39896 (FE_UNDERFLOW): Likewise.
39897 (FE_INEXACT): Likewise.
39898 (FE_TONEAREST): Likewise.
39899 (FE_DOWNWARD): Likewise.
39900 (FE_UPWARD): Likewise.
39901 (FE_TOWARDZERO): Likewise.
39902 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39903 (FE_UNDERFLOW): Likewise.
39904 (FE_OVERFLOW): Likewise.
39905 (FE_DIVBYZERO): Likewise.
39906 (FE_INVALID): Likewise.
39907 (FE_TONEAREST): Likewise.
39908 (FE_TOWARDZERO): Likewise.
39909 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39910 (FE_OVERFLOW): Likewise.
39911 (FE_UNDERFLOW): Likewise.
39912 (FE_DIVBYZERO): Likewise.
39913 (FE_INEXACT): Likewise.
39914 (FE_TONEAREST): Likewise.
39915 (FE_TOWARDZERO): Likewise.
39916 (FE_UPWARD): Likewise.
39917 (FE_DOWNWARD): Likewise.
39918 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39919 (FE_DIVBYZERO): Likewise.
39920 (FE_OVERFLOW): Likewise.
39921 (FE_UNDERFLOW): Likewise.
39922 (FE_INEXACT): Likewise.
39923 (FE_TONEAREST): Likewise.
39924 (FE_DOWNWARD): Likewise.
39925 (FE_UPWARD): Likewise.
39926 (FE_TOWARDZERO): Likewise.
39928 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39930 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39932 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39934 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39935 commands. Quote $PWD.
39936 (blacklist_exports): Don't use remove_newlines. Replace "declare
39938 (remove_newlines): Remove.
39940 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39942 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39943 * stdlib/stdlib.h (atof): Moved to ...
39944 * include/bits/stdlib-float.h: Here. New file.
39945 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39946 * stdlib/bits/stdlib-float.h: New file.
39947 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39949 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39952 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39954 * conform/conformtest.pl (@headers): Add fenv.h.
39955 * conform/data/fenv.h-data: New file.
39956 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39957 include of <math/fenv.h>.
39959 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39960 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39961 && !UNIX98]. Enables tests for XOPEN2K8.
39962 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39963 POSIX2008]: Likewise.
39965 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39966 (struct rusage): Do not expect type or its members.
39969 * math/math.h (FP_NAN): Define macro to integer constant usable in
39970 #if and use that to give value to enum constant.
39971 (FP_INFINITE): Likewise.
39972 (FP_ZERO): Likewise.
39973 (FP_SUBNORMAL): Likewise.
39974 (FP_NORMAL): Likewise.
39976 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39978 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39979 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39982 2012-11-02 Roland McGrath <roland@hack.frob.com>
39984 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39985 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39986 autoconf-time if not.
39987 * configure.in: Remove AC_PREREQ.
39989 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39991 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39992 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39993 of the internal implementation.
39995 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39997 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39998 except include of <misc/sys/syslog.h>.
40000 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40003 function returns with a NULL context exit with zero.
40005 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40007 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40009 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40011 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40012 (run_program_cmd): This.
40013 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40014 (tst_langinfo): New variable. Use it.
40016 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40018 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40019 floating point opcodes.
40021 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40023 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40026 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40028 * sysdeps/mach/hurd/powerpc: Remove directory.
40029 * sysdeps/mach/powerpc: Likewise.
40031 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40033 * scripts/check-local-headers.sh: Ignore c++ headers.
40035 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40037 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40038 __libc_cleanup_region_start argument.
40040 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40045 x * y using scaling, not as x * y + z.
40046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40048 * math/libm-test.inc (fma_test): Add more tests.
40049 (fma_test_towardzero): Likewise.
40050 (fma_test_downward): Likewise.
40051 (fma_test_upward): Likewise.
40053 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40055 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40057 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40059 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40062 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40064 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40066 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40073 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40076 Fix the order of the list for glibc 2.17.
40077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40080 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40084 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40087 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40088 for low part of x being zero before using __atanl (y).
40089 * math/libm-test.inc (atan2_test): Add another test.
40091 * manual/install.texi (Configuring and compiling): Document
40092 general use of test-wrapper and test-wrapper-env.
40093 * INSTALL: Regenerated.
40095 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40096 (__fma): Do not extract and scale down low bits on after-rounding
40097 systems when result rounded to normal precision would have normal
40099 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40100 (__fmal): Do not extract and scale down low bits on after-rounding
40101 systems when result rounded to normal precision would have normal
40103 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40104 (__fmal): Do not extract and scale down low bits on after-rounding
40105 systems when result rounded to normal precision would have normal
40107 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40109 (fma_test): Add more tests.
40110 (fma_test_towardzero): Likewise.
40111 (fma_test_downward): Likewise.
40112 (fma_test_upward): Likewise.
40114 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40116 * sysdeps/i386/tininess.h: Renamed to ...
40117 * sysdeps/x86/tininess.h: This.
40118 * sysdeps/x86_64/tininess.h: Removed.
40120 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40122 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40123 input. Use $(build-program-cmd).
40124 ($(objpfx)tst-array1-static.out): Likewise.
40125 ($(objpfx)tst-array2.out): Likewise.
40126 ($(objpfx)tst-array3.out): Likewise.
40127 ($(objpfx)tst-array4.out): Likewise.
40128 ($(objpfx)tst-array5.out): Likewise.
40129 ($(objpfx)tst-array5-static.out): Likewise.
40131 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40133 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40136 * nss/nsswitch.h (nss_interface_function): Provide new
40137 macro for use with NSS functions.
40138 * grp/initgroups.c: Use new macro.
40139 * nss/getXXbyYY.c: Likewise.
40140 * nss/getXXbyYY_r.c: Likewise.
40141 * nss/getXXent.c: Likewise.
40142 * nss/getXXent_r.c: Likewise.
40143 * sysdeps/posix/getaddrinfo.c: Likewise.
40145 2012-10-30 Andreas Jaeger <aj@suse.de>
40147 * po/ru.po: Update Russion translation from translation project.
40149 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40154 result and shift together with sticky bit instead of replicating
40155 round-to-nearest rounding.
40156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40158 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40159 missing underflow exceptions.
40160 (fma_test_towardzero): Add more tests.
40161 (fma_test_downward): Likewise.
40162 (fma_test_upward): Likewise.
40165 * sysdeps/generic/tininess.h: New file.
40166 * sysdeps/i386/tininess.h: Likewise.
40167 * sysdeps/sh/tininess.h: Likewise.
40168 * sysdeps/x86_64/tininess.h: Likewise.
40169 * stdlib/tst-strtod-underflow.c: Likewise.
40170 * stdlib/tst-tininess.c: Likewise.
40171 * stdlib/strtod_l.c: Include <tininess.h>.
40172 (round_and_return): Do not set errno for exact underflow cases.
40173 Force an underflow exception when setting errno for underflow.
40174 Determine underflow based on rounding to normal precision if
40175 TININESS_AFTER_ROUNDING.
40176 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40177 ERANGE for exact underflow cases.
40178 * stdlib/Makefile (tests): Add tst-tininess and
40179 tst-strtod-underflow.
40180 ($(objpfx)tst-tininess): Use $(link-libm).
40181 ($(objpfx)tst-strtod-underflow): Likewise.
40183 2012-10-30 Andreas Jaeger <aj@suse.de>
40186 * elf/Makefile (tests): Remove conditional for have-initfini-array
40187 since this is now always required and the variable does not exist
40189 (tests-static): Likewise.
40190 (modules-names): Likewise.
40192 * po/eo.po: Add Esperanto translation from translation project.
40194 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40195 merged with constructor/destructor.
40196 (init_array): Likewise.
40197 * elf/tst-array2dep.c (fini_array): Likewise.
40198 (init_array): Likewise.
40200 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40202 * manual/message.texi: Delete @cartouche tags.
40204 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40206 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40208 * sysdeps/mach/hurd/fsync.c: Likewise.
40210 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40211 [_POSIX_REALTIME_SIGNALS]: Change condition to
40212 [_POSIX_REALTIME_SIGNALS > 0].
40214 2012-10-27 Andreas Jaeger <aj@suse.de>
40216 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40217 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40219 [__WORDSIZE != 64]: Likewise.
40221 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40223 * iconvdata/tst-table.sh: Remove ${SHELL}.
40224 * iconvdata/tst-tables.sh: Likewise.
40226 2012-10-25 David S. Miller <davem@davemloft.net>
40228 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40229 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40234 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40235 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40236 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40239 2012-10-25 Roland McGrath <roland@hack.frob.com>
40241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40242 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40245 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40246 Jim Blandy <jimb@codesourcery.com>
40248 * scripts/cross-test-ssh.sh: New file.
40249 * manual/install.texi (Configuring and compiling): Document use of
40251 * INSTALL: Regenerated.
40253 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40255 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40258 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40260 * Makeconfig (run-program-prefix): Fix comment.
40262 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40263 Jim Blandy <jimb@codesourcery.com>
40265 * Makeconfig (test-wrapper): New variable,
40266 (test-wrapper-env): Likewise.
40267 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40268 (run-built-tests): Define to yes.
40269 (run-program-prefix): Use $(test-wrapper).
40270 (built-program-cmd): Likewise.
40271 * Rules (make-test-out): Use $(test-wrapper-env) and
40272 $(host-built-program-cmd).
40273 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40274 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40276 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40277 $(test-wrapper-env) to tst-rtld-load-self.sh.
40278 ($(objpfx)order2.out): Use $(test-wrapper).
40279 ($(objpfx)tst-initorder.out): Likewise.
40280 ($(objpfx)tst-initorder2.out): Likewise.
40281 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40282 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40283 (test_wrapper_env): New variable. Use it to run ld.so.
40284 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40285 Use it to run ld.so.
40286 (test_wrapper_env): Likewise.
40287 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40288 $(test-wrapper) to run-iconv-test.sh.
40289 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40290 (ICONV): Use $test_wrapper.
40291 * posix/Makefile ($(objpfx)globtest.out): Pass
40292 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40293 globtest.sh, not $(run-program-prefix).
40294 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40295 (test_wrapper): Likewise.
40296 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40297 set together with run_via_rtld_prefix.
40298 (run_program_prefix): Define in terms of test_wrapper and
40299 run_via_rtld_prefix.
40301 2012-10-24 Roland McGrath <roland@hack.frob.com>
40303 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40304 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40308 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40309 Declare __clock_getres, __clock_gettime, __clock_settime,
40310 __clock_nanosleep, and __clock_getcpuclockid.
40311 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40312 Remove librt_hidden_def (clock_gettime).
40313 * sysdeps/unix/clock_gettime.c: Likewise.
40314 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40315 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40316 * rt/clock_getres.c: Define __clock_getres as an alias.
40317 * sysdeps/posix/clock_getres.c: Likewise.
40318 * rt/clock_settime.c: Define __clock_settime as an alias.
40319 * sysdeps/unix/clock_settime.c: Likewise.
40320 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40321 * sysdeps/unix/clock_nanosleep.c: Likewise.
40322 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40323 * rt/clock-compat.c: New file.
40324 * rt/Makefile (librt-routines): Add clock-compat and move
40325 $(clock-routines) to ...
40326 (routines): ... here, new variable.
40327 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40328 Don't add get_clockfreq here.
40329 * rt/Versions (libc: GLIBC_2.17): New version set.
40330 Add clock_* symbols here.
40331 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40332 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40333 (GLIBC_2.17): Add clock_* symbols.
40334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40345 * NEWS: Mention the move.
40347 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40348 Use __open, __read, __close rather than their public counterparts.
40349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40350 (__get_clockfreq_via_cpuinfo): Likewise.
40351 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40352 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40354 * config.h.in (HAVE_IFUNC): New #undef.
40355 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40357 * configure: Regenerated.
40359 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40361 * configure.in: Move READELF check to start of file.
40362 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40363 libc_cv_asm_gnu_indirect_function in the process.
40364 * configure: Regenerated.
40366 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40368 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40369 send the output to /dev/null.
40370 (libc_cv_cc_with_libunwind): Likewise.
40371 (libc_cv_as_noexecstack): Likewise.
40372 * configure: Regenerate.
40374 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40376 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40378 * posix/globtest.sh (TMPDIR): Do not set.
40379 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40380 (testout): Likewise.
40382 2012-10-24 Andreas Jaeger <aj@suse.de>
40384 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40385 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40386 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40387 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40388 posix_fadvise64, posix_fallocate64.
40390 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40391 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40392 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40394 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40396 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40399 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40400 <bits/fcntl-linux.h>.
40401 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40403 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40404 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40405 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40406 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40407 [__WORDSIZE != 64]: Likewise.
40409 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40411 * Makeconfig (run-built-tests): New variable.
40412 * Rules [$(cross-compiling) = yes]: Change condition to
40413 [$(run-built-tests) = no].
40414 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40415 to [$(run-built-tests) = yes].
40416 * elf/Makefile [$(cross-compiling) = no]: Likewise
40417 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40418 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40419 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40420 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40421 * io/Makefile [$(cross-compiling) = no]: Likewise.
40422 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40423 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40424 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40425 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40426 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40427 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40428 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40429 * string/Makefile [$(cross-compiling) = no]: Likewise.
40431 * posix/Makefile ($(objpfx)globtest.out): Pass
40432 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40433 $(rtld-installed-name).
40434 * posix/globtest.sh (elf_objpfx): Remove variable.
40435 (rtld_installed_name): Likewise.
40436 (library_path): Likewise.
40437 (run_program_prefix): New variable. Use for running globtest
40440 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40441 Joseph Myers <joseph@codesourcery.com>
40443 * Makeconfig (host-built-program-cmd): New variable.
40444 * elf/Makefile (tst-stackguard1-ARGS): Use
40445 $(host-built-program-cmd).
40446 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40447 (tst-spawn-ARGS): Likewise.
40448 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40450 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40451 Jim Blandy <jimb@codesourcery.com>
40453 * Makeconfig (run-via-rtld-prefix): New variable.
40454 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40455 (built-program-cmd): Likewise.
40457 2012-10-22 Andreas Jaeger <aj@suse.de>
40459 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40460 __O_RSYNC if it exists, otherwise to O_SYNC.
40462 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40463 Joseph Myers <joseph@codesourcery.com>
40465 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40467 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40469 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40472 2012-10-22 Andreas Jaeger <aj@suse.de>
40474 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40479 bits/fcntl-linux.h.
40481 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40482 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40489 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40490 Joseph Myers <joseph@codesourcery.com>
40492 * config.make.in (NM): New variable.
40494 2012-10-21 Andreas Jaeger <aj@suse.de>
40496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40497 definitions and declarations that are provided by
40498 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40500 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40503 * elf/Makefile (tests-static): Add tst-leaks1-static.
40504 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40505 ($(objpfx)tst-leaks1-static): New rule.
40506 ($(objpfx)tst-leaks1-static-mem): Likewise.
40507 (tst-leaks1-static-ENV): New macro.
40508 * elf/dl-open.c (dl_open_worker): Check the main application
40509 only if SHARED is defined.
40510 * elf/tst-leaks1-static.c: New file.
40512 2012-10-20 Andreas Jaeger <aj@suse.de>
40514 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40515 generic values for Linux.
40516 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40517 and declarations that are provided by <bits/fcntl-linux.h> and
40518 include <bits/fcntl-linux.h>.
40519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40522 2012-10-20 Roland McGrath <roland@hack.frob.com>
40524 * io/fcntl.h: Move include of <bits/types.h> to the top and
40525 include it unconditionally.
40527 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40529 * wcsmbs/Makefile (tests-ifunc): New variable.
40530 (tests): Add $(tests-ifunc).
40531 * wcsmbs/test-wcschr-ifunc.c: New file.
40532 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40533 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40534 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40535 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40536 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40538 * string/Makefile (tests-ifunc): New variable.
40539 (tests): Add $(tests-ifunc).
40540 * string/test-memccpy.c (TEST_NAME): New macro.
40541 * string/test-memchr.c (TEST_NAME): Likewise.
40542 * string/test-memcmp.c (TEST_NAME): Likewise.
40543 * string/test-memcpy.c (TEST_NAME): Likewise.
40544 * string/test-memmem.c (TEST_NAME): Likewise.
40545 * string/test-memmove.c (TEST_NAME): Likewise.
40546 * string/test-memset.c (TEST_NAME): Likewise.
40547 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40548 * string/test-stpcpy.c (TEST_NAME): Likewise.
40549 * string/test-stpncpy.c (TEST_NAME): Likewise.
40550 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40551 * string/test-strcasestr.c (TEST_NAME): Likewise.
40552 * string/test-strcat.c (TEST_NAME): Likewise.
40553 * string/test-strchr.c (TEST_NAME): Likewise.
40554 * string/test-strcmp.c(TEST_NAME): Likewise.
40555 * string/test-strcpy.c (TEST_NAME): Likewise.
40556 * string/test-strcspn.c (TEST_NAME): Likewise.
40557 * string/test-strlen.c (TEST_NAME): Likewise.
40558 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40559 * string/test-strncmp.c (TEST_NAME): Likewise.
40560 * string/test-strncpy.c (TEST_NAME): Likewise.
40561 * string/test-strnlen.c (TEST_NAME): Likewise.
40562 * string/test-strpbrk.c (TEST_NAME): Likewise.
40563 * string/test-strrchr.c (TEST_NAME): Likewise.
40564 * string/test-strspn.c (TEST_NAME): Likewise.
40565 * string/test-strstr.c (TEST_NAME): Likewise.
40566 * string/test-bcopy-ifunc.c: New file.
40567 * string/test-bzero-ifunc.c: Likewise.
40568 * string/test-memccpy-ifunc.c: Likewise.
40569 * string/test-memchr-ifunc.c: Likewise.
40570 * string/test-memcmp-ifunc.c: Likewise.
40571 * string/test-memcpy-ifunc.c: Likewise.
40572 * string/test-memmem-ifunc.c: Likewise.
40573 * string/test-memmove-ifunc.c: Likewise.
40574 * string/test-mempcpy-ifunc.c: Likewise.
40575 * string/test-memset-ifunc.c: Likewise.
40576 * string/test-rawmemchr-ifunc.c: Likewise.
40577 * string/test-stpcpy-ifunc.c: Likewise.
40578 * string/test-stpncpy-ifunc.c: Likewise.
40579 * string/test-strcasecmp-ifunc.c: Likewise.
40580 * string/test-strcasestr-ifunc.c: Likewise.
40581 * string/test-strcat-ifunc.c: Likewise.
40582 * string/test-strchr-ifunc.c: Likewise.
40583 * string/test-strchrnul-ifunc.c: Likewise.
40584 * string/test-strcmp-ifunc.c: Likewise.
40585 * string/test-strcpy-ifunc.c: Likewise.
40586 * string/test-strcspn-ifunc.c: Likewise.
40587 * string/test-strlen-ifunc.c: Likewise.
40588 * string/test-strncasecmp-ifunc.c: Likewise.
40589 * string/test-strncat-ifunc.c: Likewise.
40590 * string/test-strncmp-ifunc.c: Likewise.
40591 * string/test-strncpy-ifunc.c: Likewise.
40592 * string/test-strnlen-ifunc.c: Likewise.
40593 * string/test-strpbrk-ifunc.c: Likewise.
40594 * string/test-strrchr-ifunc.c: Likewise.
40595 * string/test-strspn-ifunc.c: Likewise.
40596 * string/test-strstr-ifunc.c: Likewise.
40598 * debug/Makefile (tests-ifunc): New variable.
40599 (tests): Add $(tests-ifunc).
40600 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40601 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40602 * debug/test-stpcpy_chk-ifunc.c: New file.
40603 * debug/test-strcpy_chk-ifunc.c: Likewise.
40605 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40608 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40609 header is not read in.
40611 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40613 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40614 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40615 directly. Pass built executable to script as
40616 $(built-program-cmd).
40617 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40618 $testprogram without using LD_LIBRARY_PATH and $ldso.
40620 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40621 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40622 $(rtld-installed-name).
40623 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40624 (rtld_installed_name): Likewise.
40625 (library_path): Likewise.
40626 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40627 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40628 $(run-program-prefix) to tst-tables.sh.
40629 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40630 it to run tst-table-from and tst-table-to.
40631 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40632 Pass it to tst-table.sh.
40633 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40634 $(run-program-prefix) to tst-gettext.sh.
40635 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40637 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40639 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40640 to run tst-gettext.
40641 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40642 to run tst-gettext2.
40643 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40644 to run tst-translit.
40645 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40646 $(run-program-prefix) to tst-mtrace.sh.
40647 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40649 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40650 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40651 $(rtld-installed-name).
40652 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40653 (rtld_installed_name): Likewise.
40654 (run_program_prefix): New variable. Use it to run wordexp-test.
40656 * Makeconfig (ARCH): Remove all definitions.
40657 (machine): Likewise.
40658 [ARCH]: Remove conditional code.
40659 [!objdir]: Give error.
40660 [!objdir] (objpfx): Remove.
40661 [!objdir] (common-objpfx): Likewise.
40662 [!objdir] (common-objdir): Likewise.
40663 * configure.in (config_makefile): Remove. Hardcode Makefile in
40664 AC_CONFIG_FILES call.
40665 * configure: Regenerated.
40668 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40670 (testout): Likewise.
40672 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40673 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40674 $(rtld-installed-name).
40675 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40676 (rtld_installed_name): Likwise.
40677 (runit): Remove function.
40678 (run_getconf): New variable, Use it for running getconf binary.
40680 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
40683 * string/test-memmem.c (check_result): New function.
40684 (do_one_test): Use it.
40685 (check1): New function.
40686 (test_main): Use it.
40688 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40690 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40692 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40694 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40695 (_G_LSEEK64): Likewise.
40696 (_G_MMAP64): Likewise.
40697 (_G_FSTAT64): Likewise.
40698 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40699 (_G_LSEEK64): Likewise.
40700 (_G_MMAP64): Likewise.
40701 (_G_FSTAT64): Likewise.
40702 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40703 unconditional. Call __mmap64 directly.
40704 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40705 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40706 __lseek64 directly.
40707 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40708 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40710 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40711 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40712 __lseek64 directly.
40713 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40714 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40715 __lseek64 directly.
40716 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40717 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40718 __lseek64 directly.
40719 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40720 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40721 __fxstat64 directly.
40722 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40723 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40725 (freopen64) [!_G_OPEN64]: Remove conditional code.
40726 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40728 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40729 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40731 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40732 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40734 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40735 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40737 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40738 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40740 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40741 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40743 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40744 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40746 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40748 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40751 * manual/memory.texi (Malloc Tunable Parameters): Add note
40752 about free list pointers overwriting some perturb bytes.
40753 Wording suggested by Roland McGrath.
40755 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40757 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40758 (lgamma_test): Likewise.
40759 (tgamma_test): Likewise.
40761 2012-10-16 Florian Weimer <fweimer@redhat.com>
40764 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40765 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40767 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40769 * NEWS: Mention BZ #14716.
40770 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40771 when removing AVAILABLE1_USES_J macro.
40773 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40775 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40776 (__bswap_64): __uint64_t for unsigned 64-bit int.
40778 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40780 * include/string.h (memmem): Declare libc hidden alias.
40781 * string/memmem.c (memmem): Define libc hidden alias.
40782 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40783 __read, __close instead of open, read, close.
40785 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40788 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40790 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40791 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40792 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40794 (__rawmemchr_sse2): Likewise.
40795 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40796 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40797 (__strchr_sse2): Likewise.
40798 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40799 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40800 (__strcasecmp_sse2): Likewise.
40801 (__strncasecmp_sse2): Likewise.
40802 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40803 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40804 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40805 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40806 (__strrchr_sse2): Likewise.
40807 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40809 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40810 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40811 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40812 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40813 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40814 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40815 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40816 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40817 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40818 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40819 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40820 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40821 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40822 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40823 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40824 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40825 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40826 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40827 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40828 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40829 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40830 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40831 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40832 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40833 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40834 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40835 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40836 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40837 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40838 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40840 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40842 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40843 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40844 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40845 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40847 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40849 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40850 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40851 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40852 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40854 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40855 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40856 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40857 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40858 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40859 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40860 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40861 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40862 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40863 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40864 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40865 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40866 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40867 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40868 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40869 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40870 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40871 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40872 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40873 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40874 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40875 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40876 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40877 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40878 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40879 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40880 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40881 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40882 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40883 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40884 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40885 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40886 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40887 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40888 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40889 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40890 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40891 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40892 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40893 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40894 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40896 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40897 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40898 * include/ifunc-impl-list.h: New file.
40899 * misc/ifunc-impl-list.c: Likewise.
40900 * misc/Makefile (routines): Add ifunc-impl-list.
40901 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40902 * string/test-string.h: Include <ifunc-impl-list.h>.
40903 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40904 TEST_NAME]: New variables.
40905 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40907 (test_init): Call __libc_ifunc_impl_list to initialize
40908 func_list if TEST_IFUNC and TEST_NAME are defined.
40910 * string/Makefile (strop-tests): Add bcopy and bzero.
40911 * string/test-bcopy.c: New file.
40912 * string/test-bzero.c: Likewise.
40913 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40915 * string/test-memset.c: Support bzero test if TEST_BZERO is
40917 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40919 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40921 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40924 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40926 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40927 * configure: Regenerated.
40929 * Makeconfig (+link-static-before-libc): Don't include
40930 $(link-static-libc).
40932 * libio/libio.h (_IO_pos_t): Remove.
40934 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40936 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40939 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40941 * crypt/crypt-entry.c: Include fips-private.h.
40942 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40943 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40944 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40945 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40947 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40949 * crypt/crypt-private.h: Include stdbool.h.
40950 (_ufc_setup_salt_r): Return bool.
40951 * crypt/crypt-entry.c: Include errno.h.
40952 (__crypt_r): Return NULL with EINVAL for bad salt.
40953 * crypt/crypt_util.c (bad_for_salt): New.
40954 (_ufc_setup_salt_r): Check that salt is long enough and within
40955 the specified alphabet.
40956 * crypt/badsalttest.c: New file.
40957 * crypt/Makefile (tests): Add it.
40958 ($(objpfx)badsalttest): New.
40960 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40962 * NEWS: Add entry for BZ #14602.
40964 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40966 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40968 * math/libm-test.inc: Update comment listing what functions and
40970 (isgreater_test): New function.
40971 (isgreaterequal_test): Likewise.
40972 (isless_test): Likewise.
40973 (islessequal_test): Likewise.
40974 (islessgreater_test): Likewise.
40975 (isunordered_test): Likewise.
40976 (main): Call the new functions.
40978 2012-10-09 Roland McGrath <roland@hack.frob.com>
40980 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40981 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40982 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40983 * sysdeps/i386/configure: Regenerated.
40984 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40985 * sysdeps/mach/configure: Regenerated.
40986 * sysdeps/mach/hurd/configure: Regenerated.
40987 * sysdeps/powerpc/configure: Regenerated.
40988 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40989 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40990 * sysdeps/s390/s390-32/configure: Regenerated.
40991 * sysdeps/s390/s390-64/configure: Regenerated.
40992 * sysdeps/sh/configure: Regenerated.
40993 * sysdeps/sparc/configure: Regenerated.
40994 * sysdeps/unix/sysv/linux/configure: Regenerated.
40995 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40996 * sysdeps/x86_64/configure: Regenerated.
40998 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40999 defined. Don't check if MAP is NULL.
41001 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41003 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41004 (_G_stat64): Likewise.
41005 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41006 (_G_stat64): Likewise.
41007 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41008 instead of struct _G_stat64.
41009 * libio/fileops.c (mmap_remap_check): Likewise.
41010 (decide_maybe_mmap): Likewise.
41011 (_IO_new_file_seekoff): Likewise.
41012 (_IO_file_stat): Likewise.
41013 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41015 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41016 instead of struct _G_stat64.
41017 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41019 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41022 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41024 (CHECK_EOL): New macro.
41025 (two_way_short_needle): Check beginning of haystack for EOL. Use
41027 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41028 Replace with CHECK_EOL.
41029 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41030 Replace with CHECK_EOL.
41032 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41034 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41036 * math/libm-test.inc: Update comment listing what functions and
41038 (finite_test): New function.
41039 (isinf_test): Likewise.
41040 (isnan_test): Likewise.
41041 (fpclassify_test): Test subnormal input.
41042 (isfinite_test): Likewise.
41043 (isnormal_test): Likewise.
41044 (main): Call the new functions.
41046 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41049 * Makerules (%.dynsym): Force C locale when running
41050 $(OBJDUMP) --dynamic-syms.
41052 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41054 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41057 2012-10-06 David S. Miller <davem@davemloft.net>
41059 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41060 upper 32-bits of the length value in %o2 since we use branch-on-register
41061 tests which consider the entire 64-bit register.
41063 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41065 * string/test-strstr.c (check2): Add a test for page boundary.
41067 2012-10-05 David S. Miller <davem@davemloft.net>
41069 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41070 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41072 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41075 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41076 and bzero when HWCAP_SPARC_CRYPTO is present.
41078 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41081 * string/test-strstr.c (check2): New function.
41082 (test_main): Call check2.
41084 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41086 * string/bug-strcasestr1.c (do_test): Moved to ...
41087 * string/test-strcasestr.c (check1): Here. New function.
41088 (do_one_test): Break out result checking code into ...
41089 (check_result): This. New function.
41090 (do_one_test): Call check_result.
41091 (test_main): Call check1.
41092 * string/bug-strchr1.c (do_test): Moved to ...
41093 * string/test-strchr.c (check1): Here. New function.
41094 (do_one_test): Break out result checking code into ...
41095 (check_result): This. New function.
41096 (do_one_test): Call check_result.
41097 (test_main): Call check1.
41098 * string/bug-strstr1.c (main): Moved to ...
41099 * string/test-strstr.c (check1): Here. New function.
41100 (do_one_test): Break out result checking code into ...
41101 (check_result): This. New function.
41102 (do_one_test): Call check_result.
41103 (test_main): Call check1.
41104 * string/bug-strcasestr1.c: Removed.
41105 * string/bug-strchr1.c: Likewise.
41106 * string/bug-strstr1.c: Likewise.
41108 * elf/Makefile (dl-routines): Add hwcaps.
41109 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41110 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41111 (_dl_important_hwcaps): Moved to ...
41112 * elf/dl-hwcaps.c: Here. New file.
41113 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41116 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41117 if IS_IN_rtld isn't defined.
41119 * elf/dl-support.c (_dl_sysinfo_map): New.
41120 Include "get-dynamic-info.h" and "setup-vdso.h".
41121 (_dl_non_dynamic_init): Call setup_vdso.
41122 * elf/dynamic-link.h: Don't include <assert.h>.
41123 (elf_get_dynamic_info): Moved to ...
41124 * elf/get-dynamic-info.h: Here. New file.
41125 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41126 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41127 * elf/setup-vdso.h: Here. New file.
41128 * elf/rtld.c: Include "setup-vdso.h".
41129 (dl_main): Call setup_vdso.
41131 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41133 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41134 creal in comment listing functions tested. List finite, isinf,
41135 isnan, isless, islessequal, isgreater, isgreaterequal,
41136 islessgreater, isunordered, lgamma_r and pow10 as functions and
41137 macros not tested. Mention which functions not tested are aliases
41138 for other functions. Fix typo. Note that signs of NaNs are not
41141 * scripts/config.guess: Update from config.git.
41142 * scripts/config.sub: Likewise.
41144 2012-10-04 Roland McGrath <roland@hack.frob.com>
41146 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41147 * misc/madvise.c (madvise): Renamed to __madvise.
41148 Make madvise a weak alias.
41149 * include/sys/mman.h: Declare __madvise.
41150 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41151 * sysdeps/unix/syscalls.list
41152 (madvise): Make __madvise the strong name, and madvise a weak alias.
41153 * sysdeps/unix/sysv/linux/syscalls.list
41154 (madvise, mmap): Remove redundant entries.
41155 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41156 * malloc/malloc.c (mtrim): Likewise.
41157 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41159 2012-10-03 Roland McGrath <roland@hack.frob.com>
41161 * sysdeps/mach/hurd/dl-cache.c: File removed.
41162 * config.h.in (USE_LDCONFIG): New #undef.
41163 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41164 * configure: Regenerated.
41165 * elf/Makefile (dl-routines): Add dl-cache only under
41166 [$(use-ldconfig) = yes].
41167 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41168 cache on [USE_LDCONFIG].
41169 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41171 * elf/rtld.c (dl_main): Likewise.
41173 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41175 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41176 _SC_LEVEL4_CACHE_LINESIZE.
41178 2012-10-03 Roland McGrath <roland@hack.frob.com>
41180 * sysdeps/unix/bsd/confstr.h: File removed.
41182 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41184 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41187 2012-10-02 Roland McGrath <roland@hack.frob.com>
41189 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41190 Make 'mapoff' field ElfW(Off) rather than off_t.
41192 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41194 * nscd/Makefile: Remove nscd-cflags and all its users.
41195 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41196 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41199 * malloc.c (malloc_printerr): Clarify error message.
41201 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41205 Set bit_FMA_Usable if FMA is supported.
41206 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41208 (bit_FMA4_Usable): Updated.
41209 (index_FMA_Usable): New macro.
41210 (CPUID_FMA): Likewise
41211 (HAS_FMA): Defined with bit_FMA_Usable.
41213 2012-10-01 Roland McGrath <roland@hack.frob.com>
41215 * bits/types.h (__swblk_t): Type removed.
41216 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41217 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41219 (__SWBLK_T_TYPE): Likewise.
41220 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41221 (__SWBLK_T_TYPE): Likewise.
41222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41223 (__SWBLK_T_TYPE): Likewise.
41224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41225 (__SWBLK_T_TYPE): Likewise.
41227 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41228 Honza Horak <hhorak@redhat.com>
41230 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41231 (xdr_mapname): Use YPMAXMAP as maxsize.
41232 (xdr_peername): Use YPMAXPEER as maxsize.
41233 (xdr_keydat): Use YPAXRECORD as maxsize.
41234 (xdr_valdat): Use YPMAXRECORD as maxsize.
41236 2012-10-01 Roland McGrath <roland@hack.frob.com>
41238 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41240 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41241 * csu/init-first.c: ... here.
41242 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41243 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41244 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41245 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41246 * sysdeps/i386/init-first.c: File removed.
41247 * sysdeps/sh/init-first.c: File removed.
41249 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41253 if x * y might underflow to zero and z is zero.
41254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41256 * math/libm-test.inc (min_subnorm_value): New variable.
41257 (fma_test): Add more tests.
41258 (fma_test_towardzero): Likewise.
41259 (fma_test_downward): Likewise
41260 (fma_test_upward): Likewise.
41261 (initialize): Set min_subnorm_value.
41263 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41268 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41269 mode for addition resulting in exact zero.
41270 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41273 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41275 * math/libm-test.inc (fma_test): Add more tests.
41276 (fma_test_towardzero): New function.
41277 (fma_test_downward): Likewise.
41278 (fma_test_upward): Likewise.
41279 (main): Call the new functions.
41281 2012-09-28 David S. Miller <davem@davemloft.net>
41283 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41285 2012-09-28 Roland McGrath <roland@hack.frob.com>
41287 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41288 instead of SIGALRM.
41290 * sysdeps/gnu/_G_config.h: Moved to ...
41291 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41292 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41293 * sysdeps/generic/_G_config.h: ... here.
41295 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41297 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41299 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41300 Conditionalize target on [libnss_test1.so-version].
41302 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41304 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41305 (elfobjdir): Move out of conditionals.
41307 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41308 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41309 (__nss_lookup_function): Conditionalize label remove_from_tree on
41310 [!DO_STATIC_NSS || SHARED], matching its only use.
41312 2012-09-28 David S. Miller <davem@davemloft.net>
41314 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41315 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41317 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41321 when HWCAP_SPARC_CRYPTO is present.
41323 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41325 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41327 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41330 * stdio-common/vfprintf.c (process_string_arg): Revert
41333 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41335 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41337 * stdio-common/tst-sprintf.c: Include <locale.h>
41338 (main): Test sprintf's handling of incomplete multibyte
41341 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41343 * elf/dl-runtime.c (VERSYMIDX): Removed.
41344 * elf/dl-version.c (VERSYMIDX): Likewise.
41345 * elf/do-rel.h (VERSYMIDX): Likewise.
41346 (VALIDX): Likewise.
41347 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41348 * elf/rtld.c (VALIDX): Likewise.
41349 (ADDRIDX): Likewise.
41350 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41351 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41352 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41353 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41354 (VALIDX): Likewise.
41355 (ADDRIDX): Likewise.
41357 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41359 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41361 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41364 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41366 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41367 addresses are in the same scope as 192.0.2/24.
41368 * posix/gai.conf: Document new scope table defaults.
41370 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41373 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41374 for ftell. Compute offsets from write pointers instead.
41375 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41377 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41380 * libio/Makefile (tests): New test case tst-fseek.
41381 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41382 combination works in wide mode.
41383 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41384 state when the external buffer state changes.
41386 2012-09-27 David S. Miller <davem@davemloft.net>
41389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41390 pass reloc->r_addend in as the 'high' argument to
41391 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41395 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41397 * rt/tst-aio2.c: Include <pthread.h>.
41398 * rt/tst-aio3.c: Likewise.
41400 2012-09-27 Steve Ellcey <sellcey@mips.com>
41402 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41404 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41406 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41407 contents on [SHARED].
41409 2012-09-26 Marek Polacek <polacek@redhat.com>
41413 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41414 for C++ and GCC <4.3 as well as for non GCC compilers.
41416 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41420 2012-09-25 Roland McGrath <roland@hack.frob.com>
41422 * Makefile.in (all, install): Declare with .PHONY.
41423 Reported by Michael Hope <michael.hope@linaro.org>.
41425 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41427 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41428 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41430 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41432 (sydep_routines): Add the new and the internal functions.
41433 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41434 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41436 (GLIBC_2.17): Add the new function.
41437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41438 (GLIBC_2.17): Likewise.
41439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41440 (GLIBC_2.17): Likewise.
41441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41442 (GLIBC_2.17): Likewise.
41443 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41445 2012-09-25 Alan Modra <amodra@gmail.com>
41447 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41448 Add release barrier before setting once_control to say
41449 initialisation is done. Add hints on lwarx. Use macro in
41451 (clear_once_control): Add release barrier.
41453 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41456 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41458 * math/s_clog10.c (__clog10): Likewise.
41459 * math/s_clog10f.c (__clog10f): Likewise.
41460 * math/s_clog10l.c (__clog10l): Likewise.
41461 * math/s_clogf.c (__clogf): Likewise.
41462 * math/s_clogl.c (__clogl): Likewise.
41463 * math/Makefile (libm-calls): Add x2y2m1.
41464 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41465 (__x2y2m1): Likewise.
41466 (__x2y2m1l): Likewise.
41467 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41468 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41469 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41470 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41471 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41472 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41473 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41474 * sysdeps/i386/fpu/libm-test-ulps: Update.
41475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41478 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41479 int as type of variable DEPTH.
41480 (glob): Use size_t instead of int as type of variables NEWCOUNT
41483 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41485 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41486 Add s_sincosf-sse2.
41487 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41488 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41489 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41490 macros for using routine as __sincosf_ia32.
41491 Use macro for function declaration and weak_alias.
41492 * sysdeps/i386/fpu/libm-test-ulps: Update.
41494 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41497 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41498 subnormal argument.
41499 * math/s_cexpf.c (__cexpf): Likewise.
41500 * math/s_csinf.c (__csinf): Likewise.
41501 * math/s_csinhf.c (__csinhf): Likewise.
41502 * math/s_ctanf.c (__ctanf): Likewise.
41503 * math/s_ctanhf.c (__ctanhf): Likewise.
41504 * math/s_ccosh.c (__ccoshf): Likewise.
41505 * math/s_cexp.c (__cexpl): Likewise.
41506 * math/s_csin.c (__csin): Likewise.
41507 * math/s_csinh.c (__csinh): Likewise.
41508 * math/s_ctan.c (__ctan): Likewise.
41509 * math/s_ctanh.c (ctanh): Likewise.
41510 * math/s_ccoshl.c (__ccoshl): Likewise.
41511 * math/s_cexpl.c (__cexpl): Likewise.
41512 * math/s_csinl.c (__csinl): Likewise.
41513 * math/s_csinhl.c (__csinhl): Likewise.
41514 * math/s_ctanl.c (__ctanl): Likewise.
41515 * math/s_ctanhl.c (__ctanhl): Likewise.
41517 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41519 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41520 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41521 (_IO_off_t): Define to __off_t, not _G_off_t.
41522 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41523 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41524 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41525 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41526 type of __dummy and __dummy2 fields.
41527 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41528 (_G_ssize_t): Likewise.
41529 (_G_off_t): Likewise.
41530 (_G_pid_t): Likewise.
41531 (_G_uid_t): Likewise.
41532 (_G_wchar_t): Likewise.
41533 (_G_wint_t): Likewise.
41534 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41535 (_G_ssize_t): Likewise.
41536 (_G_off_t): Likewise.
41537 (_G_pid_t): Likewise.
41538 (_G_uid_t): Likewise.
41539 (_G_wchar_t): Likewise.
41540 (_G_wint_t): Likewise.
41541 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41542 (_G_ssize_t): Likewise.
41543 (_G_off_t): Likewise.
41544 (_G_pid_t): Likewise.
41545 (_G_uid_t): Likewise.
41546 (_G_wchar_t): Likewise.
41547 (_G_wint_t): Likewise.
41549 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41551 * malloc/arena.c: Include malloc-sysdep.h.
41552 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41553 is sufficient to shrink the heap or an unmap is needed.
41554 * sysdeps/generic/malloc-sysdep.h: New file. Define
41555 new function check_may_shrink_heap.
41556 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41557 new function check_may_shrink_heap.
41559 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41561 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41564 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41566 * catgets/test-gencat.sh: Add "set -e".
41567 * elf/tst-pathopt.sh: Likewise.
41568 * grp/tst_fgetgrent.sh: Likewise.
41569 * iconvdata/run-iconv-test.sh: Likewise.
41570 * intl/tst-gettext.sh: Likewise.
41571 * intl/tst-gettext2.sh: Likewise.
41572 * intl/tst-gettext4.sh: Likewise.
41573 * intl/tst-gettext6.sh: Likewise.
41574 * intl/tst-translit.sh: Likewise.
41575 * io/ftwtest-sh: Likewise.
41576 * libio/test-freopen.sh: Likewise.
41577 * malloc/tst-mtrace.sh: Likewise.
41578 * posix/globtest.sh: Likewise.
41579 * posix/tst-getconf.sh: Likewise.
41580 * posix/wordexp-tst.sh: Likewise.
41581 * stdio-common/tst-printf.sh: Likewise.
41582 * stdio-common/tst-unbputc.sh: Likewise.
41583 * stdlib/tst-fmtmsg.sh: Likewise.
41584 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41585 * catgets/Makefile: Do not specify -e option when running
41586 testsuite shell scripts.
41587 * elf/Makefile: Likewise.
41588 * grp/Makefile: Likewise.
41589 * iconvdata/Makefile: Likewise.
41590 * intl/Makefile: Likewise.
41591 * io/Makefile: Likewise.
41592 * libio/Makefile: Likewise.
41593 * malloc/Makefile: Likewise.
41594 * posix/Makefile: Likewise.
41595 * stdio-common/Makefile: Likewise.
41596 * stdlib/Makefile: Likewise.
41597 * sysdeps/x86_64/Makefile: Likewise.
41599 * io/ftwtest-sh: Add copyright header.
41600 * posix/globtest.sh: Likewise.
41601 * posix/tst-getconf.sh: Likewise.
41602 * posix/wordexp-tst.sh: Likewise.
41603 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41605 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41608 * Makeconfig (+link): Defined as $(+link-static) if
41609 $(build-shared) isn't yes.
41610 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41612 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41614 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41617 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41618 new chunk size with MALLOC_ALIGN_MASK.
41620 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41623 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41625 (__printf_fphex): Determine rounding using get_rounding_mode and
41627 * stdio-common/tst-printf-round.c (struct hex_test): New
41629 (hex_tests): New variable.
41630 (test_hex_in_one_mode): New function.
41631 (do_test): Also run tests for hex float output.
41633 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41635 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41636 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41637 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41638 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41639 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41640 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41641 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41642 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41644 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41646 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41647 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41648 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41649 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41651 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41654 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41656 * elf/tst-rtld-load-self.sh: New test.
41657 * elf/Makefile: Run it.
41659 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41661 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41662 (tst-writev-ENV): Remove.
41663 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41665 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41667 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41669 2012-09-17 Joseph Myers <joseph@codesourcery.com>
41671 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41673 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41675 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41676 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41677 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41680 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
41683 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41684 * config.make.in (have-cpp-asm-debuginfo): Removed.
41685 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41686 * configure: Regenerated.
41688 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41691 * stdio-common/printf_fp.c: Include <stdbool.h> and
41693 (___printf_fp): Determine rounding using get_rounding_mode and
41695 * stdio-common/tst-printf-round.c: New file.
41696 * stdio-common/Makefile (tests): Add tst-printf-round.
41697 (link-libm): New variable.
41698 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41700 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41703 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41704 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41706 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41709 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41711 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41712 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41713 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41714 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41716 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41719 * include/rounding-mode.h: New file.
41720 * sysdeps/generic/get-rounding-mode.h: Likewise.
41721 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41722 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41723 (MAX_VALUE): New macro.
41724 (MIN_VALUE): Likewise.
41725 (overflow_value): New function.
41726 (underflow_value): Likewise.
41727 (round_and_return): Use overflow_value and underflow_value to
41728 determine return values in overflow and underflow cases. Use
41729 round_away to determine rounding depending on rounding mode.
41730 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41731 determine return values in overflow and underflow cases.
41732 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41733 (struct test_results): New structure.
41734 (struct test): Use struct test_results to store expected results
41735 for all rounding modes.
41736 (TEST): Include expected results for all rounding modes.
41737 (test_in_one_mode): New function.
41738 (do_test): Use test_in_one_mode to compute and check results.
41739 Check results for all rounding modes.
41740 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41743 2012-12-09 Allan McRae <allan@archlinux.org>
41745 * sysdeps/i386/fpu/libm-test-ulps: Update
41747 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41749 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41750 (_G_int32_t): Likewise.
41751 (_G_uint16_t): Likewise.
41752 (_G_uint32_t): Likewise.
41753 (_G_HAVE_BOOL): Likewise.
41754 (_G_HAVE_ATEXIT): Likewise.
41755 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41756 (_G_HAVE_IO_FILE_OPEN): Likewise.
41757 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41758 (_G_int32_t): Likewise.
41759 (_G_uint16_t): Likewise.
41760 (_G_uint32_t): Likewise.
41761 (_G_HAVE_BOOL): Likewise.
41762 (_G_HAVE_ATEXIT): Likewise.
41763 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41764 (_G_HAVE_IO_FILE_OPEN): Likewise.
41765 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41766 (_G_int32_t): Likewise.
41767 (_G_uint16_t): Likewise.
41768 (_G_uint32_t): Likewise.
41769 (_G_HAVE_BOOL): Likewise.
41770 (_G_HAVE_ATEXIT): Likewise.
41771 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41772 (_G_HAVE_IO_FILE_OPEN): Likewise.
41774 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41776 * csu/libc-tls.c: Update copyright years.
41778 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41780 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41781 [!_G_USING_THUNKS]: Remove conditional code.
41782 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41783 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41785 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41786 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41787 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41788 (_G_VTABLE_LABEL_PREFIX): Likewise.
41789 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41790 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41791 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41792 (_G_VTABLE_LABEL_PREFIX): Likewise.
41793 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41794 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41795 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41796 (_G_VTABLE_LABEL_PREFIX): Likewise.
41797 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41799 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41801 * libio/Makefile: Include ../Makeconfig before tests.
41802 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41803 only if $(build-shared) is yes.
41805 * iconv/gconv_db.c: Update copyright years.
41807 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41809 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41810 unwind info if defined PIC. Fix special cases description.
41811 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41813 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41815 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41817 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41819 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41821 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41824 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41825 (LDLIBS-tst-chk4): This.
41826 (LDFLAGS-tst-chk5): Renamed to ...
41827 (LDLIBS-tst-chk5): This.
41828 (LDFLAGS-tst-chk6): Renamed to ...
41829 (LDLIBS-tst-chk6): This.
41830 (LDFLAGS-tst-lfschk4): Renamed to ...
41831 (LDLIBS-tst-lfschk4): This.
41832 (LDFLAGS-tst-lfschk5): Renamed to ...
41833 (LDLIBS-tst-lfschk5): This.
41834 (LDFLAGS-tst-lfschk6): Renamed to ...
41835 (LDLIBS-tst-lfschk6): This.
41837 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41838 on $(common-objpfx)soversions.mk.
41840 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41843 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41846 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41848 * malloc/arena.c (arena_get_retry): New function that gets
41849 another arena for the caller to try its request on.
41850 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41851 current arena cannot fulfill the request.
41852 (__libc_memalign): Likewise.
41853 (__libc_memalign): Likewise.
41854 (__libc_pvalloc): Likewise.
41855 (__libc_calloc): Likewise.
41857 2012-09-05 John Tobey <john.tobey@gmail.com>
41860 * manual/arith.texi (Operations on Complex): Fix description
41861 of carg branch cut.
41863 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41866 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41870 * manual/memory.texi (Memory): Make order of menu items match
41873 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41875 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41876 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41877 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41879 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41881 * csu/libc-tls.c (static_dtv): Renamed to ...
41882 (_dl_static_dtv): This. Make it global.
41883 (_dl_initial_dtv): Removed.
41884 (__libc_setup_tls): Updated.
41885 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41886 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41889 2012-09-06 Petr Machata <pmachata@redhat.com>
41891 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41892 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41893 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41894 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41896 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41899 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41900 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41903 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41906 * Makeconfig (link-static-before-libc): Replace $(+prector)
41908 (link-static-after-libc): Replace $(+postctor) with
41910 (link-bounded): Replace $(+prector)/$(+postctor) with
41911 $(+prectorT)/$(+postctorT).
41912 (+prectorT): New macro.
41913 (+postctorT): Likewise.
41915 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41917 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41918 (round_str): Handle values above the maximum for IBM long double
41920 * stdlib/tst-strtod-round.c (tests): Regenerated.
41922 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41924 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41926 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41927 zarch_nohighgprs around the zarch optimized routines.
41928 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41929 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41930 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41933 2012-09-05 David S. Miller <davem@davemloft.net>
41935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41937 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41938 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41939 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41940 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41943 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41945 * malloc/arena.c: Fold copyright years.
41946 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41948 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41950 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41952 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41954 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41956 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41958 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41959 change internal state upon failure.
41961 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41963 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41964 * malloc/memusage.c (mmap): Likewise.
41965 (mmap64, mremap): Likewise. Adjust name in comment.
41967 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41969 * libio/fileops.c: Fix typos in comments.
41970 * libio/oldfileops.c: Likewise.
41971 * libio/wfileops.c: Likewise.
41973 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41976 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41977 (tst-malloc-usable-ENV): Set environment for test case.
41978 * malloc/hooks.c (malloc_check_get_size): New function to get
41980 * malloc/malloc.c (musable): Use malloc_check_get_size.
41981 * malloc/tst-malloc-usable.c: New test case.
41983 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41985 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41987 2012-09-05 Allan McRae <allan@archlinux.org>
41990 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41991 determine header location.
41992 * configure: Regenerated.
41994 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41996 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41998 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41999 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42001 (test): Regenerate.
42003 2012-09-04 David S. Miller <davem@davemloft.net>
42005 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42006 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42007 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42009 2012-09-04 Florian Weimer <fweimer@redhat.com>
42011 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42014 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42016 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42019 * libio/iogetdelim.c: Include <limits.h>.
42020 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42021 + len + 1 would overflow.
42023 2012-09-03 Andreas Jaeger <aj@suse.de>
42025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42026 * sysdeps/i386/fpu/libm-test-ulps: Update.
42028 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42030 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42031 Add s_sinf-sse2, s_conf-sse2.
42033 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42034 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42035 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42036 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42038 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42039 for using routine as __sinf_ia32.
42040 Use macro for function declaration and weak_alias.
42041 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42042 for using routine as __cosf_ia32.
42043 Use macro for function declaration and weak_alias.
42045 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42046 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42048 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42049 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42052 * math/libm-test.inc (cos_test): Add more test cases.
42053 (sin_test): Likewise.
42054 (sincos_test): Likewise.
42056 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42058 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42059 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42061 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42063 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42066 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42067 first element of the GOT.
42068 (elf_machine_load_address): Return the difference between
42069 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42071 2012-09-01 Allan McRae <allan@archlinux.org>
42074 * configure.in (AWK): Require gawk version 3.0 or later.
42075 * configure: Regenerated.
42077 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42079 * sysdeps/unix/sysv/linux/kernel-features.h
42080 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42081 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42082 [__NR_clock_getres]: Make code unconditional.
42083 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42084 (clock_getcpuclockid): Remove code left unreachable by removal of
42086 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42087 code unconditional.
42088 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42089 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42090 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42091 Make code unconditional.
42092 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42093 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42094 * sysdeps/unix/sysv/linux/clock_settime.c
42095 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42097 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42098 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42100 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42103 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42104 scripts/test-installation.pl.
42106 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42107 and $ld_so_version if it is set.
42109 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42112 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42113 failure if reading from procfs failed.
42114 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42116 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42118 * sysdeps/unix/sysv/linux/kernel-features.h
42119 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42120 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42121 Remove conditional code.
42122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42123 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42124 Remove conditional code.
42125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42126 * sysdeps/unix/sysv/linux/i386/fxstat.c
42127 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42129 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42130 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42132 * sysdeps/unix/sysv/linux/i386/lxstat.c
42133 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42135 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42136 Remove conditional code.
42137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42138 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42139 Remove conditional code.
42140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42141 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42142 <kernel-features.h>.
42143 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42145 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42146 Remove conditional code.
42147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42148 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42149 Remove conditional.
42151 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42154 * NEWS: Add fixed bug number.
42156 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42159 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42160 underflowing exponent in case of negative sign.
42161 * stdlib/tst-strtod-round-data: Add more tests.
42162 * stdlib/tst-strtod-round.c (tests): Regenerated.
42165 * stdlib/strtod_l.c (NDIG): Remove.
42166 (HEXNDIG): Likewise.
42167 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42168 smallest representable value.
42169 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42170 lie within an exact representation of 1/2 ulp of the result.
42171 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42173 (TENS_P9_IDX): Define unconditionally.
42174 (TENS_P9_SIZE): Likewise.
42175 (TENS_P10_IDX): Likewise.
42176 (TENS_P10_SIZE): Likewise.
42177 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42178 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42179 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42180 entries for 10^2^13 and 10^2^14.
42181 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42182 (TENS_P13_IDX): Define.
42183 (TENS_P13_SIZE): Likewise.
42184 (TENS_P14_IDX): Likewise.
42185 (TENS_P14_SIZE): Likewise.
42186 (_fpioconst_pow10): Change array size to
42187 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42189 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42190 1024]: Add entries for 10^2^13 and 10^2^14.
42191 [LAST_POW10 > _LAST_POW10]: Remove #error.
42192 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42193 (_fpioconst_pow10): Change array size to
42194 FPIOCONST_POW10_ARRAY_SIZE.
42195 * stdlib/gen-fpioconst.c: New file.
42196 * stdlib/gen-tst-strtod-round.c: Likewise.
42197 * stdlib/tst-strtod-round-data: Likewise.
42198 * stdlib/tst-strtod-round.c: Likewise.
42199 * stdlib/Makefile (tests): Add tst-strtod-round.
42202 * stdlib/strtod_l.c: Include <stdint.h>.
42203 (NDEBUG): Do not define.
42204 (round_and_return): Change EXPONENT parameter to type intmax_t.
42205 Rearrange calculations to avoid internal overflow possibilities.
42206 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42207 Rearrange calculations to avoid internal overflow possibilities.
42208 Assert that number fits inside MPNSIZE limbs.
42209 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42210 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42211 calculations and add assertions to avoid internal overflow
42212 possibilities. Add casts to avoid signed/unsigned operations.
42213 * stdlib/tst-strtod-overflow.c: New file.
42214 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42216 2012-08-25 Marek Polacek <polacek@redhat.com>
42218 * time/time.h: Fix some typos in comments.
42220 2012-08-23 Roland McGrath <roland@hack.frob.com>
42222 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42223 * posix/tst-rfc3484-2.c: Likewise.
42224 * posix/tst-rfc3484-3.c: Likewise.
42226 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42228 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42229 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42231 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42233 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42234 #include of fxstatat64.c.
42236 2012-08-22 Roland McGrath <roland@hack.frob.com>
42238 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42239 * shadow/getspent_r.c: Likewise.
42240 * shadow/getspnam.c: Likewise.
42241 * shadow/getspnam_r.c: Likewise.
42242 * gshadow/getsgent.c: Likewise.
42243 * gshadow/getsgent_r.c: Likewise.
42244 * gshadow/getsgnam.c: Likewise.
42245 * gshadow/getsgnam_r.c: Likewise.
42246 * inet/getnetbyad.c: Likewise.
42247 * inet/getnetbyad_r.c: Likewise.
42248 * inet/getnetbynm.c: Likewise.
42249 * inet/getnetbynm_r.c: Likewise.
42250 * inet/getnetent.c: Likewise.
42251 * inet/getnetent_r.c: Likewise.
42252 * inet/getproto.c: Likewise.
42253 * inet/getproto_r.c: Likewise.
42254 * inet/getprtent.c: Likewise.
42255 * inet/getprtent_r.c: Likewise.
42256 * inet/getprtname.c: Likewise.
42257 * inet/getprtname_r.c: Likewise.
42258 * inet/getrpcbyname.c: Likewise.
42259 * inet/getrpcbyname_r.c: Likewise.
42260 * inet/getrpcbynumber.c: Likewise.
42261 * inet/getrpcbynumber_r.c: Likewise.
42262 * inet/getrpcent.c: Likewise.
42263 * inet/getrpcent_r.c: Likewise.
42264 * inet/getaliasent.c: Likewise.
42265 * inet/getaliasent_r.c: Likewise.
42266 * inet/getaliasname.c: Likewise.
42267 * inet/getaliasname_r.c: Likewise.
42268 * nscd/getgrgid_r.c: Likewise.
42269 * nscd/getgrnam_r.c: Likewise.
42270 * nscd/gethstbyad_r.c: Likewise.
42271 * nscd/gethstbynm3_r.c: Likewise.
42272 * nscd/getpwnam_r.c: Likewise.
42273 * nscd/getpwuid_r.c: Likewise.
42274 * nscd/getsrvbynm_r.c: Likewise.
42275 * nscd/getsrvbypt_r.c: Likewise.
42276 * nscd/gai.c: Likewise.
42278 * configure.in (build_nscd): New substituted variable, set
42279 by --disable-build-nscd and defaults to $use_nscd.
42280 * configure: Regenerated.
42281 * config.make.in (build-nscd): New substituted variable.
42282 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42283 Change conditional to require [$(build-nscd) = yes] as well.
42284 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42287 * configure.in (use_nscd): New substituted variable, set by
42288 --disable-nscd. If enabled, define USE_NSCD.
42289 * configure: Regenerated.
42290 * config.h.in: Add USE_NSCD.
42291 * config.make.in (use-nscd): New substituted variable.
42292 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42293 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42294 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42295 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42296 (CFLAGS-getgrnam_r.c): Likewise.
42297 (CFLAGS-initgroups.c): Likewise.
42298 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42299 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42301 * inet/getnetgrent_r.c
42302 (nscd_setnetgrent): New function, broken out of ...
42303 (setnetgrent): ... here. Call it.
42304 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42305 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42306 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42307 * nscd/Makefile (routines, aux): Move definitions after include of
42308 Makeconfig. Conditionalize on [$(use-nscd) != no].
42309 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42310 Conditionalize on [USE_NSCD].
42311 (is_nscd, nscd_init_cb): Likewise.
42312 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42313 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42314 * nss/nss_db/db-init.c: Likewise.
42315 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42317 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42318 (make_request): Use it.
42319 (cache_valid_p): New function.
42320 (__check_pf): Use it.
42321 * NEWS: Add item for --disable-nscd.
42323 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42325 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42326 to support sed >= 4.2.1-20-ga9bf076.
42327 * configure: Regenerated.
42329 2012-08-22 Roland McGrath <roland@hack.frob.com>
42331 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42332 Conditionalize whole body on [IREL].
42334 2012-08-22 Jeff Law <law@redhat.com>
42337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42338 if the family is PF_UNSPEC.
42340 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42342 * Makerules (lib-version): Rename from V.
42343 (install-lib-nosubdir): Change V to lib-version.
42345 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42348 * powerpc32/power6/wcschr.c: New file.
42349 * powerpc32/power6/wcscpy.c: New file.
42350 * powerpc32/power6/wcsrchr.c: New file.
42351 * powerpc64/power6/wcschr.c: New file.
42352 * powerpc64/power6/wcscpy.c: New file.
42353 * powerpc64/power6/wcsrchr.c: New file.
42355 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42357 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42358 (two_way_short_needle): Use it.
42359 * string/strstr.c (AVAILABLE1_USES_J): Define.
42360 * string/strcasestr.c: Likewise.
42362 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42364 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42367 * NEWS: Add an entry.
42368 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42369 define their defaults.
42370 (two_way_short_needle): Detect end-of-string on-the-fly.
42371 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42372 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42373 * string/bug-strcasestr1.c: New test.
42374 * string/Makefile: Run it.
42376 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42379 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42380 the first character.
42382 2012-08-21 Roland McGrath <roland@hack.frob.com>
42384 * csu/elf-init.c (__libc_csu_irel): Function removed.
42385 * csu/libc-start.c (apply_irel): New function.
42386 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42388 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42390 * sysdeps/unix/sysv/linux/kernel-features.h
42391 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42392 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42393 <kernel-features.h>.
42394 [__NR_fadvise64_64]: Make code unconditional.
42395 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42396 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42397 !__NR_fadvise64_64)]: Likewise.
42398 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42399 !__NR_fadvise64_64))]: Likewise.
42400 [__NR_fadvise64]: Make code unconditional.
42401 [!__NR_fadvise64]: Remove conditional code.
42402 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42403 <kernel-features.h>.
42404 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42406 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42409 not include <kernel-features.h>.
42410 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42412 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42414 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42415 include <kernel-features.h>.
42416 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42418 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42421 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42423 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42424 slight instruction rearrangements per scrollpipe analysis.
42425 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42427 2012-08-20 Roland McGrath <roland@hack.frob.com>
42429 * manual/syslog.texi (syslog; vsyslog, closelog):
42430 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42431 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42433 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42434 DSOCAPS to match condition on defining it.
42436 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42438 * sysdeps/unix/sysv/linux/kernel-features.h
42439 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42441 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42442 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42444 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42445 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42447 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42448 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42450 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42451 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42453 * sysdeps/unix/sysv/linux/kernel-features.h
42454 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42455 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42457 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42458 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42459 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42460 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42461 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42462 Make code unconditional.
42463 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42464 (__mmap64) [!__NR_mmap2]: Likewise.
42465 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42466 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42467 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42468 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42469 [__NR_mmap2]: Make code unconditional.
42470 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42471 (__mmap64) [!__NR_mmap2]: Likewise.
42473 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42475 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42477 2012-08-18 Andreas Jaeger <aj@suse.de>
42479 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42481 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42483 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42484 * include/unistd.h (__have_sock_cloexec): Likewise.
42485 (__have_pipe2): Likewise.
42486 (__have_dup3): Likewise.
42488 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42491 * include/unistd.h (__have_pipe2): Change define into an extern int.
42492 (__have_dup3): Likewise.
42493 * socket/have_sock_cloexec.c: Include fcntl.h.
42494 (__have_pipe2): New variable.
42495 (__have_dup3): Likewise.
42497 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42499 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42501 2012-08-17 Marek Polacek <polacek@redhat.com>
42503 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42504 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42506 2012-08-17 Roland McGrath <roland@hack.frob.com>
42508 * configure.in: Add AC_SUBST for sysheaders.
42509 * configure: Regenerated.
42510 * config.make.in (sysheaders): New substituted variable.
42512 * sysdeps/unix/mkfifo.c: Moved ...
42513 * sysdeps/posix/mkfifo.c: ... here.
42514 * sysdeps/unix/mkfifoat.c: Moved ...
42515 * sysdeps/posix/mkfifoat.c: ... here.
42517 * sysdeps/unix/utime.c: Moved ...
42518 * sysdeps/posix/utime.c: ... here.
42520 * sysdeps/unix/time.c: Moved ...
42521 * sysdeps/posix/time.c: ... here.
42522 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42523 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42525 * sysdeps/unix/nice.c: Moved ...
42526 * sysdeps/posix/nice.c: ... here.
42528 * sysdeps/unix/alarm.c: Moved ...
42529 * sysdeps/posix/alarm.c: ... here.
42531 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42533 2012-08-17 Jeff Law <law@redhat.com>
42535 * intl/Makefile (codeset_mo): New variable.
42536 ($(codeset_mo)): New target.
42537 (tst-codeset.out): Depend on that. Remove explicit rule.
42538 (tst-gettext3.out, tst-gettext5.out): Likewise.
42539 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42540 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42541 * intl/tst-codeset.sh: Remove.
42542 * intl/tst-gettext3.sh: Likewise.
42543 * intl/tst-gettext5.sh: Likewise.
42545 2012-08-17 Roland McGrath <roland@hack.frob.com>
42547 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42548 * sysdeps/unix/syscalls.list: ... here.
42550 * sysdeps/posix/getaddrinfo.c
42551 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42552 (gaiconf_init, gaiconf_reload): Use them.
42553 [!_STATBUF_ST_NSEC]
42554 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42555 Define using time_t rather than struct timespec.
42557 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42558 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42560 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42562 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42563 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42566 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42567 __libc_cleanup_push argument.
42569 * bits/param.h: New file.
42570 * misc/sys/param.h: New file.
42571 * include/sys/param.h: New file.
42572 * misc/Makefile (headers): Add bits/param.h.
42573 * sysdeps/generic/sys/param.h: File removed.
42574 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42575 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42576 * sysdeps/mach/hurd/bits/param.h: New file.
42577 * sysdeps/mach/hurd/sys/param.h: File removed.
42579 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42582 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42584 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42585 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42588 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42589 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42590 rather than -D_IO_MTSAFE_IO conditionally.
42591 * stdio-common/Makefile (CPPFLAGS): Likewise.
42592 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42593 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42594 Use $(libio-mtsafe).
42595 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42596 of -D_IO_MTSAFE_IO.
42597 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42598 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42599 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42600 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42601 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42602 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42603 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42604 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42605 (CFLAGS-fread_u_chk.c): Likewise.
42606 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42607 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42608 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42609 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42610 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42611 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42612 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42613 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42614 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42616 * libio/Makefile: Test [$(libc-reentrant) = yes]
42617 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42620 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42621 * sysdeps/pthread/configure: File removed.
42622 * sysdeps/pthread/Makeconfig: New file.
42623 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42624 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42626 2012-08-16 Gary Benson <gbenson@redhat.com>
42628 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42629 unmapping the first object in a namespace.
42631 2012-08-16 Roland McGrath <roland@hack.frob.com>
42633 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42634 (__internal_setnetgrent): ... this. Add internal_function to
42635 definition. Add libc_hidden_def.
42636 (setnetgrent): Update caller.
42637 (internal_endnetgrent): Renamed to ...
42638 (__internal_endnetgrent): ... this. Add internal_function to
42639 definition. Add libc_hidden_def.
42640 (endnetgrent): Update caller.
42641 (internal_getnetgrent_r): Renamed to ...
42642 (__internal_getnetgrent_r): ... this. Add internal_function to
42643 definition. Add libc_hidden_def.
42644 (__getnetgrent_r): Update caller.
42645 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42647 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42649 * stdlib/longlong.h: Update from GCC.
42651 2012-08-16 Roland McGrath <roland@hack.frob.com>
42653 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42654 on _QL, which is set by umul_ppmm but never used.
42655 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42656 variables, which are set by GMP macros but never used.
42657 * stdio-common/_itowa.c (_itowa): Likewise.
42658 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42659 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42661 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42663 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42664 struct La_sh_regs is not constant.
42665 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42666 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42667 and struct La_sparc64_regs are not constant.
42669 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42671 * sysdeps/unix/sysv/linux/kernel-features.h
42672 (__ASSUME_POSIX_TIMERS): Remove.
42673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42674 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42675 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42676 Make code unconditional.
42677 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42678 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42679 Make code unconditional.
42680 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42681 * sysdeps/unix/sysv/linux/clock_nanosleep.c
42682 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42683 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42684 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42685 Make code unconditional.
42686 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42687 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42688 (__libc_missing_posix_timers): Remove.
42690 2012-08-15 Roland McGrath <roland@hack.frob.com>
42692 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42693 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42695 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42697 * elf/dl-sym.c: Include <stdlib.h>.
42699 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42700 constants, which avoids warnings in 32-bit builds.
42702 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42703 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42705 * misc/lseek.c: File moved to ...
42706 * io/lseek.c: ... here.
42708 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42710 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42711 shifting LEN more than 31 bits at once.
42713 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42716 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42717 segmentation fault for a case of two empty input strings.
42718 * string/test-strncasecmp.c (check1): Renamed to...
42719 (bz12205): ...this.
42720 (bz14195): Add new testcase for two empty input strings and N > 0.
42721 (test_main): Call new testcase, adapt for renamed function.
42723 2012-08-15 Andreas Jaeger <aj@suse.de>
42726 * crypt/md5test2.c: New test, based on test supplied by Serge
42727 Belyshev <belyshev@depni.sinp.msu.ru>.
42728 * crypt/Makefile (xtests): Add md5test-giant..
42729 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42731 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42734 * crypt/md5.c (md5_process_block): Don't assume the buffer
42735 length is less than 2**32.
42736 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42737 length is less than 2**64.
42739 2012-08-15 Roland McGrath <roland@hack.frob.com>
42741 * string/str-two-way.h: Include <sys/param.h>.
42742 (MAX): Macro removed.
42744 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42745 Move #define and #undef of memmove to just before and after
42746 including <string.h>.
42748 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42749 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42750 and after including <string.h>. Move declarations of
42751 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42752 to before #include "string/memmove.c".
42754 * include/dirent.h: Declare __getdirentries.
42756 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42757 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42759 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42761 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42762 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42763 * sysdeps/i386/configure: Regenerated.
42764 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42765 STABS_CURRENT_FILE, and STABS_FUN.
42766 (END): Remove call to STABS_FUN_END.
42767 (STABS_CURRENT_FILE1): Delete.
42768 (STABS_CURRENT_FILE): Likewise.
42769 (STABS_FUN): Likewise.
42770 (STABS_FUN_END): Likewise.
42771 (STABS_FUN2): Likewise.
42772 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42773 * sysdeps/x86_64/configure: Regenerated.
42775 2012-08-14 Roland McGrath <roland@hack.frob.com>
42777 * elf/dl-open.c: Include <atomic.h>.
42778 * elf/dl-lookup.c: Likewise.
42780 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42782 * sysdeps/unix/sysv/linux/kernel-features.h
42783 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42784 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42786 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42788 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42789 condition on __ASSUME_CLONE_THREAD_FLAGS.
42791 2012-08-14 Andreas Jaeger <aj@suse.de>
42793 * sysdeps/i386/fpu/libm-test-ulps: Update.
42795 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42797 * include/atomic.h (atomic_exchange_and_add): Split into ...
42798 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42801 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42805 2012-08-13 Jeff Law <law@redhat.com>
42807 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42808 null byte in the output string.
42810 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42812 * sysdeps/unix/sysv/linux/kernel-features.h
42813 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42814 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42815 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42816 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42817 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42818 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42819 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42821 2012-08-09 Jeff Law <law@redhat.com>
42824 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42825 When avoid_arena is set, don't retry in the that arena. Pick the
42826 next one, whatever it might be.
42827 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42828 (arena_lock): Pass in new parameter to arena_get2.
42829 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42831 (__libc_malloc): Unify retrying after main arena failure with
42832 __libc_memalign version.
42833 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42835 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42838 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42839 to __redirect_strstr.
42840 (__strstr_sse42): Use typeof __redirect_strstr.
42841 (__strstr_ia32): Likewise.
42842 (__libc_strstr): New prototype.
42843 (strstr): Renamed to ...
42844 (__libc_strstr): This.
42845 (strstr): New strong alias of __libc_strstr.
42846 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42847 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42850 (__libc_time): New prototype.
42851 (time_ifunc): Replace time with __libc_time.
42852 (time): New strong alias and hidden definition of __libc_time.
42853 (__GI_time): Remove strong alias.
42854 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42855 Include <stddef.h>.
42856 (memmove): Redefined to __redirect_memmove.
42857 (__memmove_sse2): Use typeof __redirect_memmove.
42858 (__memmove_ssse3): Likewise.
42859 (__memmove_ssse3_back): Likewise.
42860 (__libc_memmove): New prototype.
42861 (memmove): Renamed to ...
42862 (__libc_memmove): This.
42863 (memmove): New strong alias of __libc_memmove.
42865 2012-08-08 Mark Salter <msalter@redhat.com>
42868 (R_MN10300_TLS_GD): Define.
42869 (R_MN10300_TLS_LD): Likewise.
42870 (R_MN10300_TLS_LDO): Likewise.
42871 (R_MN10300_TLS_GOTIE): Likewise.
42872 (R_MN10300_TLS_IE): Likewise.
42873 (R_MN10300_TLS_LE): Likewise.
42874 (R_MN10300_TLS_DTPMOD): Likewise.
42875 (R_MN10300_TLS_DTPOFF): Likewise.
42876 (R_MN10300_TLS_TPOFF): Likewise.
42877 (R_MN10300_SYM_DIFF): Likewise.
42878 (R_MN10300_ALIGN): Likewise.
42879 (R_MN10300_NUM): Update.
42881 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42883 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42886 2012-08-08 Roland McGrath <roland@hack.frob.com>
42888 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42890 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42891 sysdeps/unix -> sysdeps/posix move.
42892 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42894 2012-08-07 Allan McRae <allan@archlinux.org>
42897 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42898 (SUNOS_CPP): Likewise.
42899 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42901 (open_input): Call CPP using execvp.
42903 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42905 * sysdeps/unix/sysv/linux/kernel-features.h
42906 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42907 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42908 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42909 (__ASSUME_WAITID_SYSCALL): Likewise.
42910 * sysdeps/unix/sysv/linux/dl-execstack.c
42911 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42912 code unconditional.
42913 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42915 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42916 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42917 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42919 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42921 [__ASSUME_WAITID_SYSCALL]: Likewise.
42922 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42924 2012-08-07 Roland McGrath <roland@hack.frob.com>
42926 * sysdeps/unix/closedir.c: Renamed to ...
42927 * sysdeps/posix/closedir.c: ... here.
42928 * sysdeps/unix/dirfd.c: Renamed to ...
42929 * sysdeps/posix/dirfd.c: ... here.
42930 * sysdeps/unix/dirstream.h: Renamed to ...
42931 * sysdeps/posix/dirstream.h: ... here.
42932 * sysdeps/unix/fdopendir.c: Renamed to ...
42933 * sysdeps/posix/fdopendir.c: ... here.
42934 * sysdeps/unix/opendir.c: Renamed to ...
42935 * sysdeps/posix/opendir.c: ... here.
42936 * sysdeps/unix/readdir.c: Renamed to ...
42937 * sysdeps/posix/readdir.c: ... here.
42938 * sysdeps/unix/readdir_r.c: Renamed to ...
42939 * sysdeps/posix/readdir_r.c: ... here.
42940 * sysdeps/unix/rewinddir.c: Renamed to ...
42941 * sysdeps/posix/rewinddir.c: ... here.
42942 * sysdeps/unix/seekdir.c: Renamed to ...
42943 * sysdeps/posix/seekdir.c: ... here.
42944 * sysdeps/unix/telldir.c: Renamed to ...
42945 * sysdeps/posix/telldir.c: ... here.
42946 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42947 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42948 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42949 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42951 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42952 * bits/fcntl.h: ... here.
42954 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42956 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42957 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42958 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42959 (struct flock): Move l_start, l_len to the beginning.
42960 Use __pid_t for l_pid.
42961 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42962 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42963 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42964 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42965 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42966 [__USE_LARGEFILE64] (struct flock64): New type.
42967 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42969 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42970 * bits/dirent.h: ... here.
42972 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42973 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42975 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42977 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42978 Change from 2.6.0 to 2.6.16.
42979 * sysdeps/unix/sysv/linux/configure: Regenerated.
42980 * sysdeps/unix/sysv/linux/kernel-features.h
42981 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42982 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42984 (__ASSUME_UTIMES): Likewise.
42985 (__ASSUME_CLONE_STOPPED): Remove.
42986 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42987 architectures, not kernel version.
42988 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42989 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42990 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42991 (__ASSUME_WAITID_SYSCALL): Likewise.
42992 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42993 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42994 * README: State 2.6.16 as minimum Linux kernel version. Do not
42995 refer to older versions.
42997 2012-08-06 Roland McGrath <roland@hack.frob.com>
42999 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43000 Define alphasort64 as an alias.
43001 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43002 Define versionsort64 as an alias.
43003 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43004 Define scandir64 as an alias.
43005 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43006 Define scandirat64 as an alias.
43007 * dirent/alphasort64.c (alphasort64):
43008 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43009 * dirent/versionsort64.c: Likewise.
43010 * dirent/scandir64.c: Likewise.
43011 * dirent/scandirat64.c: Likewise.
43012 * sysdeps/wordsize-64/alphasort.c: File removed.
43013 * sysdeps/wordsize-64/alphasort64.c: File removed.
43014 * sysdeps/wordsize-64/scandir.c: File removed.
43015 * sysdeps/wordsize-64/scandir64.c: File removed.
43016 * sysdeps/wordsize-64/scandirat.c: File removed.
43017 * sysdeps/wordsize-64/scandirat64.c: File removed.
43018 * sysdeps/wordsize-64/versionsort.c: File removed.
43019 * sysdeps/wordsize-64/versionsort64.c: File removed.
43020 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43021 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43022 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43023 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43024 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43025 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43026 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43027 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43029 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43031 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43032 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43033 [defined __arch64__ || defined __sparcv9]
43034 (__INO_T_MATCHES_INO64_T): New macro.
43035 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43036 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43037 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43038 * sysdeps/unix/sysv/linux/bits/dirent.h
43039 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43040 (_DIRENT_MATCHES_DIRENT64): New macro.
43042 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43043 Define lockf64 as an alias.
43044 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43045 Define fseeko64 as an alias.
43046 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43047 Define ftello64 as an alias.
43048 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43049 Define _IO_fgetpos64 and fgetpos64 as aliases.
43050 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43051 Define _IO_fsetpos64 and fsetpos64 as aliases.
43052 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43053 Conditionalize body on this.
43054 * libio/fseeko64.c: Likewise.
43055 * libio/ftello64.c: Likewise.
43056 * libio/iofgetpos64.c: Likewise.
43057 * libio/iofsetpos64.c: Likewise.
43058 * sysdeps/wordsize-64/lockf.c: File removed.
43059 * sysdeps/wordsize-64/lockf64.c: File removed.
43060 * sysdeps/wordsize-64/fseeko.c: File removed.
43061 * sysdeps/wordsize-64/fseeko64.c: File removed.
43062 * sysdeps/wordsize-64/ftello.c: File removed.
43063 * sysdeps/wordsize-64/ftello64.c: File removed.
43064 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43065 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43066 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43067 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43068 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43069 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43070 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43072 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43074 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43075 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43076 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43077 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43079 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43081 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43083 [defined __arch64__ || defined __sparcv9]
43084 (__OFF_T_MATCHES_OFF64_T): New macro.
43085 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43086 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43087 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43088 (__OFF_T_MATCHES_OFF64_T): New macro.
43090 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43092 * stdlib/secure-getenv.c (__secure_getenv): Replace
43093 GLIBC_2_16 with GLIBC_2_17.
43095 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43097 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43098 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43100 2012-08-03 David S. Miller <davem@davemloft.net>
43102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43104 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43108 (__ASSUME_CORRECT_SI_PID): Likewise.
43109 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43110 (__ASSUME_TMPFS_NAME): Likewise.
43111 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43112 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43113 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43114 (HAVE_AUX_SECURE): Make definition unconditional.
43115 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43116 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43118 2012-08-03 Roland McGrath <roland@hack.frob.com>
43120 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43121 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43122 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43123 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43124 __eloop_threshold instead of SYMLOOP_MAX.
43126 * sysdeps/generic/eloop-threshold.h: New file.
43127 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43129 * elf/chroot_canon.c (chroot_canon): Likewise.
43131 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43135 Change to 2.6.0 everywhere.
43136 * sysdeps/unix/sysv/linux/configure: Regenerated.
43137 * sysdeps/unix/sysv/linux/kernel-features.h
43138 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43139 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43141 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43142 (__ASSUME_FUTEX_REQUEUE): Remove.
43143 (__ASSUME_STATFS64): Define unconditionally.
43144 (__ASSUME_AT_SECURE): Likewise.
43145 (__ASSUME_CORRECT_SI_PID): Likewise.
43146 (__ASSUME_TGKILL): Define without depending on kernel version for
43148 (__ASSUME_UTIMES): Likewise.
43149 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43151 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43152 (__ASSUME_TMPFS_NAME): Likewise.
43153 * README: Update reference to Linux kernel versions.
43155 2012-08-02 Marek Polacek <polacek@redhat.com>
43158 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43159 libc_cv_asm_type_prefix with %.
43160 * configure: Regenerated.
43161 * include/libc-symbols.h: Remove comment about
43162 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43163 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43164 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43165 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43166 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43167 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43168 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43169 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43170 * elf/tst-unique2mod1.c: Likewise.
43171 * elf/tst-unique1mod2.c: Likewise.
43172 * elf/tst-unique1mod1.c: Likewise.
43173 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43174 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43175 Replace ASM_TYPE_DIRECTIVE with .type.
43176 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43177 * sysdeps/i386/sysdep.h: Likewise.
43178 * sysdeps/x86_64/sysdep.h: Likewise.
43179 * sysdeps/sh/sysdep.h: Likewise.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43181 Do not define ASM_TYPE_DIRECTIVE.
43182 * sysdeps/powerpc/sysdep.h: Likewise.
43183 * sysdeps/powerpc/powerpc32/sysdep.h:
43184 Replace ASM_TYPE_DIRECTIVE with .type.
43185 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43186 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43187 * sysdeps/i386/fpu/e_powf.S: Likewise.
43188 * sysdeps/i386/fpu/e_expl.S: Likewise.
43189 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43190 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43191 * sysdeps/i386/fpu/e_pow.S: Likewise.
43192 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43193 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43194 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43195 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43196 * sysdeps/i386/fpu/e_log2.S: Likewise.
43197 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43198 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43199 * sysdeps/i386/fpu/e_powl.S: Likewise.
43200 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43201 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43202 * sysdeps/i386/fpu/e_logl.S: Likewise.
43203 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43204 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43205 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43206 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43207 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43208 * sysdeps/i386/fpu/e_log.S: Likewise.
43209 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43210 * sysdeps/i386/fpu/e_logf.S: Likewise.
43211 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43212 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43213 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43214 * sysdeps/i386/fpu/e_log10.S: Likewise.
43215 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43216 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43217 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43218 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43219 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43220 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43221 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43222 * sysdeps/i386/i686/strtok.S: Likewise.
43223 * sysdeps/i386/i386-mcount.S: Likewise.
43224 * sysdeps/i386/strtok.S: Likewise.
43225 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43226 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43227 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43228 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43229 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43230 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43231 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43232 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43233 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43234 * sysdeps/x86_64/_mcount.S: Likewise.
43235 * sysdeps/x86_64/strtok.S: Likewise.
43236 * sysdeps/sh/_mcount.S: Likewise.
43238 2012-08-01 Roland McGrath <roland@hack.frob.com>
43240 * libio/iofopen.c: Include <fcntl.h>.
43241 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43242 (_IO_fopen64, fopen64): Define as aliases.
43243 * libio/iofopen64.c: Include <fcntl.h>.
43244 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43245 Conditionalize body on this.
43246 * sysdeps/wordsize-64/iofopen.c: File removed.
43247 * sysdeps/wordsize-64/iofopen64.c: File removed.
43249 2012-08-01 Marek Polacek <polacek@redhat.com>
43251 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43252 Use dlfcn directly instead of a variable.
43253 (binfmt-subdir): Do not define.
43256 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43258 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43259 Remove all definitions.
43260 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43261 <kernel-features.h>.
43262 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43263 (miss_F_GETOWN_EX): Remove all definitions.
43264 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43266 [!__ASSUME_FCNTL64]: Remove conditional code.
43267 [__ASSUME_FCNTL64]: Make code unconditional.
43268 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43269 <kernel-features.h>.
43270 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43271 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43272 (lockf64) [__NR_fcntl64]: Make code unconditional.
43273 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43275 * sysdeps/unix/sysv/linux/kernel-features.h
43276 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43277 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43278 Make code unconditional.
43279 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43280 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43282 [__NR_vfork]: Make code unconditional.
43283 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43284 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43286 [__NR_vfork]: Make code unconditional.
43287 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43288 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43290 2012-08-01 Roland McGrath <roland@hack.frob.com>
43292 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43293 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43295 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43296 Define mkstemp64 as an alias.
43297 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43298 Define mkstemps64 as an alias.
43299 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43300 Define mkostemp64 as an alias.
43301 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43302 Define mkostemps64 as an alias.
43303 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43304 Conditionalize body on this.
43305 * misc/mkostemp64.c: Likewise.
43306 * misc/mkostemps64.c: Likewise.
43307 * misc/mkstemps64.c: Likewise.
43308 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43309 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43310 * sysdeps/wordsize-64/mkostemp.c: File removed.
43311 * sysdeps/wordsize-64/mkstemp.c: File removed.
43312 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43313 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43314 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43315 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43318 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43319 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43320 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43321 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43323 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43324 compat_symbol macros from <shlib-compat.h> rather than the underlying
43325 default_symbol_version and symbol_version macros, so that DEFAULT
43326 lines in shlib-versions are respected.
43327 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43329 2012-08-01 Florian Weimer <fweimer@redhat.com>
43331 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43332 Declare with warn_unused_result.
43333 (setgid, setregid, setegid, setresgid): Likewise.
43334 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43336 * WUR-REPORT: Remove set*id functions.
43338 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43340 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43342 2012-07-31 Roland McGrath <roland@hack.frob.com>
43345 * include/sys/socket.h (__libc_accept, __libc_accept4):
43346 Add attribute_hidden.
43347 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43349 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43351 * inet/getnetgrent_r.c (setup): Likewise.
43353 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43355 2012-07-31 David S. Miller <davem@davemloft.net>
43357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43359 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43362 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43363 value between 1.0 and 2.0 and smaller part has absolute value less
43365 * math/s_clog10.c (__clog10): Likewise.
43366 * math/s_clog10f.c (__clog10f): Likewise.
43367 * math/s_clog10l.c (__clog10l): Likewise.
43368 * math/s_clogf.c (__clogf): Likewise.
43369 * math/s_clogl.c (__clogl): Likewise.
43370 * math/libm-test.inc (clog_test): Add more tests.
43371 (clog10_test): Likewise.
43372 * sysdeps/i386/fpu/libm-test-ulps: Update.
43373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43375 2012-07-31 Florian Weimer <fweimer@redhat.com>
43377 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43378 Exit with zero in case no suitable GID is found, and write a
43379 message to standard error.
43381 2012-07-30 Roland McGrath <roland@hack.frob.com>
43383 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43385 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43386 (MAXPATHLEN): Removed.
43387 (NOGROUP, NODEV): New macros.
43388 (setbit, clrbit, isset, isclr): New macros.
43389 (howmany, roundup, powerof2): New macros.
43390 (DEV_BSIZE): New macro.
43392 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43393 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43395 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43396 definition on [!__NO_LONG_DOUBLE_MATH].
43398 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43399 PTR_MANGLE and PTR_DEMANGLE.
43401 * socket/accept4.c (accept4): Rename to __libc_accept4.
43402 Define accept4 as a weak alias.
43404 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43405 on [_DIRENT_HAVE_D_TYPE].
43406 * io/ftw.c (ftw_dir): Likewise.
43408 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43410 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43412 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43413 Use the BSD numbers rather than the arbitrary ones we had.
43414 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43415 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43416 (SIGXCPU, SIGXFSZ): New macros.
43419 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43420 initializer on [_LIBC_REENTRANT].
43422 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43423 definitions inside [_POSIX_MAPPED_FILES].
43425 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43427 * dirent/opendir.c: Include <fcntl.h>.
43429 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43430 (__libc_getspecific): Likewise.
43431 (__libc_key_create): Likewise.
43433 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43434 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43435 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43436 (tmpfile64): Define as alias.
43437 * sysdeps/wordsize-64/tmpfile.c: File removed.
43438 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43439 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43440 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43442 * stdio-common/vfscanf.c: Include <stdbool.h>.
43443 * nss/makedb.c: Likewise.
43444 * stdio-common/_i18n_number.h: Likewise.
43445 * argp/argp-help.c: Likewise.
43446 * posix/wordexp.c: Likewise.
43447 * sysdeps/posix/spawni.c: Likewise.
43448 * nss/nss_files/files-initgroups.c: Likewise.
43449 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43450 * nss/nss_files/files-initgroups.c: Likewise.
43451 * nss/nss_db/db-netgrp.c: Likewise.
43452 * nss/nss_db/db-initgroups.c: Likewise.
43453 * io/fchmodat.c: Include <sys/stat.h>.
43455 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43456 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43458 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43461 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43462 Add multiple inclusion protection.
43464 2012-07-27 David S. Miller <davem@davemloft.net>
43466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43468 2012-07-27 Gary Benson <gbenson@redhat.com>
43471 * elf/rtld.c: Include <stap-probe.h>.
43472 (dl_main): Added static probes "init_start" and "init_complete".
43473 * elf/dl-load.c: Include <stap-probe.h>.
43474 (lose): Take new parameter "nsid".
43475 Added static probe "map_failed".
43476 (_dl_map_object_from_fd): Pass namespace id to lose.
43477 Added static probe "map_start".
43478 (open_verify): Pass namespace id to lose.
43479 * elf/dl-open.c: Include <stap-probe.h>.
43480 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43481 and "reloc_complete".
43482 * elf/dl-close.c: Include <stap-probe.h>.
43483 (_dl_close_worker): Added static probes "unmap_start" and
43485 * elf/rtld-debugger-interface.txt: New file documenting the above.
43487 2012-07-26 Roland McGrath <roland@hack.frob.com>
43489 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43490 rather than a string variable.
43491 * sunrpc/rpc_main.c (h_output): Likewise.
43492 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43494 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43496 * inet/check_native.c: New file.
43498 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43501 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43502 if larger part has absolute value 1.0.
43503 * math/s_clog10.c (__clog10): Likewise.
43504 * math/s_clog10f.c (__clog10f): Likewise.
43505 * math/s_clog10l.c (__clog10l): Likewise.
43506 * math/s_clogf.c (__clogf): Likewise.
43507 * math/s_clogl.c (__clogl): Likewise.
43508 * math/libm-test.inc (clog_test): Add more tests.
43509 (clog10_test): Likewise.
43510 * sysdeps/i386/fpu/libm-test-ulps: Update.
43511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43513 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43514 (pltexit): Likewise.
43515 (La_regs): Likewise.
43516 (La_retval): Likewise.
43517 (int_retval): Likewise.
43518 Update #error for removed macros to refer only to definitions in
43520 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43522 (pltexit): Likewise.
43523 (La_regs): Likewise.
43524 (La_retval): Likewise.
43525 (int_retval): Likewise.
43526 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43528 (pltexit): Likewise.
43529 (La_regs): Likewise.
43530 (La_retval): Likewise.
43531 (int_retval): Likewise.
43532 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43534 (pltexit): Likewise.
43535 (La_regs): Likewise.
43536 (La_retval): Likewise.
43537 (int_retval): Likewise.
43538 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43540 (pltexit): Likewise.
43541 (La_regs): Likewise.
43542 (La_retval): Likewise.
43543 (int_retval): Likewise.
43544 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43546 (pltexit): Likewise.
43547 (La_regs): Likewise.
43548 (La_retval): Likewise.
43549 (int_retval): Likewise.
43550 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43552 (pltexit): Likewise.
43553 (La_regs): Likewise.
43554 (La_retval): Likewise.
43555 (int_retval): Likewise.
43556 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43557 macro definitions in tst-audit.h.
43558 * sysdeps/i386/tst-audit.h: New file.
43559 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43560 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43561 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43562 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43563 * sysdeps/sh/tst-audit.h: Likewise.
43564 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43565 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43566 * sysdeps/x86_64/tst-audit.h: Likewise.
43568 2012-07-26 Andreas Jaeger <aj@suse.de>
43570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43573 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43574 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43575 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43577 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43578 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43579 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43581 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43584 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43586 (si_call_addr, si_syscall, si_arch): Define new macro.
43587 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43589 (si_call_addr, si_syscall, si_arch): Define new marcro.
43590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43592 (si_call_addr, si_syscall, si_arch): Define new macro.
43593 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43595 (si_call_addr, si_syscall, si_arch): Define new macro.
43597 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43601 Change to 2.4.21 where previously 2.4.1.
43602 * sysdeps/unix/sysv/linux/configure: Regenerated.
43603 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43604 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43605 Linux kernel version.
43606 (__ASSUME_STD_AUXV): Remove.
43607 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43609 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43610 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43611 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43612 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43613 (__ASSUME_NETLINK_SUPPORT): Likewise.
43614 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43615 (__no_netlink_support): Remove conditional definition.
43616 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43618 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43619 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43621 (if_nameindex_ioctl): Remove.
43622 (if_nameindex_netlink): Do not handle __no_netlink_support.
43623 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43625 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43626 Remove conditional code.
43627 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43629 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43631 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43632 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43633 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43635 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43636 [!__ASSUME_STD_AUXV]: Remove conditional code.
43637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43638 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43639 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43641 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43642 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43644 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43646 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43647 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43649 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43651 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43654 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43657 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43658 code unconditional.
43659 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43661 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43663 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43666 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43668 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43671 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43672 code unconditional.
43673 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43675 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43677 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43680 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43681 code unconditional.
43682 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43684 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43686 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43689 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43691 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43692 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43693 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43694 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43695 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43696 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43697 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43698 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43699 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43700 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43701 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43702 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43703 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43704 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43705 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43706 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43707 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43708 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43709 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43711 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43712 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43713 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43715 2012-07-25 Florian Weimer <fweimer@redhat.com>
43717 * Versions.def: Add GLIBC_2.17.
43718 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43719 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43720 Introduce __libc_secure_getenv.
43721 * stdlib/Versions (2.17): Add secure_getenv
43722 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43723 * stdlib/secure-getenv.c: Rename __secure_getenv to
43724 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43725 symbol __secure_getenv for GLIBC_2.0.
43726 * stdlib/tst-secure-getenv.c: New.
43727 * stdlib/Makefile (tests): Add testcase.
43728 * manual/startup.texi (Environment Access): Document
43730 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43731 __libc_secure_getenv.
43732 * inet/ruserpass.c (ruserpass): Likewise.
43733 * malloc/mtrace.c (mtrace): Likewise.
43734 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43735 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43736 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43737 * sysdeps/posix/tempname.c: Likewise. Evaluate
43738 HAVE_SECURE_GETENV.
43739 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43740 __secure_getenv to __libc_secure_getenv.
43741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43754 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43756 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43757 (struct La_i86_retval): Likewise.
43758 (struct La_x86_64_regs): Likewise.
43759 (struct La_x86_64_retval): Likewise.
43760 (struct La_x32_regs): Likewise.
43761 (struct La_x32_retval): Likewise.
43762 (struct La_ppc32_regs): Likewise.
43763 (struct La_ppc32_retval): Likewise.
43764 (struct La_ppc64_regs): Likewise.
43765 (struct La_ppc64_retval): Likewise.
43766 (struct La_sh_regs): Likewise.
43767 (struct La_sh_retval): Likewise.
43768 (struct La_s390_32_regs): Likewise.
43769 (struct La_s390_32_retval): Likewise.
43770 (struct La_s390_64_regs): Likewise.
43771 (struct La_s390_64_retval): Likewise.
43772 (struct La_sparc32_regs): Likewise.
43773 (struct La_sparc32_retval): Likewise.
43774 (struct La_sparc64_regs): Likewise.
43775 (struct La_sparc64_retval): Likewise.
43776 (struct audit_ifaces): Remove architecture-specific pltenter and
43778 * sysdeps/i386/ldsodefs.h: New file.
43779 * sysdeps/powerpc/ldsodefs.h: Likewise.
43780 * sysdeps/s390/ldsodefs.h: Likewise.
43781 * sysdeps/sh/ldsodefs.h: Likewise.
43782 * sysdeps/sparc/ldsodefs.h: Likewise.
43783 * sysdeps/x86_64/ldsodefs.h: Likewise.
43785 2012-07-25 Marek Polacek <polacek@redhat.com>
43788 * math/libm-test.inc (yn_test): Add another test.
43789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43790 to ERANGE when the result is +-Inf.
43791 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43792 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43793 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43794 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43796 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43798 * conform/data/time.h-data (NULL): Use macro-constant. Require
43800 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43802 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43804 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43806 * configure.in <sysdeps resolving>: Correct printing
43808 * configure: Regenerate.
43810 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43812 * math/w_ilogb.c: Include <limits.h>.
43813 * math/w_ilogbl.c: Likewise.
43815 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43817 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43818 va_copy. Document allowing for unavailable va_copy only as
43819 pre-C99 compatibility.
43820 * manual/string.texi (Copying and Concatenation): Use va_copy
43821 instead of __va_copy in concat example.
43823 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43825 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43826 (__sendto): Use create_address_port. Initialize APORT and deallocate
43829 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43830 with O_NOLINK passed to __file_name_lookup.
43832 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43833 with O_NOLINK passed to __file_name_lookup.
43835 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43836 negative N or less than NGIDS.
43838 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43839 type to string_t. Set ERANGE as errno and return it if NAME is not big
43840 enough. Use memcpy instead of strncpy.
43842 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43844 * elf/Makefile (check-data): Remove.
43845 (localplt.data): New vpath directive.
43846 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43847 instead of $(check-data).
43848 * scripts/data/localplt-generic.data: Move to ...
43849 * sysdeps/generic/localplt.data: ... here.
43850 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43851 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43852 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43855 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43858 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43861 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43864 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43867 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43871 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43873 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43874 PPC32 and PPC64 files.
43875 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43876 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43878 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43880 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43881 __makecontext_ret to ...
43882 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43883 ... here and call exit if uc_link is NULL. New file.
43884 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43885 __makecontext_ret.S.
43886 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43887 __makecontext_ret to ...
43888 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43889 ... here and call exit if uc_link is NULL. New file.
43890 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43891 __makecontext_ret.S.
43893 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43895 * elf/elf.h (R_390_IRELATIVE): New definition.
43896 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43897 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43898 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43899 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43900 (elf_machine_lazy_rel): Likewise.
43901 * sysdeps/s390/dl-irel.h: New file.
43902 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43903 * sysdeps/s390/s390-64/memset.S: New asm code.
43904 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43905 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43906 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43907 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43908 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43909 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43910 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43911 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43912 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43913 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43914 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43915 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43916 * sysdeps/s390/s390-32/memset.S: New asm code.
43917 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43919 2012-07-17 Marek Polacek <polacek@redhat.com>
43922 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43923 * sysdeps/s390/s390-64/configure.in: Likewise.
43924 * sysdeps/sparc/configure.in: Likewise.
43925 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43926 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43927 * sysdeps/i386/configure.in: Likewise.
43928 * sysdeps/x86_64/configure.in: Likewise.
43929 * sysdeps/sh/configure.in: Likewise.
43930 * sysdeps/s390/s390-32/configure: Regenerated.
43931 * sysdeps/s390/s390-64/configure: Likewise.
43932 * sysdeps/x86_64/configure: Likewise.
43933 * sysdeps/sh/configure: Likewise.
43934 * sysdeps/powerpc/powerpc64/configure: Likewise.
43935 * sysdeps/powerpc/powerpc32/configure: Likewise.
43936 * sysdeps/sparc/configure: Likwise.
43937 * sysdeps/i386/configure: Likewise.
43939 * elf/dl-open.c: Comment fixes.
43941 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43943 * Makefile [CXX] (check-data): Remove.
43944 [CXX] (c++-types.data): New vpath directive.
43945 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43946 vpath. Do not allow for C++ type data being missing.
43947 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43948 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43949 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43950 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43951 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43952 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43953 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43956 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43959 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43962 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43965 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43968 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43971 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43974 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43977 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43978 definitions to architecture-specific files.
43979 (TLS_IE): Likewise.
43980 (TLS_LD): Likewise.
43981 (TLS_GD): Likewise.
43982 * sysdeps/i386/tls-macros.h: New file.
43983 * sysdeps/powerpc/tls-macros.h: Likewise.
43984 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43985 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43986 * sysdeps/sh/tls-macros.h: Likewise.
43987 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43988 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43989 * sysdeps/x86_64/tls-macros.h: Likewise.
43991 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43993 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43994 zero value for regular exit case.
43996 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43997 (__start_context): Preserve zero value for regular exit case.
43999 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44000 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44002 * manual/setjmp.texi (setcontext): Clarify normal process
44003 termination when uc_link is the null pointer.
44004 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44007 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44009 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44010 preprocessor. Test for each exception mask separately.
44012 2012-07-16 Andreas Jaeger <aj@suse.de>
44014 * po/ru.po: Update from translation team.
44016 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44018 * conform/data/string.h-data (NULL): Use macro-constant. Require
44020 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44021 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44022 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44023 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44026 2012-07-13 Andreas Jaeger <aj@suse.de>
44028 * po/fr.po: Update from translation team.
44030 2012-07-12 Marek Polacek <polacek@redhat.com>
44033 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44034 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44037 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44040 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44041 Change to 2.4.1 where previously 2.4.0.
44042 * sysdeps/unix/sysv/linux/configure: Regenerated.
44043 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44044 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44046 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44047 (__ASSUME_AT_CLKTCK): Remove.
44048 (__ASSUME_AT_PAGESIZE): Likewise.
44049 (__ASSUME_AT_XID): Likewise.
44050 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44051 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44052 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44054 (HAVE_AUX_PAGESIZE): Likewise.
44055 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44056 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44057 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44059 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44063 the temporary buffer used to invoke __gethostbyname2_r,
44064 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44065 host_data / struct gaih_addrtuple.
44066 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44067 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44068 header file nss/nsswitch.h.
44069 * nss/nsswitch.h (global scope): Add definition of implementation
44070 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44071 resolv/nss_dns/dns-host.c).
44073 2012-07-11 Andreas Jaeger <aj@suse.de>
44075 * po/fr.po: Update from translation team.
44077 * po/sv.po: Update from translation team
44078 * po/fr.po: Another update from translation team.
44080 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44082 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44083 for subnormals or multiply small sinh result by itself.
44084 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44087 2012-07-11 David S. Miller <davem@davemloft.net>
44089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44091 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44094 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44095 (INTERNAL_MARK): Shift it here.
44097 2012-07-10 Marek Polacek <polacek@redhat.com>
44100 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44101 libc_cv_asm_global_directive with .globl.
44102 * configure: Regenerated.
44103 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44105 * sysdeps/i386/configure: Regenerated.
44106 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44108 * sysdeps/x86_64/configure: Regenerated.
44109 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44110 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44111 * elf/tst-unique2mod2.c: Likewise.
44112 * elf/tst-unique2mod1.c: Likewise.
44113 * elf/tst-unique1mod2.c: Likewise.
44114 * elf/tst-unique1mod1.c: Likewise.
44115 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44116 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44118 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44119 * sysdeps/mach/sysdep.h: Likewise.
44120 * sysdeps/i386/sysdep.h: Likewise.
44121 * sysdeps/i386/i386-mcount.S: Likewise.
44122 * sysdeps/x86_64/_mcount.S: Likewise.
44123 * sysdeps/x86_64/sysdep.h: Likewise.
44124 * sysdeps/sh/_mcount.S: Likewise.
44125 * sysdeps/sh/sysdep.h: Likewise.
44126 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44127 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44128 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44129 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44130 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44131 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44132 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44133 * locale/localeinfo.h: Likewise.
44134 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44135 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44137 2012-07-09 Roland McGrath <roland@hack.frob.com>
44140 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44142 * manual/message.texi (The Uniforum approach): Likewise.
44143 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44144 (glibc iconv Implementation): Likewise.
44146 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44149 * math/s_clog.c (__clog): Avoid scaling a value down where that
44150 could result in underflow.
44151 * math/s_clog10.c (__clog10): Likewise.
44152 * math/s_clog10f.c (__clog10f): Likewise.
44153 * math/s_clog10l.c (__clog10l): Likewise.
44154 * math/s_clogf.c (__clogf): Likewise.
44155 * math/s_clogl.c (__clogl): Likewise.
44156 * math/libm-test.inc (clog_test): Add more tests.
44157 (clog10_test): Likewise.
44158 * sysdeps/i386/fpu/libm-test-ulps: Update.
44159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44161 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44164 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44165 by 7 not 8 to examine high bit of fractional part.
44168 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44169 for call to __mcount_internal.
44170 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44171 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44172 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44174 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44177 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44178 approximation for values within 0x1p-13f of an odd multiple of
44180 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44181 exception. Add more tests.
44182 * sysdeps/i386/fpu/libm-test-ulps: Update.
44185 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44186 inputs and return -1 for them. Do not check for +Inf in case not
44187 reachable for +Inf.
44188 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44189 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44190 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44191 and return -1 for them. Do not check for +Inf in case not
44192 reachable for +Inf.
44193 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44195 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44196 and return -1 for them. Do not check for +Inf in case not
44197 reachable for +Inf.
44198 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44199 spurious underflow.
44200 * sysdeps/i386/fpu/libm-test-ulps: Update.
44201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44203 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44205 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44207 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44211 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44212 could result in spurious underflow. Scale down values above
44213 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44214 * math/s_csqrtf.c (__csqrtf): Likewise.
44215 * math/s_csqrtl.c (__csqrtl): Likewise.
44216 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44217 spurious underflow.
44218 * sysdeps/i386/fpu/libm-test-ulps: Update.
44219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44221 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44223 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44225 * catgets/xopen-msg.awk: New file.
44226 * catgets/xopen-msg.sed: Removed.
44228 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44230 * intl/po2test.awk: New file.
44231 * intl/po2test.sed: Removed.
44233 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44236 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44237 or multiply small sinh result by itself.
44238 * math/s_ctanf.c (__ctanf): Likewise.
44239 * math/s_ctanh.c (__ctanh): Likewise.
44240 * math/s_ctanhf.c (__ctanhf): Likewise.
44241 * math/s_ctanhl.c (__ctanhl): Likewise.
44242 * math/s_ctanl.c (__ctanl): Likewise.
44243 * math/libm-test.inc (ctan_test_tonearest): New function.
44244 (ctan_test_towardzero): Likewise.
44245 (ctan_test_downward): Likewise.
44246 (ctan_test_upward): Likewise.
44247 (ctanh_test_tonearest): Likewise.
44248 (ctanh_test_towardzero): Likewise.
44249 (ctanh_test_downward): Likewise.
44250 (ctanh_test_upward): Likewise.
44251 (main): Call these new functions.
44252 * sysdeps/i386/fpu/libm-test-ulps: Update.
44253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44255 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44257 * .gitignore: Delete /ports entry.
44259 2012-07-03 Andreas Jaeger <aj@suse.de>
44261 * po/bg.po: Update from translation team.
44262 * po/cs.po: Likewise.
44263 * po/de.po: Likewise.
44264 * po/hr.po: Likewise.
44265 * po/nl.pl: Likewise.
44266 * po/pl.po: Likewise.
44267 * po/vi.po: Likewise.
44269 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44271 * Makeconfig [!+link] (+link-before-libc): New variable.
44272 [!+link] (+link-after-libc): Likewise.
44273 [!+link] (+link-tests): Likewise.
44274 [!+link] (+link): Define in terms of $(+link-before-libc) and
44275 $(+link-after-libc).
44276 [!+link-static] (+link-static-before-libc): New variable.
44277 [!+link-static] (+link-static-after-libc): Likewise.
44278 [!+link-static] (+link-static-tests): Likewise.
44279 [!+link-static] (+link-static): Define in terms of
44280 $(+link-static-before-libc) and $(+link-static-after-libc).
44281 [build-shared] (link-libc-before-gnulib): New variable.
44282 [build-shared] (link-libc-tests): Likewise.
44283 [build-shared] (link-libc): Define in terms of
44284 $(link-libc-before-gnulib).
44285 [!build-shared] (link-libc-tests): New variable.
44286 (link-libc-static-tests): New variable.
44287 [!gnulib] (gnulib-arch): New variable.
44288 [!gnulib] (gnulib-tests): Likewise.
44289 [!gnulib] (static-gnulib-arch): Likewise.
44290 [!gnulib] (static-gnulib-tests): Likewise.
44291 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44292 Define with "=" instead of ":=".
44293 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44294 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44295 * Rules (binaries-all-notests): New variable.
44296 (binaries-all-tests): Likewise.
44297 (binaries-static-notests): Likewise.
44298 (binaries-static-tests): Likewise.
44299 (binaries-all): Define using $(binaries-all-notests) and
44300 $(binaries-all-tests).
44301 (binaries-static): Define using $(binaries-static-notests) and
44302 $(binaries-static-tests).
44303 (binaries-shared-tests): New variable.
44304 (binaries-shared-notests): Likewise.
44305 (binaries-shared): Remove variable.
44306 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44307 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44308 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44309 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44310 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44311 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44312 * elf/Makefile (sln-modules): New variable.
44313 (extra-objs): Add $(sln-modules:=.o).
44314 (ldconfig-modules): Add static-stubs.
44315 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44316 * elf/static-stubs.c: New file.
44319 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44320 by 7 not 8 to examine high bit of fractional part. Use volatile
44321 variables when splitting into final array of floats if
44322 __FLT_EVAL_METHOD__ != 0.
44323 * math/libm-test.inc (cos_test): Add another test.
44324 (sin_test): Likewise.
44325 * sysdeps/i386/fpu/libm-test-ulps: Update.
44328 * math/libm-test.inc (cosh_test): Add more tests.
44330 * version.h (RELEASE): Set to "development".
44331 (VERSION): Set to "2.16.90".
44333 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44335 * NEWS: Update copyright. Remove last-updated date.
44336 Mention math library bug fixes and timezone data changes.
44337 * README: Mention GNU/Hurd, x32, and HPPA support status.
44339 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44341 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44343 2012-06-27 Andreas Jaeger <aj@suse.de>
44345 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44347 2012-06-25 Andreas Jaeger <aj@suse.de>
44349 * sysdeps/s390/fpu/libm-test-ulps: Update.
44351 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44352 Thomas Schwinge <thomas@codesourcery.com>
44354 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44355 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44359 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44361 * sysdeps/mach/start.c: Remove file.
44362 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44363 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44364 * sysdeps/sh/init-first.c: Likewise.
44366 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44367 registers for frame unwinding purposes, add CFI directives.
44368 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44370 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44373 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44374 __fortify_fail returning.
44375 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44377 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44378 sysdeps/sh/____longjmp_chk.S.
44379 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44380 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44381 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44382 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44384 * sysdeps/sh/abort-instr.h: New file.
44385 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44386 process in case exit returns.
44388 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44389 initialize the GOT register before use.
44391 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44392 calculation of ARGC > 4.
44394 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44395 meaningful names to some local labels.
44397 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44398 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44400 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44401 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44402 (__arch_compare_and_exchange_val_16_acq): Likewise.
44403 (__arch_compare_and_exchange_val_32_acq): Likewise.
44404 (atomic_exchange_and_add): Fix gUSA sequence.
44405 (atomic_add): Likewise.
44406 (atomic_add_negative): Likewise.
44407 (atomic_add_zero): Likewise.
44408 (atomic_bit_test_set): Likewise.
44410 2012-06-22 Andreas Schwab <schwab@redhat.com>
44413 * include/link.h (struct link_map): Add l_free_initfini.
44414 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44416 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44417 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44418 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44421 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44423 * configure.in: Use AC_LANG_SOURCE.
44424 * configure: Regenerate.
44426 2012-06-22 Roland McGrath <roland@hack.frob.com>
44428 * configure.in (libc_cv_localstatedir): New substituted variable.
44429 * configure: Regenerated.
44430 * config.make.in (localstatedir): New variable, substituted from
44431 libc_cv_localstatedir.
44432 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44433 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44434 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44435 * sysdeps/gnu/configure: Regenerated.
44437 2012-06-21 Jeff Law <law@redhat.com>
44440 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44441 free. Simplify list management for _LIBC case.
44443 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44446 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44447 Clear sign bit of 64-bit integer value before comparing against
44450 * sysdeps/mach/configure: Regenerated.
44452 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44455 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44457 2012-06-21 Jeff Law <law@redhat.com>
44460 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44461 uint16_t for elements in the "seen" array to avoid char overflows.
44462 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44463 * elf/dl-open.c (dl_open_worker): Likewise.
44465 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44467 * scripts/list-sources.sh: Scan PORTS for translations.
44468 * po/libc.pot: Regenerated.
44470 2012-06-21 Andreas Jaeger <aj@suse.de>
44473 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44475 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44476 * bits/byteswap-16.h (__bswap_16): Likewise.
44477 * bits/byteswap.h (__bswap_constant_16): Likewise.
44479 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44482 * sysdeps/i386/fpu_control.h: Removed.
44483 * sysdeps/x86_64/fpu_control.h: Moved to ...
44484 * sysdeps/x86/fpu_control.h: Here.
44486 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44487 (_FPU_SETCW): Likewise.
44489 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44492 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44493 * sysdeps/x86/fpu/bits/mathinline.h: This.
44494 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44498 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44499 functions if __x86_64__ is defined.
44501 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44503 * string/endian.h: Add !__ASSEMBLER__ condition for including
44504 conversion interfaces.
44506 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44510 of ABS(x) in calculating zero to negative powers other than odd
44512 * math/libm-test.inc (pow_test): Add more tests.
44514 2012-06-15 Andreas Jaeger <aj@suse.de>
44516 * manual/contrib.texi (Contributors): Update entry of Liubov
44517 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44520 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44522 * string/string.h: Add __wur to GNU version of strerror_r.
44524 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44527 * string/Makefile (tests): Add tst-strtok_r.
44528 * string/tst-strtok_r.c: New file.
44529 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44530 RAX_LP/RDX_LP on SAVE_PTR.
44532 2012-06-14 Roland McGrath <roland@hack.frob.com>
44534 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44536 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44538 * libm_test.inc (csqrt_test): Allow more spurious underflow
44540 (j0_test): Likewise.
44541 (j1_test): Likewise.
44542 (y0_test): Likewise.
44543 (y1_test): Likewise.
44545 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44547 * po/Makefile (libc.pot): Use UTF-8 charset.
44549 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44552 Suppress sign-conversion warning from FD_SET.
44553 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44554 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44555 not unsigned long int.
44556 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44558 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44562 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44563 __extern_always_inline instead of __extern_inline.
44564 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44565 (__signbit): Likewise.
44566 (__signbitl): Support C++ namespace.
44567 (lrintf): New inline function.
44569 (llrintf): Likewise.
44570 (llrint): Likewise.
44580 (floorf): Likewise.
44581 (nearbyint): Likewise.
44582 (nearbyintf): Likewise.
44584 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44587 non-default versions.
44589 2012-06-11 Roland McGrath <roland@hack.frob.com>
44592 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44594 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44596 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44597 (FE_UPWARD, FE_DOWNWARD): Don't define.
44598 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44599 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44601 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44603 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44604 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44606 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44608 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44610 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44611 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44613 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44616 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44617 * sysdeps/i386/fpu/Implies: New file.
44618 * sysdeps/x86_64/fpu/Implies: Likewise.
44619 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44620 * sysdeps/x86/fpu/bits/fenv.h: This.
44622 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44625 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44628 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44629 character 0xffff that matches the last element of the
44632 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44637 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44640 values higher than 25.6283.
44642 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44644 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44645 subnormal exponent extraction and add some __builtin_expect.
44646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44647 Fix for subnormal mantissa calculation.
44649 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44651 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44652 cpu2 is -1 and errno is not ENOSYS.
44654 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44657 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44658 * sysdeps/x86/bits/string.h: This.
44659 * sysdeps/x86_64/bits/string.h: Removed.
44661 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44662 if not compiling for x86-64, but compiling for >= i486.
44664 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44665 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44667 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44668 New macro from Linux kernel 3.4.0.
44669 (FP_XSTATE_MAGIC2): Likewise.
44670 (FP_XSTATE_MAGIC2_SIZE): Likewise.
44671 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44672 (struct _fpx_sw_bytes): New struct.
44673 (struct _xsave_hdr): Likewise.
44674 (struct _ymmh_state): Likewise.
44675 (struct _xstate): Likewise.
44677 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44678 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44679 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44680 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44681 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44682 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44684 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44685 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44686 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44687 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44688 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44689 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44691 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44694 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44695 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44696 (sysdep_headers): Include sys/platform/ppc.h.
44697 * sysdeps/powerpc/test-gettimebase.c: Test for
44698 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44699 * manual/Makefile (appendices): Include platform.texi.
44700 * manual/contrib.texi (Contributors): Update @node pointers.
44701 * manual/maint.texi (Maintenance): Likewise.
44702 (Platform): New node.
44703 * manual/platform.texi: New file. Document the new features.
44705 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44706 Jakub Jelinek <jakub@redhat.com>
44709 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44710 where __builtin_expect is unavailable.
44712 2012-06-03 David S. Miller <davem@davemloft.net>
44714 * stdlib/longlong.h: Updated from GCC.
44716 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44719 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44720 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44723 (GLIBC_2.16): Likewise.
44725 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44727 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44729 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44732 (default-abi): New variable.
44733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44734 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44736 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44738 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44740 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44743 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44744 definition. Document in comment.
44746 2012-06-01 David S. Miller <davem@davemloft.net>
44748 * stdlib/longlong.h: Updated from GCC.
44750 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44753 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44754 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44755 sys/debugreg.h sys/io.h here.
44756 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44757 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44759 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44760 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44761 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44762 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44763 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44764 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44767 Define only if __x86_64__ is defined.
44769 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44772 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44773 Use int64_t for variable i.
44774 * math/libm-test.inc (fmod_test): Add more tests.
44776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44777 z computation is not scheduled after fetestexcept.
44778 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44779 Use math_force_eval instead of asm to ensure calculation scheduled
44780 before exception test.
44781 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44782 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44784 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44787 computation is not scheduled after fetestexcept.
44789 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44792 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44793 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44795 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44797 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44798 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44800 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44803 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44805 (__WCHAR_MIN): Support __WORDSIZE == 64.
44806 (__WCHAR_MAX): Likewise.
44808 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44809 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44813 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44816 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44817 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44819 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44820 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44822 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44823 Defined to 1 if __x86_64__ isn't defined.
44824 (_STAT_VER_LINUX_OLD): New.
44825 (st_atime): Remove duplicate.
44826 (st_mtime): Likewise.
44827 (st_ctime): Likewise.
44829 2012-05-31 David S. Miller <davem@davemloft.net>
44831 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44834 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44836 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44840 * elf/dl-reloc.c: Include <_itoa.h>.
44841 (_dl_reloc_bad_type): Remove use of INTUSE.
44842 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44843 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44844 * stdio-common/psiginfo.c (psiginfo): Likewise.
44845 * stdio-common/psignal.c (psignal): Likewise.
44846 * string/strsignal.c (strsignal): Likewise.
44847 * include/signal.h (_sys_siglist): Declare hidden proto.
44848 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44849 INTVARDEF with libc_hidden_data_def.
44850 * stdio-common/itoa-udigits.c: Likewise.
44851 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44852 (_itoa_lower_digits_internal): Remove declaration.
44853 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44854 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44855 (_sys_sigabbrev_internal): Remove aliases.
44856 (_sys_siglist): Define hidden alias.
44858 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44863 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44866 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44867 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44869 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44870 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44871 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44872 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44874 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44876 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44877 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44878 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44880 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44888 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44889 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44890 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44892 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44893 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44895 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44896 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44897 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44899 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44900 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44902 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44903 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44907 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44909 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44910 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44912 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44914 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44915 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44916 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44918 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44920 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44922 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44924 * math/math.h (M_El): Use two more decimal places.
44925 (M_LOG2El): Likewise.
44926 (M_LOG10El): Likewise.
44927 (M_LN2l): Likewise.
44928 (M_LN10l): Likewise.
44930 (M_PI_2l): Likewise.
44931 (M_PI_4l): Likewise.
44932 (M_1_PIl): Likewise.
44933 (M_2_PIl): Likewise.
44934 (M_2_SQRTPIl): Likewise.
44935 (M_SQRT2l): Likewise.
44936 (M_SQRT1_2l): Likewise.
44938 2012-05-31 David S. Miller <davem@davemloft.net>
44940 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44941 values between float registers.
44942 * sysdeps/sparc/sparc64/memset.S: Likewise.
44943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44945 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44947 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44948 -D_FORTIFY_SOURCE=1.
44949 (CPPFLAGS-tst-longjmp_chk.c): Define.
44950 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44951 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44952 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44953 CFLAGS-tst-wchar-h.c.
44955 2012-05-31 Marek Polacek <polacek@redhat.com>
44958 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44959 __endmntent_internal): Remove declaration.
44960 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44961 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44962 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44964 2012-05-30 David S. Miller <davem@davemloft.net>
44966 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44967 (___Q_simulate_exceptions): Use real FP ops rather than writing
44969 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44972 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44975 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44976 * sysdeps/x86/bits/xtitypes.h: This.
44978 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44979 * sysdeps/x86/bits/wordsize.h: This.
44981 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44982 * sysdeps/x86/bits/huge_vall.h: This.
44984 * sysdeps/i386/bits/select.h: Removed.
44985 * sysdeps/x86_64/bits/select.h: Renamed to ...
44986 * sysdeps/x86/bits/select.h: This.
44988 * sysdeps/i386/bits/setjmp.h: Removed.
44989 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44990 * sysdeps/x86/bits/setjmp.h: This.
44992 * sysdeps/i386/bits/mathdef.h: Removed.
44993 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44994 * sysdeps/x86/bits/mathdef.h: This.
44996 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44999 * include/sys/socket.h (__connect_internal)
45000 (__libc_sa_len_internal): Remove declaration.
45001 (__connect, __libc_sa_len): Declare hidden_proto.
45002 (SA_LEN): Remove use of INTUSE.
45003 * socket/connect.c: Add libc_hidden_def.
45004 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45005 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45006 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45008 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45009 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45010 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45011 of adding _internal alias.
45013 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45016 * sysdeps/i386/bits/link.h: Removed.
45017 * sysdeps/i386/bits/linkmap.h: Likewise.
45018 * sysdeps/x86_64/bits/link.h: Renamed to ...
45019 * sysdeps/x86/bits/link.h: This.
45020 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45021 * sysdeps/x86/bits/linkmap.h: This.
45023 * sysdeps/i386/bits/endian.h: Removed.
45024 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45025 * sysdeps/x86/bits/endian.h: This.
45027 * sysdeps/i386/bits/byteswap.h: Removed.
45028 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45029 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45030 * sysdeps/x86/bits/byteswap.h: This.
45031 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45032 * sysdeps/x86/bits/byteswap-16.h: This.
45033 * sysdeps/i386/Implies: Add x86.
45034 * sysdeps/x86_64/Implies: Likewise.
45036 2012-05-30 David S. Miller <davem@davemloft.net>
45038 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45039 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45040 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45041 (FP_TRAPPING_EXCEPTIONS): Define.
45042 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45043 (FP_TRAPPING_EXCEPTIONS): Define.
45044 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45045 subnormals only when inexact has been signalled or underflow
45046 exceptions are enabled.
45047 (_FP_PACK_CANONICAL): Likewise.
45049 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45053 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45055 2012-05-30 Richard Henderson <rth@twiddle.net>
45057 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45058 with #ifndef NOT_IN_libc.
45060 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45061 marked to avoid plt entry.
45063 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45066 * Makeconfig (default-abi): New macro.
45067 (abi-includes): Likewise.
45068 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45069 $(abi-$(default-abi)-lib-soname) for soname if defined.
45070 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45072 * Makefile (installed-stubs): Likewise.
45073 * include/stubs-biarch.h: Removed.
45074 * scripts/lib-names.awk: Only handle one library at a time.
45075 * scripts/soversions.awk: Remove WORDSIZE support.
45076 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45078 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45080 (syscall-list-default-condition): Likewise.
45081 (syscall-list-default-condition): Likewise.
45082 (syscall-list-includes): Likewise.
45083 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45084 syscall-list-* with abi-*. Handle undefined abi-variants.
45085 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45086 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45087 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45088 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45089 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45090 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45092 (syscall-list-32-options): Likewise.
45093 (syscall-list-32-condition): Likewise.
45094 (syscall-list-64-options): Likewise.
45095 (syscall-list-64-condition): Likewise.
45096 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45098 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45101 (abi-64-ld-soname): New macro.
45102 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45103 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45106 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45107 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45109 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45111 * sysdeps/unix/sysv/linux/kernel-features.h
45112 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45113 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45114 include <kernel-features.h>.
45115 [!__NR_ftruncate64]: Remove conditional code.
45116 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45117 [__NR_ftruncate64]: Make code unconditional.
45118 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45119 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45120 include <kernel-features.h>.
45121 [!__NR_ftruncate64]: Remove conditional code.
45122 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45123 [__NR_ftruncate64]: Make code unconditional.
45124 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45126 include <kernel-features.h>.
45127 [!__NR_ftruncate64]: Remove conditional code.
45128 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45129 [__NR_ftruncate64]: Make code unconditional.
45130 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45132 include <kernel-features.h>.
45133 [!__NR_ftruncate64]: Remove conditional code.
45134 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45135 [__NR_ftruncate64]: Make code unconditional.
45136 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45138 * configure.in (libc_cv_fpie): Weaken to a compile test using
45139 LIBC_TRY_CC_OPTION.
45140 * configure: Regenerated.
45142 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45157 2012-05-27 David S. Miller <davem@davemloft.net>
45159 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45161 (__Q_simulate_exceptions): Return void. Change to simulate
45162 exceptions by writing into the %fsr.
45163 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45164 (__Qp_handle_exceptions): Likewise.
45166 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45167 __Qp_handle_exceptions.
45168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45169 __Qp_handle_exceptions.
45170 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45171 as unused and give dummy FP_RND_NEAREST initializer.
45172 (FP_INHIBIT_RESULTS): Define.
45173 (___Q_simulate_exceptions): Update declaration.
45174 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45176 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45177 as unused and give dummy FP_RND_NEAREST initializer.
45178 (__Qp_handle_exceptions): Update declaration.
45179 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45182 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45184 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45185 the temporary FPU control word.
45186 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45187 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45188 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45189 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45190 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45191 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45192 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45193 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45194 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45195 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45198 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45200 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45203 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45205 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45206 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45207 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45208 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45210 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45211 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45214 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45216 * po/h.po: Update from translation team.
45218 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45220 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45222 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45223 handling of denormals.
45224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45225 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45226 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45227 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45233 2012-05-26 Marek Polacek <polacek@redhat.com>
45236 * math/libm-test.inc (fma_test): Don't always expect underflow
45239 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45242 * elf/tst-execstack.c: Include stackinfo.h.
45243 (do_test): Adjust test case to ensure that pthread_getattr_np
45244 behaviour remains the same after marking stack executable.
45246 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45248 * sysdeps/unix/sysv/linux/kernel-features.h
45249 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45250 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45252 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45253 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45254 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45256 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45257 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45259 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45261 * configure.in: Define the default includes to being none.
45262 * configure: Regenerated.
45264 2012-05-25 Roland McGrath <roland@hack.frob.com>
45266 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45267 * sysdeps/x86_64/setjmp.S: Likewise.
45268 * sysdeps/i386/bsd-setjmp.S: Likewise.
45269 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45270 * sysdeps/i386/setjmp.S: Likewise.
45271 * sysdeps/i386/__longjmp.S: Likewise.
45272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45273 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45275 * include/stap-probe.h: New file.
45276 * configure.in: Handle --enable-systemtap.
45277 * configure: Regenerated.
45278 * config.h.in (USE_STAP_PROBE): New #undef.
45279 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45280 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45281 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45283 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45286 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45287 to 2.4.0 where earlier.
45288 * sysdeps/unix/sysv/linux/configure: Regenerated.
45289 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45290 <kernel-features.h>.
45291 [__ASSUME_32BITUIDS]: Make code unconditional.
45292 [!__ASSUME_32BITUIDS]: Remove conditional code.
45293 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45294 <kernel-features.h>.
45295 [__ASSUME_32BITUIDS]: Make code unconditional.
45296 [!__ASSUME_32BITUIDS]: Remove conditional code.
45297 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45298 [__ASSUME_32BITUIDS]: Make code unconditional.
45299 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45300 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45301 <kernel-features.h>.
45302 [__ASSUME_32BITUIDS]: Make code unconditional.
45303 [!__ASSUME_32BITUIDS]: Remove conditional code.
45304 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45305 <kernel-features.h>.
45306 [__ASSUME_32BITUIDS]: Make code unconditional.
45307 [!__ASSUME_32BITUIDS]: Remove conditional code.
45308 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45309 <kernel-features.h>.
45310 [__ASSUME_32BITUIDS]: Make code unconditional.
45311 [!__ASSUME_32BITUIDS]: Remove conditional code.
45312 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45313 <kernel-features.h>.
45314 [__ASSUME_32BITUIDS]: Make code unconditional.
45315 [!__ASSUME_32BITUIDS]: Remove conditional code.
45316 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45317 <kernel-features.h>.
45318 [__ASSUME_32BITUIDS]: Make code unconditional.
45319 [!__ASSUME_32BITUIDS]: Remove conditional code.
45320 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45321 <kernel-features.h>.
45322 [__ASSUME_32BITUIDS]: Make code unconditional.
45323 [!__ASSUME_32BITUIDS]: Remove conditional code.
45324 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45325 <kernel-features.h>.
45326 [__ASSUME_32BITUIDS]: Make code unconditional.
45327 [!__ASSUME_32BITUIDS]: Remove conditional code.
45328 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45329 <kernel-features.h>.
45330 [__ASSUME_32BITUIDS]: Make code unconditional.
45331 [!__ASSUME_32BITUIDS]: Remove conditional code.
45332 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45333 <kernel-features.h>.
45334 [__ASSUME_32BITUIDS]: Make code unconditional.
45335 [!__ASSUME_32BITUIDS]: Remove conditional code.
45336 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45337 <kernel-features.h>.
45338 [__ASSUME_32BITUIDS]: Make code unconditional.
45339 [!__ASSUME_32BITUIDS]: Remove conditional code.
45340 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45341 <kernel-features.h>.
45342 [__NR_setresgid] (__setresgid): Do not declare.
45343 [__ASSUME_32BITUIDS]: Make code unconditional.
45344 [!__ASSUME_32BITUIDS]: Remove conditional code.
45345 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45346 <kernel-features.h>.
45347 [__NR_setresuid] (__setresuid): Do not declare.
45348 [__ASSUME_32BITUIDS]: Make code unconditional.
45349 [!__ASSUME_32BITUIDS]: Remove conditional code.
45350 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45351 <kernel-features.h>.
45352 [__ASSUME_32BITUIDS]: Make code unconditional.
45353 [!__ASSUME_32BITUIDS]: Remove conditional code.
45354 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45355 <kernel-features.h>.
45356 [__ASSUME_32BITUIDS]: Make code unconditional.
45357 [!__ASSUME_32BITUIDS]: Remove conditional code.
45358 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45359 <kernel-features.h>.
45360 [__ASSUME_32BITUIDS]: Make code unconditional.
45361 [!__ASSUME_32BITUIDS]: Remove conditional code.
45362 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45363 <kernel-features.h>.
45364 [__ASSUME_32BITUIDS]: Make code unconditional.
45365 [!__ASSUME_32BITUIDS]: Remove conditional code.
45366 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45367 <kernel-features.h>.
45368 [__ASSUME_32BITUIDS]: Make code unconditional.
45369 [!__ASSUME_32BITUIDS]: Remove conditional code.
45370 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45371 <kernel-features.h>.
45372 [__ASSUME_32BITUIDS]: Make code unconditional.
45373 [!__ASSUME_32BITUIDS]: Remove conditional code.
45374 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45375 <kernel-features.h>.
45376 [__ASSUME_32BITUIDS]: Make code unconditional.
45377 [!__ASSUME_32BITUIDS]: Remove conditional code.
45378 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45379 <kernel-features.h>.
45380 [__ASSUME_32BITUIDS]: Make code unconditional.
45381 [!__ASSUME_32BITUIDS]: Remove conditional code.
45382 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
45391 (__ASSUME_SETRESUID_SYSCALL): Remove.
45392 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45393 (__ASSUME_32BITUIDS): Likewise.
45394 (__ASSUME_LDT_WORKS): Likewise.
45395 (__ASSUME_O_DIRECTORY): Likewise.
45396 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45397 architecture but not kernel version.
45398 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45399 (__ASSUME_MMAP2_SYSCALL): Likewise.
45400 (__ASSUME_STAT64_SYSCALL): Likewise.
45401 (__ASSUME_IPC64): Likewise.
45402 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45403 <kernel-features.h>.
45404 [__ASSUME_32BITUIDS]: Make code unconditional.
45405 [!__ASSUME_32BITUIDS]: Remove conditional code.
45406 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45407 <kernel-features.h>.
45408 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45409 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45410 132096]: Remove conditional code.
45411 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45412 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45413 <kernel-features.h>.
45414 [__ASSUME_32BITUIDS]: Make code unconditional.
45415 [!__ASSUME_32BITUIDS]: Remove conditional code.
45416 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45417 <kernel-features.h>.
45418 [__ASSUME_32BITUIDS]: Make code unconditional.
45419 [!__ASSUME_32BITUIDS]: Remove conditional code.
45420 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45421 <kernel-features.h>.
45422 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45424 (__setresgid): Do not declare.
45425 [__ASSUME_32BITUIDS]: Make code unconditional.
45426 [!__ASSUME_32BITUIDS]: Remove conditional code.
45427 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45428 <kernel-features.h>.
45429 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45431 (__setresuid): Do not declare.
45432 [__ASSUME_32BITUIDS]: Make code unconditional.
45433 [!__ASSUME_32BITUIDS]: Remove conditional code.
45434 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45435 <kernel-features.h>.
45436 [__ASSUME_32BITUIDS]: Make code unconditional.
45437 [!__ASSUME_32BITUIDS]: Remove conditional code.
45438 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45439 <kernel-features.h>.
45440 [__ASSUME_32BITUIDS]: Make code unconditional.
45441 [!__ASSUME_32BITUIDS]: Remove conditional code.
45443 2012-05-25 Richard Henderson <rth@twiddle.net>
45445 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45446 dl_hwcap to ifunc resolver.
45447 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45449 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45450 dl_hwcap to ifunc resolver.
45451 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45453 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45456 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45457 for |x| <= 2**-26, not 2**-57.
45458 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45461 2012-05-24 Jeff Law <law@redhat.com>
45463 * stdio-common/Makefile (tests): Add bug25.
45464 * stdio-common/bug25.c: New test.
45466 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45469 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45470 multiple of MALLOC_ALIGNMENT in size.
45471 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45473 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45475 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45477 (FILENAME_MAX): Use macro-int-constant.
45478 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45479 (_IOFBF): Use macro-int-constant.
45480 (_IOLBF): Likewise.
45481 (_IONBF): Likewise.
45482 (SEEK_CUR): Likewise.
45483 (SEEK_END): Likewise.
45484 (SEEK_SET): Likewise.
45485 (TMP_MAX): Likewise.
45486 (EOF): Use macro-int-constant. Require < 0.
45487 (NULL): Use macro-constant. Require == 0.
45488 (stdin): Require type to be FILE *.
45489 (stdout): Likewise.
45490 (stderr): Likewise.
45491 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45492 macro-int-constant.
45493 (EXIT_SUCCESS): Likewise.
45494 (NULL): Use macro-constant. Require == 0.
45495 (RAND_MAX): Use macro-int-constant.
45496 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45497 [C99-based standards] (strtof): Require function.
45498 [C99-based standards] (strtold): Likewise.
45499 [C99-based standards] (strtoll): Likewise.
45500 [C99-based standards] (strtoull): Likewise.
45501 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45502 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45503 [ISO || ISO99 || ISO11] (math.h): Likewise.
45504 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45505 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45508 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45511 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45512 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45513 * intl/dgettext.c (DCGETTEXT): Likewise.
45514 * intl/gettext.c (DCGETTEXT): Likewise.
45515 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45516 * posix/regex_internal.h (gettext): Likewise.
45517 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45518 Remove declaration.
45519 * include/argz.h (__argz_count_internal)
45520 (__argz_stringify_internal): Remove declaration.
45521 (__argz_count, __argz_stringify): Declare hidden proto.
45522 * intl/dcgettext.c: Remove use of INTDEF.
45523 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45524 * string/argz-stringify.c: Likewise.
45525 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45526 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45527 Declare hidden proto.
45528 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45529 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45530 Declare hidden proto.
45531 * include/stdio.h (__asprintf_internal): Don't declare.
45532 (__asprintf): Don't define as macro. Declare hidden proto.
45533 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45534 (__fsetlocking): Declare hidden proto.
45535 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45536 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45538 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45539 (_IO_setlinebuf): Remove use of INTUSE.
45540 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45541 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45542 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45543 Remove declaration.
45544 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45545 (_IO_do_flush): Remove use of INTUSE.
45546 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45547 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45548 (_IO_adjust_column, _IO_least_wmarker)
45549 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45550 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45551 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45552 (_IO_default_doallocate, _IO_wdefault_doallocate)
45553 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45554 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45555 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45556 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45557 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45558 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45559 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45560 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45561 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45562 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45563 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45564 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45565 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45567 (_IO_flush_all_internal, _IO_adjust_column_internal)
45568 (_IO_default_uflow_internal, _IO_default_finish_internal)
45569 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45570 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45571 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45572 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45573 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45574 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45575 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45576 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45577 (_IO_file_close_internal, _IO_file_close_it_internal)
45578 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45579 (_IO_file_init_internal, _IO_file_attach_internal)
45580 (_IO_file_fopen_internal, _IO_file_read_internal)
45581 (_IO_file_sync_internal, _IO_file_seek_internal)
45582 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45583 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45584 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45585 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45586 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45587 (_IO_list_all_internal, _IO_link_in_internal)
45588 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45589 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45590 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45591 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45592 (_IO_do_write_internal, _IO_padn_internal)
45593 (_IO_getline_info_internal, _IO_getline_internal)
45594 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45595 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45596 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45597 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45598 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45599 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45600 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45601 with libc_hidden_ver, remove use of INTUSE.
45602 * libio/genops.c: Likewise.
45603 * libio/freopen.c: Likewise.
45604 * libio/freopen64.c: Likewise.
45605 * libio/iofclose.c: Likewise.
45606 * libio/iofdopen.c: Likewise.
45607 * libio/iofflush.c: Likewise.
45608 * libio/iofflush_u.c: Likewise.
45609 * libio/iofgets.c: Likewise.
45610 * libio/iofgets_u.c: Likewise.
45611 * libio/iofopen.c: Likewise.
45612 * libio/iofopncook.c: Likewise.
45613 * libio/iofread.c: Likewise.
45614 * libio/iofread_u.c: Likewise.
45615 * libio/ioftell.c: Likewise.
45616 * libio/iofwrite.c: Likewise.
45617 * libio/iogetline.c: Likewise.
45618 * libio/iogets.c: Likewise.
45619 * libio/iogetwline.c: Likewise.
45620 * libio/iopadn.c: Likewise.
45621 * libio/iopopen.c: Likewise.
45622 * libio/ioseekoff.c: Likewise.
45623 * libio/ioseekpos.c: Likewise.
45624 * libio/iosetbuffer.c: Likewise.
45625 * libio/iosetvbuf.c: Likewise.
45626 * libio/ioungetc.c: Likewise.
45627 * libio/ioungetwc.c: Likewise.
45628 * libio/iovdprintf.c: Likewise.
45629 * libio/iovsprintf.c: Likewise.
45630 * libio/iovsscanf.c: Likewise.
45631 * libio/memstream.c: Likewise.
45632 * libio/obprintf.c: Likewise.
45633 * libio/oldfileops.c: Likewise.
45634 * libio/oldiofclose.c: Likewise.
45635 * libio/oldiofdopen.c: Likewise.
45636 * libio/oldiofopen.c: Likewise.
45637 * libio/oldiopopen.c: Likewise.
45638 * libio/oldstdfiles.c: Likewise.
45639 * libio/putc.c: Likewise.
45640 * libio/setbuf.c: Likewise.
45641 * libio/setlinebuf.c: Likewise.
45642 * libio/stdfiles.c: Likewise.
45643 * libio/strops.c: Likewise.
45644 * libio/vasprintf.c: Likewise.
45645 * libio/vscanf.c: Likewise.
45646 * libio/vsnprintf.c: Likewise.
45647 * libio/vswprintf.c: Likewise.
45648 * libio/wfiledoalloc.c: Likewise.
45649 * libio/wfileops.c: Likewise.
45650 * libio/wgenops.c: Likewise.
45651 * libio/wmemstream.c: Likewise.
45652 * libio/wstrops.c: Likewise.
45653 * libio/__fpurge.c: Likewise.
45654 * libio/__fsetlocking.c: Likewise.
45655 * assert/assert.c: Likewise.
45656 * debug/fgets_chk.c: Likewise.
45657 * debug/fgets_u_chk.c: Likewise.
45658 * debug/fread_chk.c: Likewise.
45659 * debug/fread_u_chk.c: Likewise.
45660 * debug/gets_chk.c: Likewise.
45661 * debug/obprintf_chk.c: Likewise.
45662 * debug/vasprintf_chk.c: Likewise.
45663 * debug/vdprintf_chk.c: Likewise.
45664 * debug/vsnprintf_chk.c: Likewise.
45665 * debug/vsprintf_chk.c: Likewise.
45666 * malloc/mtrace.c: Likewise.
45667 * misc/error.c: Likewise.
45668 * misc/syslog.c: Likewise.
45669 * stdio-common/asprintf.c: Likewise.
45670 * stdio-common/fxprintf.c: Likewise.
45671 * stdio-common/getw.c: Likewise.
45672 * stdio-common/isoc99_fscanf.c: Likewise.
45673 * stdio-common/isoc99_scanf.c: Likewise.
45674 * stdio-common/isoc99_vfscanf.c: Likewise.
45675 * stdio-common/isoc99_vscanf.c: Likewise.
45676 * stdio-common/isoc99_vsscanf.c: Likewise.
45677 * stdio-common/printf-prs.c: Likewise.
45678 * stdio-common/printf_fp.c: Likewise.
45679 * stdio-common/printf_fphex.c: Likewise.
45680 * stdio-common/printf_size.c: Likewise.
45681 * stdio-common/putw.c: Likewise.
45682 * stdio-common/scanf.c: Likewise.
45683 * stdio-common/sprintf.c: Likewise.
45684 * stdio-common/tmpfile.c: Likewise.
45685 * stdio-common/vfprintf.c: Likewise.
45686 * stdio-common/vfscanf.c: Likewise.
45687 * stdlib/strfmon_l.c: Likewise.
45688 * sunrpc/openchild.c: Likewise.
45689 * sunrpc/xdr_stdio.c: Likewise.
45690 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45691 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45693 2012-05-24 Roland McGrath <roland@hack.frob.com>
45695 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45697 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45698 in the third column, to generate for the shared library an IFUNC
45699 that uses _dl_vdso_vsym.
45700 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45701 * Makeconfig (object-suffixes-noshared): New variable.
45703 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45704 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45705 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45706 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45709 * include/sys/time.h (__gettimeofday): Remove macro.
45710 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45711 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45713 (__gettimeofday): Add libc_hidden_def.
45714 (gettimeofday): Add libc_hidden_weak.
45715 * sysdeps/mach/gettimeofday.c: Likewise.
45716 * sysdeps/posix/gettimeofday.c: Likewise.
45717 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45718 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45719 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45720 (__gettimeofday_internal): Remove strong_alias.
45721 (__gettimeofday): Add libc_hidden_def.
45722 (gettimeofday): Add libc_hidden_weak.
45723 * sysdeps/unix/syscalls.list (gettimeofday):
45724 Remove __gettimeofday_internal alias.
45726 2012-05-24 Daniel Jacobowitz <drow@false.org>
45727 H.J. Lu <hongjiu.lu@intel.com>
45730 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45731 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45732 (largebin_index_32_big): New.
45733 (largebin_index): Use it for 16-byte alignment.
45734 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45735 correction with front_misalign.
45737 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45765 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45766 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45768 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45772 * math/libm-test.inc (exp_test): Add test from bug 14036.
45773 (pow_test): Add test from bug 10846.
45775 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45777 (special_function): Do not include flags in test name.
45778 (parse_args): Likewise.
45779 * sysdeps/i386/fpu/libm-test-ulps: Update.
45780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45781 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45782 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45785 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45787 * math/libm-test.inc ("Philosophy"): Update comment about
45789 (UNDERFLOW_EXCEPTION): New macro.
45790 (UNDERFLOW_EXCEPTION_OK): Likewise.
45791 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45792 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45793 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45794 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45795 (INVALID_EXCEPTION_OK): Update value.
45796 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45797 (OVERFLOW_EXCEPTION_OK): Likewise.
45798 (IGNORE_ZERO_INF_SIGN): Likewise.
45799 (test_exceptions): Handle underflow exceptions.
45800 (acos_test): Update for underflow exception expectations.
45801 (cexp_test): Likewise.
45802 (clog_test): Likewise.
45803 (clog10_test): Likewise.
45804 (csqrt_test): Likewise.
45805 (ctan_test): Likewise.
45806 (ctanh_test): Likewise.
45807 (exp_test): Likewise.
45808 (exp10_test): Likewise.
45809 (exp2_test): Likewise.
45810 (expm1_test): Likewise.
45811 (fma_test): Likewise.
45812 (j0_test): Likewise.
45813 (jn_test): Likewise.
45814 (nexttoward_test): Likewise.
45815 (pow_test): Likewise.
45816 (scalbn_test): Likewise.
45817 (scalbln_test): Likewise.
45818 (tan_test): Likewise.
45819 (y1_test): Likewise.
45820 * sysdeps/i386/fpu/libm-test-ulps: Update.
45821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45823 2012-05-23 David S. Miller <davem@davemloft.net>
45825 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45826 (__libc_sigaction): Remove unused local variables.
45828 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45830 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45832 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45834 mktime: avoid signed integer overflow
45835 * time/mktime.c (__mktime_internal): Do not mishandle the case
45836 where diff == INT_MIN.
45838 mktime: simplify computation of average
45839 * time/mktime.c (ranged_convert): Use new time_t_avg function
45840 instead of rolling our own (probably-slower) code.
45842 mktime: do not assume signed right shift propagates sign bit
45843 * time/mktime.c (isdst_differ): New static function.
45844 (__mktime_internal): No need to normalize tm_isdst now.
45845 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45848 mktime: merge another wrapv change from gnulib
45849 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45850 from some compilers.
45852 mktime: remove incorrect attempt at unusual arithmetics
45853 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45854 The code didn't really work on such machines anyway.
45855 (TYPE_MINIMUM): Assume two's complement.
45856 (twos_complement_arithmetic): Verify that long_int and time_t
45857 are two's complement (or unsigned, in the latter case).
45859 mktime: check signed shifts on long_int and time_t, too
45860 * time/mktime.c (SHR): Check that shifts work as desired
45861 on the types long_int and time_t too, as SHR is used on
45864 mktime: do not assume 'long' is wide enough
45865 * time/mktime.c (verify): Move decl up.
45866 (long_int): New type.
45867 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45868 to remove assumption in the code that 'long' is wide enough to
45869 store year values. This assumption is not true on x32 and on
45870 some non-glibc platforms.
45872 mktime: merge wrapv change from gnulib
45873 * time/mktime.c (WRAPV): New macro.
45874 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45875 (guess_time_tm, __mktime_internal): Do not assume that signed
45876 integer overflow wraps around; modern compilers generate code
45877 where this assumption is no longer valid.
45879 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45881 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45882 Replace "jmp L(pseudo_end)" with "ret".
45883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45886 2012-05-23 Andreas Jaeger <aj@suse.de>
45888 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45889 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45891 2012-05-23 Andreas Jaeger <aj@suse.de>
45892 Maximilian Attems <max@stro.at>
45894 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45897 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45899 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45900 code so that pseudo_end is just ret and the stack pointer is
45901 correct also for static library in error case.
45903 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45905 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45906 move to syscalls.list.
45907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45912 * manual/install.texi (Running make install): Do not mention Linux
45913 kernel version for which pt_chown is not needed.
45914 (Linux): Do not mention problems with nscd with 2.0 kernels.
45915 * INSTALL: Regenerated.
45917 2012-05-23 Andreas Jaeger <aj@suse.de>
45919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45920 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45922 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45923 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45924 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45925 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45926 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45930 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45932 * sysdeps/unix/sysv/linux/bits/in.h
45933 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45935 2012-05-22 Roland McGrath <roland@hack.frob.com>
45937 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45938 (PREPARE_VERSION): Just use assert instead, it will be elided
45939 under [NDEBUG] anyway.
45941 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45943 * sysdeps/unix/sysv/linux/Makefile: Include
45944 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45945 (sysdep_routines): Remove sysctl.
45946 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45947 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45948 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45949 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45950 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45952 2012-05-22 Andreas Jaeger <aj@suse.de>
45954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45955 that pseudo_end is just ret and the stack pointer is correct also
45956 for static library in error case.
45958 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45961 * nss/nsswitch.c (defconfig_entries): New variable.
45962 (__nss_database_lookup): Don't leak defconfig entries.
45963 (nss_parse_service_list): Don't leak on error paths.
45964 (free_database_entries): New function.
45965 (free_defconfig): New function.
45966 (free_mem): Move common code to free_database_entries.
45968 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45970 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45972 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45974 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45975 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45978 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45979 (INTERNAL_SYSCALL_TYPES): Likewise.
45980 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45981 (LOAD_REGS_TYPES_[1-6]): Likewise.
45982 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45983 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45985 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45988 copysignl for GLIBC_2_0.
45989 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45990 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45992 logbl for GLIBC_2_0.
45993 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45994 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45996 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45999 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46001 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46004 * time/mktime.c: Update copyright years.
46006 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46008 mktime: merge comment-quoting-style change from gnulib
46009 * time/mktime.c: Quote 'like this' in comments.
46010 The GNU coding standards suggest that we no longer quote `like this',
46011 as "`" and "'" are typically rendered asymmetrically nowadays.
46012 The typical gnulib style is to quote 'like this' when quoting
46013 code, and "like this" when quoting English.
46015 * time/mktime.c (compile-command): Add "-I.".
46017 mktime: merge mktime-internal.h change from gnulib
46018 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46020 mktime: merge time_r change from gnulib
46021 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46023 mktime: merge DEBUG change from gnulib
46024 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46025 case system <time.h> has a #define.
46027 mktime: merge <sys/types.h> change from gnulib
46028 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46029 since <time.t> is now guaranteed to define time_t.
46031 mktime: merge HAVE_CONFIG_H change from gnulib
46032 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46034 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46039 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46041 (struct rusage): Use anonymous union to pad each field to
46044 2012-05-21 David S. Miller <davem@davemloft.net>
46046 * Makefules (o-iterator): Remove .s cases.
46047 (compile-command.s): Delete.
46048 (COMPILE.s): Delete.
46049 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46051 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46053 * configure.in (libc_cv_predef_stack_protector): Only consider
46054 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46055 * configure: Regenerated.
46057 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46060 New macro. Use R*LP on int and pointer.
46061 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46062 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46063 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46064 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46066 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46067 [__WORDSIZE_TIME64_COMPAT32] instead of
46068 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46069 (struct utmp): Likewise.
46070 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46071 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46073 (__WORDSIZE_TIME64_COMPAT32): This.
46074 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46075 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46076 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46077 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46078 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46079 (__WORDSIZE_TIME64_COMPAT32): New macro.
46081 2012-05-21 Andreas Jaeger <aj@suse.de>
46083 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46084 only if [SHARED]. Add prototype for __wcschr_ia32.
46086 2012-05-21 Roland McGrath <roland@hack.frob.com>
46088 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46089 of %rbp unmolested in the jmp_buf while mangling the low bits.
46090 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46091 unmolested high bits of %rbp while demangling the low bits.
46092 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46094 2012-05-21 Andreas Jaeger <aj@suse.de>
46096 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46097 * sunrpc/svc_simple.c: Use it for registerrpc.
46098 * sunrpc/xcrypt.c: Use it for passwd2des.
46100 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46102 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46104 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46105 Don't define if [__SYSCALL_WORDSIZE != 32].
46106 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46109 2012-05-21 Bruno Haible <bruno@clisp.org>
46110 Andreas Jaeger <aj@suse.de>
46112 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46113 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46114 inptr and inend for must_buffer_ch.
46115 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46116 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46117 * stdio-common/Makefile (tests): Remove bug15.
46118 (bug15-ENV): Remove macro.
46119 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46122 2012-05-19 Andreas Jaeger <aj@suse.de>
46123 Roland McGrath <roland@hack.frob.com>
46125 * manual/contrib.texi: Completely rewritten. It contains now an
46126 alphabetical list of contributors and their contributions.
46128 2012-05-21 Richard Henderson <rth@twiddle.net>
46130 * misc/getauxval.c (__getauxval): Use unsigned long int.
46131 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46132 (getauxval): Use unsigned long int.
46134 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46136 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46138 2012-05-21 Roland McGrath <roland@hack.frob.com>
46140 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46141 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46142 __alignof__ (long double).
46144 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46148 2012-05-20 Richard Henderson <rth@twiddle.net>
46150 * misc/getauxval.c: New file.
46151 * misc/sys/auxv.h: New file.
46152 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46153 (routines): Add getauxval.
46154 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46155 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46156 * elf/dl-sysdep.c (_dl_auxv): Remove.
46157 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46158 * elf/dl-support.c (_dl_auxv): New variable.
46159 (_dl_aux_init): Initialize it.
46160 * manual/startup.texi (Auxiliary Vector): New node.
46161 * sysdeps/generic/bits/hwcap.h: New file.
46162 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46163 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46164 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46165 * sysdeps/sparc/sysdep.h: ... here. Include it.
46166 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46167 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46179 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46183 2012-05-19 David S. Miller <davem@davemloft.net>
46185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46187 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46190 * math/s_ccosh.c: Include <float.h>
46191 (__ccosh): Avoid internal overflow calculating sinh and cosh
46192 values before multiplying by sin and cos values.
46193 * math/s_ccoshf.c: Likewise.
46194 * math/s_ccoshl.c: Likewise.
46195 * math/s_csin.c: Likewise.
46196 * math/s_csinf.c: Likewise.
46197 * math/s_csinl.c: Likewise.
46198 * math/s_csinh.c: Likewise.
46199 * math/s_csinhf.c: Likewise.
46200 * math/s_csinhl.c: Likewise.
46201 * math/libm-test.inc (ccos_test): Add more tests.
46202 (ccosh_test): Likewise.
46203 (csin_test): Likewise.
46204 (csinh_test): Likewise.
46205 * sysdeps/i386/fpu/libm-test-ulps: Update.
46206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46208 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46210 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46211 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46213 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46215 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46217 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46218 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46219 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46220 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46221 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46222 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46223 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46224 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46225 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46226 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46227 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46228 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46229 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46230 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46231 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46232 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46233 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46234 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46235 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46236 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46237 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46238 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46239 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46240 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46241 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46242 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46243 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46244 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46245 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46246 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46247 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46249 2012-05-18 Andreas Jaeger <aj@suse.de>
46251 * csu/.gitignore: Delete.
46253 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46255 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46256 (timex): Use __syscall_slong_t.
46258 2012-05-18 Andreas Jaeger <aj@suse.de>
46259 Carlos O'Donell <carlos_odonell@mentor.com>
46261 * manual/install.texi (Configuring and compiling): Update
46262 description about files modified in the source directory.
46263 * INSTALL: Regenerated.
46265 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46267 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46268 value. Use "or" to set return value to -1.
46269 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46270 negate return value.
46272 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46274 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46275 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46276 failure if the compiler has Graphite support disabled.
46277 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46279 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46280 (CFLAGS-memmove.c): Likewise.
46281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46284 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46286 * sysdeps/x86_64/x32/_itoa.h: New file.
46288 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46289 getdents system call only if kernel and user dirents have the
46290 same d_ino and d_off.
46292 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46293 LLONG_MAX != LONG_MAX.
46294 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46295 (_fitoa_word): Likewise.
46297 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46299 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46300 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46301 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46303 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46304 include <bits/wordsize.h>. Check __x86_64__ instead of
46306 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46307 if __x86_64__ is defined. Use anonymous union on fpstate.
46309 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46312 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46314 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46315 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46316 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46317 Refer to _rtld_local_ro instead of _rtld_global_ro.
46318 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46320 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46322 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46324 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46325 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46326 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46328 * sysdeps/powerpc/powerpc32/dl-machine.c
46329 (__elf_machine_runtime_setup) [PROF]: Don't reference
46332 2012-05-18 Andreas Jaeger <aj@suse.de>
46334 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46335 function only available for GCCs before 3.4 since GCC 3.4
46336 introduced a builtin.
46338 (llrintf): Likewise.
46339 (llrint): Likewise.
46346 (nearbyint): Likewise.
46347 (nearbyintf): Likewise.
46351 (floorf): Likewise.
46353 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46355 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46356 on both fields and cast pointer to __syscall_ulong_t.
46358 * bits/types.h (__fsword_t): New type.
46359 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46360 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46362 (__FSWORD_T_TYPE): Likewise.
46363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46364 (__FSWORD_T_TYPE): Likewise.
46365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46366 (__FSWORD_T_TYPE): Likewise.
46367 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46368 (__FSWORD_T_TYPE): Likewise.
46369 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46370 __SWORD_TYPE with __fsword_t.
46371 (statfs64): Likewise.
46373 2012-05-17 David S. Miller <davem@davemloft.net>
46375 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46377 2012-05-17 Andreas Jaeger <aj@suse.de>
46379 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46382 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46384 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46386 2012-05-17 Andreas Jaeger <aj@suse.de>
46388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46391 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46393 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46395 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46397 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46398 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46400 2012-05-17 Andreas Jaeger <aj@suse.de>
46401 Carlos O'Donell <carlos_odonell@mentor.com>
46404 * sysdeps/x86_64/multiarch/init-arch.h
46405 (bit_YMM_Usable): Rename to...
46406 (bit_AVX_Usable): ... this.
46407 (bit_FMA4_Usable): New macro.
46408 (bit_XMM_state): New macro.
46409 (bit_YMM_state): New macro.
46410 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46411 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46412 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46413 (CPUID_OSXSAVE): New macro.
46414 (CPUID_AVX): New macro.
46415 (CPUID_FMA4): New macro.
46416 (index_YMM_Usable): Rename to...
46417 (index_AVX_Usable): ... this.
46418 (HAS_AVX): Use HAS_ARCH_FEATURE.
46419 (HAS_FMA4): Likewise.
46420 (HAS_YMM_USABLE): Remove.
46421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46422 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46424 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46425 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46426 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46427 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46428 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46430 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46432 * math/libm-test.c: Support platforms without multiple rounding modes.
46433 * math/bug-nextafter.c: Support platforms without FP exceptions.
46434 * math/bug-nexttoward.c: Likewise.
46435 * math/test-fenv.c: Likewise.
46436 * math/test-misc.c: Likewise.
46437 * stdlib/bug-getcontext.c: Likewise.
46439 2012-05-17 Andreas Jaeger <aj@suse.de>
46441 * manual/examples/search.c (critter_cmp): Change signature to
46443 * manual/string.texi (Collation Functions): Likewise.
46445 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46447 * bits/types.h: Fold copyright years.
46448 * bits/typesizes.h: Likewise.
46449 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46453 * time/time.h: Likewise.
46455 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46458 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46459 in instead of returning them. Return void.
46460 (__libc_mallinfo): Accumulate over all arenas.
46461 (__malloc_stats): Adjust for change in int_mallinfo interface.
46463 2012-05-16 Roland McGrath <roland@hack.frob.com>
46466 * configure.in (NM): Add AC_CHECK_TOOL for it.
46467 (libc_extra_cflags): New substituted variable.
46468 Check for -fstack-protector being used implicitly.
46469 * configure: Regenerated.
46470 * config.make.in (config-extra-cflags): New variable,
46471 gets @libc_extra_cflags@.
46472 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46475 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46476 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46477 * configure: Regenerated.
46478 * config.make.in (CPPUNDEFS): New substituted variable.
46479 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46480 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46481 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46483 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46485 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46486 (mq_attr): Use __syscall_slong_t.
46488 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46490 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46491 Check __x86_64__ instead of __WORDSIZE.
46492 (_STAT_VER_LINUX): Likewise.
46493 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46494 __syscall_ulong_t and __syscall_slong_t.
46495 (stat64): Likewise.
46497 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46499 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46501 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46503 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46507 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46510 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46511 include <bits/wordsize.h>. Check __x86_64__ instead of
46513 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46515 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46518 include <bits/wordsize.h>. Check __x86_64__ instead of
46520 (user_regs_struct): Use "__extension__ unsigned long long"
46521 instead of "unsigned long" if __x86_64__ is defined.
46522 (user): Likewise. Pad after pointer field if __ILP32__ is
46525 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46527 * configure.in (makeinfo): Require version 4.5 or later. Allow
46529 * configure: Regenerated.
46530 * manual/install.texi (texinfo): Increase version requirement to
46532 * INSTALL: Regenerated.
46534 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46536 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46538 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46540 * sysdeps/x86_64/x32/ffs.c: New file.
46542 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46544 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46545 defined. Use __syscall_ulong_t.
46546 (shminfo): Use __syscall_ulong_t.
46547 (shm_info): Likewise.
46549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46552 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46554 (msgqnum_t): Use __syscall_ulong_t.
46555 (msglen_t): Likewise.
46556 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46559 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46560 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46562 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46564 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46565 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46567 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46570 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46571 include <bits/wordsize.h>. Check __x86_64__ instead of
46574 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46575 "unsigned long long int" if __x86_64__ is defined.
46576 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46578 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46579 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46580 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46582 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46584 (GET_PC): Cast to uintptr_t first.
46585 (GET_FRAME): Likewise.
46586 (GET_STACK): Likewise.
46588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46589 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46591 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46593 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46594 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46595 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46596 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46597 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46599 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46603 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46604 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46605 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46606 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46608 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46614 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46618 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46620 * Makerules (+depfiles): Also collect depfiles from .oS in
46622 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46623 .oS, $(libnldbl-routines)).
46625 * Makerules (native-compile-mkdep-flags): Define.
46626 * sunrpc/Makefile (extra-objs): Add $(addprefix
46627 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46628 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46629 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46630 calling $(make-target-directory).
46632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46634 * bits/types.h (__snseconds_t): Removed.
46635 * time/time.h (struct timespec): Replace __snseconds_t with
46637 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46638 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46641 (__SNSECONDS_T_TYPE): Likewise.
46642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46643 (__SNSECONDS_T_TYPE): Likewise.
46644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46645 (__SNSECONDS_T_TYPE): Likewise.
46647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46649 * sysdeps/mach/hurd/bits/typesizes.h
46650 (__SYSCALL_SLONG_TYPE): New macro.
46651 (__SYSCALL_ULONG_TYPE): Likewise.
46653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46655 * bits/types.h (__syscall_slong_t): New type.
46656 (__syscall_ulong_t): Likewise.
46658 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46659 (__SYSCALL_ULONG_TYPE): Likewise.
46660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46661 (__SYSCALL_SLONG_TYPE): Likewise.
46662 (__SYSCALL_ULONG_TYPE): Likewise.
46663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46664 (__SYSCALL_SLONG_TYPE): Likewise.
46665 (__SYSCALL_ULONG_TYPE): Likewise.
46666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46667 (__SYSCALL_SLONG_TYPE): Likewise.
46668 (__SYSCALL_ULONG_TYPE): Likewise.
46670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46672 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46673 Add sigaltstack-offsets.sym.
46674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46675 <sigaltstack-offsets.h>.
46676 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
46677 longjmp_msg pointer.
46678 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
46679 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46681 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46683 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46685 * elf/stackguard-macros.h: Remove file.
46686 * sysdeps/generic/stackguard-macros.h: New file.
46687 * sysdeps/i386/stackguard-macros.h: Likewise.
46688 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46689 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46690 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46691 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46692 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46693 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46694 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46695 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46696 <elf/stackguard-macros.h>.
46699 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46700 __aligned__ in attribute.
46701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46702 (gregset_t): Likewise.
46704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46706 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46707 * sysdeps/x86_64/64/Implies-after: Here. New file.
46708 * sysdeps/x86_64/x32/Implies-after: New file.
46710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46712 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46713 and access return value for _dl_profile_fixup. Use R10_LP to
46716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46718 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46722 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46723 * sysdeps/x86_64/x32/sysdep.h: New file.
46725 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46727 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46728 * sysdeps/x86_64/setjmp.S: Likewise.
46730 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46734 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46735 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46736 remove unused global constant.
46738 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46740 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46741 include of <not-cancel.h>.
46743 2012-05-15 Roland McGrath <roland@hack.frob.com>
46745 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46747 2012-05-15 Jeff Law <law@redhat.com>
46748 Andreas Jaeger <aj@suse.de>
46751 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46753 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46754 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46755 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46756 code changing __hst_map_handle.map.
46758 2012-05-15 Roland McGrath <roland@hack.frob.com>
46760 * configure.in (sysnames): Look for Implies-before and Implies-after
46762 * configure: Regenerated.
46764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46766 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46767 8-byte data alignment with LP_SIZE alignment.
46769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46771 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46776 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46780 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46781 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46782 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46784 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46788 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46789 (stackinfo_sub_sp): Likewise.
46791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46798 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46808 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46812 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46813 into R11_LP and load __x86_64_shared_cache_size_half into
46816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46818 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46821 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46823 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46829 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46830 powerpc32/power7/fpu/s_logb.c via #include.
46831 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46832 powerpc32/power7/fpu/s_logbf.c via #include.
46833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46834 powerpc32/power7/fpu/s_logbl.c via #include.
46836 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46838 * README.libm: Remove file.
46840 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46842 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46843 count for x32. Use R*_LP and omit operand-size suffix.
46845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46847 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46848 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46849 * sysdeps/x86_64/x32/shlib-versions: New file.
46851 2012-05-14 Roland McGrath <roland@hack.frob.com>
46853 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46854 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46855 Use _dl_fatal_printf instead.
46857 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46859 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46860 set if not set by the user. Do not allow for being unset.
46861 * sysdeps/unix/sysv/linux/configure: Regenerated.
46863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46865 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46866 the `q' suffix from lea and replace .quad with ASM_ADDR.
46868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46871 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46873 (PTR_DEMANGLE): Likewise.
46875 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46877 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46879 (ASM_ADDR): Likewise.
46880 (RAX_LP): Likewise.
46881 (RBP_LP): Likewise.
46882 (RBX_LP): Likewise.
46883 (RCX_LP): Likewise.
46884 (RDI_LP): Likewise.
46885 (RSI_LP): Likewise.
46886 (RSP_LP): Likewise.
46889 (R10_LP): Likewise.
46890 (R10_LP): Likewise.
46891 (R11_LP): Likewise.
46892 (R12_LP): Likewise.
46893 (R13_LP): Likewise.
46894 (R14_LP): Likewise.
46895 (R15_LP): Likewise.
46897 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46899 * sysdeps/x86_64/x32/dl-machine.h: New file.
46901 2012-05-14 Andreas Jaeger <aj@suse.de>
46903 * manual/Makefile (subdir): Remove export of subdir.
46904 (all): Remove target.
46905 (.PHONY): Remove all from list.
46906 (mkinstalldirs): Remove.
46907 (.PHONY): Remove installdirs from list.
46908 ($(inst_infodir)/libc.info): Use make-target-directory.
46909 (installdirs): Remove.
46910 (subdir_%): Remove.
46911 (glibc-targets): Remove.
46914 ($(objpfx)stubs ../po/manual.pot): Remove.
46915 ($(objpfx)stamp%): Remove.
46916 (make-target-directory): Remove.
46917 (subdir_install): Remove.
46918 (routines): Remove.
46925 * manual/.gitignore: Remove, it's not needed anymore.
46926 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46928 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46930 (texis): Renamed to $(objpfx)texis.
46931 (texis-path): New, contains path to generated files.
46932 (chapters.%): Use texis-path for complete path, add extra argument
46934 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46935 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46936 (summary,texi, stamp-summary): Use complete path of
46937 files. Generate files in build dir.
46938 (dir-add.texi): Build in build dir.
46939 (libm-err.texi,stamp-libm-err): Likewise.
46940 (version.texi, stamp-version): Likewise.
46941 (.%c.texi): Likewise.
46942 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46943 (mostlyclean): Remove target.
46944 (realclean): Remove target.
46945 (generated): Add new variable with contents from mostlyclean and
46946 realclean, remove entries duplicated in common-mostlyclean, add
46947 stamp-libm-err and stamp-version.
46948 (generated-dirs): Add libc directory.
46949 ($(inst_infodir)/libc.info): Install files from build dir.
46951 * manual/install.texi (Configuring and compiling): Adjust since
46952 the info files are not part of the tar ball anymore.
46954 2012-05-14 Andreas Jaeger <aj@suse.de>
46956 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46959 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46963 to 2.2.0 where earlier.
46964 * sysdeps/unix/sysv/linux/configure: Regenerated.
46965 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46966 Remove conditional code.
46967 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46968 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46969 Remove conditional code.
46970 [!__NR_lchown]: Likewise.
46971 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46972 [__NR_lchown]: Likewise.
46973 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46974 comment referencing __ASSUME_LCHOWN_SYSCALL.
46975 * sysdeps/unix/sysv/linux/i386/sigaction.c
46976 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46977 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46978 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46979 Remove conditional code.
46980 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46981 (__protocol_available): Remove #if 0 code.
46982 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46984 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46985 * sysdeps/unix/sysv/linux/kernel-features.h
46986 (__ASSUME_GETCWD_SYSCALL): Don't define.
46987 (__ASSUME_REALTIME_SIGNALS): Likewise.
46988 (__ASSUME_PREAD_SYSCALL): Likewise.
46989 (__ASSUME_PWRITE_SYSCALL): Likewise.
46990 (__ASSUME_POLL_SYSCALL): Likewise.
46991 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46992 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46994 (__ASSUME_SIOCGIFNAME): Don't define.
46995 (__ASSUME_MSG_NOSIGNAL): Likewise.
46996 (__ASSUME_SENDFILE): Define unconditionally.
46997 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46998 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47000 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47001 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47002 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47003 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47004 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47005 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47006 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47011 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47020 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47023 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47026 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47029 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47031 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47032 Remove conditional code.
47033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47034 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47035 Remove conditional code.
47036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47037 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47038 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47039 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47040 Remove conditional code.
47041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47042 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47043 Remove conditional code.
47044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47045 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47046 Remove conditional code.
47047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47048 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47049 Remove conditional code.
47050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47051 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47052 Remove conditional code.
47053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47054 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47055 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47057 * sysdeps/unix/sysv/linux/sigaction.c
47058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47060 * sysdeps/unix/sysv/linux/sigpending.c
47061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47063 * sysdeps/unix/sysv/linux/sigprocmask.c
47064 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47065 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47066 * sysdeps/unix/sysv/linux/sigsuspend.c
47067 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47068 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47069 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47070 (__libc_missing_rt_sigs): Remove.
47071 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47072 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47073 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47074 Remove conditional code.
47075 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47076 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47078 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47079 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47080 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47081 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47083 2012-05-14 Andreas Jaeger <aj@suse.de>
47085 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47086 it's not used in glibc.
47087 (__coshm1): Likewise.
47088 (__acosh1p): Likewise.
47091 * manual/string.texi (Copying and Concatenation): Add missing
47092 variable in concat example.
47093 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47099 __builtin_clzl with __builtin_clzll.
47101 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47104 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47107 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47109 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47110 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47111 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47112 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47114 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47116 * NEWS: Update ia64 info.
47118 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47120 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47123 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47125 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47126 * sysdeps/unix/syscalls.list (dup3): Likewise.
47127 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47128 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47130 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47132 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47133 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47135 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47137 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47139 (TLS_IE): Use mov/add instead of movq/addq to load thread
47141 (TLS_GD_PREFIX): New.
47144 2012-05-11 David S. Miller <davem@davemloft.net>
47146 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47147 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47148 (_FPU_SETCW): Likewise.
47150 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47152 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47153 is 32-byte aligned.
47155 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47158 * iconvdata/gb18030.c: Update tables.
47159 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47160 characters specially.
47161 (BODY for TO_LOOP): Add encoding of missing ranges.
47163 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47166 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47167 * sysdeps/mach/hurd/dup3.c: Likewise.
47168 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47169 * sysdeps/powerpc/memmove.c:: Likewise.
47171 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47174 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47176 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47178 * elf/elf.h (R_X86_64_RELATIVE64): New.
47179 (R_X86_64_NUM): Updated.
47180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47181 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47182 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47183 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47184 tst-quad1pie tst-quad2pie
47185 (modules-names): Add tst-quadmod1 tst-quadmod2.
47186 ($(objpfx)tst-quad1): New dependency.
47187 ($(objpfx)tst-quad2): Likewise.
47188 ($(objpfx)tst-quad1pie): Likewise.
47189 ($(objpfx)tst-quad2pie): Likewise.
47190 * sysdeps/x86_64/tst-quad1.c: New file.
47191 * sysdeps/x86_64/tst-quad1pie.c: New file.
47192 * sysdeps/x86_64/tst-quad2.c: Likewise.
47193 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47194 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47195 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47196 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47197 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47199 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47201 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47202 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47203 * streams/stropts.h (t_scalar_t): Define type.
47205 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47206 (_PATH_PRESERVE): Set to "/var/lib".
47207 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47209 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47212 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47213 if __dir_mkfile succeeded.
47215 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47216 checking for _hurd_dtablesize. Unlock it right after having
47217 finished _hurd_dtable allocation.
47219 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47221 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47222 * sysdeps/mach/hurd/configure: Regenerated.
47223 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47224 special-casing to...
47225 * sysdeps/gnu/configure.in: ... this new file.
47226 * sysdeps/unix/sysv/linux/configure: Regenerated.
47227 * sysdeps/gnu/configure: New generated file.
47229 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47230 for Linux: use nsec instead of usec, as well as:
47231 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47232 members of type struct timespec.
47233 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47235 (struct stat64): Likewise.
47236 (_STATBUF_ST_NSEC): New macro.
47237 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47239 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47240 __strtoul_internal rather than strtoul.
47242 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47244 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47249 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47250 which preserves existing values.
47251 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47253 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47255 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47256 TIMEOUT values. Return EINVAL for NFDS values either negative or
47257 greater than FD_SETSIZE.
47259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47261 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47262 allocated, call __vm_protect to finish enabling the existing space, and
47263 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47264 allocate the remainder.
47266 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47268 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47269 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47273 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47274 sysdeps/mach/hurd/readlink.c.
47276 * posix/tst-sysconf.c (posix_options): Only use
47277 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47278 _POSIX_SYNCHRONIZED_IO when they are defined
47279 * sysdeps/mach/hurd/bits/posix_opt.h:
47280 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47281 (_XOPEN_REALTIME): Undefine macro.
47282 (_XOPEN_REALTIME_THREADS): Undefine macro.
47283 (_XOPEN_SHM): Undefine macro.
47284 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47286 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47288 (_POSIX_ASYNC_IO): Undefine macro.
47289 (_POSIX_PRIORITIZED_IO): Undefine macro.
47290 (_POSIX_SPIN_LOCKS): Define macro to -1.
47292 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47293 SA_NODEFER, SA_RESETHAND.
47294 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47295 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47298 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47300 * elf/Makefile (pldd-modules): Define unconditionally.
47302 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47304 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47306 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47308 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47309 Return ENOENT when name is empty.
47310 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47312 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47314 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47316 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47318 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47320 Fix mlock in all cases except non-readable pages.
47321 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47322 instead of VM_PROT_ALL as parameter to __vm_wire function.
47324 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47325 (__mkdir): When path is `/', just fail with EEXIST.
47326 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47330 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47331 <sys/uio.h> (for writev).
47332 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47333 and <sys/param.h> (for MIN).
47335 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47337 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47338 REQUESTED_TIME. Properly set the remaining time and return EINTR
47341 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47343 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47344 Depend on against $(link-rpcuserlibs).
47346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47348 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47349 (__libc_stack_end): Do not use attribute_relro.
47350 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47351 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47352 to libthread-provided value.
47353 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47356 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47359 * bits/libc-lock.h (__libc_once_get): New macro.
47360 * sysdeps/mach/bits/libc-lock.h: Likewise.
47361 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47362 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47363 instead of using implementation details.
47365 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47366 * libio/freopen.c: Likewise.
47367 * libio/freopen64.c: Likewise.
47368 * misc/syslog.c: Likewise.
47369 * nscd/connections.c: Likewise.
47370 * nscd/netgroupcache.c: Likewise.
47371 * sysdeps/posix/getcwd.c: Likewise.
47373 2012-05-10 Roland McGrath <roland@hack.frob.com>
47375 * math/w_ilogbf.c: Add #include <limits.h>.
47377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47379 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47380 path instead of returning without unlocking.
47382 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47383 immediate-write ioctls.
47384 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47386 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47388 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47389 __builtin_frame_address instead of making assumptions about the
47390 location of the return address relative to DATA. Force early load of
47391 the return address.
47392 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47393 __builtin_frame_address.
47396 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47397 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47398 implement dup3 and do some further code clean-ups.
47399 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47400 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47404 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47406 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47407 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47408 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47409 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47410 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47413 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47414 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47415 when handler == SIG_ERR, not when handler != SIG_ERR.
47417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47419 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47420 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47423 accept4 for GNU Hurd.
47424 * include/sys/socket.h (__libc_accept4): New prototype.
47425 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47426 to implement __libc_accept4.
47427 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47429 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47431 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47432 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47433 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47434 signal-defines.sym.
47436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47438 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47442 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47443 assertion on O_CLOEXEC flag.
47444 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47445 * hurd/intern-fd.c: Likewise.
47446 * hurd/port2fd.c: Likewise.
47448 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47451 * bits/in.h (IPV6_PKTINFO): Define new macro.
47452 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47454 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47459 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47460 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47461 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47462 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47464 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47465 * math/libm-test.inc (logb_test) : Additional logb tests.
47467 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47468 Andreas Jaeger <aj@suse.de>
47470 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47471 * configure: Regenerated.
47472 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47473 * config.make.in (link-obsolete-rpc): New substituted variable.
47474 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47475 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47476 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47477 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47478 so that libc.a contains the symbols.
47479 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47480 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47481 * sunrpc/auth_none.c: Likewise.
47482 * sunrpc/auth_unix.c: Likewise.
47483 * sunrpc/authdes_prot.c: Likewise.
47484 * sunrpc/authuxprot.c: Likewise.
47485 * sunrpc/clnt_gen.c: Likewise.
47486 * sunrpc/clnt_perr.c: Likewise.
47487 * sunrpc/clnt_raw.c: Likewise.
47488 * sunrpc/clnt_simp.c: Likewise.
47489 * sunrpc/clnt_tcp.c: Likewise.
47490 * sunrpc/clnt_udp.c: Likewise.
47491 * sunrpc/clnt_unix.c: Likewise.
47492 * sunrpc/des_crypt.c: Likewise.
47493 * sunrpc/des_soft.c: Likewise.
47494 * sunrpc/get_myaddr.c: Likewise.
47495 * sunrpc/key_call.c: Likewise.
47496 * sunrpc/key_prot.c: Likewise.
47497 * sunrpc/netname.c: Likewise.
47498 * sunrpc/pm_getmaps.c: Likewise.
47499 * sunrpc/pm_getport.c: Likewise.
47500 * sunrpc/pmap_clnt.c: Likewise.
47501 * sunrpc/pmap_prot.c: Likewise.
47502 * sunrpc/pmap_prot2.c: Likewise.
47503 * sunrpc/pmap_rmt.c: Likewise.
47504 * sunrpc/publickey.c: Likewise.
47505 * sunrpc/rpc_cmsg.c: Likewise.
47506 * sunrpc/rpc_common.c: Likewise.
47507 * sunrpc/rpc_dtable.c: Likewise.
47508 * sunrpc/rpc_prot.c: Likewise.
47509 * sunrpc/rpc_thread.c: Likewise.
47510 * sunrpc/rtime.c: Likewise.
47511 * sunrpc/svc.c: Likewise.
47512 * sunrpc/svc_auth.c: Likewise.
47513 * sunrpc/svc_raw.c: Likewise.
47514 * sunrpc/svc_run.c: Likewise.
47515 * sunrpc/svc_tcp.c: Likewise.
47516 * sunrpc/svc_udp.c: Likewise.
47517 * sunrpc/svc_unix.c: Likewise.
47518 * sunrpc/svcauth_des.c: Likewise.
47519 * sunrpc/xcrypt.c: Likewise.
47520 * sunrpc/xdr.c: Likewise.
47521 * sunrpc/xdr_array.c: Likewise.
47522 * sunrpc/xdr_float.c: Likewise.
47523 * sunrpc/xdr_intXX_t.c: Likewise.
47524 * sunrpc/xdr_mem.c: Likewise.
47525 * sunrpc/xdr_rec.c: Likewise.
47526 * sunrpc/xdr_ref.c: Likewise.
47527 * sunrpc/xdr_sizeof.c: Likewise.
47528 * sunrpc/xdr_stdio.c: Likewise.
47530 2012-05-10 Roland McGrath <roland@hack.frob.com>
47532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47533 change. Update copyright years.
47535 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47537 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47539 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47540 Joseph Myers <joseph@codesourcery.com>
47541 Paul Pluzhnikov <ppluzhnikov@google.com>
47544 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47546 [cross-compiling] (extra-libs): Likewise.
47547 [cross-compiling] (extra-libs-others): Likewise.
47548 [cross-compiling] (librpcsvc-routines): Likewise.
47549 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47550 [cross-compiling] (omit-deps): Likewise.
47551 (sunrpc-CPPFLAGS): New variable.
47552 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47553 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47554 (cross-rpcgen-objs): New variable.
47555 (extra-objs): Append $(cross-rpcgen-objs).
47556 ($(cross-rpcgen-objs)): New rule.
47557 ($(objpfx)cross-rpcgen): Likewise.
47558 (rpcgen-cmd): Define to use $(built-program-file). Expand
47560 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47561 ($(objpfx)x%.stmp): Likewise.
47562 * sunrpc/proto.h [IS_IN_build] (_): Define.
47563 [IS_IN_build] (_libc_intl_domainname): Likewise.
47565 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47567 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47568 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47569 and R_X86_64_TPOFF64.
47571 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47573 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47574 sysdeps/unix/sysv/syscalls.list.
47577 * sysdeps/unix/sysv/syscalls.list: Remove file.
47579 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47582 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47583 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47584 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47585 (__LC_IDENTIFICATION): Make these macros useful in #if
47586 expressions, as required by C99.
47588 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47590 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47591 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47594 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47596 * stdlib/longlong.h: Updated from GCC.
47598 2012-05-09 Andreas Jaeger <aj@suse.de>
47600 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47601 default is first entry.
47602 (run_mode): Set type.
47603 (main): Remove informal message about syslog.
47604 (options): Fix typo.
47607 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47610 (llrintf): Likewise.
47611 (llrint): Likewise.
47614 (nearbyint): Likewise.
47615 (nearbyintf): Likewise.
47617 2012-05-09 Andreas Jaeger <aj@suse.de>
47618 Pedro Alves <palves@redhat.com>
47620 * nscd/nscd.c (run_mode): Use enum.
47621 (main): Cleanup coding style issue.
47623 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47624 Andreas Jaeger <aj@suse.de>
47626 * nscd/nscd.c (go_background): Replaced with...
47627 (run_mode): ... this.
47628 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47629 (options): Add -F --foreground.
47630 (main): Implement it.
47631 (parse_opt): Parse it.
47633 2012-05-09 Andreas Jaeger <aj@suse.de>
47636 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47637 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47638 -Wconversion warning.
47639 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47642 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47644 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47646 (LC_ALL): Use macro-int-constant.
47647 (LC_COLLATE): Likewise.
47648 (LC_CTYPE): Likewise.
47649 (LC_MESSAGES): Likewise.
47650 (LC_MONETARY): Likewise.
47651 (LC_NUMERIC): Likewise.
47652 (LC_TIME): Likewise.
47653 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47654 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47655 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47656 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47658 [C99-based standards] (float_t): Expect type.
47659 [C99-based standards] (double_t): Expect type.
47660 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47662 [C99-based standards] (HUGE_VALL): Likewise.
47663 [C99-based standards] (INFINITY): Likewise.
47664 [C99-based standards] (NAN): Likewise.
47665 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47666 [C99-based standards] (FP_NAN): Likewise.
47667 [C99-based standards] (FP_NORMAL): Likewise.
47668 [C99-based standards] (FP_SUBNORMAL): Likewise.
47669 [C99-based standards] (FP_ZERO): Likewise.
47670 [C99-based standards] (FP_FAST_FMA): Use
47671 optional-macro-int-constant. Specify type. Require == 1.
47672 [C99-based standards] (FP_FAST_FMAF): Likewise.
47673 [C99-based standards] (FP_FAST_FMAL): Likewise.
47674 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47675 [C99-based standards] (FP_ILOGBNAN): Likewise.
47676 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47678 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47679 [C99-based standards] (math_errhandling): Specify type.
47680 [ISO99 || ISO11] (signgam): Do not allow.
47681 [non-C99-based standards] (copysignf): Do not allow.
47682 [non-C99-based standards] (exp2f): Likewise.
47683 [non-C99-based standards] (log2f): Likewise.
47684 [non-C99-based standards] (modff): Allow.
47685 [non-C99-based standards] (erff): Do not allow.
47686 [non-C99-based standards] (erfcf): Likewise.
47687 [non-C99-based standards] (gammaf): Likewise.
47688 [non-C99-based standards] (hypotf): Likewise.
47689 [non-C99-based standards] (j0f): Likewise.
47690 [non-C99-based standards] (j1f): Likewise.
47691 [non-C99-based standards] (jnf): Likewise.
47692 [non-C99-based standards] (lgammaf): Likewise.
47693 [non-C99-based standards] (tgammaf): Likewise.
47694 [non-C99-based standards] (y0f): Likewise.
47695 [non-C99-based standards] (y1f): Likewise.
47696 [non-C99-based standards] (ynf): Likewise.
47697 [non-C99-based standards] (isnanf): Likewise.
47698 [non-C99-based standards] (acoshf): Likewise.
47699 [non-C99-based standards] (asinhf): Likewise.
47700 [non-C99-based standards] (atanhf): Likewise.
47701 [non-C99-based standards] (cbrtf): Likewise.
47702 [non-C99-based standards] (expm1f): Likewise.
47703 [non-C99-based standards] (ilogbf): Likewise.
47704 [non-C99-based standards] (log1pf): Likewise.
47705 [non-C99-based standards] (logbf): Likewise.
47706 [non-C99-based standards] (nextafterf): Likewise.
47707 [non-C99-based standards] (remainderf): Likewise.
47708 [non-C99-based standards] (rintf): Likewise.
47709 [non-C99-based standards] (scalbf): Likewise.
47710 [non-C99-based standards] (copysignl): Likewise.
47711 [non-C99-based standards] (exp2l): Likewise.
47712 [non-C99-based standards] (log2l): Likewise.
47713 [non-C99-based standards] (modfl): Allow.
47714 [non-C99-based standards] (erfl): Do not allow.
47715 [non-C99-based standards] (erfcl): Likewise.
47716 [non-C99-based standards] (gammal): Likewise.
47717 [non-C99-based standards] (hypotl): Likewise.
47718 [non-C99-based standards] (j0l): Likewise.
47719 [non-C99-based standards] (j1l): Likewise.
47720 [non-C99-based standards] (jnl): Likewise.
47721 [non-C99-based standards] (lgammal): Likewise.
47722 [non-C99-based standards] (tgammal): Likewise.
47723 [non-C99-based standards] (y0l): Likewise.
47724 [non-C99-based standards] (y1l): Likewise.
47725 [non-C99-based standards] (ynl): Likewise.
47726 [non-C99-based standards] (isnanl): Likewise.
47727 [non-C99-based standards] (acoshl): Likewise.
47728 [non-C99-based standards] (asinhl): Likewise.
47729 [non-C99-based standards] (atanhl): Likewise.
47730 [non-C99-based standards] (cbrtl): Likewise.
47731 [non-C99-based standards] (expm1l): Likewise.
47732 [non-C99-based standards] (ilogbl): Likewise.
47733 [non-C99-based standards] (log1pl): Likewise.
47734 [non-C99-based standards] (logbl): Likewise.
47735 [non-C99-based standards] (nextafterl): Likewise.
47736 [non-C99-based standards] (remainderl): Likewise.
47737 [non-C99-based standards] (rintl): Likewise.
47738 [non-C99-based standards] (scalbl): Likewise.
47739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47740 [non-C99-based standards] (FP_*): Do not allow.
47741 [C99-based standards] (FP_*): Change to
47742 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47743 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47745 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47746 (SIG_ERR): Likewise.
47747 [X/Open-based standards] (SIG_HOLD): Likewise.
47748 (SIG_IGN): Likewise.
47749 (SIGABRT): Use macro-int-constant. Specify type. Require
47751 (SIGFPE): Likewise.
47752 (SIGILL): Likewise.
47753 (SIGINT): Likewise.
47754 (SIGSEGV): Likewise.
47755 (SIGTER): Likewise.
47756 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47757 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47758 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47759 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47760 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47761 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47762 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47763 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47764 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47765 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47766 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47767 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47768 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47769 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47770 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47771 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47772 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47773 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47774 [X/Open-based standards] (SIGTRAP): Likewise.
47775 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47776 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47777 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47778 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47779 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47782 2012-05-08 Ian Wienand <ianw@vmware.com>
47785 * time/tzset.c (__tzset_parse_tz): Update default rules for
47786 daylight time changes in the Energy Policy Act of 2005.
47788 2012-05-09 Andreas Jaeger <aj@suse.de>
47791 * elf/ldconfig.c (parse_conf): Change string to make clear that
47792 ldconfig only issued a warning if ld.so.conf does not exist.
47794 2012-05-08 David S. Miller <davem@davemloft.net>
47796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47797 movxtod instead of popping the value on the stack.
47799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47801 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47803 * config.h.in: Add HAVE_ARM_PCS_VFP.
47805 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47808 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47809 checking but the checks are disabled for any reason.
47811 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47813 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47814 and ELF64_R_TYPE with ELFW(R_TYPE).
47816 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47818 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47819 (ulimit): Likewise.
47821 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47822 (settimeofday): Likewise.
47824 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47826 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47827 a struct th_u2 inside the union, and move tu_block/tu_code into
47828 a new th_u3 union of tu_block/tu_code inside of that. Move
47829 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47830 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47831 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47832 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47833 (th_stuff): Change to th_u1.tu_stuff.
47835 (th_msg): Change to th_u1.th_u2.tu_data.
47837 2012-05-07 David S. Miller <davem@davemloft.net>
47839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47842 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47843 (SETUP_PIC_REG): Use it.
47844 (SETUP_PIC_REG_LEAF): Use it.
47846 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47850 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47852 (EXPL_FINITE): Likewise.
47853 (FLDLOG): Likewise.
47854 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47855 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47857 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47859 (EXPL_FINITE): Likewise.
47860 (FLDLOG): Likewise.
47861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47862 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47864 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47865 test of -max_value argument for long double.
47866 * sysdeps/i386/fpu/libm-test-ulps: Update.
47867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47869 2012-05-06 David S. Miller <davem@davemloft.net>
47871 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47872 quad soft-float symbols whose references which are compiler
47874 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47876 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47880 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47882 (EXPL_FINITE): Likewise.
47883 (FLDLOG): Likewise.
47886 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47887 Adjust comments for base varying.
47888 (__expl_finite): Change alias to EXPL_FINITE.
47889 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47891 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47892 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47893 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47894 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47895 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47897 (EXPL_FINITE): Likewise.
47898 (FLDLOG): Likewise.
47901 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47902 Adjust comments for base varying.
47903 (__expl_finite): Change alias to EXPL_FINITE.
47904 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47909 * math/libm-test.inc (check_float_internal): Correct ulp
47910 calculation for subnormal expected results.
47912 2012-05-06 Andreas Jaeger <aj@suse.de>
47914 * Makeconfig (+math-flags): New, set to -frounding-math.
47915 (+cflags): Add +math-flags so that all of glibc gets compiled with
47918 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47920 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47922 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47928 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47929 (__ieee754_expl): Allow for and saturate large arguments.
47930 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47931 (u_threshold): Likewise.
47932 (__exp): Call __ieee754_exp before checking for overflow and
47934 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47935 (u_threshold): Likewise.
47936 (__expf): Call __ieee754_expf before checking for overflow and
47938 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47939 (u_threshold): Likewise.
47940 (__expl): Call __ieee754_expl before checking for overflow and
47942 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47943 (__ieee754_expl): Allow for and saturate large arguments.
47944 * math/libm-test.inc (exp_test): Add another test. Do not allow
47945 missing overflow exception on overflow.
47946 (expm1_test): Do not allow missing overflow exception on overflow.
47948 * sysdeps/i386/fpu/e_expl.c: Move to ...
47949 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47950 rather than using inline asm.
47951 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47952 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47953 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47955 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47958 (signal): Likewise.
47962 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47964 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47965 sysdeps/unix/common/syscalls.list.
47966 (fchmod): Likewise.
47967 (fchown): Likewise.
47968 (ftruncate): Likewise.
47969 (getrusage): Likewise.
47970 (gettimeofday): Likewise.
47971 (setpgid): Likewise.
47972 (setregid): Likewise.
47973 (setreuid): Likewise.
47974 (sigaction): Likewise.
47975 (truncate): Likewise.
47976 (vhangup): Likewise.
47977 * sysdeps/unix/common/syscalls.list: Remove file.
47978 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47979 * sysdeps/unix/sysv/linux/Implies: Likewise.
47981 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47983 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47985 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47995 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47998 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48001 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48004 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48007 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48011 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48015 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48018 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48022 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48026 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48028 * sysdeps/unix/common/bits/dirent.h: Remove file.
48029 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48031 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48032 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48033 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48034 * sysdeps/unix/bsd/isatty.c: Likewise.
48035 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48036 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48037 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48039 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48043 long double comparison inaccuracies.
48044 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48047 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48049 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48052 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48056 nonzero digits before rounding a hex value.
48057 * stdlib/tst-strtod.c (tests): Add another test.
48059 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48061 * sysdeps/s390/fpu/libm-test-ulps: Update.
48063 2012-05-03 Andreas Jaeger <aj@suse.de>
48065 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48066 does not get optimized out.
48067 (malloc_opt_barrier): New.
48069 2012-05-03 Andreas Jaeger <aj@suse.de>
48070 Roland McGrath <roland@hack.frob.com>
48072 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48073 intermediate file deletion.
48074 (generated): Add .symlist files.
48076 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48079 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48080 Redirect under this condition.
48081 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48082 [__USE_GNU] (__dprintf_chk): Not under this condition.
48083 [__USE_GNU] (__vdprintf_chk): Likewise.
48084 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48085 under this condition.
48086 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48087 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48088 [__USE_XOPEN2K8] (vdprintf): Likewise.
48089 [__USE_GNU] (__dprintf_chk): Not under this condition.
48090 [__USE_GNU] (__vdprintf_chk): Likewise.
48091 [__USE_GNU] (dprintf): Likewise.
48092 [__USE_GNU] (vdprintf): Likewise.
48094 2012-05-03 Roland McGrath <roland@hack.frob.com>
48096 * elf/Makefile (common-generated): Set this instead of generated for
48097 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48098 $(all-built-dso)-derived lists.
48100 2012-05-03 Andreas Jaeger <aj@suse.de>
48102 * sysdeps/i386/fpu/libm-test-ulps: Update.
48105 * FAQ.in: Likewise.
48106 * scripts/gen-FAQ.pl: Likewise.
48107 * manual/install.texi (Installation): Point to online location of
48109 * Makefile (files-for-dist): Remove FAQ.
48112 2012-05-02 Allan McRae <allan@archlinux.org>
48114 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48115 (LDFLAGS-reldepmod5.so): Likewise.
48116 (LDFLAGS-reldep6mod1.so): Likewise.
48117 (LDFLAGS-reldep6mod4.so): Likewise.
48118 (LDFLAGS-reldep8mod3.so): Likewise.
48119 (LDFLAGS-unload4mod1.so): Likewise.
48120 (LDFLAGS-unload4mod2.so): Likewise.
48121 (LDFLAGS-tst-initorder): Likewise.
48122 (LDFLAGS-tst-initordera2.so): Likewise.
48123 (LDFLAGS-tst-initordera3.so): Likewise.
48124 (LDFLAGS-tst-initordera4.so): Likewise.
48125 (LDFLAGS-tst-initorderb2.so): Likewise.
48126 (LDFLAGS-noload): Likewise.
48127 (LDFLAGS-next): Likewise.
48128 (LDFLAGS-order2mod1.so): Likewise.
48129 (LDFLAGS-order2mod2.so): Likewise.
48130 (LDFLAGS-tst-initorder2): Likewise.
48131 (LDFLAGS-tst-initorder2a.so): Likewise.
48132 (LDFLAGS-tst-initorder2b.so): Likewise.
48133 (LDFLAGS-tst-initorder2c.so): Likewise.
48134 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48136 2012-05-02 David S. Miller <davem@davemloft.net>
48138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48140 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48143 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48145 2012-05-02 Andreas Jaeger <aj@suse.de>
48147 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48148 since we manipulate rounding mode.
48149 (CPPFLAGS-test-idouble.c): Likewise.
48150 (CPPFLAGS-test-ifloat.c): Likewise.
48151 (CFLAGS-test-ldouble.c): Likewise.
48152 (CFLAGS-test-double.c): Likewise.
48153 (CFLAGS-test-float.c): Likewise.
48154 (CFLAGS-test-misc.c): Likewise.
48155 (CFLAGS-test-test-fenv.c): Likewise.
48157 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48161 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48162 comparisons to determine direction to adjust input.
48164 2012-05-01 Roland McGrath <roland@hack.frob.com>
48166 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48167 output to the target.
48169 * scripts/localplt.awk: New file.
48170 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48171 (check-localplt-CFLAGS): Variable removed.
48172 ($(all-built-dso:=.jmprel)): New static pattern rule.
48173 (generated): Add those targets.
48174 (localplt-built-dso): New variable.
48175 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48177 * elf/check-localplt.c: File removed.
48179 * scripts/check-execstack.awk: New file.
48180 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48181 (check-execstack-CFLAGS): Variable removed.
48182 ($(objpfx)check-execstack.h): Target removed.
48183 ($(objpfx)execstack-default): New target.
48184 (generated): Add that instead of check-execstack.h.
48185 ($(all-built-dso:=.phdr)): New static pattern rule.
48186 (generated): Add those targets.
48187 * elf/check-execstack.c: File removed.
48189 * scripts/check-textrel.awk: New file.
48190 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48191 (check-textrel-CFLAGS): Variable removed.
48192 (all-built-dso): Use := to define.o
48193 ($(all-built-dso:=.dyn)): New static pattern rule.
48194 (generated): Add those targets.
48195 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48196 * config.make.in (READELF): New substituted variable.
48197 * elf/check-textrel.c: File removed.
48199 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48201 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48203 * conform/data/ctype.h-data [C99-based standards] (isblank):
48205 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48206 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48208 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48209 Specify type. Require positive value.
48210 (EILSEQ): Likewise.
48211 (ERANGE): Likewise.
48212 [ISO || POSIX] (EILSEQ): Do not expect.
48213 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48214 Specify type. Require positive value.
48215 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48216 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48217 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48218 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48219 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48220 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48221 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48222 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48223 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48224 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48225 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48226 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48227 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48228 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48229 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48230 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48231 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48232 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48233 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48234 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48235 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48236 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48237 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48238 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48239 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48240 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48241 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48242 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48243 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48244 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48245 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48246 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48247 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48248 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48249 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48250 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48251 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48252 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48253 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48254 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48255 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48256 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48257 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48258 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48259 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48260 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48261 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48262 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48263 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48264 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48265 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48266 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48267 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48268 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48269 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48270 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48271 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48272 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48273 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48274 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48275 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48276 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48277 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48278 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48279 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48280 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48281 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48282 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48283 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48284 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48285 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48286 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48287 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48288 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48289 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48290 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48291 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48293 (FLT_ROUNDS): Expect as macro, not constant.
48294 (FLT_MANT_DIG): Use macro-int-constant.
48295 (DBL_MANT_DIG): Likewise.
48296 (LDBL_MANT_DIG): Likewise.
48297 (FLT_DIG): Likewise.
48298 (DBL_DIG): Likewise.
48299 (LDBL_DIG): Likewise.
48300 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48301 (DBL_MIN_EXP): Likewise.
48302 (LDBL_MIN_EXP): Likewise.
48303 (FLT_MAX_EXP): Use macro-int-constant.
48304 (DBL_MAX_EXP): Likewise.
48305 (LDBL_MAX_EXP): Likewise.
48306 (FLT_MAX_10_EXP): Likewise.
48307 (DBL_MAX_10_EXP): Likewise.
48308 (LDBL_MAX_10_EXP): Likewise.
48309 (FLT_MAX): Use macro-constant.
48310 (DBL_MAX): Likewise.
48311 (LDBL_MAX): Likewise.
48312 (FLT_EPSILON): Use macro-constant. Give upper bound.
48313 (DBL_EPSILON): Likewise.
48314 (LDBL_EPSILON): Likewise.
48315 (FLT_MIN): Likewise.
48316 (DBL_MIN): Likewise.
48317 (LDBL_MIN): Likewise.
48318 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48319 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48320 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48321 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48322 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48323 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48324 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48325 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48326 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48327 [ISO11] (FLT_TRUE_MIN): Likewise.
48328 [ISO11] (LDBL_TRUE_MIN): Likewise.
48329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48330 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48331 (SCHAR_MIN): Use macro-int-constant. Specify type.
48332 (SCHAR_MAX): Likewise.
48333 (UCHAR_MAX): Likewise.
48334 (CHAR_MIN): Likewise.
48335 (CHAR_MAX): Likewise.
48336 (MB_LEN_MAX): Use macro-int-constant.
48337 (SHRT_MIN): Use macro-int-constant. Specify type.
48338 (SHRT_MAX): Likewise.
48339 (USHRT_MAX): Likewise.
48340 (INT_MAX): Likewise.
48341 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48343 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48345 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48347 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48348 bound negative. Suffix upper bound with "L".
48349 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48351 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48353 [C99-based standards] (LLONG_MAX): Likewise.
48354 [C99-based standards] (ULLONG_MAX): Likewise.
48355 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48357 [ISO11] (max_align_t): Require type.
48358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48360 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48361 from $CFLAGS, without defining away __attribute__ calls.
48362 (checknamespace): Use $CFLAGS_namespace.
48364 * conform/conformtest.pl (@keywords): Only include C99 keywords
48365 for standards based on C99 or C11.
48367 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48369 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48372 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48373 usability of symbols in #if.
48375 * conform/conformtest.pl: If macro or constant types start
48376 "promoted:", expect the symbol to be of the following type
48377 promoted by the integer promotions.
48379 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48380 in one place. Also handle "macro-constant".
48382 * conform/conformtest.pl: Only accept expected macro values with
48383 "==". Parse all "macro" lines in one place.
48384 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48386 * conform/conformtest.pl: Handle braced types on "constant" lines
48387 instead of handling "typed-constant".
48388 * conform/data/signal.h-data: Use "constant" instead of
48391 * conform/conformtest.pl: Handle "optional-" at start of lines in
48392 one place rather than duplicating several cases. Handle each
48393 format of "macro" line with initial "optional-".
48395 * conform/conformtest.pl: Only accept expected constant or
48396 optional-constant values with "==". Parse all "constant" lines in
48397 one place. Parse all "optional-constant" lines in one place.
48398 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48399 * conform/data/fmtmsg.h-data: Likewise.
48400 * conform/data/netinet/in.h-data: Likewise.
48401 * conform/data/tar.h-data: Likewise.
48402 * conform/data/limits.h-data: Use "==" form on "constant" and
48403 "optional-constant" lines.
48405 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48406 Use -std=c99 for XOPEN2K.
48407 (@knownproblems): Remove.
48408 (newtoken): Don't check %isknown.
48410 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48411 Do not expect macro.
48412 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48413 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48414 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48415 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48416 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48417 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48418 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48419 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48420 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48421 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48422 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48423 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48424 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48425 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48426 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48427 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48428 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48429 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48430 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48431 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48432 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48433 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48435 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48436 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48437 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48438 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48439 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48440 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48441 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48442 [XPG3] (acosh): Likewise.
48443 [XPG3] (asinh): Likewise.
48444 [XPG3] (atanh): Likewise.
48445 [XPG3] (cbrt): Likewise.
48446 [XPG3] (expm1): Likewise.
48447 [XPG3] (ilogb): Likewise.
48448 [XPG3] (log1p): Likewise.
48449 [XPG3] (logb): Likewise.
48450 [XPG3] (nextafter): Likewise.
48451 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48452 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48453 [XPG3] (remainder): Likewise.
48454 [XPG3] (rint): Likewise.
48455 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48456 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48457 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48458 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48459 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48460 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48461 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48462 [UNIX98 || XOPEN2K] (scalb): Expect.
48463 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48464 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48465 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48466 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48467 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48468 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48469 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48470 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48471 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48472 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48473 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48474 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48475 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48476 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48477 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48478 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48479 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48480 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48481 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48482 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48483 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48484 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48485 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48486 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48487 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48488 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48489 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48490 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48491 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48492 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48493 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48494 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48495 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48496 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48497 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48498 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48499 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48500 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48501 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48502 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48503 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48504 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48505 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48506 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48507 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48508 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48509 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48510 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48511 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48512 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48513 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48514 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48515 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48516 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48517 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48518 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48519 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48520 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48521 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48522 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48523 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48524 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48525 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48526 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48527 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48528 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48529 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48530 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48531 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48532 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48533 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48534 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48535 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48536 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48537 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48538 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48539 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48540 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48541 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48542 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48543 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48544 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48545 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48546 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48547 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48548 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48549 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48550 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48551 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48552 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48553 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48554 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48555 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48556 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48557 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48558 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48559 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48560 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48561 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48562 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48563 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48564 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48565 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48566 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48567 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48568 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48569 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48570 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48571 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48572 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48573 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48574 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48575 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48576 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48577 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48578 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48579 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48580 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48581 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48582 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48583 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48584 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48585 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48586 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48587 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48588 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48589 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48590 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48591 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48592 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48593 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48594 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48595 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48596 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48597 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48598 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48599 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48601 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48602 _XOPEN_SOURCE_EXTENDED for XPG4.
48604 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48606 * Makeconfig (localtime): Remove variable.
48607 (inst_localtime-file): Likewise.
48609 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48630 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48634 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48635 comparisons to determine direction to adjust input.
48636 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48637 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48640 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48642 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48644 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48645 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48647 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48649 * math/libm-test.inc (nexttoward_test): Add more tests.
48651 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48654 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48655 in version GLIBC_2.1, not GLIBC_2.0.
48656 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48659 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48662 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48664 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48665 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48666 * math/libm-test.inc (acos_test): Add more tests.
48667 (asin_test): Likewise.
48668 * sysdeps/i386/fpu/libm-test-ulps: Update.
48669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48672 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48674 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48675 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48676 * math/libm-test.inc (acos_test_tonearest): New function.
48677 (acos_test_towardzero): Likewise.
48678 (acos_test_downward): Likewise.
48679 (acos_test_upward): Likewise.
48680 (asin_test_tonearest): Likewise.
48681 (asin_test_towardzero): Likewise.
48682 (asin_test_downward): Likewise.
48683 (asin_test_upward): Likewise.
48684 (main): Call the new functions.
48685 * sysdeps/i386/fpu/libm-test-ulps: Update.
48686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48690 * math/e_exp10.c: Include <float.h>.
48691 (__ieee754_exp10): Handle underflow here rather than multiplying
48692 large negative argument by M_LN10.
48693 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48695 * math/e_exp10l.c: Include <float.h>.
48696 (__ieee754_exp10l): Handle underflow here rather than multiplying
48697 large negative argument by M_LN10l.
48698 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48699 spurious overflow exception on underflow.
48701 2012-04-29 Marek Polacek <polacek@redhat.com>
48703 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48704 (__fortify_function): New macro.
48705 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48706 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48707 __extern_always_inline.
48708 * libio/bits/stdio2.h: Likewise.
48709 * libio/bits/stdio.h: Likewise.
48710 * string/string.h: Likewise.
48711 * string/bits/string3.h: Likewise.
48712 * include/stdio.h: Likewise.
48713 * stdlib/bits/stdlib.h: Likewise.
48714 * stdlib/stdlib.h: Likewise.
48715 * rt/bits/mqueue2.h: Likewise.
48716 * rt/mqueue.h: Likewise.
48717 * posix/bits/unistd.h: Likewise.
48718 * posix/unistd.h: Likewise.
48719 * io/bits/poll2.h: Likewise.
48720 * io/bits/fcntl2.h: Likewise.
48721 * io/fcntl.h: Likewise.
48722 * io/sys/poll.h: Likewise.
48723 * misc/bits/syslog.h: Likewise.
48724 * misc/bits/syslog-ldbl.h: Likewise.
48725 * misc/sys/syslog.h: Likewise.
48726 * socket/bits/socket2.h: Likewise.
48727 * socket/sys/socket.h: Likewise.
48728 * debug/tst-chk1.c: Likewise.
48729 * wcsmbs/bits/wchar2.h: Likewise.
48730 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48731 * wcsmbs/wchar.h: Likewise.
48733 2012-04-29 Andreas Jaeger <aj@suse.de>
48735 * Makerules (tests): Remove enable-check-abi protection.
48736 (check-abi-warn): Remove.
48737 (check-abi-%): Remove check-abi-warn usage.
48739 * configure.in: Remove check-abi configure option.
48740 * configure: Regenerated.
48741 * config.make.in (enable-check-abi): Remove.
48743 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48746 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48747 double functions to double *_finite functions.
48750 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48751 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48753 * stdio-common/Makefile (tests): Add tst-sprintf3.
48754 * stdio-common/tst-sprintf3.c: New file.
48756 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48757 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48759 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48761 * conform/conformtest.pl: Remove duplicate typed-constant
48764 2012-04-28 David S. Miller <davem@davemloft.net>
48766 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48767 (check-abi-%): Remove AWK script prerequisite and explicit
48769 (check-abi): Rewrite to just diff the symlist with the abilist.
48770 (config-tls, config-abi-config): Delete, no longer used.
48771 (update-abi-%): Remove AWK script and explicit abilist directory.
48772 (update-abi): Rewrite to simply compare and conditionally copy the
48773 symlist and the sysdep abilist file. Remove update-abi-config
48775 * abilist/ld.abilist: Remove.
48776 * abilist/libBrokenLocale.abilist: Remove.
48777 * abilist/libanl.abilist: Remove.
48778 * abilist/libcrypt.abilist: Remove.
48779 * abilist/libdl.abilist: Remove.
48780 * abilist/librt.abilist: Remove.
48781 * abilist/libthread_db.abilist: Remove.
48782 * abilist/libutil.abilist: Remove.
48783 * scripts/extract-abilist.awk: Remove.
48784 * scripts/merge-abilist.awk: Remove.
48785 * sysdeps/generic/libcidn.abilist: New file.
48786 * sysdeps/generic/libnss_compat.abilist: New file.
48787 * sysdeps/generic/libnss_db.abilist: New file.
48788 * sysdeps/generic/libnss_dns.abilist: New file.
48789 * sysdeps/generic/libnss_files.abilist: New file.
48790 * sysdeps/generic/libnss_hesiod.abilist: New file.
48791 * sysdeps/generic/libnss_nis.abilist: New file.
48792 * sysdeps/generic/libnss_nisplus.abilist: New file.
48793 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48794 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48795 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48797 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48798 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48799 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48800 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48801 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48802 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48803 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48804 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48805 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48807 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48808 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48809 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48810 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48812 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48813 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48814 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48815 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48816 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48817 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48819 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48820 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48821 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48823 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48926 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48927 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48928 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48930 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48931 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48932 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48933 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48934 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48935 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48936 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48937 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48938 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48939 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48991 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48993 * conform/conformtest.pl: Fix typo in handling typed-constant from
48996 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48998 * README: Cut down references to pre-2.6 Linux kernels and
48999 Linuxthreads. Update lists of configurations in libc and ports
49000 and sort alphabetically. Say "or newer" with Linux kernel version
49003 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49005 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49008 * math/libm-test.inc (logb_test_downward): New test to expose
49009 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49012 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49015 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49017 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49018 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49020 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49022 * sysdeps/unix/i386/brk.S: Remove file.
49023 * sysdeps/unix/i386/dl-brk.S: Likewise.
49024 * sysdeps/unix/i386/pipe.S: Likewise.
49025 * sysdeps/unix/i386/sigreturn.S: Likewise.
49026 * sysdeps/unix/i386/syscall.S: Likewise.
49027 * sysdeps/unix/i386/vfork.S: Likewise.
49028 * sysdeps/unix/i386/wait.S: Likewise.
49030 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49031 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49033 * configure.in (arm*-none*): Do not allow without
49034 --enable-hacker-mode.
49035 (netbsd*): Remove case setting base_os.
49036 (386bsd*): Likewise.
49037 (freebsd*): Likewise.
49040 (sunos*): Likewise.
49041 (ultrix*): Likewise.
49042 (newsos*): Likewise.
49043 (dynix*): Likewise.
49049 (minix*): Likewise.
49050 (irix4*): Likewise.
49051 (irix6*): Likewise.
49052 (solaris[2-9]*): Likewise.
49054 * configure: Regenerated.
49056 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49059 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49060 overflow or cancellation in calculating denominator.
49061 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49063 down expression to avoid unexpected rounding in newer GCCs.
49064 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49066 2012-04-26 David S. Miller <davem@davemloft.net>
49068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49069 long-double compat symbols.
49070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49084 2012-04-25 David S. Miller <davem@davemloft.net>
49086 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49087 HWCAP_* values only after the memory barriers have been defined.
49088 (atomic_full_barrier): Define.
49089 (atomic_read_barrier): Define.
49090 (atomic_write_barrier): Define.
49092 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49094 * shlib-versions: Add libgcc_s version information.
49095 * sysdeps/generic/libgcc_s.h: Remove.
49096 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49098 * sysdeps/gnu/unwind-resume.c: Likewise.
49099 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49101 2012-04-25 David S. Miller <davem@davemloft.net>
49103 * sysdeps/unix/sparc/brk.S: Delete.
49104 * sysdeps/unix/sparc/dl-brk.S: Delete.
49105 * sysdeps/unix/sparc/pipe.S: Delete.
49106 * sysdeps/unix/sparc/sysdep.S: Delete.
49107 * sysdeps/unix/sparc/sysdep.h: Delete.
49108 * sysdeps/unix/sparc/vfork.S: Delete.
49109 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49110 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49111 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49112 (ret_ERRVAL, r0, r1, MOVE): Define.
49113 (JUMPTARGET): Remove.
49114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49115 sysdeps/unix/sparc/sysdep.h
49116 (ENTRY, END): Remove.
49117 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49119 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49121 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49122 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49125 * timezone/README: Update upstream location and email address for
49127 * timezone/zdump.c: Update from tzcode 2012b.
49128 * timezone/zic.c: Likewise.
49130 * configure.in (libc_cv_as_needed): Remove test.
49131 * configure: Regenerated.
49132 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49133 conditional definition.
49134 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49135 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49136 * config.make.in (have-as-needed): Remove variable.
49138 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49139 Paul Pluzhnikov <ppluzhnikov@google.com>
49141 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49144 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49146 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49147 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49148 * sysdeps/sh/strlen.S: Likewise.
49150 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49152 * sysdeps/unix/fork.S: Remove file.
49153 * sysdeps/unix/i386/fork.S: Likewise.
49154 * sysdeps/unix/sparc/fork.S: Likewise.
49156 * sysdeps/unix/system.c: Remove file.
49157 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49159 * sysdeps/unix/getegid.S: Remove file.
49160 * sysdeps/unix/geteuid.S: Likewise.
49162 2012-04-24 Roland McGrath <roland@hack.frob.com>
49164 * scripts/check-localplt.awk: New file.
49165 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49167 * scripts/data/localplt-generic.data: Add a comment.
49169 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49170 NODE when __dir_mkfile failed.
49171 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49172 Reported by Ludovic Courtès <ludo@gnu.org>.
49174 2012-04-24 Andreas Jaeger <aj@suse.de>
49176 * Makerules (common-clean): Also remove gen-as-const-headers
49179 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49181 * Makerules (native-compile): Do not change working directory for
49182 build. Use $(OUTPUT_OPTION) in command.
49183 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49185 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49188 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49189 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49190 * math/libm-test.inc (floor_test): Add more tests.
49191 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49193 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49195 * sysdeps/unix/getdents.c: Remove file.
49196 * sysdeps/unix/sysv/getdents.c: Likewise.
49197 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49199 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49200 sysdeps/unix/mman/syscalls.list.
49202 (mprotect): Likewise.
49204 (munmap): Likewise.
49205 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49206 * sysdeps/unix/mman/syscalls.list: Remove.
49207 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49209 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49210 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49211 * configure: Regenerated.
49212 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49213 $(libgcc_s_suffix).
49214 * config.make.in (libgcc_s_suffix): Remove variable.
49216 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49218 * sysdeps/unix/sysv/gethostname.c: Move to ...
49219 * sysdeps/posix/gethostname.c: ... here.
49221 * sysdeps/unix/execve.S: Remove file.
49223 * sysdeps/unix/_exit.S: Remove file.
49225 2012-04-23 Andreas Jaeger <aj@suse.de>
49228 * manual/Makefile: Remove make dist support, there's no
49229 need for a stand-alone documentation tar ball.
49230 (TEXI2DVI): Define always, it's not in Makeconfig.
49233 (edition): Removed.
49234 (glibc-doc-$(edition).tar): Removed
49238 (ETAGS): Remove, it's in Makeconfig.
49239 (move-if-change): Remove, it's in Makeconfig.
49241 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49244 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49245 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49246 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49247 (strtod_l, strtof_l, strtold_l): Remove __wur.
49248 It is not necessarily an error to ignore strtol's return value.
49249 One can reliably look at the stored endptr to decide whether
49250 the number had valid syntax.
49252 2012-04-21 Andreas Jaeger <aj@suse.de>
49255 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49257 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49259 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49260 * sysdeps/unix/sysv/Versions: Remove file.
49262 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49267 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49271 version from __vm86.
49273 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49275 * sysdeps/unix/common/lxstat.c: Remove file.
49276 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49278 * sysdeps/unix/sysv/Makefile: Remove file.
49280 * sysdeps/unix/sysv/direct.h: Remove file.
49282 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49283 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49284 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49285 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49286 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49287 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49288 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49290 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49292 * sysdeps/unix/xmknod.c: Remove file.
49293 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49295 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49297 * sysdeps/unix/sysv/i386/time.S: Remove file.
49299 * sysdeps/unix/fxstat.c: Remove file.
49300 * sysdeps/unix/xstat.c: Likewise.
49301 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49303 * sysdeps/unix/sysv/sigaction.c: Remove file.
49305 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49306 (sysdep_headers): Remove variable.
49307 [termio.h not in sysdep_headers] (generated): Likewise.
49308 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49309 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49310 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49311 * sysdeps/unix/sysv/tcflow.c: Likewise.
49312 * sysdeps/unix/sysv/tcflush.c: Likewise.
49313 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49314 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49315 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49316 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49317 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49319 * sysdeps/unix/siglist.c: Remove file.
49321 * sysdeps/unix/getppid.S: Remove file.
49323 * sysdeps/unix/mkdir.c: Remove file.
49324 * sysdeps/unix/rmdir.c: Likewise.
49326 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49328 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49330 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49331 errlist-compat value.
49333 2012-04-18 David S. Miller <davem@davemloft.net>
49335 * sysdeps/generic/memcopy.h (reg_char): Delete.
49336 * debug/strcat_chk.c: Use char, not reg_char.
49337 * debug/strcpy_chk.c: Likewise.
49338 * debug/strncat_chk.c: Likewise.
49339 * debug/strncpy_chk.c: Likewise.
49340 * string/memchr.c: Likewise.
49341 * string/memrchr.c: Likewise.
49342 * string/rawmemchr.c: Likewise.
49343 * string/strcat.c: Likewise.
49344 * string/strchr.c: Likewise.
49345 * string/strchrnul.c: Likewise.
49346 * string/strcmp.c: Likewise.
49347 * string/strcpy.c: Likewise.
49348 * string/strncat.c: Likewise.
49349 * string/strncmp.c: Likewise.
49350 * string/strncpy.c: Likewise.
49352 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49354 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49355 __builtin_memcopy is called when src and dest ranges are known to not
49358 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49360 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49361 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49362 fwd_align_merge macro call.
49363 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49364 bwd_align_merge macro call.
49365 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49367 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49369 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49370 bwd_align_merge macros.
49371 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49372 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49373 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49375 2012-04-18 David S. Miller <davem@davemloft.net>
49377 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49379 2012-04-18 Andreas Jaeger <aj@suse.de>
49382 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49383 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49384 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49386 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49387 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49388 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49390 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49391 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49392 Adjust for changed ldbl-128 files.
49394 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49395 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49396 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49398 2012-04-17 David S. Miller <davem@davemloft.net>
49400 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49402 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49404 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49405 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49406 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49407 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49408 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49409 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49411 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49414 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49415 * math/libm-test.inc: Add ilogb errno and exception tests.
49416 * math/w_ilogb.c: New file: ilogb wrapper.
49417 * math/w_ilogbf.c: New file: ilogbf wrapper.
49418 * math/w_ilogbl.c: New file: ilogbl wrapper.
49419 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49420 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49421 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49422 exception being thrown with 0.0 as argument.
49423 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49424 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49425 exception being thrown with 0.0 as argument.
49426 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49427 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49428 exception being thrown with 0.0 as argument.
49429 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49430 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49431 exception being thrown with 0.0 as argument.
49432 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49433 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49434 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49435 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49436 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49437 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49438 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49439 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49440 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49442 2012-04-17 Petr Baudis <pasky@ucw.cz>
49444 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49447 2012-04-16 Marek Polacek <polacek@redhat.com>
49449 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49451 2012-04-16 Marek Polacek <polacek@redhat.com>
49453 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49454 operands of fdivp instruction.
49456 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49458 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49459 * elf/tst-auditmod3b.c: Likewise.
49460 * elf/tst-auditmod4b.c: Likewise.
49461 * elf/tst-auditmod5b.c: Likewise.
49462 * elf/tst-auditmod6b.c: Likewise.
49463 * elf/tst-auditmod6c.c: Likewise.
49464 * elf/tst-auditmod7b.c: Likewise.
49465 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49466 * sysdeps/x86_64/preconfigure.in: Likewise.
49467 * sysdeps/x86_64/preconfigure: Regenerated.
49469 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49471 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49474 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49477 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49479 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49482 * locale/iso-639.def: Fix gl language name. Spotted by
49485 2012-04-12 Roland McGrath <roland@hack.frob.com>
49488 * libio/libio.h (__io_write_fn): Update comment.
49490 2012-04-12 Petr Baudis <pasky@ucw.cz>
49493 * stdio.texi (Hook Functions): The user provided writer function
49494 is not allowed to return -1.
49496 2012-04-11 David S. Miller <davem@davemloft.net>
49498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49500 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49502 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49503 Add a leading slash to rtkaio.
49505 2012-04-11 Jim Meyering <meyering@redhat.com>
49508 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49509 It is not necessarily an error to ignore fwrite's return
49510 value. One can reliably use ferror to test for errors after
49513 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49515 * bits/types.h (__snseconds_t): New type.
49516 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49518 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49520 (__SNSECONDS_T_TYPE): Likewise.
49521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49522 (__SNSECONDS_T_TYPE): Likewise.
49523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49524 (__SNSECONDS_T_TYPE): Likewise.
49526 2012-04-10 Andreas Jaeger <aj@suse.de>
49529 * manual/time.texi (Processor Time): Return type of times is
49530 elapsed real time since an arbitrary point in the past.
49531 (CPU Time): Move CLK_TCK from here...
49532 (Processor Time): ...to here. Correct description.
49533 * manual/conf.texi (Constants for Sysconf): Correct description of
49536 2012-04-10 David S. Miller <davem@davemloft.net>
49539 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49540 where the is a gap between DT_REL(A) and DT_JMPREL.
49542 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49544 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49545 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49546 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49548 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49550 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49551 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49552 (dl_main): Handle --inhibit-cache.
49553 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49555 * elf/dl-load.c (_dl_map_object): Use it.
49556 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49558 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49561 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49562 (__ieee754_powl): Saturate large exponents rather than testing for
49563 overflow of y*log2(x).
49564 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49565 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49569 * math/s_ctan.c: Include <float.h>.
49570 (__ctan): Avoid internal overflow or cancellation in calculating
49572 * math/s_ctanf.c: Likewise.
49573 * math/s_ctanl.c: Likewise.
49574 * math/s_ctanh.c: Likewise.
49575 * math/s_ctanhf.c: Likewise.
49576 * math/s_ctanhl.c: Likewise.
49577 * math/libm-test.inc (ctan_test): Add more tests.
49578 (ctanh_test): Likewise.
49579 * sysdeps/i386/fpu/libm-test-ulps: Update.
49580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49582 2012-04-09 Andreas Jaeger <aj@suse.de>
49585 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49586 is an optional BSD extension.
49589 * manual/stdio.texi (Opening Streams): Document additional fopen
49592 2012-04-09 Roland McGrath <roland@hack.frob.com>
49594 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49595 %eax without telling the compiler.
49597 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49600 * manual/install.texi: Use sourceware.org.
49602 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49605 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49606 (__ieee754_pow): Generate overflow and underflow using huge*huge
49607 and tiny*tiny rather than just returning constant infinity or zero
49608 for large exponents.
49609 * math/libm-test.inc (pow_test): Require overflow exceptions for
49610 applicable cases of large exponents.
49613 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49614 (__ieee754_pow): Use iterative multiplication algorithm only for
49615 integer exponents with absolute value below 1024. Check for odd
49616 integer exponents when using algorithm for real exponents.
49617 * math/libm-test.inc (pow_test): Add more tests.
49618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49620 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49623 * math/libm-test.inc (exp_test): Do not allow overflow exception
49626 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49629 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49630 instead of __kernel_standard_f.
49632 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49634 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49635 * sysdeps/x86_64/memset_chk.S: Likewise.
49637 2012-04-08 Andreas Jaeger <aj@suse.de>
49640 * manual/startup.texi (Environment Access): Describe return value
49641 for putenv and setenv.
49644 * manual/filesys.texi (Directory Entries): Add description for
49648 * manual/filesys.texi (Directory Entries): Clarify that it's file
49649 system not operating system in the description of DT_UNKNOWN.
49652 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49654 2012-04-08 Stephen Compall <s11@member.fsf.org>
49657 * manual/llio.texi (Opening and Closing Files): Add cross
49658 reference to explain mode argument.
49660 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49662 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49663 * sysdeps/x86_64/memset_chk.S: Likewise.
49665 2012-04-07 David S. Miller <davem@davemloft.net>
49667 * elf/elf.h (R_SPARC_WDISP10): Define.
49668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49671 R_SPARC_SIZE64 and R_SPARC_H34.
49673 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
49675 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49676 conditions and remove no longer applicable assertion.
49678 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49680 * bits/byteswap.h: Include <features.h>.
49681 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49682 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49684 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49686 * bits/byteswap.h (__bswap_16): Removed.
49687 Include <bits/byteswap-16.h> to get __bswap_16.
49688 * sysdeps/i386/bits/byteswap.h: Likewise.
49689 * sysdeps/s390/bits/byteswap.h: Likewise.
49690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49691 * bits/byteswap-16.h: New file.
49692 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49693 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49694 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49695 * string/Makefile (headers): Add bits/byteswap-16.h.
49697 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49700 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49702 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49703 * nss/tst-nss-static.c: New.
49705 2012-04-06 Robert Millan <rmh@gnu.org>
49708 * manual/llio.texi (File Position Primitive): lseek
49709 refers to WHENCE when it really means OFFSET.
49711 2012-04-06 Andreas Jaeger <aj@suse.de>
49713 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49714 strncmp declarations.
49716 * abilist/libc.abilist: Add __poll and __ppoll.
49718 2012-04-05 David S. Miller <davem@davemloft.net>
49720 * scripts/check-local-headers.sh: Accept a host triplet in the
49721 path matched by the exclude regexp.
49723 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49725 * sysdeps/powerpc/powerpc32/dl-machine.h
49726 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49727 * sysdeps/s390/s390-32/dl-machine.h
49728 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49729 * sysdeps/sparc/sparc32/dl-machine.h
49730 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49731 * sysdeps/sparc/sparc64/dl-machine.h
49732 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49734 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49736 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49737 undefined symbol errors.
49739 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49742 2012-04-05 Michael Matz <matz@suse.de>
49745 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49747 2012-04-05 Andreas Jaeger <aj@suse.de>
49750 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49753 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49755 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49756 which ROUND is no valid rounding mode.
49758 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49760 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49762 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49764 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49766 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49767 an exception using FPU order intentionally.
49769 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49771 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49772 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49773 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49774 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49776 2012-04-05 Simon Josefsson <simon@josefsson.org>
49779 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49780 EINVAL when BUFLEN is too smal.
49782 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49785 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49786 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49788 2012-04-03 Andreas Jaeger <aj@suse.de>
49791 * manual/setjmp.texi (System V contexts): Fix sentence.
49794 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49795 New macro for this case.
49796 [!__GNUC__] (__bswap_64): New inline function for this case.
49797 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49798 * bits/byteswap.h: Likewise.
49799 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49800 ull, guard with __GLIBC_HAVE_LONG_LONG.
49802 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49803 __GLIBC_HAVE_LONG_LONG.
49805 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49806 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49808 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49811 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49812 inptr and inend, rather than using last_ch.
49814 2012-04-02 David S. Miller <davem@davemloft.net>
49816 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49817 * stdio-common/printf-parse.h (read_int): Change return type to
49818 'int', return -1 on INT_MAX overflow.
49819 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49820 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49821 overflows INT_MAX. Check for overflow of in-format-string precision
49822 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49823 SIZE_MAX not INT_MAX for integer overflow test.
49824 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49825 skip the construct in the format string but do not record anything.
49826 * stdio-common/bug22.c: Adjust to test both width/prevision
49827 INT_MAX overflow as well as total length INT_MAX overflow. Check
49828 explicitly for proper errno values.
49830 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49832 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49834 * string/test-strcmp.c [! WIDE]: Likewise.
49835 * time/tst-mktime2.c: Likewise for INT_MAX.
49836 * string/test-string.h: #include <sys/param.h> for MIN.
49838 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49839 * sysdeps/i386/init-first.c (init): Likewise.
49840 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49841 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49842 * sysdeps/sh/init-first.c (init): Likewise.
49844 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49846 * po/ru.po: Update from translation team.
49847 * po/vi.po: Likewise.
49849 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49851 * resolv/nss_dns/dns-host.c: Merge copyright years.
49853 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49855 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49856 Optimize memcpy with prefetch if
49857 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49858 src, dst pointers have unequal 16 byte alignments.
49860 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49863 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49864 from a CNAME entry and return the minimum ttl for the query.
49865 (gaih_getanswer_slice): Likewise.
49867 2012-03-30 Jeff Law <law@redhat.com>
49869 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49871 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49872 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49874 * resolv/nss_dns/dns-host.c: Update copyright year.
49876 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49878 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49879 requests to save a system call. Fix check that all bytes are sent.
49881 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49882 comments for sendmmsg.
49884 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49887 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49888 with only 1 character between 0x0041 and 0x01b0.
49889 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49890 * wcsmbs/tst-mbsnrtowcs.c: New file.
49892 2012-03-29 David S. Miller <davem@davemloft.net>
49894 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49895 small copies by hand.
49897 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49900 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49901 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49904 2012-03-28 David S. Miller <davem@davemloft.net>
49906 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49907 that branches into memcpy.
49908 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49911 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49914 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49915 implementation too.
49916 * sysdeps/sparc/mempcpy.S: New file.
49918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49919 the IFUNC routine in the libc case.
49920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49922 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49923 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49924 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49925 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49926 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49927 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49928 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49929 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49931 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49932 loop to 256 bytes instead of 64 bytes and fix test signedness.
49934 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49935 * sysdeps/sparc/sparc32/Makefile: rather than here...
49936 * sysdeps/sparc/sparc64/Makefile: and here.
49938 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49940 * malloc/mallocbug.c: Avoid warnings about unused variables.
49942 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49945 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49946 in the right place. Discard and retry query if response is
49947 larger than input buffer size.
49949 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49954 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49955 x for large integer exponent.
49956 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49957 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49958 sign of result as needed afterwards.
49959 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49960 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49961 result for underflowing pow the same as for overflow.
49962 (__kernel_standard_l): Handle powl overflow and underflow here
49963 rather than calling __kernel_standard.
49964 * math/libm-test.inc (pow_test): Add more tests.
49979 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49980 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49981 (__kernel_standard_l): New function.
49982 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49984 * math/w_acosl.c (__acosl): Likewise.
49985 * math/w_asinl.c (__asinl): Likewise.
49986 * math/w_atan2l.c (__atan2l): Likewise.
49987 * math/w_atanhl.c (__atanhl): Likewise.
49988 * math/w_coshl.c (__coshl): Likewise.
49989 * math/w_exp10l.c (__exp10l): Likewise.
49990 * math/w_exp2l.c (__exp2l): Likewise.
49991 * math/w_fmodl.c (__fmodl): Likewise.
49992 * math/w_hypotl.c (__hypotl): Likewise.
49993 * math/w_j0l.c (__j0l, __y0l): Likewise.
49994 * math/w_j1l.c (__j1l, __y1l): Likewise.
49995 * math/w_jnl.c (__jnl, __ynl): Likewise.
49996 * math/w_lgammal.c (__lgammal): Likewise.
49997 * math/w_log10l.c (__log10l): Likewise.
49998 * math/w_log2l.c (__log2l): Likewise.
49999 * math/w_logl.c (__logl): Likewise.
50000 * math/w_powl.c (__powl): Likewise.
50001 * math/w_remainderl.c (__remainderl): Likewise.
50002 * math/w_scalbl.c (sysv_scalbl): Likewise.
50003 * math/w_sinhl.c (__sinhl): Likewise.
50004 * math/w_sqrtl.c (__sqrtl): Likewise.
50005 * math/w_tgammal.c (__tgammal): Likewise.
50006 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50007 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50008 * math/libm-test.inc (acos_test): Add more tests.
50009 (acosh_test): Likewise.
50010 (asin_test): Likewise.
50011 (atanh_test): Likewise.
50012 (exp_test): Likewise.
50013 (exp10_test): Likewise.
50014 (exp2_test): Likewise.
50015 (expm1_test): Likewise.
50016 (lgamma_test): Likewise.
50017 (log_test): Likewise.
50018 (log10_test): Likewise.
50019 (log1p_test): Likewise.
50020 (log2_test): Likewise.
50021 (pow_test): Do not allow some spurious overflow exceptions.
50022 (sqrt_test): Add more tests.
50023 (tgamma_test): Likewise.
50024 (y0_test): Likewise.
50025 (y1_test): Likewise.
50026 (yn_test): Likewise.
50028 2012-03-27 Anton Blanchard <anton@samba.org>
50030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50032 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50033 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50034 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50036 2012-03-27 David S. Miller <davem@davemloft.net>
50038 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50040 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50041 have-as-vis3 check.
50043 2012-03-27 Andreas Jaeger <aj@suse.de>
50045 * sysdeps/x86_64/elf/configure.in: Moved to ...
50046 * sysdeps/x86_64/configure.in: ... here.
50047 * sysdeps/x86_64/elf/start.S: Moved to ...
50048 * sysdeps/x86_64/start.S: ... here.
50049 * sysdeps/x86_64/elf/configure: Delete.
50051 * sysdeps/x86_64/configure.in: Merge contents from
50052 sysdeps/i386/configure.in (without i686 check).
50054 * sysdeps/i386/elf/Versions: Merge into ...
50055 * sysdeps/i386/Versions: ... this.
50056 * sysdeps/i386/elf/Versions: Delete file.
50057 * sysdeps/i386/elf/start.S: Moved to ...
50058 * sysdeps/i386/start.S: ...here.
50059 * sysdeps/i386/elf/configure.in: Merge into...
50060 * sysdeps/i386/configure.in: ...here.
50061 * sysdeps/i386/elf/configure.in: Delete file.
50062 * sysdeps/i386/elf/configure: Delete file.
50064 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50065 * debug/backtracesyms.c: ... here.
50066 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50067 * debug/backtracesymsfd.c: ... here.
50068 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50069 * sysdeps/generic/ifunc-sel.h: ... here.
50071 * sysdeps/unix/i386/start.c: Delete file.
50072 * sysdeps/unix/sparc/start.c: Delete file.
50073 * sysdeps/unix/start.c: Delete file.
50075 * sysdeps/sh/elf/configure.in: Moved to ...
50076 * sysdeps/sh/configure.in: ... here.
50077 * sysdeps/sh/elf/start.S: Moved to ...
50078 * sysdeps/sh/start.S: ... here.
50079 * sysdeps/sh/elf/configure: Delete file.
50081 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50082 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50083 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50084 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50085 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50086 * sysdeps/powerpc/powerpc64/start.S: here.
50087 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50088 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50089 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50090 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50091 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50093 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50094 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50095 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50096 * sysdeps/powerpc/powerpc32/start.S: ... here.
50097 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50098 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50099 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50101 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50102 * sysdeps/powerpc/ifunc-sel.h: ... here.
50103 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50104 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50106 * sysdeps/sparc/elf/configure.in: Moved to ...
50107 * sysdeps/sparc/configure.in: ... here.
50108 * sysdeps/sparc/elf/configure: Delete file.
50109 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50110 * sysdeps/sparc/sparc32/start.S: ... here.
50111 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50112 * sysdeps/sparc/sparc64/start.S: ... here.
50113 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50114 * sysdeps/sparc/sparc32/Makefile: ... this.
50115 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50116 * sysdeps/sparc/sparc64/Makefile: ... this.
50118 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50119 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50120 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50121 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50122 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50123 * sysdeps/s390/s390-32/setjmp.S: ... here.
50124 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50125 * sysdeps/s390/s390-32/configure.in: ... here.
50126 * sysdeps/s390/s390-32/elf/configure: Delete file.
50127 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50128 * sysdeps/s390/s390-32/start.S: ... here.
50130 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50131 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50132 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50133 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50134 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50135 * sysdeps/s390/s390-64/setjmp.S: ... here.
50136 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50137 * sysdeps/s390/s390-64/configure.in: ... here
50138 * sysdeps/s390/s390-64/elf/configure: Delete file.
50139 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50140 * sysdeps/s390/s390-64/start.S: ... here.
50141 * sysdeps/s390/s390-64/elf/configure: Delete.
50143 * configure.in: Remove support for elf directories in sysdeps.
50145 * configure: Regenerated.
50146 * sysdeps/i386/configure: Regenerated.
50147 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50148 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50149 * sysdeps/s390/s390-32/configure: Regenerated.
50150 * sysdeps/s390/s390-64/configure: Regenerated.
50151 * sysdeps/sh/configure: Regenerated.
50152 * sysdeps/sparc/configure: Regenerated.
50153 * sysdeps/x86_64/configure: Regenerated.
50155 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50160 denormal result into account.
50162 2012-03-25 Roland McGrath <roland@hack.frob.com>
50164 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50165 Reported by Allan McRae <allan@archlinux.org>.
50167 2012-03-23 Jeff Law <law@redhat.com>
50169 * nss/getnssent.c (__nss_getent): Fix typo.
50171 2012-03-23 David S. Miller <davem@davemloft.net>
50173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50175 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50177 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50178 to pad to uint64_t for each field.
50179 (dl_tls_index): Replace unsigned long with uint64_t.
50181 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50182 Paul Pluzhnikov <ppluzhnikov@google.com>
50185 * grp/Makefile (otherlibs): Don't set it.
50186 * inet/Makefile (otherlibs): Likewise.
50187 * login/Makefile (otherlibs): Likewise.
50188 * nscd/Makefile (otherlibs): Likewise.
50189 * posix/Makefile (otherlibs): Likewise.
50190 * pwd/Makefile (otherlibs): Likewise.
50191 * rt/Makefile (otherlibs): Likewise.
50192 * sunrpc/Makefile (otherlibs): Likewise.
50193 * nss/Makefile (otherlibs): Likewise.
50194 Add libnss_files to routines and static-only-routines.
50195 ($(objpfx)getent): Remove rule.
50196 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50197 static-only-routines.
50199 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50202 * math/s_cexp.c: Include <float.h>.
50203 (__cexp): Handle exp result overflowing not necessarily
50204 overflowing both real and imaginary parts of result.
50205 * math/s_cexpf.c: Likewise.
50206 * math/s_cexpl.c: Likewise.
50207 * math/libm-test.inc (cexp_test): Add more tests.
50208 * sysdeps/i386/fpu/libm-test-ulps: Update.
50209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50211 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50213 * include/link.h (ELFW): New macro.
50214 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50215 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50217 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50219 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50222 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50224 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50226 (struct La_x32_retval): Likewise.
50228 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50230 * sysdeps/x86_64/preconfigure.in: New file.
50231 * sysdeps/x86_64/preconfigure: New generated file.
50233 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50236 * math/e_exp2l.c: Include <float.h>.
50237 (__ieee754_exp2l): Handle overflow and underflow cases
50238 separately. Only pass fractional part of argument to
50240 * math/libm-test.inc (exp2_test): Add more tests.
50242 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50243 negating x to take absolute value.
50244 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50246 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50247 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50249 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50250 computing low part if x was negated.
50251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50253 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50255 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50256 la_x32_gnu_pltexit.
50257 (pltexit): Cast int_retval to ptrdiff_t.
50258 * elf/tst-auditmod3b.c: Likewise.
50259 * elf/tst-auditmod4b.c: Likewise.
50260 * elf/tst-auditmod5b.c: Likewise.
50261 * elf/tst-auditmod6b.c: Likewise.
50262 * elf/tst-auditmod6c.c: Likewise.
50263 * elf/tst-auditmod7b.c: Likewise.
50265 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50266 and x32_gnu_pltexit.
50268 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50269 __ELF_NATIVE_CLASS.
50270 (La_x32_regs): New macro.
50271 (La_x32_retval): Likewise.
50272 (la_x32_gnu_pltenter): New function prototype.
50273 (la_x32_gnu_pltexit): Likewise.
50275 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50282 * configure.in (libc_cv_cc_nofma): Check for option to disable
50283 generation of FMA instructions.
50284 * configure: Regenerate.
50285 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50286 * sysdeps/ieee754/dbl-64/Makefile: New file.
50287 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50288 Remove brandred-fma4.
50289 (CFLAGS-brandred-fma4.c): Remove.
50290 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50291 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50296 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50298 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50299 LLONG_MAX != LONG_MAX.
50300 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50301 (_fitoa_word): Likewise.
50302 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50303 LLONG_MAX != LONG_MAX.
50304 * stdio-common/_itowa.h: Include <_itoa.h>.
50305 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50306 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50307 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50308 only if not defined.
50309 (_ITOA_WORD_TYPE): Likewise.
50310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50311 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50313 2012-03-21 David S. Miller <davem@davemloft.net>
50315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50317 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50319 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50320 of x86_64 when setting libc_cv_slibdir, libdir and
50322 * sysdeps/unix/sysv/linux/configure: Regenerated.
50324 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50326 * manual/lang.texi (Old Varargs): Remove section.
50327 (How Variadic): Update menu.
50328 (va_start): Do not mention varargs.h.
50330 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50331 Joseph Myers <joseph@codesourcery.com>
50333 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50335 * configure: Regenerated.
50337 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50339 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50340 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50343 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50346 * Makefile (files-for-dist): Remove NOTES.
50347 (NOTES): Remove rule.
50348 * README: Don't refer to NOTES.
50349 * manual/creature.texi: Don't include macros.texi.
50350 * manual/intro.texi (creature.texi): Remove comment referring to
50353 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50354 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50355 * configure: Regenerated.
50356 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50357 LIBC_TRY_CC_OPTION.
50358 (libc_cv_as_i686): Likewise.
50359 (libc_cv_cc_avx): Likewise.
50360 (libc_cv_cc_sse2avx): Likewise.
50361 (libc_cv_cc_fma4): Likewise.
50362 (libc_cv_cc_novzeroupper): Likewise.
50363 * sysdeps/i386/configure: Regenerated.
50366 * sysdeps/i386/fpu/s_cexp.S: Remove.
50367 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50368 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50369 * math/libm-test.inc (cexp_test): Add more tests.
50370 * sysdeps/i386/fpu/libm-test-ulps: Update.
50371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50373 2012-03-21 Allan McRae <allan@archlinux.org>
50375 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50377 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50380 * math/w_exp2.c: Do not include <float.h>.
50381 (o_threshold, u_threshold): Remove.
50382 (__exp2): Calculate result before checking finiteness and calling
50384 * math/w_exp2f.c: Likewise.
50385 * math/w_exp2l.c: Likewise.
50386 * math/libm-test.inc (exp2_test): Require overflow exception for
50390 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50391 range of signed 64-bit integers before using fistpll. Remove
50392 checks for whether integers fit in mantissa bits.
50393 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50394 the range of signed 32-bit integers before using fistpl. Remove
50395 checks for whether integers fit in mantissa bits.
50396 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50397 (__ieee754_powl): Test for y outside the range of signed 64-bit
50398 integers before using fistpll. Reduce 64-bit values to 63-bit
50400 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50401 divide-by-zero is raised for zero to large negative powers.
50402 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50403 (__ieee754_powl): Test for y outside the range of signed 64-bit
50404 integers before using fistpll. Reduce 64-bit values to 63-bit
50406 * math/libm-test.inc (pow_test): Add more tests.
50408 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50410 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50411 <stdio-common/_itoa.h>.
50412 * debug/segfault.c: Likewise.
50413 * elf/dl-cache.c: Likewise.
50414 * elf/dl-minimal.c: Likewise.
50415 * elf/dl-misc.c: Likewise.
50416 * elf/dl-sysdep.c: Likewise.
50417 * elf/dl-version.c: Likewise.
50418 * elf/rtld.c: Likewise.
50419 * hurd/hurdsock.c: Likewise.
50420 * hurd/lookup-retry.c: Likewise.
50421 * malloc/malloc.c: Likewise.
50422 * malloc/mtrace.c: Likewise.
50423 * nscd/nscd_getgr_r.c: Likewise.
50424 * nscd/nscd_getpw_r.c: Likewise.
50425 * nscd/nscd_getserv_r.c: Likewise.
50426 * posix/getopt_init.c: Likewise.
50427 * posix/wordexp.c: Likewise.
50428 * stdio-common/_itoa.c: Likewise.
50429 * stdio-common/printf_fphex.c: Likewise.
50430 * stdio-common/vfprintf.c: Likewise.
50431 * string/_strerror.c: Likewise.
50432 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50433 * sysdeps/i386/i686/hp-timing.h: Likewise.
50434 * sysdeps/mach/_strerror.c: Likewise.
50435 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50436 * sysdeps/mach/hurd/sethostid.c: Likewise.
50437 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50438 * sysdeps/mach/xpg-strerror.c: Likewise.
50439 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50440 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50441 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50442 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50443 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50444 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50445 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50446 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50447 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50448 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50449 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50450 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50451 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50452 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50453 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50454 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50455 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50456 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50457 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50458 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50459 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50461 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50463 * stdio-common/_itoa.h: Moved to ...
50464 * sysdeps/generic/_itoa.h: Here.
50466 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50468 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50469 instead of "_itoa.h" and "_itowa.h".
50470 * stdio-common/vfprintf.: Likewise.
50472 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50474 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50476 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50477 (__signbit): Likwise.
50478 (llrintf): Likwise.
50481 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50483 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50486 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50488 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50489 OVERFLOW_EXCEPTION_OK.
50490 * math/libm-test.inc ("Philosophy"): Update comment about
50492 (OVERFLOW_EXCEPTION): Define.
50493 (OVERFLOW_EXCEPTION_OK): Likewise.
50494 (INVALID_EXCEPTION_OK): Renumber.
50495 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50496 (IGNORE_ZERO_INF_SIGN): Likewise.
50497 (test_exceptions): Handle FE_OVERFLOW.
50498 (exp10_test): Expect overflow exceptions.
50499 (exp2_test): Likewise.
50500 (expm1_test): Likewise.
50501 (nextafter_test): Likewise.
50502 (pow_test): Likewise.
50503 (scalbn_test): Likewise.
50504 (scalbln_test): Likewise.
50506 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50508 * sysdeps/x86_64/bits/atomic.h
50509 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50511 (atomic_exchange_acq): Likewise.
50512 (__arch_exchange_and_add_body): Likewise.
50513 (__arch_add_body): Likewise.
50514 (atomic_add_negative): Likewise.
50515 (atomic_add_zero): Likewise.
50517 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50519 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50520 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50522 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50524 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50525 Check __x86_64__ instead of __WORDSIZE.
50527 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50529 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50531 2012-03-19 David S. Miller <davem@davemloft.net>
50533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50535 * sysdeps/sparc/fpu/fenv_private.h: New file.
50536 * sysdeps/sparc/fpu/math_private.h: Use it.
50537 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50539 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50540 (libc_feholdexcept_setroundl): Remove.
50541 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50543 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50544 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50546 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50548 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50549 int64_t instead of long int.
50550 (INSERT_WORDS64): Likwise.
50552 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50554 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50555 _Unwind_GetCFA return to _Unwind_Ptr first.
50557 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50560 * math/s_clog.c: Include <float.h>.
50561 (__clog): Scale large or subnormal inputs.
50562 * math/s_clogf.c: Likewise.
50563 * math/s_clogl.c: Likewise.
50564 * math/s_clog10.c: Include <float.h>.
50565 (M_LOG10_2): Define.
50566 (__clog10): Scale large or subnormal inputs.
50567 * math/s_clog10f.c: Likewise.
50568 * math/s_clog10l.c: Likewise.
50569 * math/libm-test.inc (clog_test): Add more tests.
50570 (clog10_test): Likewise.
50571 * sysdeps/i386/fpu/libm-test-ulps: Update.
50572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50575 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50577 * math/libm-test.inc (atan2_test): Add another test.
50579 * Makerules (common-objdir-compile): Remove.
50580 * sysdeps/unix/Makefile (config-generated): Do not add
50581 $(unix-generated) to variable.
50582 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50583 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50585 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50587 [generic bits/local_lim.h] (before-compile): Do not append to
50589 [generic bits/local_lim.h] (common-generated): Likewise.
50590 [generic sys/param.h] (before-compile): Do not append to variable.
50591 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50592 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50593 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50594 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50596 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50597 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50598 [generic sys/param.h] ($(addprefix
50599 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50600 [generic sys/param.h] (common-generated): Do not append to
50602 [generic sys/param.h] (sysdep_headers): Likewise.
50603 [generic bits/errno.h] (before-compile): Do not append to
50605 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50607 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50608 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50609 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50610 [generic bits/errno.h] (common-generated): Do not append to
50612 [generic bits/ioctls.h] (before-compile): Do not append to
50614 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50616 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50617 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50618 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50620 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50621 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50622 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50623 [generic bits/ioctls.h] (common-generated): Do not append to
50625 [generic sys/syscall.h] (syscall.h): Remove variable.
50626 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50628 [generic sys/syscall.h] (before-compile): Do not append to
50630 [generic sys/syscall.h] (common-generated): Likewise.
50631 * sysdeps/unix/errnos-tmpl.c: Remove file.
50632 * sysdeps/unix/errnos.awk: Likewise.
50633 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50634 * sysdeps/unix/ioctls.awk: Likewise.
50635 * sysdeps/unix/mk-local_lim.c: Likewise.
50636 * sysdeps/unix/snarf-ioctls: Likewise.
50638 2012-03-19 Richard Henderson <rth@twiddle.net>
50640 * sysdeps/i386/fpu/fenv_private.h: New file.
50641 * sysdeps/i386/fpu/math_private.h: Use it.
50642 (math_opt_barrier, math_force_eval): Remove.
50643 (libc_feholdexcept_setround_53bit): Remove.
50644 (libc_feupdateenv_53bit): Remove.
50645 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50646 (math_opt_barrier, math_force_eval): Remove.
50647 (libc_feholdexcept): Remove.
50648 (libc_feholdexcept_setround): Remove.
50649 (libc_fetestexcept, libc_fesetenv): Remove.
50650 (libc_feupdateenv_test): Remove.
50651 (libc_feupdateenv, libc_feholdsetround): Remove.
50652 (libc_feresetround): Remove.
50654 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50655 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50657 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50658 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50659 (libc_feupdateenv_testl): New.
50660 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50661 (libc_feupdateenv_testf): New.
50662 (libc_feupdateenv): Use libc_feupdateenv_test.
50663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50664 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50666 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50667 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50668 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50669 (libc_feresetround_noex): New.
50670 (libc_feresetround_noexf): New.
50671 (libc_feresetround_noexl): New.
50672 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50673 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50674 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50675 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50680 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50681 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50682 SET_RESTORE_ROUND_NOEX.
50683 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50684 SET_RESTORE_ROUND_NOEXF.
50685 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50686 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50687 (libc_feholdsetroundf): New.
50688 (libc_feresetround, libc_feresetroundf): New.
50690 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50691 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50692 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50694 * sysdeps/generic/math_private.h: Include <fenv.h>.
50695 (default_libc_feholdexcept): New.
50696 (default_libc_feholdexcept_setround): New.
50697 (default_libc_fesetenv, default_libc_feupdateenv): New.
50698 (libc_feholdexcept): Only define if undefined.
50699 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50700 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50701 (libc_feholdexcept_setroundl): Likewise.
50702 (libc_feholdexcept_setround_53bit): Likewise.
50703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50704 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50705 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50706 (libc_feupdateenv_53bit): Likewise.
50707 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50708 (libc_feholdexcept): Convert from macro to inline function.
50709 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50710 (libc_fesetenv, libc_feupdateenv): Likewise.
50712 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50713 not previously defined.
50714 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50715 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50716 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50717 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50718 * sysdeps/ieee754/flt-32/math_private.h: New file.
50719 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50720 math_private.h below SET_FLOAT_WORD.
50721 (__isnan, __isinf_ns, __finite): Remove.
50722 (__isnanf, __isinf_nsf, __finitef): Remove.
50724 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50728 2012-03-17 David S. Miller <davem@davemloft.net>
50731 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50734 2012-03-16 David S. Miller <davem@davemloft.net>
50736 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50740 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50742 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50743 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50744 sysdep_routines when subdir is sysvipc.
50745 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50746 __getshmlba helper.
50748 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50750 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50752 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50755 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50758 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50759 (__lround): Renamed to ...
50760 (__llround): This. Replace long int with long long int.
50761 Define lround functions as aliases of llround functions.
50762 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50764 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50766 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50767 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50768 adresses to uintptr_t. Replace "long int" and "unsigned long
50769 int" with "greg_t" on va_arg.
50771 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50773 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50774 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50776 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50777 Move e_machine check before EI_CLASS check. Handle x32
50778 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50779 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50780 SKIP_EM_IA_64 and include
50781 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50783 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50784 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50785 (add_system_dir): New macro.
50787 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50788 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50790 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50801 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50803 * math/w_j0f.c (j0f): Likewise.
50805 * math/w_j0l.c (__j0l): Likewise.
50807 * math/w_j1.c (j1): Likewise.
50809 * math/w_j1f.c (j1f): Likewise.
50811 * math/w_j1l.c (__j1l): Likewise.
50813 * math/w_jn.c (jn): Likewise.
50815 * math/w_jnf.c (jnf): Likewise.
50817 * math/w_jnl.c (__jnl): Likewise.
50819 * math/libm-test.inc (j0_test): Add more tests.
50820 (j1_test): Likewise.
50821 (jn_test): Likewise. Add trailing semicolon to existing test.
50822 (y0_test): Likewise.
50823 (y1_test): Likewise.
50824 * sysdeps/i386/fpu/libm-test-ulps: Update.
50825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50829 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50830 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50831 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50832 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50833 (__tanl): Set errno for infinite argument.
50834 * sysdeps/i386/fpu/mptan.c: Remove.
50835 * sysdeps/i386/fpu/s_tan.S: Likewise.
50836 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50837 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50838 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50839 * math/libm-test.inc (tan_test): Add more tests and enable more
50840 tests for double and long double.
50841 * sysdeps/i386/fpu/libm-test-ulps: Update.
50842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50844 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50846 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50847 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50849 2012-03-16 Roland McGrath <roland@hack.frob.com>
50851 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50852 * configure.in: Use it for both main tree and add-ons.
50853 * configure: Regenerated.
50855 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50857 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50859 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50861 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50865 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50866 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50867 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50868 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50869 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50871 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50873 != 0 for prec == 2.
50874 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50875 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50876 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50877 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50878 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50879 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50880 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50881 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50882 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50883 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50884 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50885 * math/libm-test.inc (cos_test): Add more tests and enable more
50886 tests for long double.
50887 (sin_test): Likewise.
50888 (sincos_test): Likewise.
50889 * sysdeps/i386/fpu/libm-test-ulps: Update.
50890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50892 2012-03-16 David S. Miller <davem@davemloft.net>
50894 * sysdeps/sparc/fpu/math_private.h: New file.
50896 2012-03-15 David S. Miller <davem@davemloft.net>
50898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50912 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50913 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50915 * sysdeps/sparc/sparc-ifunc.h: New file.
50916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50961 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50963 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50967 2012-03-15 Andreas Jaeger <aj@suse.de>
50970 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50971 ieee754/flt-32 implementation for sin, cos and sincos.
50972 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50973 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50974 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50975 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50976 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50977 ieee754/flt-32 implementation for tan.
50979 * math/libm-test.inc (cos_test): Enable some large input tests for
50981 (sin_test): Likewise.
50982 (sincos_test): Likewise.
50983 (tan_test): Add tests for large input.
50985 * sysdeps/i386/fpu/libm-test-ulps: Update.
50987 2012-03-15 Andreas Jaeger <aj@suse.de>
50990 * math/libm-test.inc (cos_test): Add more test cases.
50991 (sin_test): Likewise.
50992 (sincos_test): Likewise.
50994 2012-03-15 Andreas Jaeger <aj@suse.de>
50997 * math/libm-test.inc (cos_test): Add a test case for large input
50999 (sin_test): Likewise.
51000 (sincos_test): Likewise.
51002 2012-03-15 Andreas Jaeger <aj@suse.de>
51003 Joseph Myers <joseph@codesourcery.com>
51006 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51007 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51008 * sysdeps/i386/fpu/branred.c: Likewise.
51009 * sysdeps/i386/fpu/dosincos.c: Likewise.
51010 * sysdeps/i386/fpu/mpa.c: Likewise.
51011 * sysdeps/i386/fpu/s_cos.S: Likewise.
51012 * sysdeps/i386/fpu/s_sin.S: Likewise.
51013 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51014 * sysdeps/i386/fpu/sincos32.c: Likewise.
51016 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51018 (libc_feupdateenv_53bit): Define.
51019 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51021 (libc_feupdateenv_53bit): Define.
51023 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51024 53 bit (without extend i386 double precision).
51026 * math/libm-test.inc (sincos_test): Add tests for large input.
51030 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51032 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51036 2012-03-15 David S. Miller <davem@davemloft.net>
51038 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51039 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51040 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51041 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51066 fmin/fmax sysdep routines.
51067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51069 2012-03-14 David S. Miller <davem@davemloft.net>
51071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51099 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51143 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51148 * sysdeps/sparc/configure.in: New file.
51149 * sysdeps/sparc/configure: Generate.
51150 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51151 * configure: Regenerate.
51152 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51153 * config.make.in (have-as-vis3): New.
51154 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51155 available use -Av9d instead of -Av9a.
51156 * sysdeps/sparc/sparc64/Makefile: Likewise.
51157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51166 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51172 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51173 fzeros/fnegs to load 0x80000000 into a float register instead of
51175 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51177 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51181 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51182 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51183 ($(inst_includedir)/bits/syscall.h): Remove rule.
51184 ($(objpfx)bits/syscall.d): Include instead of
51185 $(objpfx)syscall-list.d.
51186 (generated): Change syscall-list.h and syscall-list.d to
51187 bits/syscall.h and bits/syscall.d.
51189 2012-03-14 Roland McGrath <roland@hack.frob.com>
51192 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51194 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51197 * math/s_csqrt.c: Include <float.h>.
51198 (__csqrt): Scale large or subnormal inputs.
51199 * math/s_csqrtf.c: Likewise.
51200 * math/s_csqrtl.c: Likewise.
51201 * math/libm-test.inc (csqrt_test): Add more tests.
51202 * sysdeps/i386/fpu/libm-test-ulps: Update.
51203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51206 * math/libm-test.inc (hypot_test): Add more tests.
51208 2012-03-13 David S. Miller <davem@davemloft.net>
51211 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51212 double-precision for the calculation instead of scaling.
51214 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51216 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51217 manipulate bits before adding and subtracting TWO52[sx].
51218 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51219 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51221 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51223 2012-03-13 David S. Miller <davem@davemloft.net>
51225 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51226 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51228 rtld-global-offsets.h
51229 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51231 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51234 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51236 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51237 'err' in the ifdef scope in which it is actually used.
51239 * nss/nss_db/db-init.c: Include string.h
51241 2012-03-12 David S. Miller <davem@davemloft.net>
51243 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51244 masking out of the most significant byte of random value used.
51245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51246 Fix coding style in previous change.
51248 * sysdeps/unix/sysv/linux/kernel-features.h
51249 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51250 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51252 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51255 2012-03-11 David S. Miller <davem@davemloft.net>
51257 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51258 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51259 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51260 for 'resultvar' otherwise things get truncated on 64-bit.
51262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51263 Fix masking out of the most significant byte of random value used.
51265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51267 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51271 2012-03-09 David S. Miller <davem@davemloft.net>
51273 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51274 variables with appropriate CPP guards.
51275 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51276 from the frame pointer, not the stack pointer. Correct layout
51277 comments. Fix test on resulting framesize and the management of
51278 the outregs buffer for pltexit. Preserve floating point return
51279 values across _dl_call_pltexit call.
51280 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51281 framesize and the management of the outregs buffer for pltexit.
51282 Preserve floating point return values across _dl_call_pltexit
51284 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51285 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51286 (la_sparc64_gnu_pltexit): New functions.
51287 (print_exit): Fix format string for return register value.
51289 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51291 * sunrpc/Makefile (others): Add rpcgen.
51292 ($(objpfx)rpcgen): Remove special build rule and dependency on
51294 * sunrpc/rpcgen.c: New file.
51296 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51299 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51300 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51301 * sysdeps/i386/crti.S: Likewise.
51302 * sysdeps/i386/crtn.S: Likewise.
51303 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51304 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51305 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51306 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51307 * sysdeps/sh/crti.S: Likewise.
51308 * sysdeps/sh/crtn.S: Likewise.
51309 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51312 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51314 * locale/programs/locfile-kw.gperf: Likewise.
51315 * locale/programs/charmap-kw.h: Regenerated.
51316 * locale/programs/locfile-kw.h: Likewise.
51319 * intl/plural.y: Replace FSF snail mail address with URL.
51320 * intl/plural.c: Regenerated.
51322 2012-03-09 Richard Henderson <rth@twiddle.net>
51324 * include/math_private.h: Remove file.
51325 * math/math_private.h: Move file ...
51326 * sysdeps/generic/math_private.h: ... here.
51328 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51329 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51330 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51332 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51333 and <math_private.h>.
51334 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51335 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51336 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51337 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51338 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51339 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51340 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51342 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51343 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51345 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51346 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51347 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51348 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51349 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51350 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51351 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51352 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51353 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51355 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51356 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51358 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51359 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51360 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51361 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51362 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51364 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51365 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51366 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51367 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51368 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51369 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51370 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51371 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51372 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51373 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51374 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51375 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51376 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51377 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51378 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51379 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51380 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51381 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51382 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51383 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51384 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51385 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51386 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51387 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51388 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51389 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51390 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51391 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51392 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51393 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51394 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51395 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51397 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51398 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51399 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51400 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51401 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51402 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51403 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51404 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51405 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51406 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51408 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51409 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51412 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51413 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51414 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51415 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51416 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51417 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51418 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51419 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51421 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51422 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51423 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51424 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51425 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51426 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51427 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51428 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51429 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51430 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51431 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51432 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51433 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51434 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51435 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51436 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51437 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51438 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51439 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51440 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51441 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51442 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51443 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51444 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51445 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51446 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51447 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51448 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51449 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51450 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51451 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51452 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51453 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51454 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51455 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51456 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51457 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51458 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51459 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51460 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51461 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51462 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51463 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51464 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51465 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51466 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51467 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51468 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51469 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51470 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51471 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51472 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51473 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51474 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51475 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51476 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51477 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51478 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51479 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51480 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51481 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51482 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51483 * sysdeps/ieee754/k_standard.c: Likewise.
51484 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51485 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51486 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51487 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51488 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51489 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51490 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51491 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51492 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51493 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51494 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51495 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51496 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51497 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51498 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51499 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51500 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51501 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51502 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51503 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51504 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51505 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51506 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51507 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51508 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51509 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51510 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51511 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51512 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51513 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51514 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51515 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51516 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51517 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51518 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51519 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51520 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51521 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51522 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51523 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51524 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51525 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51526 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51527 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51528 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51529 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51530 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51531 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51532 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51533 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51534 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51535 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51536 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51537 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51538 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51539 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51540 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51541 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51542 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51543 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51544 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51545 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51546 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51550 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51551 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51552 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51553 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51554 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51556 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51557 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51558 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51559 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51560 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51561 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51562 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51563 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51564 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51565 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51566 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51567 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51568 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51569 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51570 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51571 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51572 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51573 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51574 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51575 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51576 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51577 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51578 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51579 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51580 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51581 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51582 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51583 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51585 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51586 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51587 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51588 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51591 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51592 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51593 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51594 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51595 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51596 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51597 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51598 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51599 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51600 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51602 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51603 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51604 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51605 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51606 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51607 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51608 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51609 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51610 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51611 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51612 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51613 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51614 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51615 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51616 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51617 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51618 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51619 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51620 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51621 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51622 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51623 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51624 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51625 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51626 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51627 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51628 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51629 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51630 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51631 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51632 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51633 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51634 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51635 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51636 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51637 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51638 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51639 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51640 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51641 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51642 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51643 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51644 * sysdeps/ieee754/s_lib_version.c: Likewise.
51645 * sysdeps/ieee754/s_matherr.c: Likewise.
51646 * sysdeps/ieee754/s_signgam.c: Likewise.
51647 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51648 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51649 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51650 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51651 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51652 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51653 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51654 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51655 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51656 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51657 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51658 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51659 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51660 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51661 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51662 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51663 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51664 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51665 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51666 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51669 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51671 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51672 * sunrpc/rpc_main.c: Likewise.
51673 * sunrpc/rpc_svcout.c: Likewise.
51675 2012-03-09 David S. Miller <davem@davemloft.net>
51677 * include/math_private.h: New file.
51679 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51681 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51682 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51683 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51684 from <bits/socket_type.h>.
51685 (enum __socket_type): Don't define here.
51686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51688 bits/socket_type.h.
51691 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51692 checking __USE_GNU.
51694 * Makerules ($(inst_includedir)/%.h): New rule.
51695 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51696 (install-others): Remove variable setting.
51697 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51699 2012-03-08 Richard Henderson <rth@twiddle.net>
51701 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51702 from macro to inline function; merge with the
51703 !__LIBC_INTERNAL_MATH_INLINES version.
51704 (__ieee754_sqrtf): Likewise.
51706 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51707 to inline function.
51708 (__rintf, __floor, __floorf): Likewise.
51710 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51711 macro to inline function.
51712 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51714 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51715 not <math/math_private.h>.
51717 2012-03-08 David S. Miller <davem@davemloft.net>
51719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51721 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51723 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51725 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51727 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51728 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51730 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51732 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51733 be defined individually, they must be defined as a block. Define
51734 S for printing a string instead of hidint the different by using a
51735 macro for adding the 'l'.
51736 * stdio-common/tst-fphex-wide.c: Adjust.
51738 2012-03-07 Marek Polacek <polacek@redhat.com>
51740 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51742 2012-03-08 Marek Polacek <polacek@redhat.com>
51745 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51746 * stdio-common/tst-fphex.c: Define a few macros to make the
51747 test reusable. Use them.
51748 * stdio-common/tst-fphex-wide.c: New file.
51750 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51753 * manual/macros.texi (gnusystems): New macro.
51754 (nongnusystems): Likewise.
51755 (gnulinuxhurdsystems): Likewise.
51756 (gnuhurdsystems): Likewise..
51757 (gnulinuxsystems): Likewise.
51758 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51759 variants of the GNU system, not "GNU system".
51760 * manual/conf.texi: Likewise.
51761 * manual/errno.texi: Likewise. Update example of errno macro
51763 * manual/filesys.texi: Likewise.
51764 (getumask): Document as specific to GNU/Hurd.
51765 * manual/install.texi: Likewise. Reword some references to
51767 * manual/intro.texi: Likewise.
51768 * manual/io.texi: Likewise.
51769 (File Name Portability): Detail which constraints are inapplicable
51770 to all GNU systems and which are only inapplicable to GNU/Hurd.
51771 * manual/job.texi: Likewise.
51772 * manual/llio.texi: Likewise.
51773 (O_NOCTTY): Document as present on GNU/Linux.
51774 * manual/maint.texi: Likewise.
51775 * manual/memory.texi: Likewise.
51776 * manual/pattern.texi: Likewise.
51777 * manual/pipe.texi: Likewise.
51778 * manual/process.texi: Likewise.
51779 * manual/resource.texi: Likewise.
51780 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51782 * manual/setjmp.texi: Likewise.
51783 * manual/signal.texi: Likewise.
51784 * manual/startup.texi: Likewise.
51785 * manual/stdio.texi: Likewise.
51786 * manual/terminal.texi: Likewise.
51787 (ONLCR): Document as POSIX.
51788 (OXTABS): Document availability on GNU/Linux as XTABS.
51789 (ONOEOT): Document availability separately from other bits.
51790 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51791 * manual/time.texi: Likewise.
51792 * manual/users.texi: Likewise.
51793 * INSTALL: Regenerated.
51794 * sysdeps/gnu/errlist.c: Regenerated.
51796 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51797 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51798 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51800 * configure: Regenerated.
51802 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51804 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51805 default includes instead of AC_HEADER_CHECK.
51806 * sysdeps/i386/configure: Regenerated.
51809 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51810 * math/s_cacoshf.c (__cacoshf): Likewise.
51811 * math/s_cacoshl.c (__cacoshl): Likewise.
51812 * math/s_casinh.c (__casinh): Set signs of result from argument.
51813 * math/s_casinhf.c (__casinhf): Likewise.
51814 * math/s_casinhl.c (__casinhl): Likewise.
51815 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51816 (casinh_test): Add more tests.
51817 * sysdeps/i386/fpu/libm-test-ulps: Update.
51818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51820 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51822 * po/zh_TW.po: Update from translation team.
51824 * login/Makefile (distribute): Remove variable.
51825 * catgets/Makefile: Likewise.
51826 * mach/Makefile: Likewise.
51827 * malloc/Makefile: Likewise.
51828 * misc/Makefile: Likewise.
51829 * iconv/Makefile: Likewise.
51830 * nscd/Makefile: Likewise.
51831 * hurd/Makefile: Likewise.
51832 * manual/Makefile: Likewise.
51833 * locale/Makefile: Likewise.
51834 * intl/Makefile: Likewise.
51835 * conform/Makefile: Likewise.
51836 * nss/Makefile: Likewise.
51837 * time/Makefile: Likewise.
51838 * soft-fp/Makefile: Likewise.
51839 * dirent/Makefile: Likewise.
51840 * gmon/Makefile: Likewise.
51841 * po/Makefile: Likewise.
51842 * rt/Makefile: Likewise.
51843 * socket/Makefile: Likewise.
51844 * math/Makefile: Likewise.
51845 * signal/Makefile: Likewise.
51846 * debug/Makefile: Likewise.
51847 * elf/Makefile: Likewise.
51848 * timezone/Makefile: Likewise.
51849 * stdlib/Makefile: Likewise.
51850 * iconvdata/Makefile: Likewise.
51851 * sunrpc/Makefile: Likewise.
51852 * io/Makefile: Likewise.
51853 * argp/Makefile: Likewise.
51854 * inet/Makefile: Likewise.
51855 * hesiod/Makefile: Likewise.
51856 * grp/Makefile: Likewise.
51857 * csu/Makefile: Likewise.
51858 * wctype/Makefile: Likewise.
51859 * crypt/Makefile: Likewise.
51860 * libio/Makefile: Likewise.
51861 * string/Makefile: Likewise.
51862 * nis/Makefile: Likewise.
51863 * resolv/Makefile: Likewise.
51864 * stdio-common/Makefile: Likewise.
51865 * wcsmbs/Makefile: Likewise.
51866 * dlfcn/Makefile: Likewise.
51867 * posix/Makefile: Likewise.
51870 * timezone/Makefile: Don't install timezone files, just the programs
51873 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51875 * nss/databases.def: Add missing gshadow entry.
51877 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51879 2012-03-06 Marek Polacek <polacek@redhat.com>
51882 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51883 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51884 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51885 * stdio-common/tst-long-dbl-fphex.c: New file.
51887 2012-03-06 David S. Miller <davem@davemloft.net>
51889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51890 (set_obp_int): New function.
51891 (get_obp_int): New function.
51892 (__get_clockfreq_via_dev_openprom): Likewise.
51893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51894 Avoid unused variable warnings on 'val' and use builtin_expect.
51895 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51897 (INLINE_CLONE_SYSCALL): Likewise.
51899 2012-03-05 David S. Miller <davem@davemloft.net>
51901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51903 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51907 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51908 only for |x| >= 40.
51909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51911 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51914 Replace gettimeofday with __vdso_gettimeofday.
51916 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51917 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51918 __vdso_clock_gettime and __vdso_getcpu.
51920 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51921 time with __vdso_time.
51923 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51925 * manual/lang.texi (size_t): Note types to which size_t may be
51926 equivalent with the GNU C Library, but do not describe when
51927 differences between them are significant.
51929 2012-03-05 Andreas Jaeger <aj@suse.de>
51931 * sysdeps/i386/fpu/libm-test-ulps: Update.
51933 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51936 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51937 (__ieee754_pow): Save and restore rounding mode and use
51938 round-to-nearest for main computations.
51939 * math/libm-test.inc (pow_test_tonearest): New function.
51940 (pow_test_towardzero): Likewise.
51941 (pow_test_downward): Likewise.
51942 (pow_test_upward): Likewise.
51943 (main): Call the new functions.
51944 * sysdeps/i386/fpu/libm-test-ulps: Update.
51945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51948 * math/libm-test.inc (cosh_test_tonearest): New function.
51949 (cosh_test_towardzero): Likewise.
51950 (cosh_test_downward): Likewise.
51951 (cosh_test_upward): Likewise.
51952 (sinh_test_tonearest): Likewise.
51953 (sinh_test_towardzero): Likewise.
51954 (sinh_test_downward): Likewise.
51955 (sinh_test_upward): Likewise.
51956 (main): Call the new functions.
51957 * sysdeps/i386/fpu/libm-test-ulps: Update.
51958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51960 2012-03-05 Tom de Vries <tom@codesourcery.com>
51962 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51963 default stack guard is set in last bytes.
51964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51966 2012-03-05 Kees Cook <keescook@chromium.org>
51968 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51971 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51972 possibly allocate from heap instead of stack.
51973 * stdio-common/bug-vfprintf-nargs.c: New file.
51974 * stdio-common/Makefile (tests): Add nargs overflow test.
51976 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51980 2012-03-03 Marek Polacek <polacek@redhat.com>
51982 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51983 * math/math_private.h: Likewise.
51984 * stdlib/tst-strtod.c: Likewise.
51985 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51986 * sysdeps/x86_64/bits/atomic.h: Likewise.
51988 2012-03-02 David S. Miller <davem@davemloft.net>
51990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51994 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51995 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51996 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51997 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51999 2012-03-02 Roland McGrath <roland@hack.frob.com>
52002 * manual/examples/README: New file, says the example source files
52003 can be used under GPL>=2.
52004 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52005 line containing just "*/".
52006 * manual/examples/add.c: Add copyright header (GPL>=2).
52007 * manual/examples/argp-ex1.c: Likewise.
52008 * manual/examples/argp-ex2.c: Likewise.
52009 * manual/examples/argp-ex3.c: Likewise.
52010 * manual/examples/argp-ex4.c: Likewise.
52011 * manual/examples/atexit.c: Likewise.
52012 * manual/examples/db.c: Likewise.
52013 * manual/examples/dir.c: Likewise.
52014 * manual/examples/dir2.c: Likewise.
52015 * manual/examples/execinfo.c: Likewise.
52016 * manual/examples/filecli.c: Likewise.
52017 * manual/examples/filesrv.c: Likewise.
52018 * manual/examples/fmtmsgexpl.c: Likewise.
52019 * manual/examples/genpass.c: Likewise.
52020 * manual/examples/inetcli.c: Likewise.
52021 * manual/examples/inetsrv.c: Likewise.
52022 * manual/examples/isockad.c: Likewise.
52023 * manual/examples/longopt.c: Likewise.
52024 * manual/examples/memopen.c: Likewise.
52025 * manual/examples/memstrm.c: Likewise.
52026 * manual/examples/mkfsock.c: Likewise.
52027 * manual/examples/mkisock.c: Likewise.
52028 * manual/examples/mygetpass.c: Likewise.
52029 * manual/examples/pipe.c: Likewise.
52030 * manual/examples/popen.c: Likewise.
52031 * manual/examples/rprintf.c: Likewise.
52032 * manual/examples/search.c: Likewise.
52033 * manual/examples/select.c: Likewise.
52034 * manual/examples/setjmp.c: Likewise.
52035 * manual/examples/sigh1.c: Likewise.
52036 * manual/examples/sigusr.c: Likewise.
52037 * manual/examples/stpcpy.c: Likewise.
52038 * manual/examples/strdupa.c: Likewise.
52039 * manual/examples/strftim.c: Likewise.
52040 * manual/examples/strncat.c: Likewise.
52041 * manual/examples/subopt.c: Likewise.
52042 * manual/examples/swapcontext.c: Likewise.
52043 * manual/examples/termios.c: Likewise.
52044 * manual/examples/testopt.c: Likewise.
52045 * manual/examples/testpass.c: Likewise.
52046 * manual/examples/timeval_subtract.c: Likewise.
52049 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52051 * manual/timeval_subtract.c.texi: ... here, new file.
52053 2012-03-02 David S. Miller <davem@davemloft.net>
52055 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52057 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52060 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52061 (__sin): Save and restore rounding mode and use round-to-nearest
52062 for all computations.
52063 (__cos): Save and restore rounding mode and use round-to-nearest
52064 for all computations.
52065 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52067 (tan): Save and restore rounding mode and use round-to-nearest for
52069 * math/libm-test.inc (cos_test_tonearest): New function.
52070 (cos_test_towardzero): Likewise.
52071 (cos_test_downward): Likewise.
52072 (cos_test_upward): Likewise.
52073 (sin_test_tonearest): Likewise.
52074 (sin_test_towardzero): Likewise.
52075 (sin_test_downward): Likewise.
52076 (sin_test_upward): Likewise.
52077 (tan_test_tonearest): Likewise.
52078 (tan_test_towardzero): Likewise.
52079 (tan_test_downward): Likewise.
52080 (tan_test_upward): Likewise.
52081 (main): Call the new functions.
52082 * sysdeps/i386/fpu/libm-test-ulps: Update.
52083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52086 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52087 small n, then large n, before computing and testing k+n.
52088 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52093 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52094 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52095 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52096 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52097 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52099 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52100 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52101 * math/libm-test.inc (scalbn_test): Add more tests.
52102 (scalbln_test): Likewise.
52104 * manual/filesys.texi (mode_t): Describe constraints on size and
52105 signedness, not exact equivalence to a particular type.
52107 (ino64_t): Likewise.
52109 (nlink_t): Likewise.
52110 (blkcnt_t): Likewise.
52111 (blkcnt64_t): Likewise.
52112 * manual/llio.texi (off_t): Likewise.
52115 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52116 (__ieee754_exp): Save and restore rounding mode and use
52117 round-to-nearest for all computations.
52118 * math/libm-test.inc (exp_test_tonearest): New function.
52119 (exp_test_towardzero): Likewise.
52120 (exp_test_downward): Likewise.
52121 (exp_test_upward): Likewise.
52122 (main): Call the new functions.
52123 * sysdeps/i386/fpu/libm-test-ulps: Update.
52124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52126 2012-03-01 Chris Demetriou <cgd@google.com>
52128 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52129 have predictable order.
52131 2012-03-01 David S. Miller <davem@davemloft.net>
52133 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52135 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52136 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52137 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52138 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52140 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52141 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52142 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52144 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52145 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52146 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52147 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52148 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52152 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52153 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52154 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52156 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52157 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52158 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52159 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52160 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52161 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52162 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52163 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52164 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52165 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52166 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52167 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52169 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52170 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52172 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52173 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52174 * sysdeps/sparc/elf/configure: Regenerated.
52176 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52178 * configure.in (AS, LD): Require binutils 2.20 or later.
52179 * configure: Regenerated.
52180 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52181 as required minimum version.
52182 * INSTALL: Regenerated.
52186 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52187 before squaring exponent.
52188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52189 bottom long double and 27 bits of top long double before squaring
52191 * math/libm-test.inc (erfc_test): Add more tests.
52192 * sysdeps/i386/fpu/libm-test-ulps: Update.
52193 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52196 2012-03-01 Kai Tietz <ktietz@redhat.com>
52198 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52199 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52200 containing bit-fields.
52201 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52202 * soft-fp/single.h (_FP_UNION_S): Likewise.
52203 * soft-fp/double.h (_FP_UNION_D): Likewise.
52205 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52208 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52209 not include ../strcmp.S.
52210 [USE_AS_STRNCASECMP_L]: Likewise.
52211 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52212 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52213 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52214 (__strncasecmp_l_ia32): Define as alias to
52215 __strncasecmp_l_nonascii.
52218 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52219 * sysdeps/i386/fpu/libm-test-ulps: Update.
52220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52222 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52225 2012-02-29 Jeff Law <law@redhat.com>
52227 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52228 out of bounds read.
52230 2012-02-29 Marek Polacek <polacek@redhat.com>
52233 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52234 * elf/Makefile: Add rules to run tst-unused-dep.out.
52236 2012-02-28 David S. Miller <davem@davemloft.net>
52238 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52239 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52240 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52241 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52242 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52243 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52245 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52247 * math/libm-test.inc (llround_test): Move one test from
52248 lround_test. Use TEST_f_L in moved test.
52249 (lround_test): Move misplaced test to llround_test. Add testcase
52252 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52254 * sysdeps/x86_64/fpu/e_expf.S: New file.
52255 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52257 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52260 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52261 of remain_len that may cause incomplete multi-byte character and
52263 * posix/bug-regex33.c: New file.
52264 * posix/Makefile (tests): Add bug-regex33.
52266 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52268 * manual/macros.texi: New file.
52269 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52270 * manual/libc.texinfo: Include macros.texi.
52271 * manual/creatute.texi: Likewise.
52272 * manual/install.texi: Likewise.
52273 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52274 @glibcadj{} in references to the GNU C Library.
52275 * manual/charset.texi: Likewise.
52276 * manual/conf.texi: Likewise.
52277 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52278 when not using those macros.
52279 * manual/creature.texi: Likewise.
52280 * manual/crypt.texi: Likewise.
52281 * manual/errno.texi: Likewise.
52282 * manual/filesys.texi: Likewise.
52283 * manual/header.texi: Likewise.
52284 * manual/install.texi: Likewise.
52285 * manual/intro.texi: Likewise.
52286 * manual/io.texi: Likewise.
52287 * manual/job.texi: Likewise.
52288 * manual/lang.texi: Likewise.
52289 * manual/libc.texiinfo: Likewise.
52290 * manual/llio.texi: Likewise.
52291 * manual/locale.texi: Likewise.
52292 * manual/maint.texi: Likewise.
52293 * manual/math.texi: Likewise.
52294 * manual/memory.texi: Likewise.
52295 * manual/message.texi: Likewise.
52296 * manual/nss.texi: Likewise.
52297 * manual/pattern.texi: Likewise.
52298 * manual/process.texi: Likewise.
52299 * manual/resource.texi: Likewise.
52300 * manual/search.texi: Likewise.
52301 * manual/setjmp.texi: Likewise.
52302 * manual/signal.texi: Likewise.
52303 * manual/socket.texi: Likewise.
52304 * manual/startup.texi: Likewise.
52305 * manual/stdio.texi: Likewise.
52306 * manual/string.texi: Likewise.
52307 * manual/sysinfo.texi: Likewise.
52308 * manual/syslog.texi: Likewise.
52309 * manual/terminal.texi: Likewise.
52310 * manual/time.texi: Likewise.
52311 * manual/users.texi: Likewise.
52312 * INSTALL: Regenerated.
52313 * NOTES: Regenerated.
52314 * sysdeps/gnu/errlist.c: Regenerated.
52316 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52318 * include/dirent.h: Include <dirstream.h> before
52321 2012-02-28 David S. Miller <davem@davemloft.net>
52323 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52324 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52325 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52326 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52328 2012-02-27 David S. Miller <davem@davemloft.net>
52330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52332 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52333 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52336 frame pointer instead of stack pointer relative arg slot.
52337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52338 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52339 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52341 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52344 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52346 2012-02-27 David S. Miller <davem@davemloft.net>
52348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52352 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52353 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52354 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52355 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52357 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52359 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52360 later. Allow versions 5-9.
52361 * configure: Regenerated.
52362 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52363 required minimum version and 4.6 as recommended version. Do not
52364 mention bugs in GCC 2.7 and 2.8.
52365 * INSTALL: Regenerated.
52367 2012-02-27 David S. Miller <davem@davemloft.net>
52369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52373 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52374 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52375 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52376 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52379 manipulate bits before adding and subtracting TWO112[sx].
52380 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52382 2012-02-27 Roland McGrath <roland@hack.frob.com>
52385 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52386 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52387 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52388 being in POSIX, because they are in 1003.1-2008.
52390 * rt/tst-aio.c: Include <fcntl.h>.
52391 * rt/tst-aio7.c: Likewise.
52392 * rt/tst-aio64.c: Likewise.
52394 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52396 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52398 * manual/install.texi (--with-headers): Describe headers as
52399 interface headers, not private headers.
52400 (Specific advice for GNU/Linux systems): Describe use of headers
52401 from "make headers_install", not private headers from older
52403 * INSTALL: Regenerated.
52404 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52406 * sysdeps/unix/sysv/linux/configure: Regenerated.
52408 * manual/llio.texi (fclean): Remove documentation.
52410 * manual/Makefile (libc-texi-generated): New variable. Include
52412 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52413 $(libc-texi-generated), not duplicated list of files.
52414 (version.texi, stamp-version): New rules.
52415 (realclean): Remove $(libc-texi-generated), not individual files
52416 from that list. Do not remove dir-add.texinfo.
52417 * manual/libc.texinfo: Comment out uses of edition numbers and
52418 references to printed manual. Remove last-updated dates.
52419 (EDITION): Comment out.
52421 (VERSION, UPDATED): Remove.
52422 (version.texi): Include.
52424 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52426 * sysdeps/posix/spawni.c: Include <signal.h>.
52427 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52428 * sysdeps/pthread/aio_fsync.c: Likewise.
52430 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52432 * conform/Makefile (tests): Run only when not cross-compiling and
52433 when fast-check is not defined.
52435 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52436 * conform/data/limits.h-data: Fixes for POSIX2008.
52437 * conform/run-conformtest.sh: Run all tests.
52438 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52440 * include/bits/dlfcn.h: Likewise.
52441 * include/langinfo.h: Likewise.
52442 * include/monetary.h: Likewise.
52443 * include/sys/poll.h: Likewise.
52445 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52447 * posix/spawn.h: Define __need_sigset_t.
52448 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52449 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52450 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52451 to get sigevent_t only.
52452 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52453 only for __USE_GNU.
52454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52455 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52456 process_vm_writev only for __USE_GNU.
52457 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52459 * conform/Makefile: For now ignore errors from run-conformtest.
52460 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52461 POSIX to avoid namespace pollution. Don't prepend headers.
52462 * conform/data/aio.h-data: Fixes for POSIX testing.
52463 * conform/data/fcntl.h-data: Likewise.
52464 * conform/data/glob.h-data: Likewise.
52465 * conform/data/grp.h-data: Likewise.
52466 * conform/data/pthread.h-data: Likewise.
52467 * conform/data/pwd.h-data: Likewise.
52468 * conform/data/signal.h-data: Likewise.
52469 * conform/data/spawn.h-data: Likewise.
52470 * conform/data/stdio.h-data: Likewise.
52471 * conform/data/stdlib.h-data: Likewise.
52472 * conform/data/stropts.h-data: Likewise.
52473 * conform/data/sys/mman.h-data: Likewise.
52474 * conform/data/sys/stat.h-data: Likewise.
52475 * conform/data/sys/types.h-data: Likewise.
52476 * conform/data/sys/wait.h-data: Likewise.
52477 * conform/data/time.h-data: Likewise.
52478 * conform/data/unistd.h-data: Likewise.
52479 * conform/data/utime.h-data: Likewise.
52481 * io/sys/stat.h: fchmod was always in POSIX.
52482 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52483 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52484 * rt/aio.h: Define __need_timespec before including <time.h>.
52485 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52486 struct. Add forward declaration of pthread_attr_t and use it in
52488 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52489 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52490 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52491 always remove CLK_TCK definition.
52493 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52495 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52497 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52499 * conform/run-conformtest.sh: New file.
52500 * conform/Makefile: Run run-conformtest for tests.
52501 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52504 * conform/data/uchar.h-data: New file.
52505 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52506 * conform/data/arpa/inet.h-data: Likewise.
52507 * conform/data/assert.h-data: Likewise.
52508 * conform/data/complex.h-data: Likewise.
52509 * conform/data/cpio.h-data: Likewise.
52510 * conform/data/ctype.h-data: Likewise.
52511 * conform/data/dirent.h-data: Likewise.
52512 * conform/data/dlfcn.h-data: Likewise.
52513 * conform/data/errno.h-data: Likewise.
52514 * conform/data/fcntl.h-data: Likewise.
52515 * conform/data/float.h-data: Likewise.
52516 * conform/data/fmtmsg.h-data: Likewise.
52517 * conform/data/fnmatch.h-data: Likewise.
52518 * conform/data/ftw.h-data: Likewise.
52519 * conform/data/glob.h-data: Likewise.
52520 * conform/data/grp.h-data: Likewise.
52521 * conform/data/iconv.h-data: Likewise.
52522 * conform/data/inttypes.h-data: Likewise.
52523 * conform/data/langinfo.h-data: Likewise.
52524 * conform/data/libgen.h-data: Likewise.
52525 * conform/data/limits.h-data: Likewise.
52526 * conform/data/locale.h-data: Likewise.
52527 * conform/data/math.h-data: Likewise.
52528 * conform/data/monetary.h-data: Likewise.
52529 * conform/data/mqueue.h-data: Likewise.
52530 * conform/data/ndbm.h-data: Likewise.
52531 * conform/data/net/if.h-data: Likewise.
52532 * conform/data/netdb.h-data: Likewise.
52533 * conform/data/netinet/in.h-data: Likewise.
52534 * conform/data/nl_types.h-data: Likewise.
52535 * conform/data/poll.h-data: Likewise.
52536 * conform/data/pthread.h-data: Likewise.
52537 * conform/data/pwd.h-data: Likewise.
52538 * conform/data/regex.h-data: Likewise.
52539 * conform/data/sched.h-data: Likewise.
52540 * conform/data/search.h-data: Likewise.
52541 * conform/data/semaphore.h-data: Likewise.
52542 * conform/data/setjmp.h-data: Likewise.
52543 * conform/data/signal.h-data: Likewise.
52544 * conform/data/spawn.h-data: Likewise.
52545 * conform/data/stdarg.h-data: Likewise.
52546 * conform/data/stdio.h-data: Likewise.
52547 * conform/data/stdlib.h-data: Likewise.
52548 * conform/data/string.h-data: Likewise.
52549 * conform/data/strings.h-data: Likewise.
52550 * conform/data/stropts.h-data: Likewise.
52551 * conform/data/sys/ipc.h-data: Likewise.
52552 * conform/data/sys/mman.h-data: Likewise.
52553 * conform/data/sys/msg.h-data: Likewise.
52554 * conform/data/sys/resource.h-data: Likewise.
52555 * conform/data/sys/select.h-data: Likewise.
52556 * conform/data/sys/sem.h-data: Likewise.
52557 * conform/data/sys/shm.h-data: Likewise.
52558 * conform/data/sys/socket.h-data: Likewise.
52559 * conform/data/sys/stat.h-data: Likewise.
52560 * conform/data/sys/statvfs.h-data: Likewise.
52561 * conform/data/sys/time.h-data: Likewise.
52562 * conform/data/sys/timeb.h-data: Likewise.
52563 * conform/data/sys/times.h-data: Likewise.
52564 * conform/data/sys/types.h-data: Likewise.
52565 * conform/data/sys/uio.h-data: Likewise.
52566 * conform/data/sys/un.h-data: Likewise.
52567 * conform/data/sys/utsname.h-data: Likewise.
52568 * conform/data/sys/wait.h-data: Likewise.
52569 * conform/data/syslog.h-data: Likewise.
52570 * conform/data/tar.h-data: Likewise.
52571 * conform/data/termios.h-data: Likewise.
52572 * conform/data/utime.h-data: Likewise.
52573 * conform/data/utmpx.h-data: Likewise.
52574 * conform/data/varargs.h-data: Likewise.
52575 * conform/data/wchar.h-data: Likewise.
52576 * conform/data/wctype.h-data: Likewise.
52577 * conform/data/wordexp.h-data: Likewise.
52579 * include/stropts.h: New file.
52580 * include/uchar.h: New file.
52581 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52582 * include/assert.h: Likewise.
52583 * include/ctype.h: Likewise.
52584 * include/dirent.h: Likewise.
52585 * include/dlfcn.h: Likewise.
52586 * include/fcntl.h: Likewise.
52587 * include/fnmatch.h: Likewise.
52588 * include/glob.h: Likewise.
52589 * include/grp.h: Likewise.
52590 * include/libio.h: Likewise.
52591 * include/locale.h: Likewise.
52592 * include/math.h: Likewise.
52593 * include/net/if.h: Likewise.
52594 * include/netdb.h: Likewise.
52595 * include/netinet/in.h: Likewise.
52596 * include/pthread.h: Likewise.
52597 * include/pwd.h: Likewise.
52598 * include/regex.h: Likewise.
52599 * include/sched.h: Likewise.
52600 * include/search.h: Likewise.
52601 * include/setjmp.h: Likewise.
52602 * include/signal.h: Likewise.
52603 * include/stdio.h: Likewise.
52604 * include/stdlib.h: Likewise.
52605 * include/string.h: Likewise.
52606 * include/sys/cdefs.h: Likewise.
52607 * include/sys/mman.h: Likewise.
52608 * include/sys/msg.h: Likewise.
52609 * include/sys/resource.h: Likewise.
52610 * include/sys/select.h: Likewise.
52611 * include/sys/socket.h: Likewise.
52612 * include/sys/stat.h: Likewise.
52613 * include/sys/statvfs.h: Likewise.
52614 * include/sys/time.h: Likewise.
52615 * include/sys/times.h: Likewise.
52616 * include/sys/uio.h: Likewise.
52617 * include/sys/utsname.h: Likewise.
52618 * include/sys/wait.h: Likewise.
52619 * include/termios.h: Likewise.
52620 * include/time.h: Likewise.
52621 * include/ulimit.h: Likewise.
52622 * include/unistd.h: Likewise.
52623 * include/utime.h: Likewise.
52624 * include/wchar.h: Likewise.
52625 * include/wctype.h: Likewise.
52626 * include/wordexp.h: Likewise.
52628 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52630 * time/time.h: TIME_UTC must be a macro.
52631 Make timespec_get available for ISO C11 only as well.
52633 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52635 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52636 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52638 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52640 * configure.in: Use -o not -a in test for unsupported multi-arch.
52642 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52644 * manual/texinfo.tex: Update to version 2012-01-19.16.
52646 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52648 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52650 2012-02-24 Roland McGrath <roland@hack.frob.com>
52653 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52654 * manual/fdl-1.3.texi: New file.
52655 * manual/fdl-1.1.texi: File removed.
52658 * manual/libc.texinfo (FDL_VERSION): New @set.
52659 Use it for mention of FDL in cover text.
52660 (Documentation License): Use it in @include file name.
52662 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52663 Roland McGrath <roland@hack.frob.com>
52666 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52667 (not LONG_LONG_MAX and LONG_LONG_MIN.
52668 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52669 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
52671 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52673 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52677 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52678 manipulate bits before adding and subtracting TWO23[sx].
52679 * math/libm-test.inc (nearbyint_test): Add more tests.
52681 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52684 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52685 bits before adding and subtracting TWO23[sx].
52686 * math/libm-test.inc (rint_test): Add more tests.
52687 (rint_test_tonearest): Likewise.
52688 (rint_test_towardzero): Likewise.
52689 (rint_test_downward): Likewise.
52690 (rint_test_upward: Likewise.
52692 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52695 * include/stdc-predef.h: New file. Extracted from features.h.
52696 * include/features.h: Include stdc-predef.h.
52697 * Makefile (headers): Add stdc-predef.h.
52698 * CONFORMANCE (Compiler limitations): Update.
52700 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52702 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52704 2012-02-21 David S. Miller <davem@davemloft.net>
52706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52707 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52709 2012-02-20 David S. Miller <davem@davemloft.net>
52711 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52712 using a normal save/restore sequence, rather than allocating a
52713 dummy stack frame just to store a frame pointer and restore.
52714 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52716 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52718 * manual/install.texi: Fix stray word in line-wrapped comment.
52720 2012-02-20 David S. Miller <davem@davemloft.net>
52722 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52723 both binutils and gcc support GOTDATA.
52725 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52726 "rd %pc" in the PIC register setup sequences.
52728 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52729 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52730 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52731 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52732 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52733 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52734 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52735 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52737 (SYSCALL_ERROR_HANDLER): Likewise.
52738 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52739 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52741 (SYSCALL_ERROR_HANDLER): Likewise.
52743 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52744 (HAVE_GCC_GOTDATA): New.
52745 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52746 relocation support in both binutils and gcc.
52747 * sysdeps/sparc/elf/configure: Regenerate.
52749 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52750 * sysdeps/sparc/sparc32/elf/configure: Delete.
52751 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52752 * sysdeps/sparc/sparc64/elf/configure: Delete.
52753 * sysdeps/sparc/elf/configure.in: New file.
52754 * sysdeps/sparc/elf/configure: Generate.
52756 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52757 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52758 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52759 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52760 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52762 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52764 * manual/install.texi: Do not mention specific glibc version
52766 * manual/libc.texinfo (VERSION, UPDATED): Update.
52767 (@copying): Use @copyright{} and range of years.
52769 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52772 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52773 [crti.S not in sysdirs] (generated): Do not append.
52774 [crti.S not in sysdirs] (omit-deps): Likewise.
52775 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52776 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52777 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52778 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52779 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52781 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52782 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52783 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52784 * csu/defs.awk: Remove file.
52785 * sysdeps/generic/initfini.c: Likewise.
52786 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52788 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52791 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52793 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52794 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52795 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52796 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52797 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52798 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52800 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52801 (__EPOLL_PACKED): Define to empty if not defined by
52803 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52807 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52809 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52810 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52811 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52812 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52814 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52818 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52820 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52822 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52823 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52824 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52827 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52829 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52830 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52832 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52834 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52835 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52837 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52839 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52842 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52844 * math/w_acos.c: Use non-signaling floating-point comparisons.
52845 * math/w_acosf.c: Likewise.
52846 * math/w_acosh.c: Likewise.
52847 * math/w_acoshf.c: Likewise.
52848 * math/w_acoshl.c: Likewise.
52849 * math/w_acosl.c: Likewise.
52850 * math/w_asin.c: Likewise.
52851 * math/w_asinf.c: Likewise.
52852 * math/w_asinl.c: Likewise.
52853 * math/w_atanh.c: Likewise.
52854 * math/w_atanhf.c: Likewise.
52855 * math/w_atanhl.c: Likewise.
52856 * math/w_exp2.c: Likewise.
52857 * math/w_exp2f.c: Likewise.
52858 * math/w_exp2l.c: Likewise.
52859 * math/w_j0.c: Likewise.
52860 * math/w_j0f.c: Likewise.
52861 * math/w_j0l.c: Likewise.
52862 * math/w_j1.c: Likewise.
52863 * math/w_j1f.c: Likewise.
52864 * math/w_j1l.c: Likewise.
52865 * math/w_jn.c: Likewise.
52866 * math/w_jnf.c: Likewise.
52867 * math/w_log.c: Likewise.
52868 * math/w_log10.c: Likewise.
52869 * math/w_log10f.c: Likewise.
52870 * math/w_log10l.c: Likewise.
52871 * math/w_log2.c: Likewise.
52872 * math/w_log2f.c: Likewise.
52873 * math/w_log2l.c: Likewise.
52874 * math/w_logf.c: Likewise.
52875 * math/w_logl.c: Likewise.
52876 * math/w_sqrt.c: Likewise.
52877 * math/w_sqrtf.c: Likewise.
52878 * math/w_sqrtl.c: Likewise.
52879 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52880 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52881 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52882 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52883 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52885 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52888 * manual/string.texi (strnlen): Use correct parameter name in
52889 equivalent expression.
52891 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52894 * manual/users.texi (seteuid): Consistently use neweuid for
52897 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52900 * manual/nss.texi (Services in the NSS configuration): Correct
52901 list of services in example configuration file.
52903 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52906 * manual/arith.texi: Remove statements about negative zero
52907 behaving identically to zero.
52909 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52912 * manual/install.texi: Do not document upgrading from libc5.
52914 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52917 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52919 2012-02-18 David S. Miller <davem@davemloft.net>
52921 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52922 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52923 %o7 across the call.
52924 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52927 SETUP_PIC_REG_LEAF.
52928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52929 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52930 * sysdeps/sparc/crtn.S: Likewise.
52932 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52934 * aout/Makefile: Remove.
52936 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52939 * manual/examples/argp-ex1.c (main): Format definition in GNU
52941 * manual/examples/argp-ex2.c (main): Likewise.
52942 * manual/examples/argp-ex3.c (main): Likewise.
52943 * manual/examples/argp-ex4.c (main): Likewise.
52944 * manual/examples/longopt.c (main): Use new-style prototype
52946 * manual/examples/strncat.c (main): Specify return type and use
52947 (void) for arguments.
52948 * manual/examples/subopt.c (main): Use char **argv argument.
52950 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52953 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52956 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52959 * manual/string.texi (strchr): Change when strchrnul is
52962 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52965 * manual/locale.texi (setlocale): Document LOCPATH.
52967 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52970 * manual/process.texi (execle): Move @dots{} before last argument.
52972 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52975 * manual/charset.texi (Generic Charset Conversion): Fix typo
52976 (LC_TYPE -> LC_CTYPE).
52978 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52981 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52982 (scalbnf): Likewise.
52983 (scalbnl): Likewise.
52984 (scalbln): Likewise.
52985 (scalblnf): Likewise.
52986 (scalblnl): Likewise.
52987 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52988 (vwarnx): Likewise.
52991 * manual/filesys.texi (telldir): Use braces around return type.
52992 * manual/llio.texi (mmap): Add space after comma.
52993 (mmap64): Likewise.
52994 * manual/math.texi (jn): Use @var{} on parameter names.
53000 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53002 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53004 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53005 (sched_get_priority_max): Likewise.
53006 * manual/signal.texi (sigvec): Add space after comma.
53007 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53009 (if_indextoname): Likewise.
53010 (if_freenameindex): Likewise.
53011 (sendto): Use ',' instead of '.' in prototype.
53012 * manual/startup.texi (syscall): Use @dots{} instead of literal
53014 * manual/stdio.texi (__fpending): Separate initial words of
53015 paragraph from @deftypefun line.
53016 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53018 (vsyslog): Use @var{} on parameter names.
53019 * manual/terminal.texi (stty): Use @var{} on parameter names.
53020 * manual/users.texi (getutmp): Use @var{} on parameter names.
53021 (getutmpx): Likewise.
53023 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53026 * manual/stdio.texi (fopen): Fix typos in description of
53029 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53032 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53033 get clock_id definition.
53035 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53038 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53039 (madvise): Cast every argument to void on its own.
53041 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53044 * manual/startup.texi (Exit Status): Fix typo.
53046 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53049 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53050 * manual/examples/argp-ex2.c: Likewise.
53051 * manual/examples/argp-ex3.c: Likewise.
53053 2012-02-16 Richard Henderson <rth@redhat.com>
53055 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53056 * sysdeps/s390/s390-32/initfini.c: Remove.
53057 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53058 * sysdeps/s390/s390-64/initfini.c: Remove.
53060 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53062 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53063 compiler output for sysdeps/generic/initfini.c.
53064 * sysdeps/sh/elf/initfini.c: Remove file.
53066 2012-02-16 David S. Miller <davem@davemloft.net>
53069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53071 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53072 * sysdeps/sparc/crti.S: New file.
53073 * sysdeps/sparc/crtn.S: New file.
53074 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53075 * sysdeps/sparc/sparc64/Makefile: Likewise.
53077 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53080 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53082 2012-02-15 Roland McGrath <roland@hack.frob.com>
53085 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53087 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53088 (write, read, close): Likewise.
53089 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53091 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53093 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53094 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53095 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53096 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53098 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53102 2012-02-14 Marek Polacek <polacek@redhat.com>
53104 * sysdeps/x86_64/crti.S: New file.
53105 * sysdeps/x86_64/crtn.S: New file.
53106 * sysdeps/x86_64/elf/initfini.c: Remove file.
53108 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53110 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53111 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53112 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53113 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53115 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53119 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53121 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53122 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53123 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53124 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53126 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53130 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53132 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53133 __feraiseexcept instead of feraiseexcept.
53135 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53136 nanosleep invocations.
53137 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53138 strings, and add error checking for a nanosleep invocations.
53140 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53142 Replace FSF snail mail address with URLs, as per GNU coding standards.
53143 Most of the snail mail addresses were wrong anyway, and omitting
53144 them makes the source code easier to maintain. Almost all of the
53145 changes are to license notices and to locale LC_IDENTIFICATION
53146 addresses, except for this one:
53147 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53148 not its snail mail address.
53150 2012-02-09 Richard Henderson <rth@twiddle.net>
53152 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53153 of kernel-features.h.
53155 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53157 2012-02-08 Marek Polacek <polacek@redhat.com>
53159 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53160 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53161 * sysdeps/gnu/_G_config.h: Likewise.
53162 * sysdeps/generic/_G_config.h: Likewise.
53164 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53166 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53170 * sysdeps/powerpc/powerpc32/crti.S: New file.
53171 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53172 * sysdeps/powerpc/powerpc64/crti.S: New file.
53173 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53175 * Makeconfig (have-initfini): Don't set.
53176 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53177 * configure.in (nopic_initfini): Don't substitute.
53178 * config.h.in (HAVE_INITFINI): Don't #undef.
53179 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53180 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53182 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53184 Support crti.S and crtn.S provided directly by architectures.
53185 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53186 [crti.S in sysdirs] (omit-deps): Likewise.
53187 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53188 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53189 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53190 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53191 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53192 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53193 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53194 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53195 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53196 compiler output for sysdeps/generic/initfini.c.
53197 * sysdeps/i386/elf/Makefile: Remove file.
53198 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53200 2012-02-07 Marek Polacek <polacek@redhat.com>
53202 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53203 * sysdeps/gnu/_G_config.h: Likewise.
53204 * sysdeps/mach/hurd/_G_config.h: Likewise.
53206 2012-02-07 Marek Polacek <polacek@redhat.com>
53208 * math/Makefile (tests): Add tst-CMPLX2.
53209 * math/tst-CMPLX2.c: New file.
53211 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53213 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53215 * math/libm-test.inc (jn_test): Add missing L suffix.
53217 2012-02-06 Marek Polacek <polacek@redhat.com>
53219 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53220 * sysdeps/i386/fpu/e_powf.S: Likewise.
53221 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53222 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53223 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53224 * sysdeps/i386/fpu/e_pow.S: Likewise.
53225 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53226 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53227 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53228 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53229 * sysdeps/i386/fpu/e_log2.S: Likewise.
53230 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53231 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53232 * sysdeps/i386/fpu/e_powl.S: Likewise.
53233 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53234 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53235 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53236 * sysdeps/i386/fpu/e_logl.S: Likewise.
53237 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53238 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53239 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53240 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53241 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53242 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53243 * sysdeps/i386/fpu/e_log.S: Likewise.
53244 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53245 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53246 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53247 * sysdeps/i386/fpu/e_logf.S: Likewise.
53248 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53249 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53250 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53251 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53252 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53253 * sysdeps/i386/fpu/e_log10.S: Likewise.
53254 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53255 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53256 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53257 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53258 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53259 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53260 * sysdeps/i386/asm-syntax.h: Likewise.
53261 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53262 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53263 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53264 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53265 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53266 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53267 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53268 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53269 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53270 * sysdeps/powerpc/sysdep.h: Likewise.
53271 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53272 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53274 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53277 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53279 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53281 * sysdeps/i386/sysdep.h: Include <features.h>.
53282 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53285 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53287 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53289 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53292 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53294 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53295 (SETUP_PIC_REG): Use GET_PC_THUNK.
53296 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53299 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53301 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53302 for non-PIC compilation.
53303 (SETUP_PIC_REG): Add .p2align directive.
53304 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53305 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53306 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53307 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53308 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53309 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53310 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53311 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53312 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53313 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53314 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53315 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53316 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53317 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53318 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53319 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53320 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53321 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53322 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53323 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53324 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53325 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53326 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53327 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53330 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53331 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53332 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53333 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53334 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53336 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53337 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53338 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53339 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53340 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53341 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53342 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53343 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53344 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53346 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53348 * math/tst-CMPLX.c: Include <stdio.h>.
53350 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53352 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53354 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53355 * sysdeps/sparc/bits/mathdef.h: Likewise.
53357 2012-01-31 Marek Polacek <polacek@redhat.com>
53359 * libio/libio.h: Don't define _PARAMS.
53360 * locale/programs/config.h: Don't define PARAMS.
53361 * stdlib/strtol_l.c: Likewise.
53362 (__strtol_l): Remove PARAMS from the prototype.
53364 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53366 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53367 names. Just use the correct names. Remove unnecessary wrapper
53369 * malloc/arena.c: Likewise.
53370 * malloc/hooks.c: Likewise.
53372 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53373 ARENA_TEST says not to. Simplify test for creation of a new arena.
53374 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53376 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53378 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53380 (update_get_addr): New function.
53381 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53382 GET_ADDR_MODULE parameter.
53384 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53386 * crypt/cert.c: Remove __STDC__ conditionals.
53387 * crypt/crypt-entry.c: Likewise.
53388 * crypt/crypt_util.c: Likewise.
53389 * libio/filedoalloc.c: Likewise.
53390 * libio/fileops.c: Likewise.
53391 * libio/genops.c: Likewise.
53392 * libio/iofclose.c: Likewise.
53393 * libio/iofdopen.c: Likewise.
53394 * libio/iofopen.c: Likewise.
53395 * libio/iofopen64.c: Likewise.
53396 * libio/iogetdelim.c: Likewise.
53397 * libio/iopopen.c: Likewise.
53398 * libio/obprintf.c: Likewise.
53399 * libio/oldfileops.c: Likewise.
53400 * libio/oldiofclose.c: Likewise.
53401 * libio/oldiofdopen.c: Likewise.
53402 * libio/oldiofopen.c: Likewise.
53403 * libio/oldiopopen.c: Likewise.
53404 * libio/wfiledoalloc.c: Likewise.
53405 * libio/wgenops.c: Likewise.
53406 * locale/programs/xmalloc.c: Likewise.
53407 * misc/syslog.c: Likewise.
53408 * stdio-common/xbug.c: Likewise.
53409 * string/memchr.c: Likewise.
53410 * string/memcmp.c: Likewise.
53411 * string/memrchr.c: Likewise.
53412 * string/rawmemchr.c: Likewise.
53413 * sysdeps/posix/getcwd.c: Likewise.
53414 * time/strftime_l.c: Likewise.
53416 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53418 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53419 * config.make.in (config-cflags-sse2avx): Define.
53420 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53423 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53425 * scripts/config.guess: Update from upstream config git repository.
53426 * scripts/config.sub: Likewise.
53428 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53430 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53432 (R_TILEPRO_*, R_TILEGX_*): New macros.
53434 * scripts/firstversions.awk: Fix bug in version range handling.
53436 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53438 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53440 * include/sys/epoll.h: New file.
53441 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53444 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53446 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53447 Avoid unnecessary __WORDSIZE == 64 test.
53448 (fmaxf): Use VEX format if possible.
53453 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53454 * math/math_private.h: Remove libc_fegetround* and
53456 * sysdeps/i386/configure.in: Check for -msse2avx.
53457 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53458 also if SSE2AVX is defined.
53459 Remove libc_fegetround* and libc_fesetround*.
53460 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53461 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53462 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53465 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53466 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53467 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53468 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53470 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53472 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53474 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53476 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53478 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53481 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53483 * Makeconfig (libm): Define.
53484 * elf/Makefile: Add rules to build and run tst-relsort1.
53485 * elf/tst-relsort1.c: New file.
53486 * elf/tst-relsort1mod1.c: New file.
53487 * elf/tst-relsort1mod2.c: New file.
53489 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53491 * math/s_ldexp.c: Remove __STDC__ conditionals.
53492 * math/s_ldexpf.c: Likewise.
53493 * math/s_ldexpl.c: Likewise.
53494 * math/s_nextafter.c: Likewise.
53495 * math/s_nexttowardf.c: Likewise.
53496 * math/s_significand.c: Likewise.
53497 * math/s_significandf.c: Likewise.
53498 * math/s_significandl.c: Likewise.
53499 * math/w_jnl.c: Likewise.
53500 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53501 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53502 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53503 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53504 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53506 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53507 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53508 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53509 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53510 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53511 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53512 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53513 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53514 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53515 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53516 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53517 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53519 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53520 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53521 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53522 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53523 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53524 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53525 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53526 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53527 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53528 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53529 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53530 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53531 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53532 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53533 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53534 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53535 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53536 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53537 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53538 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53539 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53540 * sysdeps/ieee754/k_standard.c: Likewise.
53541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53542 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53543 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53544 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53545 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53546 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53547 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53548 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53549 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53550 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53551 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53552 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53553 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53554 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53555 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53557 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53558 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53559 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53560 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53561 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53562 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53563 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53564 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53565 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53566 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53569 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53570 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53571 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53572 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53573 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53574 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53576 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53577 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53578 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53579 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53580 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53581 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53583 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53584 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53585 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53586 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53587 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53588 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53589 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53590 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53591 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53592 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53593 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53594 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53595 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53596 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53597 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53598 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53599 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53600 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53601 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53602 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53603 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53604 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53605 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53606 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53607 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53608 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53609 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53610 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53611 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53612 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53613 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53614 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53615 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53616 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53617 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53618 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53619 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53620 * sysdeps/ieee754/s_matherr.c: Likewise.
53621 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53622 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53626 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53628 * crypt/md5.h: Remove __STDC__ conditionals.
53629 * libio/libioP.h: Likewise.
53630 * locale/programs/config.h: Likewise.
53631 * sysdeps/generic/sysdep.h: Likewise.
53632 * sysdeps/i386/asm-syntax.h: Likewise.
53633 * sysdeps/s390/asm-syntax.h: Likewise.
53634 * sysdeps/unix/sysdep.h: Likewise.
53635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53638 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53640 * libio/libio.h: Remove __STDC__ conditionals.
53641 * malloc/obstack.h: Likewise.
53642 * math/complex.h: Likewise.
53643 * math/math.h: Likewise.
53644 * sysdeps/generic/_G_config.h: Likewise.
53645 * sysdeps/gnu/_G_config.h: Likewise.
53646 * sysdeps/mach/hurd/_G_config.h: Likewise.
53647 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53648 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53649 * sysdeps/sparc/bits/mathdef.h: Likewise.
53651 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53654 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53655 Clean up HAS_* macros.
53656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53657 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53659 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53661 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53662 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53663 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53664 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53665 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53667 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53669 * elf/tst-unique3.cc (gets): Remove declaration.
53670 * elf/tst-unique3lib.cc (gets): Likewise.
53671 * elf/tst-unique3lib2.cc (gets): Likewise.
53672 * elf/tst-unique4.cc (gets): Likewise.
53674 2012-01-24 Ulrich Drepper <drepper@gmail.com>
53676 * include/stdio.h: Add C++ protection. Add gets declarations and
53678 * debug/tst-chk1.c: Don't declare gets here.
53679 * stdio-common/tst-gets.c: Likewise.
53681 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53683 * posix/glob: Remove directory.
53685 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53687 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53689 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53691 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53692 of the non-standard EPFNOSUPPORT.
53694 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53696 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53697 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53698 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53700 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53702 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53704 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53706 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53708 * nscd/grpcache.c (cache_addgr): Likewise.
53709 * nscd/hstcache.c (cache_addhst): Likewise.
53710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53711 * nscd/pwdcache.c (cache_addpw): Likewise.
53712 * nscd/servicescache.c (cache_addserv): Likewise.
53714 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53716 * malloc/malloc.c: Various cleanups.
53717 * malloc/hooks.c: Likewise.
53719 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53720 * stdlib/bug-fmtmsg1.c: New file.
53722 * stdlib/fmtmsg.c (init): Add missing unlock.
53723 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53725 2012-01-12 Marek Polacek <polacek@redhat.com>
53727 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53730 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53732 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53733 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53734 macro to ensure uniqueness of label name.
53735 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53736 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53738 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53740 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53742 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53743 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53744 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53747 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53749 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53751 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53752 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53753 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53755 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53757 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53758 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53759 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53762 * math/bits/math-finite.h: Add ldexp support.
53764 2012-01-10 Marek Polacek <polacek@redhat.com>
53766 * locale/programs/localedef.h (show_archive_content): Add noreturn
53769 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53771 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53773 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53775 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53777 * io/Makefile (headers): Add bits/poll2.h.
53779 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53782 typo #include statement.
53784 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53786 * include/sys/cdefs.h: Define __attribute_alloc_size.
53787 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53788 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53789 * elf/pldd.c: Likewise.
53790 * iconv/iconv_charmap.c: Likewise.
53791 * iconv/iconvconfig.c: Likewise.
53792 * iconv/strtab.c: Likewise.
53793 * locale/programs/locale.c: Likewise.
53794 * locale/programs/localedef.h: Likewise.
53795 * locale/programs/simple-hash.c: Likewise.
53796 * nscd/nscd.h: Likewise.
53797 * nss/makedb.c: Likewise.
53798 * sysdeps/generic/ldconfig.h: Likewise.
53799 * locale/programs/localedef.c: Remove xmalloc prototype.
53800 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53802 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53804 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53807 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53809 * math/Makefile (tests): Add tst-CMPLX.
53810 * math/tst-CMPLX.c: New file.
53812 * math/complex.h (CMPLXL): Fix typo.
53814 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53815 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53817 * debug/tst-chk1.c: Add poll and ppoll tests.
53818 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53819 * include/sys/poll.h: Add hidden proto for ppoll.
53820 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53821 * sysdeps/mach/hurd/ppoll.c: Likewise.
53822 * io/ppoll.c: Likewise.
53823 * debug/poll_chk.c: New file.
53824 * debug/ppoll_chk.c: New file.
53825 * include/bits/poll2.h: New file.
53826 * io/bits/poll2.h: New file.
53829 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53831 * configure.in: static is always set to yes. Remove.
53832 * config.make.in: Don't set build-static.
53833 * Makeconfig: Remove use of build-static.
53834 * dlfcn/Makefile: Likewise.
53835 * elf/Makefile: Likewise.
53836 * math/Makefile: Likewise.
53837 * misc/Makefile: Likewise.
53838 * nptl/Makefile: Likewise.
53839 * sysdeps/mach/hurd/Makefile: Likewise.
53841 * configure.in: PWD_P is not used anymore.
53842 * config.make.in: Remove PWD_P entry.
53844 * configure.in: Remove last remnants of RANLIB.
53845 No need to check for signed size_t anymore.
53846 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53848 Remove __builtin_expect test because we require at least gcc 3.4.
53849 * aclocal.m4: Likewise.
53851 * wcsmbs/mbrtoc16.c: Implement using towc function.
53852 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53853 * wcsmbs/wcsmbsload.c: Likewise.
53854 * iconv/gconv_simple.c: Likewise.
53855 * iconv/gconv_int.h: Likewise.
53856 * iconv/gconv_builtin.h: Likewise.
53857 * iconv/iconv_prog.c: Remove CHAR16 handling.
53859 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53861 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53863 * configure.in: Remove --with-elf and --enable-bounded options.
53864 Dont set base_machine for ia64. More non-ELF conditions removed.
53865 Remove testing and setting of leading underscore information.
53866 * config.make.in (build-bounded): Set to no.
53867 * config.h.in: Remove NO_UNDERSCORES entry.
53868 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53870 * csu/start.c: Remove !NO_UNDERSCORE code.
53871 * locale/localeinfo.h: Likewise.
53872 * sysdeps/generic/machine-gmon.h: Likewise.
53873 * sysdeps/generic/sysdep.h: Likewise.
53874 * sysdeps/i386/sysdep.h: Likewise.
53875 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53876 * sysdeps/mach/sysdep.h: Likewise.
53877 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53878 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53879 * sysdeps/sh/sysdep.h: Likewise.
53880 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53881 * sysdeps/unix/i386/sysdep.S: Likewise.
53882 * sysdeps/unix/sparc/start.c: Likewise.
53883 * sysdeps/unix/sparc/sysdep.S: Likewise.
53884 * sysdeps/unix/sparc/sysdep.h: Likewise.
53885 * sysdeps/unix/start.c: Likewise.
53886 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53887 * sysdeps/x86_64/sysdep.h: Likewise.
53889 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53892 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53894 * argp/argp-fmtstream.h: Use const instead __const.
53895 * argp/argp.h: Likewise.
53896 * assert/assert.h: Likewise.
53897 * bits/fenv.h: Likewise.
53898 * bits/sched.h: Likewise.
53899 * bits/sigset.h: Likewise.
53900 * bits/sigthread.h: Likewise.
53901 * catgets/nl_types.h: Likewise.
53902 * conform/data/pthread.h-data: Likewise.
53903 * crypt/crypt-private.h: Likewise.
53904 * crypt/crypt.h: Likewise.
53905 * crypt/crypt_util.c: Likewise.
53906 * ctype/ctype.h: Likewise.
53907 * debug/execinfo.h: Likewise.
53908 * debug/mbsnrtowcs_chk.c: Likewise.
53909 * debug/mbsrtowcs_chk.c: Likewise.
53910 * debug/wcsnrtombs_chk.c: Likewise.
53911 * debug/wcsrtombs_chk.c: Likewise.
53912 * debug/wcstombs_chk.c: Likewise.
53913 * dirent/dirent.h: Likewise.
53914 * dlfcn/dlfcn.h: Likewise.
53915 * elf/neededtest4.c: Likewise.
53916 * grp/grp.h: Likewise.
53917 * gshadow/gshadow.h: Likewise.
53918 * iconv/gconv.h: Likewise.
53919 * iconv/gconv_int.h: Likewise.
53920 * iconv/gconv_simple.c: Likewise.
53921 * iconv/iconv.h: Likewise.
53922 * iconv/loop.c: Likewise.
53923 * iconv/skeleton.c: Likewise.
53924 * include/aio.h: Likewise.
53925 * include/aliases.h: Likewise.
53926 * include/argz.h: Likewise.
53927 * include/arpa/inet.h: Likewise.
53928 * include/assert.h: Likewise.
53929 * include/dirent.h: Likewise.
53930 * include/dlfcn.h: Likewise.
53931 * include/execinfo.h: Likewise.
53932 * include/fcntl.h: Likewise.
53933 * include/fenv.h: Likewise.
53934 * include/glob.h: Likewise.
53935 * include/grp.h: Likewise.
53936 * include/libintl.h: Likewise.
53937 * include/mntent.h: Likewise.
53938 * include/netdb.h: Likewise.
53939 * include/pwd.h: Likewise.
53940 * include/rpc/netdb.h: Likewise.
53941 * include/sched.h: Likewise.
53942 * include/search.h: Likewise.
53943 * include/shadow.h: Likewise.
53944 * include/signal.h: Likewise.
53945 * include/stdio.h: Likewise.
53946 * include/stdlib.h: Likewise.
53947 * include/string.h: Likewise.
53948 * include/sys/socket.h: Likewise.
53949 * include/sys/stat.h: Likewise.
53950 * include/sys/statfs.h: Likewise.
53951 * include/sys/statvfs.h: Likewise.
53952 * include/sys/syslog.h: Likewise.
53953 * include/sys/time.h: Likewise.
53954 * include/sys/uio.h: Likewise.
53955 * include/time.h: Likewise.
53956 * include/unistd.h: Likewise.
53957 * include/utmp.h: Likewise.
53958 * include/wchar.h: Likewise.
53959 * include/wctype.h: Likewise.
53960 * inet/aliases.h: Likewise.
53961 * inet/arpa/inet.h: Likewise.
53962 * inet/netinet/ether.h: Likewise.
53963 * inet/netinet/in.h: Likewise.
53964 * intl/libintl.h: Likewise.
53965 * io/bits/fcntl2.h: Likewise.
53966 * io/fcntl.h: Likewise.
53967 * io/ftw.h: Likewise.
53968 * io/sys/poll.h: Likewise.
53969 * io/sys/stat.h: Likewise.
53970 * io/sys/statfs.h: Likewise.
53971 * io/sys/statvfs.h: Likewise.
53972 * io/utime.h: Likewise.
53973 * libio/bits/stdio.h: Likewise.
53974 * libio/bits/stdio2.h: Likewise.
53975 * libio/libio.h: Likewise.
53976 * libio/libioP.h: Likewise.
53977 * libio/stdio.h: Likewise.
53978 * locale/lc-ctype.c: Likewise.
53979 * locale/locale.h: Likewise.
53980 * login/utmp.h: Likewise.
53981 * malloc/arena.c: Likewise.
53982 * malloc/malloc.c: Likewise.
53983 * malloc/malloc.h: Likewise.
53984 * malloc/mcheck.c: Likewise.
53985 * malloc/mtrace.c: Likewise.
53986 * math/bits/mathcalls.h: Likewise.
53987 * math/fenv.h: Likewise.
53988 * math/math_private.h: Likewise.
53989 * misc/bits/error.h: Likewise.
53990 * misc/bits/syslog.h: Likewise.
53991 * misc/err.h: Likewise.
53992 * misc/error.h: Likewise.
53993 * misc/fstab.h: Likewise.
53994 * misc/mntent.h: Likewise.
53995 * misc/regexp.h: Likewise.
53996 * misc/search.h: Likewise.
53997 * misc/sgtty.h: Likewise.
53998 * misc/sys/mman.h: Likewise.
53999 * misc/sys/syslog.h: Likewise.
54000 * misc/sys/uio.h: Likewise.
54001 * misc/sys/xattr.h: Likewise.
54002 * misc/ttyent.h: Likewise.
54003 * nis/rpcsvc/ypclnt.h: Likewise.
54004 * nss/nss.h: Likewise.
54005 * posix/bits/unistd.h: Likewise.
54006 * posix/fnmatch.h: Likewise.
54007 * posix/glob.h: Likewise.
54008 * posix/sched.h: Likewise.
54009 * posix/spawn.h: Likewise.
54010 * posix/sys/wait.h: Likewise.
54011 * posix/unistd.h: Likewise.
54012 * posix/wordexp.h: Likewise.
54013 * pwd/pwd.h: Likewise.
54014 * resolv/netdb.h: Likewise.
54015 * resource/sys/resource.h: Likewise.
54016 * rt/aio.h: Likewise.
54017 * rt/bits/mqueue2.h: Likewise.
54018 * rt/mqueue.h: Likewise.
54019 * shadow/shadow.h: Likewise.
54020 * signal/signal.h: Likewise.
54021 * socket/send.c: Likewise.
54022 * socket/sendto.c: Likewise.
54023 * socket/sys/socket.h: Likewise.
54024 * stdio-common/printf.h: Likewise.
54025 * stdlib/bits/stdlib.h: Likewise.
54026 * stdlib/fmtmsg.h: Likewise.
54027 * stdlib/monetary.h: Likewise.
54028 * stdlib/stdlib.h: Likewise.
54029 * stdlib/ucontext.h: Likewise.
54030 * streams/stropts.h: Likewise.
54031 * string/argz.h: Likewise.
54032 * string/bits/string2.h: Likewise.
54033 * string/string.h: Likewise.
54034 * string/strings.h: Likewise.
54035 * sunrpc/rpc/auth.h: Likewise.
54036 * sunrpc/rpc/auth_des.h: Likewise.
54037 * sunrpc/rpc/clnt.h: Likewise.
54038 * sunrpc/rpc/netdb.h: Likewise.
54039 * sunrpc/rpc/pmap_clnt.h: Likewise.
54040 * sunrpc/rpc/xdr.h: Likewise.
54041 * sysdeps/generic/inttypes.h: Likewise.
54042 * sysdeps/generic/net/if.h: Likewise.
54043 * sysdeps/generic/sys/swap.h: Likewise.
54044 * sysdeps/gnu/net/if.h: Likewise.
54045 * sysdeps/gnu/utmpx.h: Likewise.
54046 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54047 * sysdeps/i386/i486/bits/string.h: Likewise.
54048 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54049 * sysdeps/s390/bits/string.h: Likewise.
54050 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54051 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54052 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54053 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54054 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54055 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54056 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54057 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54058 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54059 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54060 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54061 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54062 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54063 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54064 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54065 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54066 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54068 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54069 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54070 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54071 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54072 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54073 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54074 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54075 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54076 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54077 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54078 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54079 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54080 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54081 * sysvipc/sys/ipc.h: Likewise.
54082 * sysvipc/sys/msg.h: Likewise.
54083 * sysvipc/sys/sem.h: Likewise.
54084 * sysvipc/sys/shm.h: Likewise.
54085 * termios/termios.h: Likewise.
54086 * time/sys/time.h: Likewise.
54087 * time/time.h: Likewise.
54088 * wcsmbs/bits/wchar2.h: Likewise.
54089 * wcsmbs/uchar.h: Likewise.
54090 * wcsmbs/wchar.h: Likewise.
54091 * wctype/wctype.h: Likewise.
54094 * Makeconfig: Remove all but ELF support including AIX support.
54095 * Makerules: Likewise.
54096 * config.h.in: Likewise.
54097 * config.make.in: Likewise.
54098 * configure: Likewise.
54099 * configure.in: Likewise.
54100 * csu/Makefile: Likewise.
54101 * csu/version.c: Likewise.
54102 * debug/Makefile: Likewise.
54103 * dlfcn/Makefile: Likewise.
54104 * elf/Makefile: Likewise.
54105 * extra-lib.mk: Likewise.
54106 * iconv/Makefile: Likewise.
54107 * include/libc-symbols.h: Likewise.
54108 * include/shlib-compat.h: Likewise.
54109 * resolv/Makefile: Likewise.
54110 * resolv/res_libc.c: Likewise.
54111 * rt/Makefile: Likewise.
54112 * sysdeps/i386/asm-syntax.h: Likewise.
54113 * sysdeps/i386/sysdep.h: Likewise.
54114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54115 * sysdeps/mach/sysdep.h: Likewise.
54116 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54117 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54118 * sysdeps/s390/asm-syntax.h: Likewise.
54119 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54121 * sysdeps/sh/sysdep.h: Likewise.
54122 * sysdeps/unix/sparc/sysdep.h: Likewise.
54123 * sysdeps/wordsize-32/divdi3.c: Likewise.
54124 * sysdeps/x86_64/sysdep.h: Likewise.
54126 * argp/Versions: Remove _argp_unlock_xxx.
54129 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54130 * abilist/libBrokenLocale.abilist: Likewise.
54131 * abilist/libanl.abilist: Likewise.
54132 * abilist/libc.abilist: Likewise.
54133 * abilist/libcrypt.abilist: Likewise.
54134 * abilist/libdl.abilist: Likewise.
54135 * abilist/libm.abilist: Likewise.
54136 * abilist/libnsl.abilist: Likewise.
54137 * abilist/libpthread.abilist: Likewise.
54138 * abilist/libresolv.abilist: Likewise.
54139 * abilist/librt.abilist: Likewise.
54140 * abilist/libthread_db.abilist: Likewise.
54141 * abilist/libutil.abilist: Likewise.
54142 * abilist/libnss_db.abilist: New file.
54144 * scripts/abilist.awk: Add support for indirect functions.
54146 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54148 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54150 * shlib-versions: Remove entries for ports architectures.
54152 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54154 * elf/stackguard-macros.h: Remove support for IA-64.
54155 * elf/tst-auditmod1.c: Likewise.
54156 * sysdeps/generic/ldsodefs.h: Likewise.
54158 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54159 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54163 * configure.in: Remove --enable-omitfp support.
54165 * config.make.in: Likewise.
54166 * Makeconfig: Likewise.
54167 * manual/install.texi: Likewise.
54169 In case anyone cares, the IA-64 architecture could move to ports.
54170 * sysdeps/ia64/*: Removed.
54171 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54172 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54175 * configure.in: Remove entries for unsupported architectures.
54178 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54179 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54181 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54182 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54183 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54184 fall back to using wcrtomb.
54185 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54186 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54188 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54189 * wcsmbs/tst-c16c32-1.c: New file.
54191 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54194 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54196 * elf/tst-unique3.cc: Add explicit declaration of gets.
54197 * elf/tst-unique3lib.cc: Likewise.
54198 * elf/tst-unique3lib2.cc: Likewise.
54199 * elf/tst-unique4.cc: Likewise.
54201 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54203 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54206 * assert/assert.h (static_assert): Don't define for C++.
54207 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54208 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54210 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54212 * iconv/loop.c (single loop): Fix assertion in storing of
54215 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54217 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54219 * posix/getconf.c: Update copyright year.
54220 * nss/getent.c: Likewise.
54221 * nss/makedb.c: Likewise.
54222 * iconv/iconvconfig.c: Likewise.
54223 * iconv/iconv_prog.c: Likewise.
54224 * elf/ldconfig.c: Likewise.
54225 * elf/pldd.c: Likewise.
54226 * elf/sotruss.ksh: Likewise.
54227 * catgets/gencat.c: Likewise.
54228 * csu/version.c: Likewise.
54229 * elf/ldd.bash.in: Likewise.
54230 * elf/sprof.c (print_version): Likewise.
54231 * locale/programs/locale.c: Likewise.
54232 * locale/programs/localedef.c: Likewise.
54233 * login/programs/pt_chown.c: Likewise.
54234 * nscd/nscd.c (print_version): Likewise.
54235 * debug/xtrace.sh: Likewise.
54236 * malloc/memusage.sh: Likewise.
54237 * malloc/mtrace.pl: Likewise.
54238 * debug/catchsegv.sh: Likewise.
54240 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54242 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54245 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54248 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54249 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54251 * iconv/gconv_int.h: Likewise.
54252 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54253 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54254 from libc for GLIBC_2.16.
54255 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54256 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54257 * wcsmbs/uchar.h: Really define mbstate_t.
54258 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54259 * wcsmbs/c16rtomb.c: New file.
54260 * wcsmbs/mbrtoc16.c: New file.
54261 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54262 for C/POSIX locale.
54263 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54264 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54266 * wcsmbs/wchar.h: Add missing __restrict.
54268 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54271 * time/Makefile (routines): Add timespec_get.
54272 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54273 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54274 timespec for ISO C11.
54275 * time/timespec_get.c: New file.
54276 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54277 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54280 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54281 * stdlib/stdlib.h: Declare aligned_alloc.
54282 * Versions.def: Add GLIBC_2.16 for libc.
54283 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54286 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54289 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54293 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54296 * assert/assert.h (static_assert): Define.
54298 * version.h: Update for 2.16 development version.
54301 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54304 * version.h (RELEASE): Bump for 2.15 release.
54305 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54307 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54308 Patch by Marek Polacek <mpolacek@redhat.com>.
54310 * bits/byteswap.h: Protect long long constants with __extension__.
54311 * sysdeps/i386/bits/byteswap.h: Likewise.
54312 * sysdeps/ia64/bits/byteswap.h: Likewise.
54313 * sysdeps/s390/bits/byteswap.h: Likewise.
54314 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54316 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54320 destination buffer.
54321 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54323 2011-12-23 Marek Polacek <polacek@redhat.com>
54325 * elf/dl-addr.c (determine_info): Add inline keyword.
54326 * elf/tst-auditmod4b.c (check_avx): Likewise.
54327 * elf/tst-auditmod6b.c (check_avx): Likewise.
54328 * elf/tst-auditmod6c.c (check_avx): Likewise.
54329 * elf/tst-auditmod7b.c (check_avx): Likewise.
54331 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54333 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54336 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54339 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54340 processing for last bytes.
54342 2011-08-06 Bruno Haible <bruno@clisp.org>
54345 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54346 U+0385, not to U+1FEE.
54349 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54350 entry for U+00A5 U+0301.
54352 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54355 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54356 buffer for the output is too small.
54358 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54362 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54363 SSE flags if possible.
54365 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54369 processing for last bytes.
54371 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54373 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54374 (syscall-list-default-options, syscall-list-default-condition)
54375 (syscall-list-includes): Define.
54376 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54377 list of ABIs and options and #if conditions for each ABI. Do not
54378 handle common syscalls between ABIs specially.
54379 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54381 (syscall-list-variants, syscall-list-32bit-options)
54382 (syscall-list-32bit-condition, syscall-list-64bit-options)
54383 (syscall-list-64bit-condition): Define.
54384 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54385 (syscall-list-variants, syscall-list-32bit-options)
54386 (syscall-list-32bit-condition, syscall-list-64bit-options)
54387 (syscall-list-64bit-condition): Define.
54388 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54390 (syscall-list-variants, syscall-list-32bit-options)
54391 (syscall-list-32bit-condition, syscall-list-64bit-options)
54392 (syscall-list-64bit-condition): Define.
54393 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54395 (syscall-list-variants, syscall-list-32bit-options)
54396 (syscall-list-32bit-condition, syscall-list-64bit-options)
54397 (syscall-list-64bit-condition): Define.
54399 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54401 * locale/iso-639.def: Add brx entry.
54404 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54405 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54407 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54408 __feraiseexcept_renamed.
54410 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54413 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54414 EPOLLET with unsigned values.
54415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54416 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54418 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54419 to large cancellation.
54420 * math/s_cacoshf.c: Likewise.
54421 * math/s_cacoshl.c: Likewise.
54423 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54427 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54428 * math/s_cacoshf.c: Likewise.
54429 * math/s_cacoshl.c: Likewise.
54431 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54434 * iconv/gconv.h: Define __GCONV_SWAP.
54435 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54436 * iconvdata/utf-16.c: Likewise.
54437 * iconvdata/utf-32.c: Likewise.
54439 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54442 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54443 numerator after shifting it by one limb.
54445 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54448 under [__USE_EXTERN_INLINES].
54450 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54453 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54455 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54457 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54458 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54460 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54461 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54462 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54463 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54464 for strncasecmp/strncasecmp_l compilation.
54465 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54466 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54468 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54471 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54474 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54477 * time/tzfile.c (__tzfile_read): Check values from file header.
54479 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54481 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54482 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54483 * powerpc/powerpc32/dl-start.S: Likewise.
54484 * powerpc/powerpc32/elf/start.S: Likewise.
54485 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54486 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54487 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54488 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54489 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54490 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54491 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54492 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54493 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54494 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54495 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54496 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54497 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54498 * powerpc/powerpc32/memset.S: Likewise.
54499 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54500 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54501 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54502 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54503 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54504 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54505 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54506 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54507 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54508 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54509 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54510 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54511 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54513 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54515 * math/libm-test.inc: Added more nearbyint tests.
54516 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54517 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54518 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54519 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54521 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54523 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54526 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54528 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54529 Add wcscpy-ssse3 wcscpy-c.
54530 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54531 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54532 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54533 * sysdeps/x86_64/wcschr.S: New file.
54534 * sysdeps/x86_64/wcsrchr.S: New file.
54535 * string/test-strcmp.c: Remove checking of wcscmp function for
54537 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54538 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54539 wcsrchr-sse2 wcsrchr-c.
54540 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54541 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54542 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54543 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54544 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54545 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54546 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54547 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54548 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54549 * wcsmbc/wcschr.c (WCSCHR): New macro.
54551 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54553 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54554 * wcsmbs/test-wcsrchr.c: New file.
54555 * string/test-strrchr.c: Add wcsrchr support.
54557 * wcsmbs/test-wcscpy.c: New file.
54558 * string/test-strcpy.c: Add wcscpy support.
54561 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54563 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54566 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54569 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54571 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54573 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54574 Minor optimizations.
54576 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54577 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54578 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54580 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54582 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54583 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54584 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54585 for gcc to avoid warnings.
54586 * inet/Makefile (tests): Add tst-checks.
54587 * inet/tst-checks.c: New file.
54589 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54592 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54595 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54596 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54598 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54600 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54602 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54605 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54607 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54610 conditional on GCC version.
54611 (__arch_compare_and_exchange_val_8_acq)
54612 (__arch_compare_and_exchange_val_16_acq)
54613 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54614 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54615 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54617 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54619 * sysdeps/sh/backtrace.c: New file.
54621 2011-12-02 Andreas Schwab <schwab@redhat.com>
54623 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54626 2011-12-01 Andreas Schwab <schwab@redhat.com>
54628 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54629 falling back to utime.
54631 2011-11-30 Andreas Schwab <schwab@redhat.com>
54633 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54634 expectations for float.
54636 2011-11-29 Andreas Schwab <schwab@redhat.com>
54638 * locale/weight.h (findidx): Add parameter len.
54639 * locale/weightwc.h (findidx): Likewise.
54640 * posix/fnmatch_loop.c (FCT): Adjust caller.
54641 * posix/regcomp.c (build_equiv_class): Likewise.
54642 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54643 * posix/regexec.c (check_node_accept_bytes): Likewise.
54644 * string/strcoll_l.c (STRCOLL): Likewise.
54645 * string/strxfrm_l.c (STRXFRM): Likewise.
54647 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54649 * Makefile.in: Remove CVSOPT handling.
54650 * configure.in: Remove use of AC_REVISION.
54651 * iconvdata/Makefile (distribute): No need to filter out CVS.
54652 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54655 2011-11-16 Andreas Schwab <schwab@redhat.com>
54657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54658 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54659 [USE_AS_STRNCASECMP_L]: Likewise.
54660 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54661 NO_TLS_DIRECT_SEG_REFS.
54662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54663 Fix argument offsets for non-PIC.
54664 [USE_AS_STRNCASECMP_L]: Likewise.
54665 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54666 NO_TLS_DIRECT_SEG_REFS.
54668 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54670 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54672 * locale/loadlocale.c (_nl_load_locale): Likewise.
54674 2011-11-15 Andreas Schwab <schwab@redhat.com>
54676 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54677 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54679 (SYSCALL_GETTIME): Set errno on error.
54681 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54682 count references to noai6ai_cached.
54684 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54686 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54688 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54689 FD_CLOEXEC for /proc/self/maps.
54691 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54692 FD_CLOEXEC for /proc/meminfo.
54694 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54697 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54698 FD_CLOEXEC for given file.
54700 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54702 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54703 FD_CLOEXEC for /etc/hosts.
54704 (_gethtent): Likewise.
54706 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54708 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54709 cancellation and set FD_CLOEXEC for /etc/netgroup.
54711 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54712 reading /etc/publickey.
54714 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54715 allow cancellation when reading /etc/group.
54717 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54719 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54721 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54722 when using data file.
54724 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54726 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54727 (write_nis_obj): Use "c" and "e" in fopen.
54729 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54731 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54733 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54735 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54737 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54740 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54742 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54744 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54746 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54747 file parsing and set FD_CLOEXEC.
54749 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54751 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54753 2011-11-14 Andreas Schwab <schwab@redhat.com>
54755 * malloc/arena.c (arena_get2): Don't call reused_arena when
54756 _int_new_arena failed.
54758 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54760 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54761 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54762 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54763 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54764 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54765 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54766 to compile strcasecmp and strncasecmp.
54767 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54768 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54770 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54772 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54774 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54775 locale-defines.sym to gen-as-const-headers.
54776 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54777 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54779 to compile strcasecmp and strncasecmp.
54780 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54781 strcasecmp_l and strncasecmp_l.
54782 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54783 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54784 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54785 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54786 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54787 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54788 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54789 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54790 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54791 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54792 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54794 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54796 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54797 result of SYSDEP_GETTIME_CPU to retval.
54798 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54799 parameter list to macro. Remove trailing semicolon. Adjust users.
54801 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54804 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54806 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54808 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54809 from unused variable.
54811 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54813 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54816 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54819 * sunrpc/rpc_prot.c (rejected): Fix case value.
54821 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54822 unsigned long long int to avoid warnings in shift.
54824 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54826 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54829 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54830 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54831 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54833 * nis/nis_table.c (nis_list): Use variable of correct type for
54834 result of __follow_path call.
54836 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54838 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54839 of math functions ceil, trunc, floor, round, and sqrt, when
54840 avaliable on the platform.
54841 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54843 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54844 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54845 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54847 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54849 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54850 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54852 2011-11-11 Roland McGrath <roland@hack.frob.com>
54854 * include/unistd.h: Fix __readlink return type.
54855 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54857 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54859 * stdlib/ucontext.h: Undo last change for makecontext.
54861 2011-11-11 Andreas Schwab <schwab@redhat.com>
54863 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54865 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54866 * setjmp/setjmp.h: Mark functions as non-leaf.
54867 * setjmp/bits/setjmp2.h: Likewise.
54868 * stdlib/ucontext.h: Likewise.
54870 2011-11-10 Andreas Schwab <schwab@redhat.com>
54872 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54873 (reused_arena): Don't check arena limit.
54874 (arena_get2): Atomically check arena limit.
54876 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54878 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54879 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54884 2011-11-07 Andreas Schwab <schwab@redhat.com>
54886 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54887 handler when locking.
54889 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54890 Fix size of allocated buffer.
54892 2011-11-04 Andreas Schwab <schwab@redhat.com>
54895 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54896 declarations for long double functions.
54897 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54899 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54901 2011-11-03 Andreas Schwab <schwab@redhat.com>
54903 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54906 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54909 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54911 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54913 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54915 * include/alloca.h (stackinfo_alloca_round): Define.
54916 (extend_alloca): Use it.
54917 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54918 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54921 * scripts/check-local-headers.sh: Ignore libaudit.h.
54923 * nscd/Makefile (extra-objs): Make recursively expanded.
54925 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54927 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54928 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54930 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54931 * posix/tst-rfc3484-2.c: Likewise.
54932 * posix/tst-rfc3484-3.c: Likewise.
54934 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54936 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54938 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54939 process_vm_writev from libc using GLIBC_2.15 version.
54941 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54943 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54945 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54948 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54951 * nss/getent.c (initgroups_keys): Show error message in case no group
54954 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54955 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54956 __bump_nl_timestamp.
54957 * nscd/connections (nscd_init): When host database is served open
54958 netlink socket and request notification about configuration changes.
54959 (main_loop_poll): Track netlink file descriptor and bump timestamp
54960 in case data becomes available.
54961 (main_loop_epoll): Likewise.
54962 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54963 (database_pers_head): Add extra_data fileds.
54964 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54965 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54966 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54968 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54969 in6ai data, call __free_in6ai.
54970 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54971 Add -DHAVE_NETLINK.
54972 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54973 interface information. Reuse previous data if netlink timestamp
54975 (__bump_nl_timestamp): New function.
54976 (__free_in6ai): New function.
54978 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54980 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54981 close_not_cancel_no_status here.
54982 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54984 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54987 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54990 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54991 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54992 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54994 2011-07-03 Andreas Jaeger <aj@suse.de>
54997 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54998 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54999 * math/libm-test.inc (sin_test): Add test case.
55001 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55004 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55005 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55007 * elf/chroot_canon.c (chroot_canon): Cleanups.
55009 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55012 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55013 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55015 * string/test-strchr.c: Make usable for strchrnul testing.
55016 * string/test-strchrnul.c: New file.
55017 * string/Makefile (strop-tests): Add strchrnul.
55019 * po/it.po: Update from translation team.
55020 * po/es.po: Likewise.
55022 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55024 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55025 the three constants needed as parameters. Drop the others.
55026 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55027 __m128i_strloadu_tolower.
55028 Create and initialize variable zero and use it in all the places
55029 where _mm_setzero_si128 was used.
55031 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55032 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55033 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55034 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55036 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55037 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55038 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55039 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55040 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55041 __mpranred, __mptan.
55042 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55043 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55044 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55045 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55046 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55047 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55048 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55049 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55050 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55052 2011-10-28 Andreas Schwab <schwab@redhat.com>
55054 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55055 redefine if SHARED.
55056 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55059 wide char related routines to wcsmbs subdir.
55061 2011-10-27 Andreas Schwab <schwab@redhat.com>
55064 * misc/sys/cdefs.h (__THROWNL): Define.
55065 * posix/unistd.h: Use __THREADNL instead of __THREAD
55066 for memory synchronization functions.
55068 2011-10-26 Roland McGrath <roland@hack.frob.com>
55071 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55073 * manual/stdio.texi (Obstack Streams): Node removed.
55075 2011-10-26 Andreas Schwab <schwab@redhat.com>
55077 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55078 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55079 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55081 * math/math_private.h (math_force_eval): Allow non-addressable
55083 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55085 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55087 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55088 file is not needed.
55090 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55091 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55092 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55093 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55094 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55095 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55096 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55097 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55099 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55100 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55101 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55102 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55103 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55104 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55105 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55106 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55107 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55108 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55109 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55110 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55111 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55112 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55113 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55114 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55115 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55116 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55117 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55119 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55120 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55122 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55123 place. Use VEX encoding when compiling for AVX.
55125 2011-10-25 Andreas Schwab <schwab@redhat.com>
55127 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55128 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55130 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55132 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55134 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55135 useless if() expression.
55136 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55137 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55138 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55140 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55141 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55143 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55144 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55145 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55146 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55147 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55148 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55149 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55150 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55151 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55152 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55153 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55154 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55156 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55158 2011-10-25 Andreas Schwab <schwab@redhat.com>
55160 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55162 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55164 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55166 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55167 .text section. Avoid duplicate constants.
55168 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55170 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55172 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55176 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55177 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55178 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55179 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55180 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55181 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55182 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55183 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55184 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55185 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55186 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55187 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55188 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55189 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55190 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55191 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55192 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55193 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55194 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55195 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55196 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55197 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55198 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55199 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55200 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55201 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55202 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55203 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55204 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55205 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55206 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55207 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55208 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55209 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55210 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55211 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55212 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55214 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55216 * sysdeps/x86_64/dla.h: Move to ...
55217 * sysdeps/x86_64/fpu/dla.h: ...here.
55218 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55219 situations. Use __builtin_fma only for gcc 4.6 and up.
55221 * config.make.in: Add have-mfma4 entry.
55222 * configure.in: Substitute libc_cv_cc_fma4.
55223 * math/Makefile (dbl-only-routines): Add sincostab.
55224 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55225 Use __sincostab not sincos.
55226 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55233 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55234 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55235 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55236 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55239 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55241 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55242 define aliases when function name is a macro.
55243 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55244 sysdeps/ieee754/dbl-64/sincos.tbl.
55245 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55246 fma4-enabled routines.
55247 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55248 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55249 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55250 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55251 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55252 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55253 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55254 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55255 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55256 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55257 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55258 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55259 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55260 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55261 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55262 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55263 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55264 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55265 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55267 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55268 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55269 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55270 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55271 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55272 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55273 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55274 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55275 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55276 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55278 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55280 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55285 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55286 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55287 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55289 2011-10-24 Andreas Schwab <schwab@redhat.com>
55291 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55293 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55295 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55297 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55299 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55301 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55302 Remove unused variable magic_bits.
55303 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55305 * string/strnlen.c: Define and use STRNLEN macro.
55306 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55307 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55308 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55309 * wcsmbs/wcslen.c: Define and use WCSLEN.
55310 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55311 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55312 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55313 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55314 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55315 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55316 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55318 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55321 strnlen-sse2-no-bsf.
55322 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55323 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55324 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55325 Add strnlen support.
55326 (USE_AS_STRNLEN): New macro.
55327 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55328 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55329 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55330 * sysdeps/x86_64/wcslen.S: New file.
55332 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55334 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55335 XMM-moves are used for copying on small sizes.
55337 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55339 * wcsmbs/Makefile (strop-tests): Add wcschr.
55340 * wcsmbs/test-wcschr.c: New file.
55341 * string/test-strchr.c: Update.
55342 Add wcschr support.
55345 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55347 * wcsmbs/Makefile (strop-tests): Add wcslen.
55348 * wcsmbs/test-wcslen.c: New file.
55349 * string/test-strlen.c: Update.
55350 Add wcslen support.
55353 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55355 * po/it.po: Update from translation team.
55357 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55359 * sysdeps/x86_64/wcscmp.S: Update.
55360 Fix wrong comparison semantics.
55361 wcscmp shall use signed comparison not unsigned.
55362 Don't use substraction to avoid overflow bug.
55363 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55364 * wcsmbc/wcscmp.c: Likewise.
55365 * string/test-strcmp.c: Likewise.
55366 Add new tests to check cases with negative values.
55368 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55370 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55371 * sysdeps/x86_64/dla.h: ...here. New file.
55372 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55377 * sysdeps/ieee754/dbl-64/e_sqrt.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-23 Andreas Schwab <schwab@linux-m68k.org>
55384 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55385 __ynl_finite aliases.
55387 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55391 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55393 [DLA_FMA] (EMULV): Use DLA_FMA.
55394 [DLA_FMA] (MUL12): Use EMULV.
55395 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55396 that are not needed.
55397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55401 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55402 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55405 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55407 * math/s_nan.c: Undef __nan.
55408 * math/s_nanf.c: Undef __nanf.
55409 * math/s_nanl.c: Undef __nanl.
55410 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55413 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55415 * math/s_catan.c: Add branch predictions.
55416 * math/s_catanf.c: Likewise.
55417 * math/s_catanh.c: Likewise.
55418 * math/s_catanhf.c: Likewise.
55419 * math/s_catanhl.c: Likewise.
55420 * math/s_catanl.c: Likewise.
55421 * math/s_cexp.c: Likewise.
55422 * math/s_cexpf.c: Likewise.
55423 * math/s_cexpl.c: Likewise.
55424 * math/s_clog.c: Likewise.
55425 * math/s_clog10.c: Likewise.
55426 * math/s_clog10f.c: Likewise.
55427 * math/s_clog10l.c: Likewise.
55428 * math/s_clogf.c: Likewise.
55429 * math/s_clogl.c: Likewise.
55430 * math/s_csqrt.c: Likewise.
55431 * math/s_csqrtf.c: Likewise.
55432 * math/s_csqrtl.c: Likewise.
55433 * math/s_ctanf.c: Likewise.
55434 * math/s_ctanh.c: Likewise.
55435 * math/s_ctanhf.c: Likewise.
55436 * math/s_ctanhl.c: Likewise.
55437 * math/s_ctanl.c: Likewise.
55439 * math/math_private.h: Define __nan, __nanf, __nanl.
55440 * math/s_cacosh.c: Include <math_private.h>.
55441 * math/s_cacoshl.c: Likewise.
55442 * math/s_casinh.c: Likewise.
55443 * math/s_casinhf.c: Likewise.
55444 * math/s_casinhl.c: Likewise.
55445 * math/s_ccos.c: Rely entire on ccosh.
55446 * math/s_ccosf.c: Rely entire on ccoshf.
55447 * math/s_ccosl.c: Rely entirely on ccoshl.
55448 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55449 Remove tests for FE_INVALID.
55450 * math/s_ccoshf.c: Likewise.
55451 * math/s_ccoshl.c: Likewise.
55452 * math/s_csin.c: Likewise.
55453 * math/s_csinf.c: Likewise.
55454 * math/s_csinh.c Likewise.
55455 * math/s_csinhf.c: Likewise.
55456 * math/s_csinhl.c: Likewise.
55457 * math/s_csinl.c: Likewise.
55458 * math/s_ctan.c: Likewise.
55459 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55460 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55461 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55463 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55466 compilation problems.
55468 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55471 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55473 * sysdeps/i386/configure.in: Test for -mfma4 option.
55474 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55475 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55476 COMMON_CPUID_INDEX_80000001.
55477 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55478 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55479 use it if FMA3 is not supported.
55480 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55482 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55483 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55485 2011-10-20 Andreas Schwab <schwab@redhat.com>
55488 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55489 it would create a cycle with a link time dependency.
55491 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55493 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55495 * string/Makefile (strop-tests): Add rawmemchr.
55496 * string/test-rawmemchr.c: New file.
55498 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55499 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55500 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55501 when compiling str{,n}casecmp and when AVX is available. Hook up
55502 new optimized code in initializers.
55504 2011-10-19 Andreas Schwab <schwab@redhat.com>
55506 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55507 __feraiseexcept instead of feraiseexcept.
55509 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55511 * math/math_private.h: Define defaults for libc_fetestexcept and
55513 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55514 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55515 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55516 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55517 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55518 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55519 libc_fetestexcept and libc_feupdateenv.
55521 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55522 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55523 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55524 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55525 libc_feholdexcept_setround.
55527 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55528 Add s_nearbyint-c and s_nearbyintf-c.
55529 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55530 nearbyintf inlines.
55531 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55532 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55533 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55534 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55536 * math/math_private.h: Define defaults for libc_fegetround,
55537 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55538 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55539 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55540 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55541 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55542 standard functions.
55543 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55544 Remove comments and hacks for old compiler versions.
55545 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55546 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55547 libc_feholdexceptl.
55549 2011-10-18 Andreas Schwab <schwab@redhat.com>
55551 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55552 (__feraiseexcept_renamed): Add __NTH.
55553 (feraiseexcept): Add __NTH. Rename local variables to fix
55554 namespace violations.
55556 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55558 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55560 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55562 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55563 recently added interfaces.
55564 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55566 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55567 about macro parameter expansion.
55569 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55570 __NO_MATH_INLINES is defined. Cleanups.
55572 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55573 and __floorf is target has SSE4.1.
55574 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55575 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55576 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55577 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55579 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55581 (floorf): Likewise.
55583 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55585 2011-10-17 Andreas Schwab <schwab@redhat.com>
55587 * misc/sys/cdefs.h: Fix last change.
55589 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55592 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55594 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55596 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55597 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55598 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55599 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55600 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55601 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55602 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55603 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55604 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55605 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55606 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55607 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55608 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55609 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55610 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55611 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55612 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55613 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55614 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55615 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55616 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55617 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55619 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55620 ceil, ceilf, floor, floorf.
55622 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55623 Perform IRELATIVE relocations last.
55625 * elf/do-rel.h: Add another parameter nrelative, replacing the
55626 local variable with the same name. Change name of the function
55627 to end in Rel or Rela (uppercase).
55628 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55629 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55630 elf_dynamic_do_##reloc function.
55632 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55634 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55635 is sufficient, at least on modern CPUs.
55637 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55639 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55640 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55642 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55644 * math/bits/math-finite.h: Add entries for exp.
55645 * math/e_expl.c: Add __*_finite alias.
55646 * sysdeps/i386/fpu/e_exp.S: Likewise.
55647 * sysdeps/i386/fpu/e_expf.S: Likewise.
55648 * sysdeps/i386/fpu/e_expl.c: Likewise.
55649 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55650 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55651 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55653 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55654 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55655 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55657 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55658 is sufficient, at least on modern CPUs.
55660 * ctype/ctype-info.c (__ctype_init): Define.
55661 * include/ctype.h (__ctype_init): Declare.
55662 (__ctype_b_loc): The variable is always initialized.
55663 (__ctype_toupper_loc): Likewise.
55664 (__ctype_tolower_loc): Likewise.
55665 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55666 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55668 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55670 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55672 * configure.in: Also look in $cxxmachine/include for C++ system
55675 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55677 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55678 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55679 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55680 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
55681 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55682 (USE_AS_WMEMCMP): New macro.
55684 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55685 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55686 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55687 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55689 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55690 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55691 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55692 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55693 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55694 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55695 (USE_AS_WMEMCMP): New macro.
55696 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55697 * sysdeps/string/test-memcmp.c: Update.
55698 Fix simple_wmemcmp.
55700 * wcsmbs/wmemcmp.c: Update.
55701 (WMEMCMP): New macro.
55704 2011-10-12 Andreas Jaeger <aj@suse.de>
55707 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55709 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55711 * libio/iofwide.c (do_length): Avoid warning.
55713 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55715 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55717 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55719 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55720 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55721 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55722 * sysdeps/i386/i686/fpu/e_log.S: New file.
55723 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55724 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55726 * ctype/ctype.h: Add support for inlined isXXX functions when
55727 compiling C++ code.
55729 2011-10-14 Andreas Schwab <schwab@redhat.com>
55731 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55733 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55735 2011-10-13 Roland McGrath <roland@hack.frob.com>
55738 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55740 2011-10-13 Andreas Schwab <schwab@redhat.com>
55742 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55743 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55746 * sysdeps/x86_64/memrchr.S: Check for zero size.
55748 * string/stratcliff.c: Add memrchr tests.
55750 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55753 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55754 rawmemchr-sse2 rawmemchr-sse2-bsf.
55755 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55756 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55757 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55758 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55759 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55760 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55761 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55762 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55763 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55764 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55765 * string/memrchr.c (MEMRCHR): New macro.
55767 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55769 Add integration with gcc's -ffinite-math-only and optimize wrapper
55771 * Versions.def: Define GLIBC_2.15 version for libm.
55772 * math/Makefile (headers): Add bits/math-finite.h.
55773 * math/bits/math-finite.h: New file.
55774 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55775 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55776 * math/e_acoshl.c: Add __*_finite alias.
55777 * math/e_acosl.c: Likewise.
55778 * math/e_asinl.c: Likewise.
55779 * math/e_atan2l.c: Likewise.
55780 * math/e_atanhl.c: Likewise.
55781 * math/e_coshl.c: Likewise.
55782 * math/e_exp10.c: Likewise.
55783 * math/e_exp10f.c: Likewise.
55784 * math/e_exp10l.c: Likewise.
55785 * math/e_exp2l.c: Likewise.
55786 * math/e_fmodl.c: Likewise.
55787 * math/e_gammal_r.c: Likewise.
55788 * math/e_hypotl.c: Likewise.
55789 * math/e_j0l.c: Likewise.
55790 * math/e_j1l.c: Likewise.
55791 * math/e_jnl.c: Likewise.
55792 * math/e_lgammal_r.c: Likewise.
55793 * math/e_log10l.c: Likewise.
55794 * math/e_log2l.c: Likewise.
55795 * math/e_logl.c: Likewise.
55796 * math/e_powl.c: Likewise.
55797 * math/e_sinhl.c: Likewise.
55798 * math/e_sqrtl.c: Likewise.
55799 * math/e_scalb.c: Completely rewritten and optimized.
55800 * math/e_scalbf.c: Likewise.
55801 * math/e_scalbl.c: Likewise.
55802 * math/w_acos.c: Likewise.
55803 * math/w_acosf.c: Likewise.
55804 * math/w_acosl.c: Likewise.
55805 * math/w_acosh.c: Likewise.
55806 * math/w_acoshf.c: Likewise.
55807 * math/w_acoshl.c: Likewise.
55808 * math/w_asin.c: Likewise.
55809 * math/w_asinf.c: Likewise.
55810 * math/w_asinl.c: Likewise.
55811 * math/w_atan2.c: Likewise.
55812 * math/w_atan2f.c: Likewise.
55813 * math/w_atan2l.c: Likewise.
55814 * math/w_atanh.c: Likewise.
55815 * math/w_atanhf.c: Likewise.
55816 * math/w_atanhl.c: Likewise.
55817 * math/w_exp10.c: Likewise.
55818 * math/w_exp10f.c: Likewise.
55819 * math/w_exp10l.c: Likewise.
55820 * math/w_fmod.c: Likewise.
55821 * math/w_fmodf.c: Likewise.
55822 * math/w_fmodl.c: Likewise.
55823 * math/w_j0.c: Likewise.
55824 * math/w_j0f.c: Likewise.
55825 * math/w_j0l.c: Likewise.
55826 * math/w_j1.c: Likewise.
55827 * math/w_j1f.c: Likewise.
55828 * math/w_j1l.c: Likewise.
55829 * math/w_jn.c: Likewise.
55830 * math/w_jnf.c: Likewise.
55831 * math/w_log.c: Likewise.
55832 * math/w_logf.c: Likewise.
55833 * math/w_logl.c: Likewise.
55834 * math/w_log10.c: Likewise.
55835 * math/w_log10f.c: Likewise.
55836 * math/w_log10l.c: Likewise.
55837 * math/w_log2.c: Likewise.
55838 * math/w_log2f.c: Likewise.
55839 * math/w_log2l.c: Likewise.
55840 * math/w_pow.c: Likewise.
55841 * math/w_powf.c: Likewise.
55842 * math/w_powl.c: Likewise.
55843 * math/w_remainder.c: Likewise.
55844 * math/w_remainderf.c: Likewise.
55845 * math/w_remainderl.c: Likewise.
55846 * math/w_scalb.c: Likewise.
55847 * math/w_scalbf.c: Likewise.
55848 * math/w_scalbl.c: Likewise.
55849 * math/w_sqrt.c: Likewise.
55850 * math/w_sqrtf.c: Likewise.
55851 * math/w_sqrtl.c: Likewise.
55852 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55853 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55855 * math/math_private.h: Declare __kernel_standard_f.
55856 * math/w_cosh.c: Remove cruft and optimize a bit.
55857 * math/w_coshf.c: Likewise.
55858 * math/w_coshl.c: Likewise.
55859 * math/w_exp2.c: Likewise.
55860 * math/w_exp2f.c: Likewise.
55861 * math/w_exp2l.c: Likewise.
55862 * math/w_hypot.c: Likewise.
55863 * math/w_hypotf.c: Likewise.
55864 * math/w_hypotl.c: Likewise.
55865 * math/w_lgamma.c: Likewise.
55866 * math/w_lgamma_r.c: Likewise.
55867 * math/w_lgammaf.c: Likewise.
55868 * math/w_lgammaf_r.c: Likewise.
55869 * math/w_lgammal.c: Likewise.
55870 * math/w_lgammal_r.c: Likewise.
55871 * math/w_sinh.c: Likewise.
55872 * math/w_sinhf.c: Likewise.
55873 * math/w_sinhl.c: Likewise.
55874 * math/w_tgamma.c: Likewise.
55875 * math/w_tgammaf.c: Likewise.
55876 * math/w_tgammal.c: Likewise.
55877 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55879 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55880 Minor optimizations. Pretty printing. Remove cruft.
55881 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55882 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55884 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55885 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55886 * sysdeps/i386/fpu/e_asin.S: Likewise.
55887 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55888 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55889 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55890 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55891 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55892 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55893 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55894 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55895 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55896 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55897 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55898 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55899 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55900 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55901 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55902 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55903 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55904 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55905 * sysdeps/i386/fpu/e_log.S: Likewise.
55906 * sysdeps/i386/fpu/e_log10.S: Likewise.
55907 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55908 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55909 * sysdeps/i386/fpu/e_log2.S: Likewise.
55910 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55911 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55912 * sysdeps/i386/fpu/e_logf.S: Likewise.
55913 * sysdeps/i386/fpu/e_logl.S: Likewise.
55914 * sysdeps/i386/fpu/e_pow.S: Likewise.
55915 * sysdeps/i386/fpu/e_powf.S: Likewise.
55916 * sysdeps/i386/fpu/e_powl.S: Likewise.
55917 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55918 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55919 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55920 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55921 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55922 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55923 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55924 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55925 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55926 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55927 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55929 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55930 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55931 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55932 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55933 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55934 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55935 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55936 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55937 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55939 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55940 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55942 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55943 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55944 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55946 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55947 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55948 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55949 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55950 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55951 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55952 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55953 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55954 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55955 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55956 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55957 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55958 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55959 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55960 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55961 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55962 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55963 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55964 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55965 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55966 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55967 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55968 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55969 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55970 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55971 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55972 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55973 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55974 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55975 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55976 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55977 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55978 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55979 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55980 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55981 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55982 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55983 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55984 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55985 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55986 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55987 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55990 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55991 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55992 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55994 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55995 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55996 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55997 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55998 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55999 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56000 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56001 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56002 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56003 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56004 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56005 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56006 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56007 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56008 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56009 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56010 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56011 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56012 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56013 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56014 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56015 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56016 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56017 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56018 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56019 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56020 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56021 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56022 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56023 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56024 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56025 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56026 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56027 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56028 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56029 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56030 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56031 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56032 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56033 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56034 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56035 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56036 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56037 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56038 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56039 (__isnanf): Likewise.
56040 (__isinf_ns): Likewise.
56041 (__isinf_nsf): Likewise.
56042 (__finite): Likewise.
56043 (__finitef): Likewise.
56044 (__ieee754_sqrt): Define as macro.
56045 (__ieee754_sqrtf): Define as macro.
56046 (__ieee754_sqrtl): Define as macro.
56047 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56049 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56050 __FINITE_MATH_ONLY__ consistent.
56051 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56053 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56055 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56058 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56060 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56062 * po/ja.po: Update from translation team.
56064 2011-10-08 Roland McGrath <roland@hack.frob.com>
56066 * locale/programs/locarchive.c (prepare_address_space): New function.
56067 (create_archive, enlarge_archive, open_archive): Use it.
56069 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56070 inside [SHARED], where it is used.
56072 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56074 * nss/getent.c (netgroup_keys): Remove unused variable.
56075 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56077 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56079 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56080 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56082 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56083 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56084 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56085 * math/Makefile (libm-calls): Add s_isinf_ns.
56086 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56087 * math/multc3.c: Likewise.
56088 * math/s_casin.c: Likewise.
56089 * math/s_casinf.c: Likewise.
56090 * math/s_casinl.c: Likewise.
56091 * math/s_ccos.c: Likewise.
56092 * math/s_ccosf.c: Likewise.
56093 * math/s_ccosl.c: Likewise.
56094 * math/s_ctan.c: Likewise.
56095 * math/s_ctanf.c: Likewise.
56096 * math/s_ctanh.c: Likewise.
56097 * math/s_ctanhf.c: Likewise.
56098 * math/s_ctanhl.c: Likewise.
56099 * math/s_ctanl.c: Likewise.
56100 * math/w_fmod.c: Likewise.
56101 * math/w_fmodf.c: Likewise.
56102 * math/w_fmodl.c: Likewise.
56103 * math/w_remainder.c: Likewise.
56104 * math/w_remainderf.c: Likewise.
56105 * math/w_remainderl.c: Likewise.
56106 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56107 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56108 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56110 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56111 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56112 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56113 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56115 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56117 * stdio-common/printf_fphex.c: Likewise.
56118 * stdio-common/printf_size.c: Likewise.
56120 * math/e_exp10.c: Include math_private.h using <...> not "...".
56121 * math/e_exp10f.c: Likewise.
56122 * math/e_exp10l.c: Likewise.
56123 * math/e_exp2l.c: Likewise.
56124 * math/e_j0l.c: Likewise.
56125 * math/e_j1l.c: Likewise.
56126 * math/e_jnl.c: Likewise.
56127 * math/e_lgammal_r.c: Likewise.
56128 * math/e_rem_pio2l.c: Likewise.
56129 * math/e_scalb.c: Likewise.
56130 * math/e_scalbf.c: Likewise.
56131 * math/e_scalbl.c: Likewise.
56132 * math/k_cosl.c: Likewise.
56133 * math/k_sinl.c: Likewise.
56134 * math/k_tanl.c: Likewise.
56135 * math/s_cacoshf.c: Likewise.
56136 * math/s_catan.c: Likewise.
56137 * math/s_catanf.c: Likewise.
56138 * math/s_catanh.c: Likewise.
56139 * math/s_catanhf.c: Likewise.
56140 * math/s_catanhl.c: Likewise.
56141 * math/s_catanl.c: Likewise.
56142 * math/s_ccosh.c: Likewise.
56143 * math/s_ccoshf.c: Likewise.
56144 * math/s_ccoshl.c: Likewise.
56145 * math/s_cexp.c: Likewise.
56146 * math/s_cexpf.c: Likewise.
56147 * math/s_cexpl.c: Likewise.
56148 * math/s_clog.c: Likewise.
56149 * math/s_clog10.c: Likewise.
56150 * math/s_clog10f.c: Likewise.
56151 * math/s_clog10l.c: Likewise.
56152 * math/s_clogf.c: Likewise.
56153 * math/s_clogl.c: Likewise.
56154 * math/s_csin.c: Likewise.
56155 * math/s_csinf.c: Likewise.
56156 * math/s_csinh.c: Likewise.
56157 * math/s_csinhf.c: Likewise.
56158 * math/s_csinhl.c: Likewise.
56159 * math/s_csinl.c: Likewise.
56160 * math/s_csqrt.c: Likewise.
56161 * math/s_csqrtf.c: Likewise.
56162 * math/s_csqrtl.c: Likewise.
56163 * math/s_ctan.c: Likewise.
56164 * math/s_ctanf.c: Likewise.
56165 * math/s_ctanh.c: Likewise.
56166 * math/s_ctanhf.c: Likewise.
56167 * math/s_ctanhl.c: Likewise.
56168 * math/s_ctanl.c: Likewise.
56169 * math/s_ldexp.c: Likewise.
56170 * math/s_ldexpf.c: Likewise.
56171 * math/s_ldexpl.c: Likewise.
56172 * math/s_significand.c: Likewise.
56173 * math/s_significandf.c: Likewise.
56174 * math/s_significandl.c: Likewise.
56175 * math/w_acos.c: Likewise.
56176 * math/w_acosf.c: Likewise.
56177 * math/w_acosh.c: Likewise.
56178 * math/w_acoshf.c: Likewise.
56179 * math/w_acoshl.c: Likewise.
56180 * math/w_acosl.c: Likewise.
56181 * math/w_asin.c: Likewise.
56182 * math/w_asinf.c: Likewise.
56183 * math/w_asinl.c: Likewise.
56184 * math/w_atan2.c: Likewise.
56185 * math/w_atan2f.c: Likewise.
56186 * math/w_atan2l.c: Likewise.
56187 * math/w_atanh.c: Likewise.
56188 * math/w_atanhf.c: Likewise.
56189 * math/w_atanhl.c: Likewise.
56190 * math/w_cosh.c: Likewise.
56191 * math/w_coshf.c: Likewise.
56192 * math/w_coshl.c: Likewise.
56193 * math/w_dremf.c: Likewise.
56194 * math/w_exp10.c: Likewise.
56195 * math/w_exp10f.c: Likewise.
56196 * math/w_exp10l.c: Likewise.
56197 * math/w_exp2.c: Likewise.
56198 * math/w_exp2f.c: Likewise.
56199 * math/w_fmod.c: Likewise.
56200 * math/w_fmodf.c: Likewise.
56201 * math/w_fmodl.c: Likewise.
56202 * math/w_hypot.c: Likewise.
56203 * math/w_hypotf.c: Likewise.
56204 * math/w_hypotl.c: Likewise.
56205 * math/w_j0.c: Likewise.
56206 * math/w_j0f.c: Likewise.
56207 * math/w_j0l.c: Likewise.
56208 * math/w_j1.c: Likewise.
56209 * math/w_j1f.c: Likewise.
56210 * math/w_j1l.c: Likewise.
56211 * math/w_jn.c: Likewise.
56212 * math/w_jnf.c: Likewise.
56213 * math/w_jnl.c: Likewise.
56214 * math/w_lgamma.c: Likewise.
56215 * math/w_lgamma_r.c: Likewise.
56216 * math/w_lgammaf.c: Likewise.
56217 * math/w_lgammaf_r.c: Likewise.
56218 * math/w_lgammal.c: Likewise.
56219 * math/w_lgammal_r.c: Likewise.
56220 * math/w_log.c: Likewise.
56221 * math/w_log10.c: Likewise.
56222 * math/w_log10f.c: Likewise.
56223 * math/w_log10l.c: Likewise.
56224 * math/w_log2.c: Likewise.
56225 * math/w_log2f.c: Likewise.
56226 * math/w_log2l.c: Likewise.
56227 * math/w_logf.c: Likewise.
56228 * math/w_logl.c: Likewise.
56229 * math/w_pow.c: Likewise.
56230 * math/w_powf.c: Likewise.
56231 * math/w_powl.c: Likewise.
56232 * math/w_remainder.c: Likewise.
56233 * math/w_remainderf.c: Likewise.
56234 * math/w_remainderl.c: Likewise.
56235 * math/w_scalb.c: Likewise.
56236 * math/w_scalbf.c: Likewise.
56237 * math/w_scalbl.c: Likewise.
56238 * math/w_sinh.c: Likewise.
56239 * math/w_sinhf.c: Likewise.
56240 * math/w_sinhl.c: Likewise.
56241 * math/w_sqrt.c: Likewise.
56242 * math/w_sqrtf.c: Likewise.
56243 * math/w_sqrtl.c: Likewise.
56244 * math/w_tgamma.c: Likewise.
56245 * math/w_tgammaf.c: Likewise.
56246 * math/w_tgammal.c: Likewise.
56248 * po/ja.po: Update from translation team.
56250 2011-09-29 Andreas Jaeger <aj@suse.de>
56253 * sunrpc/netname.c (netname2host): Fix logic.
56257 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56259 * math/w_remainder.c (__remainder): Likewise.
56260 * math/w_remainderf.c (__remainderf): Likewise.
56261 * math/libm-test.inc (remainder_test): Add test cases.
56263 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56265 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56268 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56270 * string/test-memcmp.c: Avoid unncessary #defines.
56271 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56273 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56275 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56276 Use new sse2 version for core i3 - i7 as it's faster
56277 than sse42 version.
56278 (bit_Prefer_PMINUB_for_stringop): New.
56279 * sysdeps/x86_64/rawmemchr.S: Update.
56280 Replace with faster SSE2 version.
56281 * sysdeps/x86_64/memrchr.S: New file.
56282 * sysdeps/x86_64/memchr.S: Update.
56283 Replace with faster SSE2 version.
56285 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56287 * elf/dl-load.c (lose): Add cast to avoid warning.
56289 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56291 * po/ca.po: Update from translation team.
56293 * inet/getnetgrent_r.c: Hook up nscd.
56294 * nscd/Makefile (routines): Add nscd_netgroup.
56295 (nscd-modules): Add netgroupcache.
56296 (CFLAGS-netgroupcache.c): Define.
56297 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56298 (cache_search): Add const to second parameter.
56299 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56301 (dbs): Add netgrdb entry.
56302 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56303 (verify_persistent_db): Handle netgrdb.
56304 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56305 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56307 (netgroup_response_header): Define.
56308 (innetgroup_response_header): Define.
56309 (datahead): Add netgroup_response_header and innetgroup_response_header
56311 * nscd/nscd.conf: Add entries for netgroup cache.
56312 * nscd/nscd.h (dbtype): Add netgrdb.
56313 (_PATH_NSCD_NETGROUP_DB): Define.
56314 (netgroup_iov_disabled): Declare.
56315 (xmalloc, xcalloc, xrealloc): Move declarations here.
56316 (cache_search): Adjust prototype.
56317 Add netgroup-related prototypes.
56318 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56319 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56320 (__nscd_innetgr): Declare.
56321 * nscd/selinux.c (perms): Use access_vector_t as element type and
56322 add netgroup-related initializers.
56323 * nscd/netgroupcache.c: New file.
56324 * nscd/nscd_netgroup.c: New file.
56325 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56326 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56327 For four parameters use innetgr.
56328 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56329 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56330 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56331 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56333 * nscd/connections.c (register_traced_file): Don't register file
56334 for disabled databases.
56336 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56338 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56340 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56341 from tree and freeing node.
56343 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56345 * nss/nsswitch.c (__nss_database_lookup): Handle
56346 nss_parse_service_list out of memory case.
56348 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56350 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56351 out of memory case.
56353 2011-10-04 Andreas Schwab <schwab@redhat.com>
56355 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56356 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56358 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56359 elf_machine_rela, elf_machine_lazy_rel.
56360 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56361 (ELF_DYNAMIC_DO_REL): Likewise.
56362 (ELF_DYNAMIC_DO_RELA): Likewise.
56363 (ELF_DYNAMIC_RELOCATE): Likewise.
56364 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56365 to ELF_DYNAMIC_DO_REL.
56366 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56367 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56368 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56370 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56371 skip_ifunc, don't call ifunc function if non-zero.
56372 (elf_machine_rela): Likewise.
56373 (elf_machine_lazy_rel): Likewise.
56374 (elf_machine_lazy_rela): Likewise.
56375 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56376 (elf_machine_lazy_rel): Likewise.
56377 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56379 (elf_machine_lazy_rel): Likewise.
56380 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56382 (elf_machine_lazy_rel): Likewise.
56383 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56384 (elf_machine_lazy_rel): Likewise.
56385 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56386 (elf_machine_lazy_rel): Likewise.
56387 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56388 (elf_machine_lazy_rel): Likewise.
56389 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56390 (elf_machine_lazy_rel): Likewise.
56391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56392 (elf_machine_lazy_rel): Likewise.
56393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56394 (elf_machine_lazy_rel): Likewise.
56396 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56398 * nss/nss_files/files-init.c (_nss_files_init): Use static
56399 initialization for all the *_traced_file variables.
56401 2011-09-28 Andreas Schwab <schwab@redhat.com>
56403 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56405 2011-09-27 Roland McGrath <roland@hack.frob.com>
56408 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56410 2011-09-27 Andreas Schwab <schwab@redhat.com>
56412 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56413 Reread the line before reparsing it.
56415 2011-09-26 Andreas Schwab <schwab@redhat.com>
56417 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56419 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56420 Maxim Kuvyrkov <maxim@codesourcery.com>
56421 Joseph Myers <joseph@codesourcery.com>
56423 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56424 if needed for __stack_chk_guard.
56426 2011-09-19 Roland McGrath <roland@hack.frob.com>
56428 * sysdeps/posix/spawni.c (script_execute): Always define it.
56429 It will be optimized away if unused.
56430 (maybe_script_execute): New function.
56431 (__spawni): Call it.
56433 * Makerules: Don't include tls.make.
56434 (config-tls): Always set to thread.
56435 * tls.make.c: File removed.
56437 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56439 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56440 * config.make.in (CPPFLAGS-config): New substituted variable.
56442 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56444 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56447 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56448 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56450 2011-09-15 Roland McGrath <roland@hack.frob.com>
56452 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56453 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56455 (CALL_FAIL): Likewise.
56456 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56457 (CALL_FAIL): Macro removed.
56458 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56460 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56462 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56463 for __FINITE_MATH_ONLY__ == 1.
56465 2011-09-15 Andreas Schwab <schwab@redhat.com>
56467 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56468 __ieee754_sqrt instead of sqrt.
56469 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56470 __ieee754_sqrtf instead of sqrtf.
56471 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56472 __floorf instead of floorf.
56473 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56474 __floorf, __truncf instead of floorf, truncf.
56476 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56478 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56480 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56481 __extern_always_inline.
56482 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56485 2011-09-14 Andreas Schwab <schwab@redhat.com>
56487 * elf/rtld.c (dl_main): Also relocate in dependency order when
56488 doing symbol dependency testing.
56490 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56492 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56493 Always define `refsym'.
56495 2011-09-13 Andreas Schwab <schwab@redhat.com>
56497 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56498 (__FD_ELT): Renamed from __FDELT.
56499 * misc/bits/select2.h (__FD_ELT): Likewise.
56500 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56501 __FD_MASK instead of __FDELT, __FDMASK.
56502 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56504 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56507 * elf/Makefile (gen-ldd): Fix pattern.
56509 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56510 (init_tls): Likewise.
56512 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56516 2011-09-12 Andreas Schwab <schwab@redhat.com>
56518 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56519 `struct cmsghdr *' instead of `void *'.
56520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56523 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56525 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56527 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56528 ldd_rewrite_script.
56530 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56532 * configure.in: Remove --with-tls option.
56533 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56534 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56535 out in case it is missing.
56536 * sysdeps/ia64/elf/configure.in: Likewise.
56537 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56538 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56539 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56540 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56541 * sysdeps/sh/elf/configure.in: Likewise.
56542 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56543 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56544 * sysdeps/x86_64/elf/configure.in: Likewise.
56545 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56546 * sysdeps/mach/hurd/tls.h: Likewise.
56549 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56552 * configure.in: Fix use of AC_INIT.
56554 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56556 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56558 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56560 * malloc/hooks.c: Likewise.
56563 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56564 variables statically.
56565 (narenas): Initialize.
56566 (list_lock): Initialize.
56567 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56568 initializtion of main_arena and list_lock. Small cleanups.
56569 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56570 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56571 Add initializers to main_arena and mp_.
56572 (malloc_state): Remove pagesize member. Change all users to use
56575 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56576 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56577 is always initialized.
56579 * malloc/malloc.c: Removed unused configurations and dead code.
56580 * malloc/arena.c: Likewise.
56581 * malloc/hooks.c: Likewise.
56582 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56584 * include/tls.h: Removed. USE___THREAD must always be defined.
56585 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56586 * elf/dl-libc.c: Likewise.
56587 * elf/dl-tsd.c: Likewise.
56588 * include/errno.h: Likewise.
56589 * include/netdb.h: Likewise.
56590 * include/resolv.h: Likewise.
56591 * inet/herrno-loc.c: Likewise.
56592 * inet/herrno.c: Likewise.
56593 * malloc/arena.c: Likewise.
56594 * malloc/hooks.c: Likewise.
56595 * malloc/malloc.c: Likewise.
56596 * resolv/res-state.c: Likewise.
56597 * resolv/res_libc.c: Likewise.
56598 * sysdeps/i386/dl-machine.h: Likewise.
56599 * sysdeps/ia64/dl-machine.h: Likewise.
56600 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56601 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56602 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56603 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56604 * sysdeps/sh/dl-machine.h: Likewise.
56605 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56606 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56607 * sysdeps/unix/i386/sysdep.S: Likewise.
56608 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56609 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56610 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56611 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56614 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56615 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56616 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56618 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56619 * sysdeps/x86_64/dl-machine.h: Likewise.
56620 * tls.make.c: Likewise.
56622 * configure.in: Remove --with-__thread option. Make tests for
56623 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56624 tls_model attribute fail if no support is available. Remove
56626 * Makeconfig: Adjust for dropped configure option. All features are
56628 * Makerules: Likewise.
56629 * Versions.def: Likewise.
56630 * argp/argp-fmtstream.c: Likewise.
56631 * argp/argp-fmtstream.h: Likewise.
56632 * argp/argp-help.c: Likewise.
56633 * assert/assert.c: Likewise.
56634 * config.h.in: Likewise.
56635 * config.make.in: Likewise.
56636 * configure: Likewise.
56637 * configure.in: Likewise.
56638 * csu/Versions: Likewise.
56639 * csu/init.c: Likewise.
56640 * elf/tst-audit2.c: Likewise.
56641 * elf/tst-tls10.c: Likewise.
56642 * elf/tst-tls10.h: Likewise.
56643 * elf/tst-tls11.c: Likewise.
56644 * elf/tst-tls12.c: Likewise.
56645 * elf/tst-tls14.c: Likewise.
56646 * elf/tst-tlsmod11.c: Likewise.
56647 * elf/tst-tlsmod12.c: Likewise.
56648 * elf/tst-tlsmod13.c: Likewise.
56649 * elf/tst-tlsmod13a.c: Likewise.
56650 * elf/tst-tlsmod14a.c: Likewise.
56651 * elf/tst-tlsmod15b.c: Likewise.
56652 * elf/tst-tlsmod16a.c: Likewise.
56653 * elf/tst-tlsmod16b.c: Likewise.
56654 * elf/tst-tlsmod7.c: Likewise.
56655 * elf/tst-tlsmod8.c: Likewise.
56656 * elf/tst-tlsmod9.c: Likewise.
56657 * gmon/gmon.c: Likewise.
56658 * grp/fgetgrent_r.c: Likewise.
56659 * grp/putgrent.c: Likewise.
56660 * hurd/fopenport.c: Likewise.
56661 * include/libc-symbols.h: Likewise.
56662 * include/tls.h: Likewise.
56663 * intl/gettextP.h: Likewise.
56664 * intl/loadinfo.h: Likewise.
56665 * locale/global-locale.c: Likewise.
56666 * locale/localeinfo.h: Likewise.
56667 * mach/devstream.c: Likewise.
56668 * malloc/arena.c: Likewise.
56669 * malloc/set-freeres.c: Likewise.
56670 * misc/err.c: Likewise.
56671 * misc/getttyent.c: Likewise.
56672 * misc/mntent_r.c: Likewise.
56673 * posix/getopt.c: Likewise.
56674 * posix/wordexp.c: Likewise.
56675 * pwd/fgetpwent_r.c: Likewise.
56676 * resolv/Versions: Likewise.
56677 * resolv/res_hconf.c: Likewise.
56678 * shadow/fgetspent_r.c: Likewise.
56679 * shadow/putspent.c: Likewise.
56680 * stdio-common/printf_fphex.c: Likewise.
56681 * stdio-common/tmpfile.c: Likewise.
56682 * stdlib/abort.c: Likewise.
56683 * stdlib/fmtmsg.c: Likewise.
56684 * sunrpc/auth_unix.c: Likewise.
56685 * sunrpc/clnt_perr.c: Likewise.
56686 * sunrpc/clnt_tcp.c: Likewise.
56687 * sunrpc/clnt_udp.c: Likewise.
56688 * sunrpc/clnt_unix.c: Likewise.
56689 * sunrpc/openchild.c: Likewise.
56690 * sunrpc/svc_simple.c: Likewise.
56691 * sunrpc/svc_tcp.c: Likewise.
56692 * sunrpc/svc_udp.c: Likewise.
56693 * sunrpc/svc_unix.c: Likewise.
56694 * sunrpc/xdr.c: Likewise.
56695 * sunrpc/xdr_array.c: Likewise.
56696 * sunrpc/xdr_rec.c: Likewise.
56697 * sunrpc/xdr_ref.c: Likewise.
56698 * sunrpc/xdr_stdio.c: Likewise.
56700 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56702 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56704 2011-07-03 Andreas Jaeger <aj@suse.de>
56706 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56707 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56708 regenerate with gen-libm-tests.pl.
56710 2010-05-12 Petr Baudis <pasky@suse.cz>
56713 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56714 around j0() zero points by switching to j1().
56715 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56716 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56718 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56720 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56722 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56724 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56727 Patch in part by Pavel Roskin <proski@gnu.org>.
56730 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56732 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56733 Free memory block if necessary.
56736 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56737 be NULL. Don't lock in this case.
56739 2011-09-09 Roland McGrath <roland@hack.frob.com>
56741 * elf/elf.h (ELFOSABI_GNU): New macro.
56742 (ELFOSABI_LINUX): Define to that.
56744 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56746 * string/strncat.c (strncat): Undef the symbol in case it has been
56747 defined in bits/string.h.
56749 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56751 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56753 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56756 2011-08-17 Andreas Jaeger <aj@suse.de>
56758 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56760 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56761 Ian Lance Taylor <iant@google.com>
56763 * math/libm-test.inc (lround_test): New testcase.
56764 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56766 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56768 * Makefile: Remove support for automatic cvs check-ins.
56769 * Makerules: Likewise.
56770 * config.make.in: Likewise.
56771 * configure.in: Likewise.
56772 * intl/Makefile: Likewise.
56773 * locale/Makefile: Likewise.
56774 * po/Makefile: Likewise.
56775 * posix/Makefile: Likewise.
56776 * sysdeps/gnu/Makefile: Likewise.
56777 * sysdeps/mach/hurd/Makefile: Likewise.
56778 * sysdeps/sparc/sparc32/Makefile: Likewise.
56781 * posix/Makefile (bug-regex32-ENV): Define.
56782 Patch by John Stanley <jpsinthemix@verizon.net>.
56784 * misc/Makefile (headers): Add bits/select2.h.
56785 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56786 * misc/bits/select2.h: New file.
56787 * include/bits/select2.h: New file.
56788 * debug/Makefile (routines): Add fdelt_chk.
56789 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56790 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56792 * debug/fdelt_chk.c: New file.
56794 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56795 * wcsmbs/test-wmemcmp.c: Likewise.
56796 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56797 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56799 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56801 * string/Makefile (strop-tests): Add memcmp.
56802 * string/test-wmemcmp.c: New file.
56803 * string/test-memcmp.c: Add wmemcmp support.
56805 2011-09-08 Roland McGrath <roland@hack.frob.com>
56808 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56811 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56812 garbage value in a __mach_port_mod_refs call in the cases of the
56813 task-self and thread-self ports.
56815 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56817 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56819 2011-09-08 Andreas Schwab <schwab@redhat.com>
56821 * elf/dl-load.c (lose): Check for non-null L.
56823 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56825 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56827 * elf/dl-libc.c (dlerror_run): Pass back error code from
56831 * elf/dl-load.c (lose): Free l_origin if it is valid.
56833 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56835 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56836 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56837 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56838 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56839 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56840 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56842 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56844 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56845 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56846 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56847 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56848 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56849 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56850 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56851 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56852 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56853 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56855 2011-08-15 Alan Modra <amodra@gmail.com>
56858 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56859 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56860 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56861 ppc_mcount to static-only-routines.
56862 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56864 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56865 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56867 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56869 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56870 for finite and infinity parameters.
56872 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56874 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56875 and add nop instructions for throughput optimization.
56876 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56878 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56880 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56881 aligned copy for power7 with vector-scalar instructions.
56882 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56884 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56889 2011-09-07 Andreas Schwab <schwab@redhat.com>
56892 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56895 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56897 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56898 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56899 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56900 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56903 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56905 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56906 Forgot to demangle the pointer.
56908 * sysdeps/i386/sysdep.h: Define atom_text_section.
56909 * sysdeps/x86_64/sysdep.h: Likewise.
56910 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56911 section with atom_text_section.
56912 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56913 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56914 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56915 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56916 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56918 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56919 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56920 already be defined. Change to take two parameters and don't assign
56921 result to variable. Adjust all users.
56922 Define INTERNAL_GETTIME if not already defined.
56923 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56926 HAVE_CLOCK_GETTIME_VSYSCALL.
56927 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56929 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56930 gettimeofday vsyscall, just use time.
56932 2011-09-06 Andreas Schwab <schwab@redhat.com>
56934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56937 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56939 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56941 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56943 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56944 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56945 syscall if possible.
56947 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56949 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56950 e_ident. Don't pass to find_mapsXX.
56951 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56953 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56956 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56957 * sysdeps/x86_64/multiarch/strchr.S: Update.
56958 Check bit_slow_BSF bit.
56959 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56960 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56961 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56963 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56966 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56968 (tryshell): Define.
56969 (__spawni): Change last parameter to be flag. Test
56970 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56971 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56972 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56973 * posix/spawni.c: Likewise.
56974 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56975 * posix/spawnp.c: Likewise. Change normal version to use
56976 SPAWN_XFLAGS_USE_PATH.
56977 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56978 SPAWN_XFLAGS_TRY_SHELL.
56981 * posix/glob.h: Remove gcc 1.x support.
56984 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56986 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56989 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56991 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56992 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56993 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56994 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56995 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56996 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56998 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57000 * sysdeps/x86_64/wcscmp.S: New file.
57002 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57003 wcscmp-c wcscmp-sse2
57004 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57005 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57006 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57007 * wcsmbs/wcscmp.c: Allow renaming.
57009 2011-09-05 David S. Miller <davem@davemloft.net>
57011 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57012 stack slot, rather than the struct return pointer slot.
57013 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57014 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57016 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57018 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57020 * po/ja.po: Update from translation team.
57023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57024 kernel in 64-bit binaries.
57026 2011-09-01 David S. Miller <davem@davemloft.net>
57028 * elf/elf.h (HWCAP_SPARC_*): Move to..
57029 * sysdeps/sparc/sysdep.h: this new file and add new values.
57030 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57031 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57032 _DL_HWCAP_COUNT to 24.
57033 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57035 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57036 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57037 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57039 instead of magic constants.
57040 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57042 2011-08-31 David S. Miller <davem@davemloft.net>
57044 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57045 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57046 Reimplement to do errno handling inline.
57047 (SYSCALL_ERROR_HANDLER): New macro.
57048 (__SYSCALL_STRING): Do not do errno handling in asm.
57049 (__CLONE_SYSCALL_STRING): Delete.
57050 (__INTERNAL_SYSCALL_STRING): Delete.
57051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57052 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57053 (PSEUDO): Reimplement to do errno handling inline.
57054 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57055 (SYSCALL_ERROR_HANDLER): New macro.
57056 (__SYSCALL_STRING): Do not do errno handling in asm.
57057 (__CLONE_SYSCALL_STRING): Delete.
57058 (__INTERNAL_SYSCALL_STRING): Delete.
57059 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57060 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57062 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57063 (inline_syscall*): Add 'err' argument.
57064 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57065 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57066 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57067 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57069 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57070 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57072 2011-08-30 Andreas Schwab <schwab@redhat.com>
57074 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57076 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57078 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57081 2011-08-24 David S. Miller <davem@davemloft.net>
57083 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57085 2011-08-24 Andreas Schwab <schwab@redhat.com>
57087 * elf/Makefile: Add rules to build and run unload8 test.
57088 * elf/unload8.c: New file.
57089 * elf/unload8mod1.c: New file.
57090 * elf/unload8mod1x.c: New file.
57091 * elf/unload8mod2.c: New file.
57092 * elf/unload8mod3.c: New file.
57094 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57097 2011-08-23 David S. Miller <davem@davemloft.net>
57099 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57100 subtract stack bias.
57101 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57102 %sp not %fp in calculations.
57103 (_JMPBUF_UNWINDS_ADJ): Likewise.
57105 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57106 (aio_suspend): Call it to force an exception region around the
57107 AIO_MISC_WAIT() invocation.
57109 2011-08-23 Andreas Schwab <schwab@redhat.com>
57111 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57114 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57116 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57118 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57119 and <dl-machine.h>.
57120 (Elf64_FuncDesc): Remove.
57122 2011-08-22 David S. Miller <davem@davemloft.net>
57124 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57125 sigaltstack check, add missing cfi directives.
57126 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57127 missing cfi directives, and sigaltstack handling.
57129 2011-08-16 Andreas Schwab <schwab@redhat.com>
57132 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57133 object is seen twice.
57134 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57136 * elf/Makefile (distribute): Add tst-initorder2.c.
57137 (tests): Add tst-initorder2.
57138 (modules-names): Add tst-initorder2a tst-initorder2b
57139 tst-initorder2c tst-initorder2d. Add rules to build them.
57140 ($(objpfx)tst-initorder2.out): New rule.
57141 * elf/tst-initorder2.c: New file.
57142 * elf/tst-initorder2.exp: New file.
57144 2011-08-22 Andreas Schwab <schwab@redhat.com>
57146 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57148 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57149 dependencies back to end of function.
57151 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57152 $(elfobjdir)/ld.so.
57154 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57157 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57159 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57160 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57161 of __vdso_gettimeofday.
57162 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57163 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57165 (_libc_vdso_platform_setup): Remove initialization of
57166 __vdso_gettimeofday and __vdso_time.
57168 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57170 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57171 and fgetc_unlocked.
57172 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57175 * elf/dl-open.c (add_to_global): Report additions to the global scope
57176 for LD_DEBUG=scopes.
57177 (dl_open_worker): Also print scope of newly loaded dependencies.
57178 (_dl_show_scope): Indicate if there is no scope.
57181 * stdio-common/Makefile (tests): Add bug24.
57182 * stdio-common/bug24.c: New file.
57184 2011-08-19 Andreas Jaeger <aj@suse.de>
57187 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57188 non-existant file when using close-on-exec mode.
57190 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57192 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57193 the very first instruction.
57195 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57196 the CFI state in the end.
57197 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57198 inclusion of dl-trampoline.h.
57199 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57201 2011-08-19 Andreas Schwab <schwab@redhat.com>
57203 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57204 expectations for long double.
57206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57207 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57209 2011-08-14 David S. Miller <davem@davemloft.net>
57211 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57212 artificual limit depends upon the system page size.
57214 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57216 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57217 * resolv/Makefile: Define CFLAGS-libresolv.
57219 2011-08-17 Andreas Schwab <schwab@redhat.com>
57221 * nss/makedb.c (compute_tables): Make variables used in nested
57224 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57226 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57227 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57228 if buffer was too small.
57230 * elf/pldd.c (main): Attach to all threads in the process.
57231 Rewrite /proc handling to use *at functions.
57233 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57235 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57236 specifies first scope to show.
57237 (dl_open_worker): Update callers. Move printing scope of new
57238 object to before the relocation.
57239 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57240 * sysdeps/generic/ldsodefs.h: Update declaration.
57242 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57243 string for the scope number.
57245 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57247 * nscd/servicescache.c (cache_addserv): Make sure written is always
57250 2011-08-14 Roland McGrath <roland@hack.frob.com>
57252 * sysdeps/i386/i486/bits/atomic.h
57253 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57254 statement expression, so as to suppress "set but not used" warning.
57255 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57257 * string/strncat.c (STRNCAT): Use prototype definition.
57259 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57260 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57262 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57263 (localedef-modules): Add localedef.
57264 (locale-modules): Add locale.
57266 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57267 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57268 to avoid a warning.
57270 2011-08-14 David S. Miller <davem@davemloft.net>
57272 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57273 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57275 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57277 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57278 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57279 * elf/rtld.c (dl_main): Set l_name of vDSO.
57280 Call _dl_show_scope when DL_DEBUG_SCOPES.
57281 (process_dl_debug): Recognize scopes flag and also set it for all.
57282 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57283 Declare _dl_show_scope.
57285 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57286 (do_dlopen): Pass caller_dlopen to dl_open.
57287 (__libc_dlopen_mode): Initialize caller_dlopen.
57289 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57290 of libc. Make tolower call locale-independent. Optimize a bit by
57291 using isdigit instead of isalnum.
57292 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57294 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57296 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57297 was a dependency or dynamically loaded.
57299 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57301 * intl/l10nflist.c: Allow architecture-specific pop function.
57302 * sysdeps/x86_64/l10nflist.c: New file.
57304 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57307 2011-08-10 Andreas Schwab <schwab@redhat.com>
57309 * include/dirent.h: Add libc_hidden_proto for scandirat and
57310 scandirat64. Don't declare __scandirat64.
57311 * dirent/scandirat.c: Add libc_hidden_def.
57312 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57313 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57315 2011-08-10 David S. Miller <davem@davemloft.net>
57317 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57319 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57320 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57321 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57323 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57325 * Versions.def [libc]: Add GLIBC_2.15.
57326 * dirent/Makefile (routines): Add scandirat and scandirat64.
57327 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57329 * dirent/dirent.h: Declare scandirat and scandirat64.
57330 * dirent/scandirat.c: New file.
57331 * dirent/scandirat64.c: New file.
57332 * sysdeps/wordsize-64/scandirat.c: New file.
57333 * sysdeps/wordsize-64/scandirat64.c: New file.
57334 * dirent/opendir.c: Define opendirat.
57335 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57337 * dirent/scandir64.c: Adjust for scandir.c change.
57338 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57339 __scandirat64, and __scandir_cancel_handler.
57340 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57341 additional parameter and use openat instead of open (outside of ld.so).
57342 Add new __opendir as wrapper around __opendirat.
57343 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57344 here without requiring old scandirat implementation.
57346 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57348 * dirent/scandir.c (cancel_handler): Renamed to
57349 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57350 defined. Adjust users.
57351 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57352 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57354 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57356 * string/test-string.h (IMPL): Use __STRING to expand name and then
57359 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57362 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57364 * string/Makefile: Update.
57365 (strop-tests): Append strncat.
57366 * string/test-wcscmp.c: New file.
57367 New comprehensive test for wcscmp.
57368 * string/test-strcmp.c: Update.
57369 (WIDE): New define.
57371 2011-07-22 Andreas Schwab <schwab@redhat.com>
57373 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57376 2011-07-26 Andreas Schwab <schwab@redhat.com>
57378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57379 encoding to ACE if AI_IDN.
57381 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57383 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57384 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57386 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57388 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57389 Fix overflow bug in strncat.
57390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57392 * string/test-strncat.c: Update.
57393 Add new tests for checking overflow bugs.
57395 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57398 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57399 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57400 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57401 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57402 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57403 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57404 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57405 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57407 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57408 (USE_AS_STRCAT): Define.
57409 Add strcat and strncat support.
57410 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57412 2011-07-25 Andreas Schwab <schwab@redhat.com>
57414 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57415 __n bigger than INT_MAX+1.
57416 (__strncmp_g): Likewise.
57418 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57420 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57421 * libio/stido.h: Likewise.
57423 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57428 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57429 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57430 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57431 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57435 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57438 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57440 (_dl_x86_64_save_sse): Likewise.
57442 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57444 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57446 (_dl_x86_64_save_sse): Likewise.
57448 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57450 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57452 2011-07-21 Andreas Schwab <schwab@redhat.com>
57454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57456 (_dl_x86_64_save_sse): Use correct AVX check.
57458 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57460 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57461 bug in strncpy/strncat.
57462 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57464 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57466 * string/tester.c (test_strcat): Add tests for different alignments
57467 of source and destination.
57468 (test_strncat): Likewise.
57470 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57473 * posix/glob.c (glob): Check passed in values before using them in
57474 expressions to avoid some overflows.
57475 (glob_in_dir): Likewise.
57478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57479 check for AVX enablement so that we don't crash with old kernels and
57481 * elf/tst-audit4.c: Add same checks here.
57482 * elf/tst-audit6.c: Likewise.
57484 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57486 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57488 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57490 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57492 * po/cs.po: Update from translation team.
57493 * po/bg.po: Likewise.
57495 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57497 * misc/sys/cdefs.h: Add support for const attribute.
57498 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57499 to gnu_dev_{major,minor,makedev} functions.
57501 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57503 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57505 2011-07-20 Andreas Schwab <schwab@redhat.com>
57507 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57510 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57512 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57513 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57514 register in order to avoid conflicts with the soft frame pointer
57515 being held in r11 when necessary.
57516 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57517 (INTERNAL_VSYSCALL_NCS): Likewise.
57519 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57521 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57522 * elf/dl-fini.c (_dl_fini): Adjust caller.
57523 * elf/dl-close.c (_dl_close_worker): Likewise.
57524 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57526 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57528 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57529 "aux_cache->nlibs < 0".
57531 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57532 in the reload-count case.
57534 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57537 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57538 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57539 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57540 * sysdeps/x86_64/multiarch/strcat.S: New file.
57541 * sysdeps/x86_64/multiarch/strncat.S: New file.
57542 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57543 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57544 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57545 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57546 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57547 (USE_AS_STRCAT): Define.
57548 Add strcat and strncat support.
57549 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57550 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57551 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57552 * string/strncat.c: Update.
57553 (USE_AS_STRNCAT): Define.
57554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57555 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57557 * sysdeps/x86_64/multiarch/init-arch.h
57558 (bit_Prefer_PMINUB_for_stringop): New.
57559 (index_Prefer_PMINUB_for_stringop): Likewise.
57560 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57561 bit_Prefer_PMINUB_for_stringop.
57563 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57565 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57567 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57568 of casting of buffer.
57569 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57570 buffer32 and buffer64.
57571 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57572 writes instead of casting of buffer.
57573 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57575 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57578 2011-07-19 Andreas Schwab <schwab@redhat.com>
57580 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57582 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57584 * nscd/nscd.c (termination_handler): Don't do anything for a database
57585 if it has not yet been initialized.
57587 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57589 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57591 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57593 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57595 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57597 * po/nl.po: Update from translation team.
57598 * po/sv.po: Likewise.
57600 2011-07-16 Roland McGrath <roland@hack.frob.com>
57602 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57603 now disallowed by GCC.
57605 * configure.in (use-default-link): Default to yes if a test -shared
57606 link meets our qualifications.
57607 * configure: Regenerated.
57609 * config.make.in (output-format): New variable.
57610 * configure.in: Check for ld --print-output-format support.
57611 * configure: Regenerated.
57612 * Makerules ($(common-objpfx)format.lds)
57613 [$(output-format) != unknown]: Just use $(output-format),
57614 instead of the linker-script munging.
57616 2011-07-14 Roland McGrath <roland@hack.frob.com>
57618 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57619 of $(common-objpfx)shlib.lds.
57620 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57622 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57623 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57625 * configure.in (-z relro check): Adjust test code to add a large
57626 writable data section after it.
57627 * configure: Regenerated.
57629 2011-07-11 Roland McGrath <roland@hack.frob.com>
57631 * configure.in (-z relro check): Fix test code to make the variable
57633 * configure: Regenerated.
57635 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57637 * nscd/nscd.h (struct traced_file): Define.
57638 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57639 elements. Add traced_files.
57640 (inotify_fd): Declare.
57641 (register_traced_file): Declare.
57642 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57643 (inotify_fd): Export.
57644 (resolv_conf_descr): Remove.
57645 (nscd_init): Move inotify descriptor creation to main.
57646 Don't register files for notification here.
57647 (register_traced_file): New function.
57648 (invalidate_cache): Don't use reset_res to determine whether to call
57649 res_init, go through the list of registered files.
57650 (main_loop_poll): The inotify descriptors are now stored in the
57651 structures for the traced files.
57652 (main_loop_epoll): Likewise
57653 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57654 to __nss_disable_nscd.
57655 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57656 for a database anymore. Check the records for all the registered
57658 * nss/Makefile (libnss_files-routines): Add files-init.
57659 (libnss_db-routines): Add db-init.
57660 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57661 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57662 * nss/nss_db/db-init.c: New file.
57663 * nss/nss_files/files-init.c: New file.
57664 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57665 __nss_lookup_function.
57666 (__nss_lookup_function): Call nss_load_library.
57667 (nss_load_all_libraries): New function.
57668 (__nss_disable_nscd): Take parameter with callback function for files
57669 to register. Set is_nscd. Load all the DSOs for the NSS modules
57670 used for the cached services.
57671 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57672 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57673 options for features to all the files in nscd.
57675 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57677 2011-07-10 Roland McGrath <roland@hack.frob.com>
57679 * csu/elf-init.c (__libc_csu_init): Comment typo.
57681 2011-07-09 Ulrich Drepper <drepper@gmail.com>
57683 * po/pl.po: Update from translation team.
57684 * po/ja.po: Likewise.
57685 * po/ru.po: Likewise.
57686 * po/ko.po: Likewise.
57687 * po/fr.po: Likewise.
57689 2011-07-09 Roland McGrath <roland@hack.frob.com>
57691 * configure.in (.ctors/.dtors header and trailer check):
57692 Use an empirical test on a built program.
57693 * configure: Regenerated.
57695 * configure.in (-z relro check): Use an empirical test on a built DSO.
57696 Detect, but do not require, on ia64.
57697 * configure: Regenerated.
57699 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57700 Update tests that use readelf to use $READELF instead.
57701 * configure: Regenerated.
57703 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57705 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57706 if the result is not used.
57708 2011-07-05 Andreas Jaeger <aj@suse.de>
57711 * stdlib/tst-strtod.c: Add testcase.
57713 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57715 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57716 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57717 The latter has a higher limit. Take additional parameter to pass to
57719 (__pathconf): Pass file to __statfs_link_max.
57720 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57722 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57726 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57727 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57729 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57730 (__statfs_filesize_max): Likewise.
57731 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57733 2011-07-05 Andreas Jaeger <aj@suse.de>
57735 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57737 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57739 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57741 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57744 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57746 * Makefile (strop-tests): Add strncat.
57747 * string/test-strncat.c: New file.
57749 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57751 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57753 2011-06-21 Andreas Jaeger <aj@suse.de>
57755 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57756 Copy rule from iconvdata/Makefile.
57758 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57761 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57762 but no long options are defined, just return 'W'.
57764 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57767 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57769 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57771 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57773 (innetgr): Likewise.
57775 2011-07-05 Roland McGrath <roland@hack.frob.com>
57777 * config.make.in (install_root): Default to $(DESTDIR).
57779 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57781 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57783 2011-07-02 Roland McGrath <roland@hack.frob.com>
57785 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57787 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57788 containing directory rather than embedding absolute directory names.
57790 * scripts/check-local-headers.sh: Rewritten using awk.
57791 Match by word, not by line. Print error messages for matches.
57792 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57794 * Makerules [shlib-lds-flags empty]:
57795 ($(common-objpfx)libc_pic.opts): New target.
57796 ($(common-objpfx)libc_pic.os.clean): New target.
57797 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57799 * config.make.in (OBJCOPY): New variable.
57800 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57801 * configure: Regenerated.
57803 * config.make.in (use-default-link): New variable.
57804 * configure.in (use_default_link): Grok --with-default-link to set it.
57805 * configure: Regenerated.
57806 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57807 (shlib-lds, shlib-lds-flags): Define to empty.
57809 * Makerules (shlib-lds): New variable.
57810 (shlib-lds-flags): New variable.
57811 (build-shlib, build-moduile, build-module-asneeded): Use it.
57812 ($(common-objpfx)libc.so): Use $(shlib-lds).
57813 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57814 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57816 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57817 DT_FLAGS/DT_FLAGS_1 with zero flags.
57819 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57820 linker script munging.
57822 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57824 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57826 * crypt/sha512.c (sha512_process_block): Perform total addition using
57827 128-bit if possible.
57828 (__sha512_finish_ctx): Likewise.
57829 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57831 * crypt/sha256.c (SWAP64): Define.
57832 (sha256_process_block): Perform total addition using 64-bit if
57834 (__sha256_finish_ctx): Likewise.
57836 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57838 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57840 * nscd/hstcache.c (cache_addhst): Likewise.
57841 * nscd/grpcache.c (cache_addgr): Likewise.
57842 * nscd/aicache.c (addhstaiX): Likewise
57843 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57845 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57847 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57848 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57849 * nscd/hstcache.c (cache_addhst): Likewise.
57850 * nscd/grpcache.c (cache_addgr): Likewise.
57851 * nscd/aicache.c (addhstaiX): Likewise
57853 2011-07-01 Andreas Schwab <schwab@redhat.com>
57855 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57856 domain only when needed.
57858 2011-06-30 Andreas Schwab <schwab@redhat.com>
57860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57861 is always restored.
57863 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57865 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57866 are re-adding the entry.
57867 * nscd/servicescache.c (cache_addserv): Likewise.
57869 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57871 * sysdeps/generic/dl-irel.h: fix protection against multiple
57873 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57875 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57878 * malloc/memusage.sh: Fix quoting in message.
57879 * debug/xtrace.sh: Likewise.
57881 * configure.in: Remove support for --experimental-malloc option, make
57883 * config.make.in: Likewise.
57884 * malloc/Makefile: Likewise.
57886 2011-06-27 Andreas Schwab <schwab@redhat.com>
57888 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57889 two-byte characters.
57891 2011-06-27 Roland McGrath <roland@hack.frob.com>
57893 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57894 AC_CACHE_CHECK invocation.
57895 * configure: Regenerated.
57897 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57899 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57902 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57903 bit from old_res_options.
57905 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57907 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57908 value type for setfct.
57910 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57913 __gettimeofday instead of gettimeofday.
57915 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57917 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57919 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57923 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57926 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57929 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57930 strcpy-sse2-unaligned strncpy-sse2-unaligned
57931 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57932 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57933 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57934 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57935 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57936 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57938 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57939 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57940 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57941 (STRCPY): Support SSE2 and SSSE3 versions.
57943 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57946 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57947 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57948 kernels which artificially limit size of requests.
57950 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57953 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57954 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57955 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57956 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57957 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57958 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57959 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57960 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57962 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57963 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57964 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57965 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57966 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57968 Enable unaligned load optimization for Intel Core i3, i5 and i7
57970 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57972 (index_Fast_Unaligned_Load): Define.
57973 (HAS_FAST_UNALIGNED_LOAD): Define.
57975 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57977 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57979 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57983 until it is clear that the information is realy needed.
57984 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57986 2011-06-22 Andreas Schwab <schwab@redhat.com>
57988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57990 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57993 /sys/devices/system/cpu/online if it is usable.
57995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57996 reading the information from the /proc filesystem to once a second.
57998 2011-06-21 Andreas Jaeger <aj@suse.de>
58000 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58001 NULL after inclusion of kernel headers.
58003 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58005 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58006 calls to internal_setent.
58009 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58010 addresses using gethostbyname4_r ignore IPv4 addresses.
58012 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58013 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58015 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58017 2011-06-20 David S. Miller <davem@davemloft.net>
58019 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58021 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58023 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58024 (elf_irel): Use it.
58025 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58026 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58027 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58028 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58029 * sysdeps/x86_64/dl-irel.h: Likewise.
58031 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58032 * elf/dl-sym.c: Likewise.
58034 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58036 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58037 need to dereference resplen2.
58039 2011-06-14 Andreas Schwab <schwab@redhat.com>
58041 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58043 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58045 * Makeconfig: Define vardbdir and inst_vardbdir.
58046 * nss/Makefile: Add rules to install db-Makefile.
58048 * nss/nss_db/db-XXX.c: Cleanup.
58050 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58051 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58053 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58054 * nss/makedb.c: Implement -g option to specify that value strings
58055 are generated and should not be added to table iterated over for
58057 * nss/nss_db/db-initgroups.c: New file.
58059 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58062 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58063 (internal_getgrouplist): Adjust to name change.
58064 Update use_initgroups_entry if this is not the first call.
58065 * nss/databases.def: Add initgroups entry.
58067 * nss/makedb.c (compute_tables): Check result of multiple hash table
58068 sizes to minimize maximum chain length.
58070 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58072 * Versions.def: Add entry for libnss_db.
58073 * shlib-versions: Likewise.
58074 * nss/Makefile: Add rules to build libnss_db.
58075 * nss/Versions: Add libnss_db information. Organize libnss_files
58077 * nss/db-Makefile: Add gshadow support. Change rules for the new
58078 makedb progra. Some minor improvements to generate smaller files.
58079 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58081 * nss/makedb.c: ...here.
58082 Improve database format to be smaller and require less memory at
58084 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58086 * nss/nss_db/db-netgrp.c: Likewise.
58087 * nss/nss_db/db-open.c: Likewise.
58088 * nss/nss_files/flies-XXX.x: Adjust comments.
58089 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58090 * nss/nss_files/files-grp.c: Likewise.
58091 * nss/nss_files/files-hosts.c: Likewise.
58092 * nss/nss_files/files-network.c: Likewise.
58093 * nss/nss_files/files-proto.c: Likewise.
58094 * nss/nss_files/files-pwd.c: Likewise.
58095 * nss/nss_files/files-rpc.c: Likewise.
58096 * nss/nss_files/files-service.c: Likewise.
58097 * nss/nss_files/files-sgrp.c: Likewise.
58098 * nss/nss_files/files-spwd.c: Likewise.
58099 * nss/nss_db/db-alias.c: Removed.
58100 * nss/nss_db/dummy-db.h: Removed.
58102 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58104 * nss/makedb.c: Rewritten to not use database library.
58105 * nss/Makefile: Update to build new makedb program.
58107 2011-06-14 Andreas Jaeger <aj@suse.de>
58109 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58110 memset declaration.
58112 2011-06-10 Andreas Schwab <schwab@redhat.com>
58114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58117 2011-06-10 Roland McGrath <roland@hack.frob.com>
58119 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58120 * elf/Makefile ($(objpfx)ld.so): Likewise.
58122 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58123 Don't list ld.so twice in dependencies.
58125 * posix/bug-regex31.c: Include <stdlib.h>.
58127 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58129 * nis/nss_compat/compat-spwd.c
58130 (getspent_next_nss_netgr): Remove unused variable.
58131 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58133 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58134 nonmembers" output to use the right array.
58136 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58138 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58140 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58141 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58142 * catgets/gencat.c (read_input_file): Likewise.
58143 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58145 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58146 variable definition inside #if's controlling its use.
58148 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58150 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58152 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58154 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58157 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58159 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58160 * configure: Regenerated.
58162 * Makerules: Revert last change.
58163 * elf/Makefile: Likewise.
58165 2011-06-09 Roland McGrath <roland@hack.frob.com>
58167 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58168 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58169 (reloc-link): Likewise.
58171 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58173 * elf/Makefile: Add rules to build pldd.
58174 * elf/pldd.c: New file.
58175 * elf/pldd-xx.c: New file.
58177 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58179 * version.h: Update for 2.15 development version.
58181 2011-06-07 David S. Miller <davem@davemloft.net>
58183 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58185 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58186 elf_machine_lazy_rel): Likewise.
58187 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58188 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58189 elf_machine_lazy_rel): Likewise.
58190 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58191 dl_hwcap via passed in argument.
58192 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58195 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58197 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58199 2011-06-06 Roland McGrath <roland@hack.frob.com>
58202 * manual/fdl-1.1.texi: New file, verbatim from:
58203 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58204 * manual/lgpl-2.1.texi: New file, verbatim from:
58205 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58206 * manual/Makefile (licenses): New variable, list those new file names.
58208 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58210 * manual/fdl.texi: File removed.
58211 * manual/lesser.texi: File removed.
58212 * manual/libc.texinfo (Copying, Documentation License):
58213 Use new @include file names, put @appendix directive before @include.
58215 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58218 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58219 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58220 (mq_open): Add __NTH.
58222 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58225 Assume Intel Core i3/i5/i7 processor if AVX is available.
58227 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58232 2011-05-31 Andreas Schwab <schwab@redhat.com>
58234 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58235 memory. Use alloca_account. Fix memory leak when retrying.
58237 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58239 * version.h (RELEASE): Bump for 2.14 release.
58240 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58242 * config.make.in (RANLIB): Remove entry.
58244 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58246 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58247 (libc.pot): Work around missing support for .ksh extension in xgettext.
58250 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58251 if both request failed.
58252 (send_dg): In case of server errors clear resplen or *resplen2.
58255 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58256 when there are multiple maps.
58257 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58258 (_dl_fini): Remove test here.
58260 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58262 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58265 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58266 bit from old_res_options.
58267 (gaih_inet): Likewise.
58270 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58273 * resolv/res_init.c (res_setoptions): Make the code more compact.
58276 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58280 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58282 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58285 * malloc/malloc.h: Declare malloc hook variables as volatile.
58287 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58291 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58292 raise in the comment.
58293 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58295 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58297 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58300 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58301 grow the buffers more if it already has to be sufficient.
58302 (build_wcs_upper_buffer): Likewise.
58303 * posix/regexec.c (check_matching): Likewise.
58304 (clean_state_log_if_needed): Likewise.
58305 (extend_buffers): Don't enlarge buffers beyond size of the input
58307 Patches mostly by Emil Wojak <emil@wojak.eu>.
58308 * posix/bug-regex32.c: New file.
58309 * posix/Makefile (tests): Add bug-regex32.
58311 * locale/findlocale.c (_nl_find_locale): Return right away if
58312 _nl_explode_name failed.
58313 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58315 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58317 * debug/xtrace.sh: Unify messages.
58318 * malloc/memusage.sh: Likewise.
58321 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58322 time symbol from vDSO. Substitute with vsyscall if not available.
58323 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58326 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58327 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58328 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58329 Add sendmmsg and internal_sendmmsg.
58330 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58331 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58332 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58334 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58335 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58336 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58338 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58341 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58342 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58348 * iconvdata/Makefile (tests): Add bug-iconv9.
58349 * iconvdata/bug-iconv9.c: New file.
58351 2011-05-27 Andreas Schwab <schwab@redhat.com>
58354 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58356 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58358 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58359 (struct user_regs_struct): Change intcs field back to cs.
58361 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58363 * po/ja.po: Update from translation team.
58365 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58368 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58369 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58371 2011-05-20 Andreas Schwab <schwab@redhat.com>
58373 * stdlib/longlong.h: Update from GCC.
58375 2011-05-23 Andreas Schwab <schwab@redhat.com>
58377 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58379 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58380 Add parameter name.
58381 (__sysconf): Pass it down.
58383 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58386 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58388 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58389 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58390 add in in __libc_use_alloca calls. Adjust callers.
58391 (glob): Use malloc in some situations.
58393 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58394 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58397 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58399 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58400 and CLOCK_BOOTTIME_ALARM.
58403 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58406 * string/_strerror.c (__strerror_r): Print negative errors as signed
58410 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58411 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58412 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58414 * configure.in: Fix typo in redirection and correct removal of test
58415 files in two cases.
58418 * locale/setlocale.c (new_composite_name): Fix test to check for
58419 identical name of all categories.
58422 * libio/filedoalloc.c (local_isatty): New function.
58423 (_IO_file_doallocate): Use local_isatty.
58424 * stdio-common/perror.c (perror): In case a new stream is used
58425 forward the stream error.
58426 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58429 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58434 * include/alloca.h (extend_alloca_account): Define.
58437 * posix/regex.h: Fix comments with documentation of user-accessible
58438 fields after compilation and describe correct free'ing of pattern
58439 after re_compile_pattern.
58440 Patch by Reuben Thomas <rrt@sc3d.org>.
58442 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58444 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58445 and -mno-altivec to prevent the compiler from using Altivec and/or
58446 VSX instructions when the corresponding registers are not available.
58448 2011-05-19 Andreas Schwab <schwab@redhat.com>
58450 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58452 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58454 * libio/freopen.c (freopen): Use __dup2, not dup2.
58455 * libio/freopen64.c (freopen64): Likewise.
58457 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58460 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58461 * math/Makefile (tests): Add test-powl.
58462 (CFLAGS-test-powl.c): Define.
58463 * math/test-powl.c: New file.
58465 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58467 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58469 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58472 * iconvdata/gb18030.c: Update to GB18020-2005.
58474 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58476 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58477 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58478 Patch by Aharon Robbins <arnold@skeeve.com>.
58481 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58485 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58486 through underflows.
58489 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58490 point to strings before performing equality test for error_one_per_line
58494 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58498 (struct user_fpregs_struct): Avoid __uint*_t types.
58501 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58502 symbol info. Use it instead of calling _dl_addr locally.
58503 (lock_and_info): New function.
58504 (tr_freehook): Call lock_and_info and pass symbol info as additional
58505 parameter to tr_where.
58506 (tr_mallochook): Likewise.
58507 (tr_reallochook): Likewise.
58508 (tr_memalignhook): Likewise.
58510 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58511 used and couldn't be at all thread-safe.
58513 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58515 * libio/freopen.c (freopen): Don't close old file descriptor
58516 before the new one is opened. Instead dup the new file descriptor
58517 to the old one after the new stream is created.
58518 * libio/freopen64.c (freopen64): Likewise.
58519 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58520 * libio/fileops.c (_IO_new_file_close_it): Handle new
58521 _IO_FLAGS2_NOCLOSE flag.
58522 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58523 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58524 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58525 _IO_FLAGS2_NOCLOSE flag.
58526 * include/unistd.h: Add hidden_proto for dup3.
58527 Define __have_dup3.
58528 * io/dup3.c: Define hidden symbol.
58529 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58532 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58533 when an incomplete long option is used.
58534 * posix/tst-getopt_long1.c: New file.
58535 * posix/Makefile (tests): Add tst-getopt_long1.
58538 * scripts/config.guess: Update from autoconf-2.68.
58539 * scripts/config.sub: Likewise.
58542 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58544 (has_cpuclock): ...this. New function.
58545 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58546 macro here based on has_cpuclock code.
58549 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58550 First byte (not low byte) is now always NUL.
58551 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58554 Use non-cancelable interfaces.
58557 * locale/iso-639.def: Add entry for Sorani.
58560 * include/stdlib.h: Move include protection to the right place.
58561 Define abort_msg_s. Declare __abort_msg with it.
58562 * stdlib/abort.c (__abort_msg): Adjust type.
58563 * assert/assert.c (__assert_fail_base): New function. Majority
58564 of code from __assert_fail. Allocate memory for __abort_msg with
58566 (__assert_fail): Now call __assert_fail_base.
58567 * assert/assert-perr.c: Remove bulk of implementation. Use
58568 __assert_fail_base.
58569 * include/assert.hL Declare __assert_fail_base.
58570 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58572 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58574 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58578 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58579 until all modules are registered in the DTV.
58580 * elf/Makefile: Add rules to build and run tst-tls19.
58581 * elf/tst-tls19.c: New file.
58582 * elf/tst-tls19mod1.c: New file.
58583 * elf/tst-tls19mod2.c: New file.
58584 * elf/tst-tls19mod3.c: New file.
58585 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58588 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58592 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58593 two-byte sequence errors.
58594 * iconvdata/Makefile (tests): Add bug-iconv8.
58595 * iconvdata/bug-iconv8.c: New file.
58598 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58601 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58604 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58605 (dummy_getcfa): New function.
58606 (init): Get _Unwind_GetCFA address, use dummy if not found.
58607 (backtrace_helper): In recursion check, also check whether CFA changes.
58608 (__backtrace): Completely initialize arg.
58610 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58611 storing incomplete byte sequence in state object. Avoid testing for
58612 guaranteed too small input if we know there is enough data available.
58614 2011-05-11 Andreas Schwab <schwab@redhat.com>
58616 * Makeconfig (+link-pie): Indent.
58617 * Rules (binaries-pie): Define if $(have-fpie) and
58619 (binaries-shared): Also filter out $(binaries-pie).
58620 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58621 * nscd/Makefile (others-pie): Add nscd.
58622 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58623 ($(objpfx)nscd): Remove command override.
58624 * login/Makefile (others-pie): Add pt_chown.
58625 ($(objpfx)pt_chown): Remove command override.
58626 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58627 remove command overrides.
58629 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58631 * libio/tst_putwc.c: Fix error messages.
58634 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58635 currently writing and seek to current position when not.
58636 * libio/Makefile (tests): Add bug-fclose1.
58637 * libio/bug-fclose1.c: New file.
58639 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58642 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58643 don't set DF_1_NODELETE here.
58644 (do_lookup_x): When entering new entry test for copy relocation
58645 and if necessary set DF_1_NODELETE flag.
58646 * elf/tst-unique4.cc: New file.
58647 * elf/tst-unique4.h: New file.
58648 * elf/tst-unique4lib.cc: New file.
58649 * elf/Makefile: Add rules to build and run tst-unique4.
58650 Patch by Piotr Bury <pbury@goahead.com>.
58652 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58655 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58658 * misc/mntent_r.c (addmntent): Flush the stream after the output
58661 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58662 (is_trusted_path_normalize): Skip initial colon. Append slash
58663 to empty buffer. Duplicate is_trusted_path code but allow
58664 constructed patch to be prefix.
58665 (is_dst): Allow $ORIGIN followed by /.
58666 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58667 Correct testing of result of is_trusted_path_normalize
58668 (decompose_rpath): Fix warning.
58670 2011-05-10 Ulrich Drepper <drepper@gmail.com>
58673 * grp/initgroups.c (internal_getgrouplist): When we found the service
58674 list through the initgroups entry in nsswitch.conf do not always
58675 continue on a successful lookup. Don't always use the
58676 __nss_group_database value if it is set.
58677 * nss/nsswitch.conf (initgroups): Change action for successful db
58678 lookup to continue for compatibility.
58680 2011-05-09 Ulrich Drepper <drepper@gmail.com>
58683 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58685 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58687 * iconvdata/tst-tables.sh: Likewise.
58688 * iconvdata/cp770.c: New file.
58689 * iconvdata/cp771.c: New file.
58690 * iconvdata/cp772.c: New file.
58691 * iconvdata/cp773.c: New file.
58692 * iconvdata/cp774.c: New file.
58693 * iconvdata/testdata/CP770: New file.
58694 * iconvdata/testdata/CP770..UTF8: New file.
58695 * iconvdata/testdata/CP771: New file.
58696 * iconvdata/testdata/CP771..UTF8: New file.
58697 * iconvdata/testdata/CP772: New file.
58698 * iconvdata/testdata/CP772..UTF8: New file.
58699 * iconvdata/testdata/CP773: New file.
58700 * iconvdata/testdata/CP773..UTF8: New file.
58701 * iconvdata/testdata/CP774: New file.
58702 * iconvdata/testdata/CP774..UTF8: New file.
58704 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58706 * iconvdata/gen-8bit-gap.sh: Likewise.
58707 * iconvdata/gen-8bit.sh: Likewise.
58709 * locale/iso-639.def: Add ary entry.
58712 * locale/C-translit.h.in: Add U20A1 transliteration.
58715 * locale/iso-639.def: Add wae entry.
58716 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58719 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58723 * locale/C-translit.h.in: Add entry for U20B9.
58724 Patch by pravin.d.s@gmail.com.
58726 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58729 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58730 ENAMETOOLONG use generic getcwd.
58731 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58732 in rtld. Use *stat64.
58733 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58734 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58735 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58736 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58737 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58738 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58739 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58740 __fstatat64 macros.
58741 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58742 * dirent/rewinddir.c: Add libc_hidden_def.
58743 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58744 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58746 * include/dirent.h (__alloc_dir): Add flags parameter.
58747 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58748 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58750 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58751 from fdopendir if O_CLOEXEC is already set.
58753 2011-03-15 Alan Modra <amodra@gmail.com>
58755 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58756 l_tls_firstbyte_offset non-zero. Save padding offset in
58757 l_tls_firstbyte_offset for later use.
58758 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58759 freeing static tls block.
58761 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58763 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58764 where #ifdef was intended. The intent is to prevent ARG_MAX from
58765 being defined by the kernel headers.
58767 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58770 * resolv/resolv.h: Define RES_NOTLDQUERY.
58771 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58772 no-tld-query and set RES_NOTLDQUERY.
58773 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58774 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58775 modern BIND to search name as TLD unless forbidden.
58777 2011-05-07 Petr Baudis <pasky@suse.cz>
58778 Ulrich Drepper <drepper@gmail.com>
58781 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58782 (is_trusted_path): ...to here.
58783 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58784 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58785 using is_trusted_path_normalize() in setuid scripts.
58787 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58789 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58790 __BEGIN/__END_DECLS.
58792 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58795 NSS_STATUS_NOTFOUND if no record was found.
58797 2011-05-05 Andreas Schwab <schwab@redhat.com>
58799 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58800 (headers-not-in-tirpc): Remove rpc/netdb.h
58801 * resolv/netdb.h: Revert last change.
58803 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58805 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58806 circular dependency between libgcc.a and libc.a.
58808 2011-05-05 Andreas Schwab <schwab@redhat.com>
58810 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58811 * nis/Makefile: Don't install rpcsvc/*.
58812 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58813 instead of <rpc/types.h>.
58814 (MAXHOSTNAMELEN): Define.
58816 2011-05-03 Andreas Schwab <schwab@redhat.com>
58818 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58820 2011-04-28 Maciej Babinski <mbabinski@google.com>
58823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58824 gethostbyname4_r when IPv6 results are possible.
58826 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58829 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58830 _PC_PIPE_BUF handling.
58832 2011-04-30 Bruno Haible <bruno@clisp.org>
58835 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58836 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58838 * inet/getnameinfo.c (getnameinfo): Likewise.
58840 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58842 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58843 to groups setting in database lookup.
58844 * nss/nsswitch.conf: Add initgroups entry.
58846 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58849 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58851 Patch by Eric Blake <eblake@redhat.com>.
58853 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58855 * sunrpc/Makefile (need-export-routines): Add svc_run.
58856 (routines): Remove svc_run.
58857 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58858 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58859 * sunrpc/svc_run.c (svc_run): Likewise.
58860 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58862 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58864 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58865 problem in reallocation in last patch.
58867 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58869 * sunrpc/Makefile: Move inclusion of Rules.
58871 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58873 * nss/nss_files/files-initgroups.c: New file.
58874 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58875 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58876 _nss_files_initgroups_dyn.
58878 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58880 * elf/elf.h (R_ARM_IRELATIVE): Define.
58882 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58884 * po/ru.po: Update from translation team.
58886 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58888 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58891 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58894 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58895 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58896 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58898 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58900 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58902 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58904 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58906 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58908 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58911 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58913 * stdlib/bug-getcontext.c: New file.
58914 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58916 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58918 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58919 instructions into .machine "z9-109".
58920 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58921 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58923 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58925 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58926 between environment variables and auxiliary vector.
58928 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58930 * Makefile: Add rules to build linkobj/libc.so.
58931 * include/libc-symbols.h: Define libc_hidden_nolink.
58932 * include/rpc/auth.h: Mark functions which are to be hidden.
58933 * include/rpc/auth_des.h: Likewise.
58934 * include/rpc/auth_unix.h: Likewise.
58935 * include/rpc/clnt.h: Likewise.
58936 * include/rpc/des_crypt.h: Likewise.
58937 * include/rpc/key_prot.h: Likewise.
58938 * include/rpc/pmap_clnt.h: Likewise.
58939 * include/rpc/pmap_prot.h: Likewise.
58940 * include/rpc/pmap_rmt.h: Likewise.
58941 * include/rpc/rpc_msg.h: Likewise.
58942 * include/rpc/svc.h: Likewise.
58943 * include/rpc/svc_auth.h: Likewise.
58944 * include/rpc/xdr.h: Likewise.
58945 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58946 * nss/Makefile: Likewise.
58947 * sunrpc/Makefile: Don't install headers. Build library with normal
58948 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58949 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58950 for the compat linking library. Remove use of INTDEF/INTUSE.
58951 * sunrpc/auth_none.c: Likewise.
58952 * sunrpc/auth_unix.c: Likewise.
58953 * sunrpc/authdes_prot.c: Likewise.
58954 * sunrpc/authuxprot.c: Likewise.
58955 * sunrpc/clnt_gen.c: Likewise.
58956 * sunrpc/clnt_perr.c: Likewise.
58957 * sunrpc/clnt_raw.c: Likewise.
58958 * sunrpc/clnt_simp.c: Likewise.
58959 * sunrpc/clnt_tcp.c: Likewise.
58960 * sunrpc/clnt_udp.c: Likewise.
58961 * sunrpc/clnt_unix.c: Likewise.
58962 * sunrpc/des_crypt.c: Likewise.
58963 * sunrpc/des_soft.c: Likewise.
58964 * sunrpc/get_myaddr.c: Likewise.
58965 * sunrpc/key_call.c: Likewise.
58966 * sunrpc/key_prot.c: Likewise.
58967 * sunrpc/netname.c: Likewise.
58968 * sunrpc/pm_getmaps.c: Likewise.
58969 * sunrpc/pm_getport.c: Likewise.
58970 * sunrpc/pmap_clnt.c: Likewise.
58971 * sunrpc/pmap_prot.c: Likewise.
58972 * sunrpc/pmap_prot2.c: Likewise.
58973 * sunrpc/pmap_rmt.c: Likewise.
58974 * sunrpc/publickey.c: Likewise.
58975 * sunrpc/rpc_cmsg.c: Likewise.
58976 * sunrpc/rpc_common.c: Likewise.
58977 * sunrpc/rpc_dtable.c: Likewise.
58978 * sunrpc/rpc_prot.c: Likewise.
58979 * sunrpc/rpc_thread.c: Likewise.
58980 * sunrpc/rtime.c: Likewise.
58981 * sunrpc/svc.c: Likewise.
58982 * sunrpc/svc_auth.c: Likewise.
58983 * sunrpc/svc_authux.c: Likewise.
58984 * sunrpc/svc_raw.c: Likewise.
58985 * sunrpc/svc_run.c: Likewise.
58986 * sunrpc/svc_simple.c: Likewise.
58987 * sunrpc/svc_tcp.c: Likewise.
58988 * sunrpc/svc_udp.c: Likewise.
58989 * sunrpc/svc_unix.c: Likewise.
58990 * sunrpc/svcauth_des.c: Likewise.
58991 * sunrpc/xcrypt.c: Likewise.
58992 * sunrpc/xdr.c: Likewise.
58993 * sunrpc/xdr_array.c: Likewise.
58994 * sunrpc/xdr_float.c: Likewise.
58995 * sunrpc/xdr_intXX_t.c: Likewise.
58996 * sunrpc/xdr_mem.c: Likewise.
58997 * sunrpc/xdr_rec.c: Likewise.
58998 * sunrpc/xdr_ref.c: Likewise.
58999 * sunrpc/xdr_sizeof.c: Likewise.
59000 * sunrpc/xdr_stdio.c: Likewise.
59002 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59005 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59006 * sysdeps/ia64/dl-tls.h: Likewise.
59007 * sysdeps/powerpc/dl-tls.h: Likewise.
59008 * sysdeps/s390/dl-tls.h: Likewise.
59009 * sysdeps/sh/dl-tls.h: Likewise.
59010 * sysdeps/sparc/dl-tls.h: Likewise.
59011 * sysdeps/x86_64/dl-tls.h: Likewise.
59012 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59014 2011-03-14 Andreas Schwab <schwab@redhat.com>
59016 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59017 rpath element also skip the following colon.
59018 (expand_dynamic_string_token): Add is_path parameter and pass
59019 down to DL_DST_REQUIRED and _dl_dst_substitute.
59020 (decompose_rpath): Call expand_dynamic_string_token with
59021 non-zero is_path. Ignore empty rpaths.
59022 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59025 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59030 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59033 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59034 Patch by Filipe David Manana <fdmanana@apache.org>.
59036 2011-04-07 Andreas Schwab <schwab@redhat.com>
59038 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59039 Maintain aligned stack.
59040 (CHECK_RSP): Remove unused macro.
59042 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59044 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59045 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59047 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59049 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59051 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59053 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59056 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59057 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59058 * sysdeps/x86_64/memmove.c: New file.
59059 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59060 (memcpy): Renamed to ...
59061 (__new_memcpy): This.
59062 (memcpy): Provide GLIBC_2_14 memcpy.
59063 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59064 (memcpy): Provide GLIBC_2_2_5 memcpy.
59066 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59069 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59071 2011-03-30 Andreas Schwab <schwab@redhat.com>
59073 * misc/syncfs.c: New file.
59074 * misc/Makefile (routines): Add syncfs.
59075 * posix/unistd.h: Declare syncfs.
59076 * sysdeps/unix/syscalls.list: Add syncfs.
59078 2011-04-01 Andreas Schwab <schwab@redhat.com>
59080 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59082 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59083 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59087 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59088 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59090 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59092 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59093 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59094 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59096 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59098 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59100 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59101 sync_file_range.c with -fexceptions.
59102 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59103 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59104 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59105 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59106 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59107 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59109 sync_file_range as cancellation point
59110 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59111 now a wrapper around __call_sync_file_range with cancellation handling.
59112 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59113 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59114 function name to __call_sync_file_range.
59115 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59116 Add call_sync_file_range.
59118 2011-04-01 Andreas Schwab <schwab@redhat.com>
59120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59123 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59125 * iconv/iconv.h: Fix typo in comment.
59126 * io/fcntl.h: Likewise.
59127 * libio/stdio.h: Likewise.
59128 * posix/spawn.h: Likewise.
59129 * posix/unistd.h: Likewise.
59130 * stdlib/stdlib.h: Likewise.
59131 * time/time.h: Likewise.
59132 * wcsmbs/wchar.h: Likewise.
59134 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59135 open_by_handle): Add.
59136 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59137 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59138 Augment a few comments.
59139 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59141 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59144 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59147 * io/fcntl.h (AT_EMPTY_PATH): Define.
59149 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59151 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59152 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59153 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59155 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59156 * Versions.def: Add GLIBC_2.14.
59157 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59160 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59162 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59164 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59166 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59169 * string/test-strncmp.c (do_page_test): New function.
59170 (check2): Likewise.
59171 (test_main): Call check2.
59172 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59174 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59177 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59178 Handle cache information in CPU leaf 4.
59179 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59181 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59184 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59185 character representation.
59186 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59188 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59190 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59191 END(__isnan) to END(__isnanf) to match function entry point/label
59192 EALIGN(__isnanf,...).
59194 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59196 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59198 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59201 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59202 copy from the symbol referenced in the relocation to initialize the
59204 Patch by Piotr Bury <pbury@goahead.com>.
59205 * elf/Makefile: Add rules to build and tst-unique3.
59206 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59207 * elf/tst-unique3.cc: New file.
59208 * elf/tst-unique3.h: New file.
59209 * elf/tst-unique3lib.cc: New file.
59210 * elf/tst-unique3lib2.cc: New file.
59212 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59214 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59216 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59217 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59220 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59222 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59223 to-be-loaded object along a path to loader is ld.so.
59225 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59226 Ulrich Drepper <drepper@gmail.com>
59228 * sysdeps/x86_64/memset.S: After aligning destination, code
59229 branches to different locations depending on the value of
59230 misalignment, when multiarch is enabled. Fix this.
59232 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59234 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59235 Set _x86_64_preferred_memory_instruction for AMD processsors.
59236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59237 Set bit_Prefer_SSE_for_memop for AMD processors.
59239 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59241 * libio/fmemopen.c (fmemopen): Optimize a bit.
59243 2011-03-03 Andreas Schwab <schwab@redhat.com>
59245 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59247 2011-03-03 Roland McGrath <roland@redhat.com>
59249 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59251 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59253 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59254 __bzero_ultra1 instead of __memset_ultra1.
59256 2011-02-23 Andreas Schwab <schwab@redhat.com>
59257 Ulrich Drepper <drepper@gmail.com>
59260 * include/link.h (struct link_map): Add l_orig_initfini.
59261 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59262 returning unsuccessfully.
59263 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59264 close of a file loaded at startup, restore the original l_initfini
59266 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59267 list, store the pointer.
59268 * elf/Makefile ($(objpfx)noload-mem): New rule.
59269 (noload-ENV): Define.
59270 (tests): Add $(objpfx)noload-mem.
59271 * elf/noload.c: Include <memcheck.h>.
59272 (main): Call mtrace. Close all opened handles.
59274 2011-02-17 Andreas Schwab <schwab@redhat.com>
59277 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59278 dependencies are missing.
59280 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59282 Fix __if_freereq crash: Unlike the generic version which uses free,
59284 * sysdeps/mach/hurd/ifreq.h: New file.
59286 2011-01-27 Petr Baudis <pasky@suse.cz>
59287 Ulrich Drepper <drepper@gmail.com>
59290 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59291 to extend_alloca().
59292 * stdio-common/bug23.c: New file.
59293 * stdio-common/Makefile (tests): Add bug23.
59295 2010-09-28 Andreas Schwab <schwab@redhat.com>
59296 Ulrich Drepper <drepper@gmail.com>
59299 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59300 before performing relro protection. At old place add assertion
59301 to make sure nothing changed.
59303 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59304 Glauber de Oliveira Costa <glommer@gmail.com>
59306 * elf/elf.h: Add new ARM TLS relocs.
59308 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59311 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59313 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59315 * sysdeps/wordsize-64/tst-writev.c: New file.
59317 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59319 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59320 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59321 insns in _dl_start to prevent a TOC reference before relocs are
59324 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59327 * Makeconfig: Remove RANLIB definition.
59328 * Makerules: Don't use RANLIB.
59329 * aclocal.m4: Remove ranlib test.
59330 * configure.in: No need to check for ranlib.
59331 * elf/rtld-Rules: Don't use RANLIB.
59333 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59335 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59337 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59338 inclusion protection macro.
59340 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59341 SIGRTMIN and SIGRTMAX and print information in that case only when
59342 SIGRTMIN is defined.
59344 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59346 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59347 arginfo fn returning -1.
59349 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59350 and thousands string is zero terminated.
59352 2011-02-03 Andreas Schwab <schwab@redhat.com>
59354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59355 sysdeps/unix/sysv/linux/bits/socket.h.
59357 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59359 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59360 (__CPU_COUNT): Remove old macros.
59361 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59362 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59363 (__CPU_ALLOC, __CPU_FREE): Add macros.
59364 (__sched_cpualloc, __sched_cpufree): Add declarations.
59366 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59368 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59369 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59370 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59371 (readdhstai): Return value of addhstaiX call.
59372 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59373 (addgrbyX): Return value returned by cache_addgr.
59374 (readdgrbyname): Return value returned by addgrbyX.
59375 (readdgrbygid): Likewise.
59376 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59377 (addpwbyX): Return value returned by cache_addpw.
59378 (readdpwbyname): Return value returned by addhstbyX.
59379 (readdpwbyuid): Likewise.
59380 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59381 (addservbyX): Return value returned by cache_addserv.
59382 (readdservbyname): Return value returned by addservbyX:
59383 (readdservbyport): Likewise.
59384 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59385 (addhstbyX): Return value returned by cache_addhst.
59386 (readdhstbyname): Return value returned by addhstbyX.
59387 (readdhstbyaddr): Likewise.
59388 (readdhstbynamev6): Likewise.
59389 (readdhstbyaddrv6): Likewise.
59390 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59391 (readdinitgroups): Return value returned by addinitgroupsX.
59392 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59393 (prune_cache): Keep track of timeout value of re-added entries.
59394 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59395 * nscd/nscd.h: Adjust prototypes of readd* functions.
59397 2011-02-04 Roland McGrath <roland@redhat.com>
59399 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59400 (nis_stats): Likewise.
59401 * nis/nis_modify.c (nis_modify): Likewise.
59402 * nis/nis_remove.c (nis_remove): Likewise.
59403 * nis/nis_add.c (nis_add): Likewise.
59405 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59407 * posix/fnmatch_loop.c: Add some consts.
59409 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59411 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59414 * config.make.in (config-cflags-novzeroupper): Define.
59415 * configure.in: Substitute libc_cv_cc_novzeroupper.
59416 * elf/Makefile (AVX-CFLAGS): Define.
59417 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59418 (CFLAGS-tst-auditmod4a.c): Likewise.
59419 (CFLAGS-tst-auditmod4b.c): Likewise.
59420 (CFLAGS-tst-auditmod6b.c): Likewise.
59421 (CFLAGS-tst-auditmod6c.c): Likewise.
59422 (CFLAGS-tst-auditmod7b.c): Likewise.
59423 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59425 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59427 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59428 function to the callback.
59429 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59431 2011-02-02 Andreas Schwab <schwab@redhat.com>
59433 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59436 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59439 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59441 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59443 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59446 * elf/Makefile: Add rules to build and run new test.
59447 * elf/tst-initorder.c: New file.
59448 * elf/tst-initorder.exp: New file.
59449 * elf/tst-initordera1.c: New file.
59450 * elf/tst-initordera2.c: New file.
59451 * elf/tst-initordera3.c: New file.
59452 * elf/tst-initordera4.c: New file.
59453 * elf/tst-initorderb1.c: New file.
59454 * elf/tst-initorderb2.c: New file.
59455 * elf/tst-order-a1.c: New file.
59456 * elf/tst-order-a2.c: New file.
59457 * elf/tst-order-a3.c: New file.
59458 * elf/tst-order-a4.c: New file.
59459 * elf/tst-order-b1.c: New file.
59460 * elf/tst-order-b2.c: New file.
59461 * elf/tst-order-main.c: New file.
59462 New test case by George Gensure <werkt0@gmail.com>.
59464 2010-10-01 Andreas Schwab <schwab@redhat.com>
59466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59467 decoding ACE if AI_CANONIDN.
59469 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59471 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59473 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59475 * version.h (RELEASE): Bump for 2.13 release.
59476 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59478 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59480 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59482 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59484 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59485 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59487 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59489 * posix/getconf.c: Update copyright year.
59490 * catgets/gencat.c: Likewise.
59491 * csu/version.c: Likewise.
59492 * debug/catchsegv.sh: Likewise.
59493 * debug/xtrace.sh: Likewise.
59494 * elf/ldconfig.c: Likewise.
59495 * elf/ldd.bash.in: Likewise.
59496 * elf/sprof.c (print_version): Likewise.
59497 * iconv/iconv_prog.c: Likewise.
59498 * iconv/iconvconfig.c: Likewise.
59499 * locale/programs/locale.c: Likewise.
59500 * locale/programs/localedef.c: Likewise.
59501 * malloc/memusage.sh: Likewise.
59502 * malloc/mtrace.pl: Likewise.
59503 * nscd/nscd.c (print_version): Likewise.
59504 * nss/getent.c: Likewise.
59506 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59507 PF_CAIF, and PF_ALG.
59508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59510 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59512 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59513 (modules-names): Use them.
59514 (ifunc-test-modules, ifunc-pie-tests): Define.
59515 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59516 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59517 (test-extras): Likewise.
59518 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59519 $(compile-command.c).
59520 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59521 (all-built-dso): Define.
59522 (check-textrel.out, check-execstack.out): Depend on it.
59524 * configure.in: Don't override --enable-multi-arch.
59526 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59529 * nscd/hstcache.c (tryagain): Define.
59530 (cache_addhst): Return tryagain not notfound for temporary errors.
59531 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59534 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59537 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59538 to make the syscall.
59539 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59542 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59543 and fall back to matching as normal character if the string ends before
59544 the matching ']' is found. This is what POSIX requires.
59545 * posix/testfnm.c: Adjust test result.
59546 * posix/globtest.sh: Adjust test result. Add new test.
59547 * posix/tst-fnmatch.input: Likewise.
59548 * posix/tst-fnmatch2.c: Add new test.
59550 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59552 * elf/Makefile (check-execstack): Revert last change. Depend on
59554 (check-execstack.h): New target.
59555 (generated): Add check-execstack.h.
59556 * elf/check-execstack.c: Include "check-execstack.h".
59557 (main): Revert last change.
59558 (handle_file): Return zero if GNU_STACK is absent and
59559 DEFAULT_STACK_PERMS doesn't include PF_X.
59561 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59563 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59564 in child fails because the descriptor is already closed.
59565 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59566 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59567 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59570 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59574 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59575 temporary buffer used to handle multi lookups locally.
59576 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59578 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59580 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59583 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59585 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59586 alignment for SSE2.
59588 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59591 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59592 characters. When rounding increased number of integer digits recompute
59594 * stdio-common/tst-grouping.c: New file.
59595 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59597 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59599 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59600 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59602 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59604 * bits/select.h: Likewise.
59606 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59608 * po/ja.po: Update from translation team.
59610 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59613 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59614 implementation just like for lxstat, fxstatat, et al.
59616 2010-12-27 Jim Meyering <meyering@redhat.com>
59619 * posix/regexec.c (build_trtable): Return failure indication upon
59620 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59622 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59625 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59626 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59627 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59628 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59631 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59634 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59635 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59637 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59639 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59640 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59641 script has SORT_BY_INIT_PRIORITY.
59642 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59643 NO_CTORS_DTORS_SECTIONS is defined.
59644 * elf/soinit.c: Likewise.
59645 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59646 NO_CTORS_DTORS_SECTIONS is defined.
59647 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59648 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59649 * sysdeps/sh/init-first.c: Likewise.
59650 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59652 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59654 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59655 always use the slow path.
59657 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59659 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59660 similar rule which adds the sysdep directories to the header search in
59661 order to pick up the correct platform stackinfo.h.
59662 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59663 perform test if it is, otherwise return successfully without testing.
59664 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59665 DEFAULT_STACK_PERMS define in stackinfo.h.
59666 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59667 defined in stackinfo.h.
59668 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59669 DEFAULT_STACK_PERMS defined in stackinfo.h.
59670 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59671 * sysdeps/ia64/stackinfo.h: Likewise.
59672 * sysdeps/s390/stackinfo.h: Likewise.
59673 * sysdeps/sh/stackinfo.h: Likewise.
59674 * sysdeps/sparc/stackinfo.h: Likewise.
59675 * sysdeps/x86_64/stackinfo.h: Likewise.
59676 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59677 PF_X for powerpc64. Retain PF_X for powerpc32.
59679 2010-12-19 Ulrich Drepper <drepper@gmail.com>
59681 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59683 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59684 GETDENTS_64BIT_ALIGNED.
59686 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59688 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59690 2010-12-10 Andreas Schwab <schwab@redhat.com>
59692 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59695 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59696 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59698 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59699 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59701 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59704 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59707 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59709 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59711 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59713 * po/it.po: Update from translation team.
59715 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59720 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59722 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59724 2010-11-24 Andreas Schwab <schwab@redhat.com>
59726 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59728 (gaih_getanswer_slice): Likewise.
59730 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59734 2010-05-31 Petr Baudis <pasky@suse.cz>
59737 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59738 silently even in the chroot mode.
59740 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59742 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59743 last patch a bit. Pretty printing
59745 2010-05-31 Petr Baudis <pasky@suse.cz>
59748 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59749 initialization of skip_initgroups_dyn.
59751 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59753 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59756 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59758 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59760 2010-11-11 Andreas Schwab <schwab@redhat.com>
59762 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59763 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59764 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59765 ($(objpfx)tst-fnmatch-mem): New rule.
59766 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59767 * posix/tst-fnmatch.c (main): Call mtrace.
59769 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59772 Support Intel processor model 6 and model 0x2c.
59774 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59776 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59779 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59782 * string/test-strncasecmp.c (check_result): New function.
59783 (do_one_test): Use it.
59784 (check1): New function.
59785 (test_main): Use it.
59786 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59787 Support strcasecmp and strncasecmp.
59789 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59792 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59793 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59795 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59797 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59801 * sysdeps/x86_64/multiarch/bzero.S: New file.
59802 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59803 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59804 * sysdeps/x86_64/multiarch/memset.S: New file.
59805 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59807 Set bit_Prefer_SSE_for_memop for Intel processors.
59808 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59810 (index_Prefer_SSE_for_memop): Define.
59811 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59813 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59815 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59816 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59818 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59821 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59822 (__x86_64_raw_data_cache_size_half): Likewise.
59823 (__x86_64_raw_shared_cache_size): Likewise.
59824 (__x86_64_raw_shared_cache_size_half): Likewise.
59826 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59827 (__x86_64_raw_data_cache_size_half): Likewise.
59828 (__x86_64_raw_shared_cache_size): Likewise.
59829 (__x86_64_raw_shared_cache_size_half): Likewise.
59830 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59831 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59832 and __x86_64_raw_shared_cache_size_half. Round
59833 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59834 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59835 to multiple of 256 bytes.
59837 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59840 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59841 of inacessible symlinks. Verify result of symlink before returning it.
59842 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59843 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59845 2010-10-28 Erich Ritz <erichritz@gmail.com>
59847 * math/math.h (isinf): Fix typo in comment.
59849 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59851 * po/da.po: Update from translation team.
59853 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59855 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59856 is added to the list.
59858 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59859 Ulrich Drepper <drepper@gmail.com>
59861 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59862 the global list here. Move code to...
59863 (_dl_add_to_namespace_list): ...here. New function.
59864 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59865 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59866 * elf/dl-load.c (lose): Don't remove the element from the list.
59867 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59868 (_dl_map_object): Likewise.
59870 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59873 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59874 into all bytes of SSE register.
59875 Patch by Richard Li <richardpku@gmail.com>.
59877 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59880 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59883 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59885 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59886 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59887 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59888 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59893 2010-10-22 Andreas Schwab <schwab@redhat.com>
59895 * include/dlfcn.h (__RTLD_SECURE): Define.
59896 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59897 mode & __RTLD_SECURE instead.
59898 (open_path): Rename preloaded parameter to secure.
59899 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59900 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59901 * elf/dl-deps.c (openaux): Likewise.
59902 * elf/rtld.c (struct map_args): Remove is_preloaded.
59903 (map_doit): Don't use it.
59904 (dl_main): Likewise.
59905 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59906 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59908 2010-09-09 Andreas Schwab <schwab@redhat.com>
59910 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59911 (sysd-rules-targets): Remove duplicates.
59912 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59913 rtld-%.$o dependency.
59915 2010-10-18 Andreas Schwab <schwab@redhat.com>
59917 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59918 _dl_map_object do it.
59920 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59922 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59923 fast fma builtins, define the macros in the C99 standard.
59924 (FP_FAST_FMAF): Likewise.
59925 (FP_FAST_FMAL): Likewise.
59926 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59928 * bits/mathdef.h: Update copyright year.
59929 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59931 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59933 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59934 builtins, define the macros in the C99 standard.
59935 (FP_FAST_FMAF): Likewise.
59936 (FP_FAST_FMAL): Likewise.
59937 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59939 (FP_FAST_FMAF): Likewise.
59941 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59944 * math/libm-test.inc (fma_test): Some new testcases.
59945 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59946 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59947 y and infinite z. Do multiplication by C already in long double.
59948 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59950 y and infinite z. Do bitwise or of inexact bit into u.d.
59951 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59952 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59953 * sysdeps/i386/fpu/s_fma.S: Removed.
59954 * sysdeps/i386/fpu/s_fmal.S: Removed.
59956 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59959 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59961 computation is not scheduled after fetestexcept. Fix value
59962 of minimum denormal long double.
59964 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59967 * math/libm-test.inc (fma_test): Add some more tests.
59968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59971 2010-10-15 Andreas Schwab <schwab@redhat.com>
59973 * scripts/data/localplt-s390-linux-gnu.data: New file.
59974 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59976 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59979 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59980 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59982 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59984 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59986 if one of x and y is very large and the other is subnormal.
59987 * sysdeps/s390/fpu/s_fmaf.c: New file.
59988 * sysdeps/s390/fpu/s_fma.c: New file.
59989 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59990 * sysdeps/powerpc/fpu/s_fma.S: New file.
59991 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59992 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59993 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59995 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59998 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60000 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60001 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60002 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60003 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60004 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60005 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60006 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60008 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60011 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60012 * posix/bug-regex31.input: Add test case.
60014 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60016 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60017 * posix/bug-regex31.input: New file.
60020 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60021 (parse_sub_exp): Fix last change, use postorder.
60023 * posix/bug-regex31.c: New file.
60024 * posix/Makefile: Add rules to build and run bug-regex31.
60026 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60029 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60032 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60033 to have entries in sys_siglist.
60036 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60039 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60042 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60043 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60044 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60045 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60046 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60047 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60048 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60049 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60050 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60051 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60052 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60053 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60054 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60055 * math/ftestexcept.c (fetestexcept): Likewise.
60056 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60057 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60058 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60059 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60060 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60061 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60062 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60064 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60067 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60070 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60072 * string/bug-strstr1.c: New file.
60073 * string/Makefile: Add rules to build and run bug-strstr1.
60075 2010-10-05 Eric Blake <eblake@redhat.com>
60078 * string/str-two-way.h (two_way_long_needle): Always clear memory
60079 when skipping input due to the shift table.
60081 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60084 * malloc/mcheck.c: Handle large requests.
60087 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60088 for strncmp and strncasecmp.
60089 * string/stratcliff.c: Add tests for strcmp and strncmp.
60090 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60092 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60094 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60097 2010-09-30 Andreas Jaeger <aj@suse.de>
60099 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60100 (CGROUP_SUPER_MAGIC): Define.
60101 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60102 Handle btrfs and cgroup file systems.
60103 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60106 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60108 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60109 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60111 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60114 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60115 trying to locate the ELF header.
60117 2010-09-27 Andreas Schwab <schwab@redhat.com>
60120 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60121 Mask out sign-bit copies when constructing f_fsid.
60123 2010-09-24 Petr Baudis <pasky@suse.cz>
60125 * debug/stack_chk_fail_local.c: Add missing licence exception.
60126 * debug/warning-nop.c: Likewise.
60128 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60130 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60131 implementing getdents64 using getdents syscall, set d_type if
60132 __ASSUME_GETDENTS32_D_TYPE.
60134 2010-09-16 Andreas Schwab <schwab@redhat.com>
60136 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60137 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60139 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60142 * posix/unistd.h: Undo change of feature selection for ftruncate from
60145 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60147 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60150 2010-09-20 Andreas Schwab <schwab@redhat.com>
60152 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60154 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60156 2010-09-14 Andreas Schwab <schwab@redhat.com>
60158 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60159 variables after CHECK_SP call.
60160 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60162 2010-09-13 Andreas Schwab <schwab@redhat.com>
60163 Ulrich Drepper <drepper@redhat.com>
60165 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60166 re-relocationg ld.so.
60167 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60168 _dl_init_paths call.
60169 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60172 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60174 * resolv/res_init.c (__res_vinit): Count the default server we added.
60176 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60177 Ulrich Drepper <drepper@redhat.com>
60180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60181 (____longjmp_chk): Use %ebx for saving value across system call.
60184 2010-09-06 Andreas Schwab <schwab@redhat.com>
60186 * manual/Makefile: Don't mix pattern rules with normal rules.
60188 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60190 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60192 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60193 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60194 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60195 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60199 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60202 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60203 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60205 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60207 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60208 * sysdeps/x86_64/addmul_1.S: Likewise.
60209 * sysdeps/x86_64/lshift.S: Likewise.
60210 * sysdeps/x86_64/mul_1.S: Likewise.
60211 * sysdeps/x86_64/rshift.S: Likewise.
60212 * sysdeps/x86_64/sub_n.S: Likewise.
60213 * sysdeps/x86_64/submul_1.S: Likewise.
60215 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60217 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60218 Define __sched_param instead of SCHED_* and sched_param when
60219 <bits/sched.h> is included with __need_schedparam defined.
60220 * bits/sched.h [__need_schedparam]
60221 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60222 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60223 (__defined_schedparam): Define to 1.
60224 (__sched_param): New structure, identical to sched_param.
60225 (__need_schedparam): Undefine.
60227 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60229 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60230 (epoll_create1): Declare.
60232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60234 2010-08-31 Andreas Schwab <schwab@redhat.com>
60237 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60238 shifting retval into place.
60240 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60242 * nis/rpcsvc/nis.h: Update copyright notice.
60243 * nis/rpcsvc/nis.x: Likewise.
60244 * nis/rpcsvc/nis_callback.h: Likewise.
60245 * nis/rpcsvc/nis_callback.x: Likewise.
60246 * nis/rpcsvc/nis_object.x: Likewise.
60247 * nis/rpcsvc/nis_tags.h: Likewise.
60248 * nis/rpcsvc/yp.h: Likewise.
60249 * nis/rpcsvc/yp.x: Likewise.
60250 * nis/rpcsvc/ypupd.h: Likewise.
60251 * nis/yp_xdr.c: Likewise.
60252 * nis/ypupdate_xdr.c: Likewise.
60254 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60255 mainly the body of pmap_getport. Add parameters to specify timeouts.
60256 (pmap_getport): Use __libc_rpc_getport.
60257 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60258 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60259 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60261 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60266 2010-08-27 Roland McGrath <roland@redhat.com>
60268 * sysdeps/i386/i686/multiarch/Makefile
60269 (CFLAGS-varshift.c): New variable.
60271 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60273 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60274 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60276 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60278 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60280 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60282 * sysdeps/x86_64/strlen.S: Unroll the loop.
60283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60284 strlen-sse2 strlen-sse2-bsf.
60285 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60286 __strlen_no_bsf if bit_Slow_BSF is set.
60287 (__strlen_sse42): Removed.
60288 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60289 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60291 2010-08-25 Roland McGrath <roland@redhat.com>
60293 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60294 * sysdeps/x86_64/multiarch/varshift.c: New file.
60295 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60296 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60297 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60298 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60300 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60303 strlen-sse2 strlen-sse2-bsf.
60304 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60305 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60306 (__strlen_sse2): Removed.
60307 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60308 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60310 bit_Slow_BSF for Atom.
60311 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60312 (index_Slow_BSF): Define.
60313 (HAS_SLOW_BSF): Define.
60315 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60318 * resolv/res_init.c (__res_vinit): When no server address at all
60319 is given default to loopback.
60321 2010-08-24 Roland McGrath <roland@redhat.com>
60323 * configure.in: Remove config-name.h generation.
60324 * configure: Regenerated.
60325 * config-name.in: File removed.
60326 * scripts/config-uname.sh: New file.
60327 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60328 ($(objdir)config-name.h): New target.
60330 * sunrpc/rpc_parse.h: Avoid nested comment.
60332 2010-08-24 Richard Henderson <rth@redhat.com>
60333 Ulrich Drepper <drepper@redhat.com>
60334 H.J. Lu <hongjiu.lu@intel.com>
60336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60338 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60339 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60340 _mm_alignr_epi8 with _mm_loadu_si128.
60341 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60342 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60343 (__m128i_shift_right): Removed.
60344 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60345 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60346 * sysdeps/x86_64/multiarch/varshift.h: New file.
60347 * sysdeps/x86_64/multiarch/varshift.S: New file.
60349 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60351 * configure.in: Move assembler checks to before sysdep dir checking.
60353 2010-08-20 Petr Baudis <pasky@suse.cz>
60355 * LICENSES: Sync the sunrpc license.
60357 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60359 * sunrpc/auth_des.c: Update copyright notice once again.
60360 * sunrpc/auth_none.c: Likewise.
60361 * sunrpc/auth_unix.c: Likewise.
60362 * sunrpc/authdes_prot.c: Likewise.
60363 * sunrpc/authuxprot.c: Likewise.
60364 * sunrpc/bindrsvprt.c: Likewise.
60365 * sunrpc/clnt_gen.c: Likewise.
60366 * sunrpc/clnt_perr.c: Likewise.
60367 * sunrpc/clnt_raw.c: Likewise.
60368 * sunrpc/clnt_simp.c: Likewise.
60369 * sunrpc/clnt_tcp.c: Likewise.
60370 * sunrpc/clnt_udp.c: Likewise.
60371 * sunrpc/clnt_unix.c: Likewise.
60372 * sunrpc/des_crypt.c: Likewise.
60373 * sunrpc/des_soft.c: Likewise.
60374 * sunrpc/get_myaddr.c: Likewise.
60375 * sunrpc/getrpcport.c: Likewise.
60376 * sunrpc/key_call.c: Likewise.
60377 * sunrpc/key_prot.c: Likewise.
60378 * sunrpc/openchild.c: Likewise.
60379 * sunrpc/pm_getmaps.c: Likewise.
60380 * sunrpc/pm_getport.c: Likewise.
60381 * sunrpc/pmap_clnt.c: Likewise.
60382 * sunrpc/pmap_prot.c: Likewise.
60383 * sunrpc/pmap_prot2.c: Likewise.
60384 * sunrpc/pmap_rmt.c: Likewise.
60385 * sunrpc/rpc/auth.h: Likewise.
60386 * sunrpc/rpc/auth_unix.h: Likewise.
60387 * sunrpc/rpc/clnt.h: Likewise.
60388 * sunrpc/rpc/des_crypt.h: Likewise.
60389 * sunrpc/rpc/key_prot.h: Likewise.
60390 * sunrpc/rpc/netdb.h: Likewise.
60391 * sunrpc/rpc/pmap_clnt.h: Likewise.
60392 * sunrpc/rpc/pmap_prot.h: Likewise.
60393 * sunrpc/rpc/pmap_rmt.h: Likewise.
60394 * sunrpc/rpc/rpc.h: Likewise.
60395 * sunrpc/rpc/rpc_des.h: Likewise.
60396 * sunrpc/rpc/rpc_msg.h: Likewise.
60397 * sunrpc/rpc/svc.h: Likewise.
60398 * sunrpc/rpc/svc_auth.h: Likewise.
60399 * sunrpc/rpc/types.h: Likewise.
60400 * sunrpc/rpc/xdr.h: Likewise.
60401 * sunrpc/rpc_clntout.c: Likewise.
60402 * sunrpc/rpc_cmsg.c: Likewise.
60403 * sunrpc/rpc_common.c: Likewise.
60404 * sunrpc/rpc_cout.c: Likewise.
60405 * sunrpc/rpc_dtable.c: Likewise.
60406 * sunrpc/rpc_hout.c: Likewise.
60407 * sunrpc/rpc_main.c: Likewise.
60408 * sunrpc/rpc_parse.c: Likewise.
60409 * sunrpc/rpc_parse.h: Likewise.
60410 * sunrpc/rpc_prot.c: Likewise.
60411 * sunrpc/rpc_sample.c: Likewise.
60412 * sunrpc/rpc_scan.c: Likewise.
60413 * sunrpc/rpc_scan.h: Likewise.
60414 * sunrpc/rpc_svcout.c: Likewise.
60415 * sunrpc/rpc_tblout.c: Likewise.
60416 * sunrpc/rpc_util.c: Likewise.
60417 * sunrpc/rpc_util.h: Likewise.
60418 * sunrpc/rpcinfo.c: Likewise.
60419 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60420 * sunrpc/rpcsvc/key_prot.x: Likewise.
60421 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60422 * sunrpc/rpcsvc/mount.x: Likewise.
60423 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60424 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60425 * sunrpc/rpcsvc/rex.x: Likewise.
60426 * sunrpc/rpcsvc/rstat.x: Likewise.
60427 * sunrpc/rpcsvc/rusers.x: Likewise.
60428 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60429 * sunrpc/rpcsvc/spray.x: Likewise.
60430 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60431 * sunrpc/rtime.c: Likewise.
60432 * sunrpc/svc.c: Likewise.
60433 * sunrpc/svc_auth.c: Likewise.
60434 * sunrpc/svc_authux.c: Likewise.
60435 * sunrpc/svc_raw.c: Likewise.
60436 * sunrpc/svc_run.c: Likewise.
60437 * sunrpc/svc_simple.c: Likewise.
60438 * sunrpc/svc_tcp.c: Likewise.
60439 * sunrpc/svc_udp.c: Likewise.
60440 * sunrpc/svc_unix.c: Likewise.
60441 * sunrpc/svcauth_des.c: Likewise.
60442 * sunrpc/xcrypt.c: Likewise.
60443 * sunrpc/xdr.c: Likewise.
60444 * sunrpc/xdr_array.c: Likewise.
60445 * sunrpc/xdr_float.c: Likewise.
60446 * sunrpc/xdr_mem.c: Likewise.
60447 * sunrpc/xdr_rec.c: Likewise.
60448 * sunrpc/xdr_ref.c: Likewise.
60449 * sunrpc/xdr_sizeof.c: Likewise.
60450 * sunrpc/xdr_stdio.c: Likewise.
60452 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60455 2010-08-19 Andreas Schwab <schwab@redhat.com>
60457 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60459 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60461 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60462 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60463 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60464 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60465 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60466 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60467 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60468 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60470 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60471 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60472 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60473 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60474 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60476 2010-07-26 Anton Blanchard <anton@samba.org>
60478 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60479 * malloc/arena.c (heap_trim): Likewise.
60481 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60483 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60486 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60488 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60490 * sysdeps/i386/elf/Makefile: New file.
60492 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60494 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60495 from fanotify_init.
60496 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60497 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60499 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60501 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60503 * sysdeps/multiarch/strcmp.S: Likewise.
60505 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60507 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60508 strncase_l-nonascii.
60509 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60510 Add strncase_l-ssse3.
60511 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60512 * sysdeps/x86_64/strcmp.S: Likewise.
60513 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60514 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60515 * sysdeps/x86_64/strncase.S: New file.
60516 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60517 * sysdeps/x86_64/strncase_l.S: New file.
60518 * string/Makefile (strop-tests): Add strncasecmp.
60519 * string/test-strncasecmp.c: New file.
60521 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60524 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60525 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60527 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60529 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60531 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60533 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60534 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60535 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60537 2010-05-01 Alan Modra <amodra@gmail.com>
60539 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60540 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60541 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60542 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60543 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60544 tidying. Don't tail-call __sigjmp_save for static lib.
60545 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60547 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60548 (CALL_MCOUNT): Add eh info, and nop after bl.
60549 (TAIL_CALL_SYSCALL_ERROR): New macro.
60550 (PSEUDO_RET): Use it.
60551 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60552 Correct save location of integer regs and cr.
60553 (_dl_profile_resolve): Correct cr save location. Delete nops
60554 after bl when SHARED. Reduce cfi size a little by better
60555 placement of cfi directives.
60556 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60557 make a stack frame. Instead use parm save area as a temp.
60558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60559 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60561 Don't make a stack frame for parent, use parm save area.
60562 Increase child stack frame to 112 bytes. Don't save unused reg,
60563 and adjust reg usage. Set up cfi on error recovery and
60564 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60566 (__makecontext): Add dummy nop after jump to exit.
60567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60568 Use correct parm save area and cr save, reduce stack frame.
60569 Correct cfi for possible PSEUDO_RET frame setup.
60570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60571 Branch to local label emitted by PSEUDO_RET rather than
60574 2010-08-12 Andreas Schwab <schwab@redhat.com>
60577 * locale/programs/locale.c (print_assignment): New function.
60578 (show_locale_vars): Use it.
60580 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60582 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60584 (struct statfs64): Likewise.
60585 (_STATFS_F_FLAGS): Define.
60586 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60587 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60588 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60589 (ST_VALID): Define locally.
60590 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60591 __statvfs_getflags, use the provided value.
60592 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60593 __ASSUME_STATFS_F_FLAGS.
60595 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60597 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60598 Add sys/fanotify.h.
60599 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60600 fanotify_mask for GLIBC_2.13.
60601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60602 fanotify_init and fanotify_mark.
60603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60604 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60606 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60608 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60609 prlimit64 for GLIBC_2.13.
60610 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60612 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60615 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60616 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60617 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60618 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60620 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60623 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60624 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60626 * nss/Makefile: Add rules to build and run tst-nss-test1.
60627 * shlib-versions: Add entry for libnss_test1.
60628 * nss/nss_test1.c: New file.
60629 * nss/tst-nss-test1.c: New file.
60631 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60632 (__nss_configure_lookup): Set appropriate entry in
60633 __nss_configure_lookup to true.
60634 * nss/nsswitch.h: Define enum with indeces of databases in
60635 databases and __nss_database_custom arrays. Declare
60636 __nss_database_custom.
60637 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60638 to avoid using nscd when custom rules are installed.
60639 * nss/getXXbyYY_r.c: Likewise.
60640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60642 * nss/nss_files/files-parse.c: Whitespace fixes.
60644 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60647 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60648 * posix/fnmatch_loop.c: Likewise.
60650 2010-07-17 Andi Kleen <ak@linux.intel.com>
60652 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60653 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60654 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60655 * Versions.def [GLIBC_2.13]: Add.
60657 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60659 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60660 Also fail if tpwd after pwuid call is NULL.
60662 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60664 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60665 when converting to ms.
60667 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60669 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60670 EOPNOTSUPP errors with ENOTTY.
60671 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60672 EOPNOTSUPP errors with ENOTTY.
60674 2010-07-31 Ulrich Drepper <drepper@redhat.com>
60676 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60677 Add strcasecmp_l-ssse3.
60678 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60680 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60681 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60682 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60684 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60686 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60688 * string/Makefile (strop-tests): Add strcasecmp.
60689 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60690 strcasecmp_l-nonascii.
60691 (gen-as-const-headers): Add locale-defines.sym.
60692 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60693 * sysdeps/x86_64/strcasecmp.S: New file.
60694 * sysdeps/x86_64/strcasecmp_l.S: New file.
60695 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60696 * sysdeps/x86_64/locale-defines.sym: New file.
60697 * string/test-strcasecmp.c: New file.
60699 * string/test-strcasestr.c: Test both ends of the range of characters.
60700 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60702 2010-07-29 Roland McGrath <roland@redhat.com>
60705 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60707 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60709 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60712 2010-07-27 Andreas Schwab <schwab@redhat.com>
60714 * manual/memory.texi (Malloc Tunable Parameters): Document
60717 2010-07-26 Roland McGrath <roland@redhat.com>
60720 * configure.in (-fgnu89-inline check): Set and substitute
60721 gnu89_inline, not libc_cv_gnu89_inline.
60722 * configure: Regenerated.
60723 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60725 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60727 * string/test-strnlen.c: New file.
60728 * string/Makefile (strop-tests): Add strnlen.
60729 * string/tester.c (test_strnlen): Add a few more test cases.
60730 * string/tst-strlen.c: Better error reporting.
60732 * sysdeps/x86_64/strnlen.S: New file.
60734 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60736 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60737 lower-latency instructions.
60739 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60741 * string/test-strcasestr.c: New file.
60742 * string/test-strstr.c: New file.
60743 * string/Makefile (strop-tests): Add strstr and strcasestr.
60744 * string/str-two-way.h: Don't undefine MAX.
60745 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60747 2010-07-21 Andreas Schwab <schwab@redhat.com>
60749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60750 strcasestr-nonascii.
60751 (CFLAGS-strcasestr-nonascii.c): Define.
60752 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60753 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60754 Remove unused attribute.
60756 2010-07-20 Roland McGrath <roland@redhat.com>
60758 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60759 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60760 ld.so.cache was broken. With it, there is no way to disable dsocaps
60761 like LD_HWCAP_MASK can disable hwcaps.
60763 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60765 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60767 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60769 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60770 call in strcasestr.
60771 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60772 __strcasestr_sse42_nonascii.
60773 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60774 strcasestr-nonascii.c.
60775 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60777 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60779 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60780 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60781 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60782 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60784 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60786 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60789 2010-07-06 Andreas Schwab <schwab@redhat.com>
60792 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60795 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60797 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60798 _PC_PIPE_BUF using F_GETPIPE_SZ.
60800 2010-07-05 Roland McGrath <roland@redhat.com>
60802 * manual/arith.texi (Rounding Functions): Fix rint description
60803 implicit in round description.
60805 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60807 * elf/Makefile: Fix linking for a few tests to make recent linker
60810 2010-06-30 Andreas Schwab <schwab@redhat.com>
60812 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60813 $(common-objpfx)libc_nonshared.a.
60815 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60817 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60818 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60819 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60820 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60821 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60822 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60823 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60824 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60839 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60840 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60841 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60842 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60843 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60844 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60845 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60846 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60847 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60848 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60849 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60850 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60866 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60868 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60869 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60870 * string/memmove.c (memmove): Renamed to ...
60871 (MEMMOVE): ...this. Default to memmove.
60872 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60873 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60876 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60877 mempcpy-ssse3-back memmove-ssse3-back.
60878 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60881 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60882 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60883 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60884 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60885 * sysdeps/x86_64/multiarch/memmove.c: New file.
60886 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60887 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60888 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60889 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60890 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60891 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60893 (index_Fast_Copy_Backward): Define.
60894 (HAS_ARCH_FEATURE): Define.
60895 (HAS_FAST_REP_STRING): Define.
60896 (HAS_FAST_COPY_BACKWARD): Define.
60898 2010-06-21 Andreas Schwab <schwab@redhat.com>
60900 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60901 Restore proper fallback handling.
60903 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60906 * posix/group_member.c (__group_member): Correct checking loop.
60908 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60909 OOM in getpwuid_r correctly. Return error number when the caller
60910 should return, otherwise -1.
60911 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60912 call returning > 0 value.
60913 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60915 2010-06-07 Andreas Schwab <schwab@redhat.com>
60917 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60918 libc_nonshared.a from targets in modules-names.
60920 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60922 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60925 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60927 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60928 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60930 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60932 2010-06-02 Andreas Schwab <schwab@redhat.com>
60934 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60936 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60938 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60940 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60942 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60944 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60945 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60947 2010-06-14 Roland McGrath <roland@redhat.com>
60949 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60951 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60953 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60954 __REDIRECT followed by __THROW.
60955 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60956 * posix/getopt.h (getopt): Likewise.
60958 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60960 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60961 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60962 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60964 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60965 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60967 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60969 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60971 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60975 Properly check family and model.
60977 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60979 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60981 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60983 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60985 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60987 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60990 2010-05-19 Andreas Schwab <schwab@redhat.com>
60992 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60995 2010-05-21 Andreas Schwab <schwab@redhat.com>
60997 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60998 and internal_recvmmsg.
60999 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61000 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61001 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61002 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61004 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61005 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61006 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61008 2010-05-20 Andreas Schwab <schwab@redhat.com>
61010 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61012 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61014 POWER7 optimizations.
61015 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61016 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61018 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61020 * version.h: Update for 2.13 development version.
61022 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61024 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61025 exceptions. Return 0.
61027 2010-05-07 Roland McGrath <roland@redhat.com>
61029 * elf/ldconfig.c (main): Add a const.
61031 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61033 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61034 (args_options): Add no-idn option.
61035 (ahosts_keys_int): Add idn_flags to ai_flags.
61036 (parse_option): Handle 'i' option to clear idn_flags.
61038 * malloc/malloc.c (_int_free): Possible race in the most recently
61039 added check. Only act on the data if no current modification
61042 See ChangeLog.17 for earlier changes.